[Bug rtl-optimization/57410] New: [4.9 Regression] ICE: in emit_spill_move, at lra-constraints.c:863 with -fpeel-loops and uninitialised variable

zsojka at seznam dot cz gcc-bugzilla@gcc.gnu.org
Sat May 25 07:54:00 GMT 2013


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57410

            Bug ID: 57410
           Summary: [4.9 Regression] ICE: in emit_spill_move, at
                    lra-constraints.c:863 with -fpeel-loops and
                    uninitialised variable
           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 30187
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30187&action=edit
reduced testcase

Compiler output:
$ gcc -O -fpeel-loops testcase.c         
testcase.c: In function 'foo':
testcase.c:9:1: internal compiler error: in emit_spill_move, at
lra-constraints.c:863
 }
 ^
0x8f5567 emit_spill_move
        /mnt/svn/gcc-trunk/gcc/lra-constraints.c:862
0x8feb0d curr_insn_transform
        /mnt/svn/gcc-trunk/gcc/lra-constraints.c:3033
0x8ffc94 lra_constraints(bool)
        /mnt/svn/gcc-trunk/gcc/lra-constraints.c:3785
0x8ee8a3 lra(_IO_FILE*)
        /mnt/svn/gcc-trunk/gcc/lra.c:2278
0x8a1c78 do_reload
        /mnt/svn/gcc-trunk/gcc/ira.c:4641
0x8a1c78 rest_of_handle_reload
        /mnt/svn/gcc-trunk/gcc/ira.c:4753
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=/mnt/svn/gcc-trunk/binary-latest/bin/gcc
COLLECT_LTO_WRAPPER=/mnt/svn/gcc-trunk/binary-199312-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-199312-lto-fortran-checking-yes-rtl-df/
--without-cloog --without-ppl
Thread model: posix
gcc version 4.9.0 20130524 (experimental) (GCC) 

Tested revisions:
r199312 - fail
4.8 r198018 - OK



More information about the Gcc-bugs mailing list