http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59915
Bug ID: 59915
Summary: [LRA, Regression 4.9] LRA ICE - Repeated looping over
subreg reloads (gcc.c-torture/compile/simd-3.c)
Product: gcc
Version: 4.9.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: regression
Assignee: unassigned at gcc dot gnu.org
Reporter: belagod at gcc dot gnu.org
On AArch64, when gcc.c-torture/compile/simd-3.c is compiled with -O1, it
generates an ICE.
tempf
Analyzing compilation unit
Performing interprocedural optimizations
<*free_lang_data> <visibility> <early_local_cleanups> <*free_inline_summary>
<emutls> <whole-program> <profile_estimate> <inline> <pure-const>
<static-var>Assembling functions:
tempf
/work/aarch64/src/svn-trunk/gcc/gcc/testsuite/gcc.c-torture/compile/simd-3.c:
In function 'tempf':
/work/aarch64/src/svn-trunk/gcc/gcc/testsuite/gcc.c-torture/compile/simd-3.c:22:1:
internal compiler error: Maximum number of LRA constraint passes is achieved
(30)
}
^
0x896f89 lra_constraints(bool)
/work/aarch64/src/svn-trunk//gcc/gcc/lra-constraints.c:3933
0x884a5c lra(_IO_FILE*)
/work/aarch64/src/svn-trunk//gcc/gcc/lra.c:2339
0x848626 do_reload
/work/aarch64/src/svn-trunk//gcc/gcc/ira.c:5457
0x8492c8 rest_of_handle_reload
/work/aarch64/src/svn-trunk//gcc/gcc/ira.c:5598
0x8492c8 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.
Vladimir has a fix for this that he has posted here
http://gcc.gnu.org/ml/gcc/2013-12/msg00086.html. I'm raising this ticket to
track this bug and its patch.