reload.c (find_equiv_reg): If need_stable_sp is set, check if stack pointer is changed directly in a PARALLEL.

* reload.c (find_equiv_reg): If need_stable_sp is set,
	check if stack pointer is changed directly in a PARALLEL.

From-SVN: r21033
This commit is contained in:
J"orn Rennecke 1998-07-09 10:06:18 +00:00 committed by Joern Rennecke
parent 1eb6762bcc
commit 930176e742
2 changed files with 7 additions and 0 deletions

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

View 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)))