https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95595
Bug ID: 95595 Summary: [11 regression] ICE in building gcc after r11-959 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: seurer at linux dot vnet.ibm.com Target Milestone: --- g:b825a22890740f341eae566af27e18e528cd29a7, r11-959 and still occurring at r11-1075 I see the following when doing a simple build (not even a bootstrap) of gcc on power 7 BE or on a power 8 BE system when targeting power 7 via --with-cpu=power7 (and only there). Note that this completely prevents gcc from being built on powerpc64 power 7 machines. libtool: compile: /home/seurer/gcc/git/build/gcc-test/./gcc/xgcc -B/home/seurer/gcc/git/build/gcc-test/./gcc/ -B/home/seurer/gcc/git/install/gcc-test/powerpc64-unknown-linux-gnu/bin/ -B/home/seurer/gcc/git/install/gcc-test/powerpc64-unknown-linux-gnu/lib/ -isystem /home/seurer/gcc/git/install/gcc-test/powerpc64-unknown-linux-gnu/include -isystem /home/seurer/gcc/git/install/gcc-test/powerpc64-unknown-linux-gnu/sys-include -DHAVE_CONFIG_H -I. -I/home/seurer/gcc/git/gcc-test/libgfortran -iquote/home/seurer/gcc/git/gcc-test/libgfortran/io -I/home/seurer/gcc/git/gcc-test/libgfortran/../gcc -I/home/seurer/gcc/git/gcc-test/libgfortran/../gcc/config -I/home/seurer/gcc/git/gcc-test/libgfortran/../libquadmath -I../.././gcc -I/home/seurer/gcc/git/gcc-test/libgfortran/../libgcc -I../libgcc -I/home/seurer/gcc/git/gcc-test/libgfortran/../libbacktrace -I../libbacktrace -I../libbacktrace -std=gnu11 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings -Werror=implicit-function-declaration -Werror=vla -fcx-fortran-rules -ffunction-sections -fdata-sections -ffast-math -ftree-vectorize -funroll-loops --param max-unroll-times=4 -g -O2 -MT matmul_i1.lo -MD -MP -MF .deps/matmul_i1.Tpo -c /home/seurer/gcc/git/gcc-test/libgfortran/generated/matmul_i1.c -fPIC -DPIC -o .libs/matmul_i1.o during GIMPLE pass: uninit /home/seurer/gcc/git/gcc-test/libgfortran/generated/matmul_i1.c: In function 'matmul_i1': /home/seurer/gcc/git/gcc-test/libgfortran/generated/matmul_i1.c:2446:1: internal compiler error: in gimple_call_arg, at gimple.h:3260 2446 | matmul_i1 (gfc_array_i1 * const restrict retarray, | ^~~~~~~~~ 0x10e4f827 gimple_call_arg /home/seurer/gcc/git/gcc-test/gcc/gimple.h:3260 0x10e4f827 gimple_call_arg /home/seurer/gcc/git/gcc-test/gcc/gimple.h:3268 0x10e4f827 maybe_warn_pass_by_reference /home/seurer/gcc/git/gcc-test/gcc/tree-ssa-uninit.c:505 0x10e4f827 warn_uninitialized_vars /home/seurer/gcc/git/gcc-test/gcc/tree-ssa-uninit.c:631 0x10e55223 execute /home/seurer/gcc/git/gcc-test/gcc/tree-ssa-uninit.c:2936 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions. make[3]: *** [matmul_i1.lo] Error 1 make[3]: Leaving directory `/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/libgfortran' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/libgfortran' make[1]: *** [all-target-libgfortran] Error 2 make[1]: Leaving directory `/home/seurer/gcc/git/build/gcc-test' make: *** [all] Error 2