]> gcc.gnu.org Git - gcc.git/commitdiff
reload.c (find_equiv_reg): If need_stable_sp is set, check if stack pointer is change...
authorJ"orn Rennecke <amylaar@cygnus.co.uk>
Thu, 9 Jul 1998 10:06:18 +0000 (10:06 +0000)
committerJoern Rennecke <amylaar@gcc.gnu.org>
Thu, 9 Jul 1998 10:06:18 +0000 (11:06 +0100)
* reload.c (find_equiv_reg): If need_stable_sp is set,
check if stack pointer is changed directly in a PARALLEL.

From-SVN: r21033

gcc/ChangeLog
gcc/reload.c

index e93fe29294a4e74e9828b03989c963317c691d86..e359a9cb3d32e711d49158a8cf37a06cd6e98df3 100644 (file)
@@ -1,3 +1,8 @@
+Thu Jul  9 18:01:05 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
+
+       * reload.c (find_equiv_reg): If need_stable_sp is set,
+       check if stack pointer is changed directly in a PARALLEL.
+
 Thu Jul  9 10:38:14 1998  Jeffrey A Law  (law@cygnus.com)
 
        * jump.c (duplicate_loop_exit_test): Fix thinko.
index 0b76bb709baafd2e36bbdf09ce501eac40c52f7f..1461cad5f83281ad07b41826fb70333594a4a8dc 100644 (file)
@@ -6272,6 +6272,8 @@ find_equiv_reg (goal, insn, class, other, reload_reg_p, goalreg, mode)
                              && reg_overlap_mentioned_for_reload_p (dest,
                                                                     goal))
                            return 0;
+                         if (xregno == STACK_POINTER_REGNUM && need_stable_sp)
+                           return 0;
                        }
                      else if (goal_mem && GET_CODE (dest) == MEM
                               && ! push_operand (dest, GET_MODE (dest)))
This page took 0.080386 seconds and 5 git commands to generate.