https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99345
Bug ID: 99345 Summary: [11 Regression] ICE in doloop_contained_procedure_code, at fortran/frontend-passes.c:2464 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: doko at debian dot org Target Milestone: --- seen with trunk 20210227, building the espresso package on x86_64-linux-gnu mpif90 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -cpp -fallow-argument-mismatch -D__FFTW3 -D__MPI -D__S CALAPACK -I/<<PKGBUILDDIR>>//include -I/<<PKGBUILDDIR>>//FoX/finclude -I/<<PKGBUILDDIR>>//upflib -I/<<PKGBUILDDIR>>//Modules -I /<<PKGBUILDDIR>>//FFTXlib -I/<<PKGBUILDDIR>>//LAXlib -I/<<PKGBUILDDIR>>//UtilXlib -I/<<PKGBUILDDIR>>//FoX/finclude -I../../PW/src -I../../dft-d3 -I../../LR_Modules -c postahc.f90 f951: internal compiler error: in doloop_contained_procedure_code, at fortran/frontend-passes.c:2464 0xb9fcda doloop_contained_procedure_code ../../src/gcc/fortran/frontend-passes.c:2464 0x1afc7e5 gfc_code_walker(gfc_code**, int (*)(gfc_code**, int*, void*), int (*)(gfc_expr**, int*, void*), void*) ../../src/gcc/fortran/frontend-passes.c:5299 0x1afc91e gfc_code_walker(gfc_code**, int (*)(gfc_code**, int*, void*), int (*)(gfc_expr**, int*, void*), void*) ../../src/gcc/fortran/frontend-passes.c:5623 0x1b066c8 doloop_code ../../src/gcc/fortran/frontend-passes.c:2620 0x1afc7e5 gfc_code_walker(gfc_code**, int (*)(gfc_code**, int*, void*), int (*)(gfc_expr**, int*, void*), void*) ../../src/gcc/fortran/frontend-passes.c:5299 0x1afc91e gfc_code_walker(gfc_code**, int (*)(gfc_code**, int*, void*), int (*)(gfc_expr**, int*, void*), void*) ../../src/gcc/fortran/frontend-passes.c:5623 0x1afc91e gfc_code_walker(gfc_code**, int (*)(gfc_code**, int*, void*), int (*)(gfc_expr**, int*, void*), void*) ../../src/gcc/fortran/frontend-passes.c:5623 0x1afdd3b doloop_warn ../../src/gcc/fortran/frontend-passes.c:3052 0x1afdd96 gfc_run_passes(gfc_namespace*) ../../src/gcc/fortran/frontend-passes.c:156 0x1a2b069 gfc_resolve(gfc_namespace*) ../../src/gcc/fortran/resolve.c:17428 0x19ed811 gfc_resolve(gfc_namespace*) ../../src/gcc/fortran/resolve.c:17407 0x19ed811 resolve_all_program_units ../../src/gcc/fortran/parse.c:6290 0x19ed811 gfc_parse_file() ../../src/gcc/fortran/parse.c:6542 0x1a444c8 gfc_be_parse_file ../../src/gcc/fortran/f95-lang.c:212 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. full build log at https://people.debian.org/~doko/logs/20210228/filtered/gcc11/espresso_6.7-2_unstable_gcc11.log