summaryrefslogtreecommitdiffstats
path: root/gcc/flow.c
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1998-11-04 19:33:07 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1998-11-04 19:33:07 +0000
commit9cb667bc33816ac9501b601693225812fa6fa5c8 (patch)
tree2b68bb3f4992fd6584c7569f31225fb957fbbdbb /gcc/flow.c
parent489153d253bc979724c8c225382826ef13b5c7b9 (diff)
downloadppe42-gcc-9cb667bc33816ac9501b601693225812fa6fa5c8.tar.gz
ppe42-gcc-9cb667bc33816ac9501b601693225812fa6fa5c8.zip
Wed Nov 4 19:15:37 1998 "Melissa O'Neill" <oneill@cs.sfu.ca>
* Makefile.in (libcpp.a): Ranlib libcpp.a * cppulp.c (user_label_prefix): Initialize. Wed Nov 4 19:07:08 1998 John Wehle (john@feith.com) * flow.c (mark_regs_live_at_end): Mark the stack pointer as live at a RETURN if current_function_sp_is_unchanging is set. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23525 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/flow.c')
-rw-r--r--gcc/flow.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/flow.c b/gcc/flow.c
index 22f7f1e4fa6..4eec565781b 100644
--- a/gcc/flow.c
+++ b/gcc/flow.c
@@ -2880,7 +2880,8 @@ mark_used_regs (needed, live, x, final, insn)
if (! EXIT_IGNORE_STACK
|| (! FRAME_POINTER_REQUIRED
&& ! current_function_calls_alloca
- && flag_omit_frame_pointer))
+ && flag_omit_frame_pointer)
+ || current_function_sp_is_unchanging)
#endif
SET_REGNO_REG_SET (live, STACK_POINTER_REGNUM);
OpenPOWER on IntegriCloud