https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107319
Bug ID: 107319 Summary: ICE in flag_instrument_functions_exclude_p, at gimplify.cc:17710 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: gs...@t-online.de Target Milestone: --- Affects versions down to at least r5 : $ cat z1.f90 module m integer :: a[*] integer :: b(2)[*] integer :: c[2,*] integer :: d(2)[2,*] end $ gfortran-13-20221016 -c z1.f90 -fcoarray=lib -finstrument-functions -finstrument-functions-exclude-file-list=xyz f951: internal compiler error: Segmentation fault 0xf41bcf crash_signal ../../gcc/toplev.cc:314 0xc149f0 strstr /usr/include/string.h:324 0xc149f0 flag_instrument_functions_exclude_p ../../gcc/gimplify.cc:17710 0xc149f0 gimplify_function_tree(tree_node*) ../../gcc/gimplify.cc:17810 0xa26d27 cgraph_node::analyze() ../../gcc/cgraphunit.cc:676 0xa2a006 analyze_functions ../../gcc/cgraphunit.cc:1240 0xa2b1ad symbol_table::finalize_compilation_unit() ../../gcc/cgraphunit.cc:2500