https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70904
Bug ID: 70904 Summary: ICE: Max. number of generated reload insns per insn is achieved (90) with -fno-split-wide-types @ aarch64 Product: gcc Version: 7.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: zsojka at seznam dot cz Target Milestone: --- Host: x86_64-pc-linux-gnu Target: aarch64-unknown-linux-gnu Created attachment 38393 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38393&action=edit reduced testcase Compiler output: $ aarch64-unknown-linux-gnu-gcc -O -fno-split-wide-types testcase.c testcase.c: In function 'foo': testcase.c:8:1: internal compiler error: Max. number of generated reload insns per insn is achieved (90) } ^ 0x9dafa9 lra_constraints(bool) /repo/gcc-trunk/gcc/lra-constraints.c:4440 0x9c63dc lra(_IO_FILE*) /repo/gcc-trunk/gcc/lra.c:2290 0x96de19 do_reload /repo/gcc-trunk/gcc/ira.c:5425 0x96de19 execute /repo/gcc-trunk/gcc/ira.c:5609 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <http://gcc.gnu.org/bugs.html> for instructions. $ aarch64-unknown-linux-gnu-gcc -v Using built-in specs. COLLECT_GCC=/repo/gcc-trunk/binary-latest-aarch64/bin/aarch64-unknown-linux-gnu-gcc COLLECT_LTO_WRAPPER=/repo/gcc-trunk/binary-trunk-235588-checking-yes-rtl-df-nographite-aarch64/bin/../libexec/gcc/aarch64-unknown-linux-gnu/7.0.0/lto-wrapper Target: aarch64-unknown-linux-gnu Configured with: /repo/gcc-trunk//configure --enable-languages=c,c++ --enable-checking=yes,rtl,df --without-cloog --without-ppl --without-isl --with-sysroot=/usr/aarch64-unknown-linux-gnu --target=aarch64-unknown-linux-gnu --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --target=aarch64-unknown-linux-gnu --with-ld=/usr/bin/aarch64-unknown-linux-gnu-ld --with-as=/usr/bin/aarch64-unknown-linux-gnu-as --disable-libstdcxx-pch --prefix=/repo/gcc-trunk//binary-trunk-235588-checking-yes-rtl-df-nographite-aarch64 Thread model: posix gcc version 7.0.0 20160428 (experimental) (GCC)