diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1996-06-08 13:43:59 -0400 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1996-06-08 13:43:59 -0400 |
commit | d5a1d1c7584b6b0adb0ba959b61e54693b96bd3e (patch) | |
tree | de9845ea77666840ef74426963b10f8b5497a84e | |
parent | 0161e8dace9f35fba0a938a803fc4c55e675dcb9 (diff) | |
download | gcc-d5a1d1c7584b6b0adb0ba959b61e54693b96bd3e.zip gcc-d5a1d1c7584b6b0adb0ba959b61e54693b96bd3e.tar.gz gcc-d5a1d1c7584b6b0adb0ba959b61e54693b96bd3e.tar.bz2 |
(find_equiv_reg): Set need_stable_sp if GOAL is the stack pointer.
From-SVN: r12242
-rw-r--r-- | gcc/reload.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/reload.c b/gcc/reload.c index 7288793..0d35f55 100644 --- a/gcc/reload.c +++ b/gcc/reload.c @@ -5554,7 +5554,7 @@ find_equiv_reg (goal, insn, class, other, reload_reg_p, goalreg, mode) /* If we propose to get the value from the stack pointer or if GOAL is a MEM based on the stack pointer, we need a stable SP. */ - if (valueno == STACK_POINTER_REGNUM + if (valueno == STACK_POINTER_REGNUM || regno == STACK_POINTER_REGNUM || (goal_mem && reg_overlap_mentioned_for_reload_p (stack_pointer_rtx, goal))) need_stable_sp = 1; |