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

            Bug ID: 60079
           Summary: [LRA] ICE when compiling attached case.
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: belagod at gcc dot gnu.org

When the attached case is compiled with -O2 for AArch64, LRA ICEs thus:

$ ../install/bin/aarch64-none-elf-gcc -O2 besttry.c -c
besttry.c: In function 'ripemd160_block_data_order':
besttry.c:936:1: internal compiler error: in update_reg_eliminate, at
lra-eliminations.c:1157
 }
 ^
0x899638 update_reg_eliminate
        /work/aarch64/src/svn-trunk//gcc/gcc/lra-eliminations.c:1157
0x89ad3c lra_eliminate(bool, bool)
        /work/aarch64/src/svn-trunk//gcc/gcc/lra-eliminations.c:1387
0x897436 lra_constraints(bool)
        /work/aarch64/src/svn-trunk//gcc/gcc/lra-constraints.c:3974
0x8863bc lra(_IO_FILE*)
        /work/aarch64/src/svn-trunk//gcc/gcc/lra.c:2339
0x849f96 do_reload
        /work/aarch64/src/svn-trunk//gcc/gcc/ira.c:5457
0x84ac38 rest_of_handle_reload
        /work/aarch64/src/svn-trunk//gcc/gcc/ira.c:5598
0x84ac38 execute
        /work/aarch64/src/svn-trunk//gcc/gcc/ira.c:5627
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.


My configure:

.../gcc/configure --target=aarch64-none-elf --prefix=.../install
--with-gmp=.../host-tools --with-mpfr=.../host-tools --with-mpc=.../host-tools
--with-pkgversion=unknown --disable-shared --disable-nls --disable-threads
--disable-tls --enable-checking=yes --enable-languages=c,c++ --with-newlib

Sorry, I couldn't reduce the test case any further - commenting any line in
besttry.c makes the ICE go away.

Reply via email to