After submitting the previous patch for PR55433, Steven found that
powerpc LRA is broken as the original insn for secondary memory reload
can not be used in some cases.
The following patch fixes the problem. The patch might be not necessary
for x86/x86-64 but I submitted it too.
The patch w
On 13-01-18 1:34 PM, Steven Bosscher wrote:
On Fri, Jan 18, 2013 at 7:25 PM, Vladimir Makarov wrote:
PR target/55433
* lra-constraints.c (curr_insn_transform): Reuse original insn for
secondary memory move.
(inherit_reload_reg): Use rclass instead of cl for
On Fri, Jan 18, 2013 at 7:25 PM, Vladimir Makarov wrote:
>
> PR target/55433
> * lra-constraints.c (curr_insn_transform): Reuse original insn for
> secondary memory move.
> (inherit_reload_reg): Use rclass instead of cl for
> check_secondary_memory_needed_p.
The following patch fixes
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55433
LRA went into infinite reload loop when secondary memory was needed.
To fix the problem, two changes are done:
o a typo was fixed in inheritance which prevented rejecting
inheritances requiring secondary memory relo