This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/55212] [SH] Switch from IRA to LRA
- From: "olegendo at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 13 Sep 2014 22:15:52 +0000
- Subject: [Bug target/55212] [SH] Switch from IRA to LRA
- Auto-submitted: auto-generated
- References: <bug-55212-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212
--- Comment #18 from Oleg Endo <olegendo at gcc dot gnu.org> ---
Created attachment 33489
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33489&action=edit
Reduced case for MAX_RELOAD_INSNS_NUMBER
This fails when compiling with -O2 -m2e -m{l|b} with:
curr_insn = (insn 713 115 712 16 (parallel [
(set (reg/v:SF 804 [orig:333 x ] [333])
(reg/v:SF 714 [orig:333 x ] [333]))
(use (reg/v:PSI 151 ))
(clobber (scratch:SI))
]) er_lgamma.c:85 296 {movsf_ie}
(nil))
In file included from sh_tmp.cpp:4:0:
er_lgamma.c: In function '__ieee754_lgamma_r':
er_lgamma.c:151:1: internal compiler error: Max. number of generated reload
insns per insn is achieved (90)
}
^
0x8555215 lra_constraints(bool)
../../gcc-sh-lra/gcc/lra-constraints.c:4149
0x85442bc lra(_IO_FILE*)
../../gcc-sh-lra/gcc/lra.c:2206
0x8500df3 do_reload
../../gcc-sh-lra/gcc/ira.c:5312
0x8500df3 execute
../../gcc-sh-lra/gcc/ira.c:5471