diff options
Diffstat (limited to 'gcc/rtlanal.c')
-rw-r--r-- | gcc/rtlanal.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/rtlanal.c b/gcc/rtlanal.c index 377b31f..fce93ab 100644 --- a/gcc/rtlanal.c +++ b/gcc/rtlanal.c @@ -1445,9 +1445,8 @@ refers_to_regno_p (unsigned int regno, unsigned int endregno, const_rtx x, clobber a virtual register. In fact, we could be more precise, but it isn't worth it. */ if ((x_regno == STACK_POINTER_REGNUM -#if FRAME_POINTER_REGNUM != ARG_POINTER_REGNUM - || x_regno == ARG_POINTER_REGNUM -#endif + || (FRAME_POINTER_REGNUM != ARG_POINTER_REGNUM + && x_regno == ARG_POINTER_REGNUM) || x_regno == FRAME_POINTER_REGNUM) && regno >= FIRST_VIRTUAL_REGISTER && regno <= LAST_VIRTUAL_REGISTER) return true; |