On 05/03/2013 09:01 AM, Nick Clifton wrote:
Hi Guys,

   I would like to apply the patch below to allow simplify_subreg_regno()
   to treat the frame pointer register in the same way as the stack
   pointer register when the LRA pass is running.  I found that I needed
   this whilst trying to enable LRA for the RX and RL78 targets.  (LRA is
   still not working for these targets, but this patch lets more of
   libgcc be built than before).

   No regressions noted on an i686-pc-linux-gnu toolchain built with this
   patch applied.  OK to apply ?

Cheers
   Nick

gcc/ChangeLog
2013-05-03  Nick Clifton  <ni...@redhat.com>

        * rtlanal.c (simplify_subreg_regno): Allow simplification of
        SUBREGs involving the frame pointer when running the LRA pass.
Ewwwww.

Before accepting this, I'd like to see more of the rationale behind the change.

jeff


Reply via email to