https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108168
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2022-12-19 Ever confirmed|0 |1 Status|UNCONFIRMED |WAITING Known to work| |10.4.0, 11.3.0, 12.1.0 Keywords| |ice-on-valid-code Known to fail| |11.1.0, 11.2.0 --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- I can't reproduce on the top of the GCC 11 branch, can you please try updating the compiler to 11.3.0 at least? For me it reproduces with GCC 11.1 and 11.2 but not with 11.3 which means it appears fixed. Proper backtrace: f951: internal compiler error: Segmentation fault 0xc27c3f crash_signal /space/rguenther/src/gcc-11-branch/gcc/toplev.c:327 0x745c60 gfc_sym_get_dummy_args(gfc_symbol*) /space/rguenther/src/gcc-11-branch/gcc/fortran/symbol.c:5256 0x7e25f9 doloop_contained_procedure_code /space/rguenther/src/gcc-11-branch/gcc/fortran/frontend-passes.c:2483 0x7e96e9 gfc_code_walker(gfc_code**, int (*)(gfc_code**, int*, void*), int (*)(gfc_expr**, int*, void*), void*) /space/rguenther/src/gcc-11-branch/gcc/fortran/frontend-passes.c:5333 0x7eb0b8 doloop_code /space/rguenther/src/gcc-11-branch/gcc/fortran/frontend-passes.c:2627 0x7e96e9 gfc_code_walker(gfc_code**, int (*)(gfc_code**, int*, void*), int (*)(gfc_expr**, int*, void*), void*) /space/rguenther/src/gcc-11-branch/gcc/fortran/frontend-passes.c:5333 0x7e97fe gfc_code_walker(gfc_code**, int (*)(gfc_code**, int*, void*), int (*)(gfc_expr**, int*, void*), void*) /space/rguenther/src/gcc-11-branch/gcc/fortran/frontend-passes.c:5657 0x7ea92b doloop_warn /space/rguenther/src/gcc-11-branch/gcc/fortran/frontend-passes.c:3059 0x7eae1a gfc_run_passes(gfc_namespace*) /space/rguenther/src/gcc-11-branch/gcc/fortran/frontend-passes.c:156 0x70e567 gfc_resolve(gfc_namespace*) /space/rguenther/src/gcc-11-branch/gcc/fortran/resolve.c:17445 0x70e567 gfc_resolve(gfc_namespace*) /space/rguenther/src/gcc-11-branch/gcc/fortran/resolve.c:17418 0x70ea29 update_current_proc_array_outer_dependency /space/rguenther/src/gcc-11-branch/gcc/fortran/resolve.c:3123 0x719a27 resolve_call /space/rguenther/src/gcc-11-branch/gcc/fortran/resolve.c:3750