http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59477
Bug ID: 59477 Summary: [4.8/4.9 Regression] ICE: in assign_by_spills, at lra-assigns.c:1281 with -O Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: zsojka at seznam dot cz Created attachment 31422 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31422&action=edit partially reduced testcase Compiler output: $ gcc -O testcase.C testcase.C: In function 'void test1(_Bit_iterator)': testcase.C:90:1: internal compiler error: in assign_by_spills, at lra-assigns.c:1281 } ^ 0xb697f3 assign_by_spills /mnt/svn/gcc-trunk/gcc/lra-assigns.c:1281 0xb6a57b lra_assign() /mnt/svn/gcc-trunk/gcc/lra-assigns.c:1439 0xb65ac2 lra(_IO_FILE*) /mnt/svn/gcc-trunk/gcc/lra.c:2361 0xb13656 do_reload /mnt/svn/gcc-trunk/gcc/ira.c:5455 0xb13656 rest_of_handle_reload /mnt/svn/gcc-trunk/gcc/ira.c:5584 0xb13656 execute /mnt/svn/gcc-trunk/gcc/ira.c:5613 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. $ /mnt/svn/gcc-trunk/binary-latest/bin/gcc -v Using built-in specs. COLLECT_GCC=/mnt/svn/gcc-trunk/binary-latest/bin/gcc COLLECT_LTO_WRAPPER=/mnt/svn/gcc-trunk/binary-205881-lto-fortran-checking-yes-rtl-df/libexec/gcc/x86_64-unknown-linux-gnu/4.9.0/lto-wrapper Target: x86_64-unknown-linux-gnu Configured with: /mnt/svn/gcc-trunk//configure --enable-checking=yes,rtl,df --enable-languages=c,c++,lto,fortran --prefix=/mnt/svn/gcc-trunk/binary-205881-lto-fortran-checking-yes-rtl-df/ --without-cloog --without-ppl Thread model: posix gcc version 4.9.0 20131211 (experimental) (GCC) Tested revisions: r205881 - crash 4.8 r204890 - crash 4.7 r204889 - OK