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



             Bug #: 57097

           Summary: [4.8/4.9 Regression] ICE: in find_hard_regno_for, at

                    lra-assigns.c:561 with -O2 -fPIC -m32

    Classification: Unclassified

           Product: gcc

           Version: 4.9.0

            Status: UNCONFIRMED

          Severity: normal

          Priority: P3

         Component: target

        AssignedTo: unassig...@gcc.gnu.org

        ReportedBy: zso...@seznam.cz





Created attachment 29956

  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29956

reduced testcase



Compiler output:

$ gcc -O2 -fPIC -m32 testcase.c

testcase.c: In function 'main':

testcase.c:27:1: internal compiler error: in find_hard_regno_for, at

lra-assigns.c:561

 }

 ^

0x8eeb4f find_hard_regno_for

        /mnt/svn/gcc-trunk/gcc/lra-assigns.c:561

0x8ef0b1 assign_by_spills

        /mnt/svn/gcc-trunk/gcc/lra-assigns.c:1198

0x8f1693 lra_assign()

        /mnt/svn/gcc-trunk/gcc/lra-assigns.c:1427

0x8ece6c lra(_IO_FILE*)

        /mnt/svn/gcc-trunk/gcc/lra.c:2308

0x8a0268 do_reload

        /mnt/svn/gcc-trunk/gcc/ira.c:4619

0x8a0268 rest_of_handle_reload

        /mnt/svn/gcc-trunk/gcc/ira.c:4731

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-198362-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-198362-lto-fortran-checking-yes-rtl-df/

--without-cloog --without-ppl

Thread model: posix

gcc version 4.9.0 20130427 (experimental) (GCC) 



Tested revisions:

r198362 - crash

4.8 r198018 - crash

4.7 r198018 - OK

Reply via email to