https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70219
Bug ID: 70219 Summary: [6 Regression] ICE: in delete_move_and_clobber, at lra-constraints.c:5864 with -O2 Product: gcc Version: 6.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: zsojka at seznam dot cz CC: vmakarov at gcc dot gnu.org Target Milestone: --- Target: x86_64-pc-linux-gnu The failing assert has been added in a fix of PR69614. Compiler output: $ gcc -O2 testcase.c testcase.c: In function 'foo': testcase.c:5:1: note: The ABI for passing parameters with 32-byte alignment has changed in GCC 4.6 foo(int u32_0, i128 u128_0, int u16_1, int u64_1, v8si v32u128_0, v8si v32u32_1, v8si v32u128_1) ^~~ testcase.c:5:1: warning: AVX vector argument without AVX enabled changes the ABI [-Wpsabi] testcase.c:11:1: internal compiler error: in delete_move_and_clobber, at lra-constraints.c:5864 } ^ 0xa08790 delete_move_and_clobber /repo/gcc-trunk/gcc/lra-constraints.c:5864 0xa166e8 remove_inheritance_pseudos /repo/gcc-trunk/gcc/lra-constraints.c:5943 0xa166e8 lra_undo_inheritance() /repo/gcc-trunk/gcc/lra-constraints.c:6231 0x9fe567 lra(_IO_FILE*) /repo/gcc-trunk/gcc/lra.c:2333 0x9a4c79 do_reload /repo/gcc-trunk/gcc/ira.c:5398 0x9a4c79 execute /repo/gcc-trunk/gcc/ira.c:5582 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. $ gcc -v Using built-in specs. COLLECT_GCC=/repo/gcc-trunk/binary-latest/bin/gcc COLLECT_LTO_WRAPPER=/repo/gcc-trunk/binary-trunk-234167-checking-yes-rtl-df-nographite/bin/../libexec/gcc/x86_64-pc-linux-gnu/6.0.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /repo/gcc-trunk//configure --enable-languages=c,c++ --enable-checking=yes,rtl,df --without-cloog --without-ppl --without-isl --disable-libstdcxx-pch --prefix=/repo/gcc-trunk//binary-trunk-234167-checking-yes-rtl-df-nographite Thread model: posix gcc version 6.0.0 20160313 (experimental) (GCC)