[regrename][sel-sched] Fix bogus use of HARD_FRAME_POINTER_REGNUM (was: Fix arm boots...
authorKyrylo Tkachov <kyrylo.tkachov@arm.com>
Mon, 26 Sep 2016 14:52:03 +0000 (14:52 +0000)
committerKyrylo Tkachov <ktkachov@gcc.gnu.org>
Mon, 26 Sep 2016 14:52:03 +0000 (14:52 +0000)
commita943bb7fcd9e251ee4192478561cea62ab54a7d8
tree00f000d6af08c61e66048c948c6e08d6d6f4e5a9
parent1d92cba91be69be5d1baaca46b834d6b8d780acd
[regrename][sel-sched] Fix bogus use of HARD_FRAME_POINTER_REGNUM (was: Fix arm bootstrap)

* 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.

Co-Authored-By: Alexander Monakov <amonakov@ispras.ru>
From-SVN: r240496
gcc/ChangeLog
gcc/regrename.c
gcc/sel-sched.c