This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH][regrename][sel-sched] Fix bogus use of HARD_FRAME_POINTER_REGNUM (was: Fix arm bootstrap)


On 09/26/2016 04:34 PM, Kyrill Tkachov wrote:
Hi all,

This patch implements the minimal fixes for the issues that
https://gcc.gnu.org/ml/gcc-patches/2016-09/msg01547.html was supposed to
address
as suggested by Alexander.

Bootstrapped and tested on aarch64-none-linux-gnu and
arm-none-linux-gnueabihf.

Is this ok for trunk?

Thanks,
Kyrill

2016-09-26  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
            Alexander Monakov  <amonakov@ispras.ru>

    * regrename.c (rename_chains): Check
    HARD_FRAME_POINTER_IS_FRAME_POINTER rather than
    HARD_FRAME_POINTER_REGNUM when picking unavailable registers.
    * sel-sched.c (mark_unavailable_hard_regs): Likewise.

Oh well, it's the minimal fix. Ok.


Bernd


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]