aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/fr30
diff options
context:
space:
mode:
authorRichard Henderson <rth@cygnus.com>2000-01-13 22:45:23 -0800
committerJeff Law <law@gcc.gnu.org>2000-01-13 23:45:23 -0700
commitc99df6842df4868171d10a8e74f58d8c2022866f (patch)
tree58bdc2cfae45cbbd7911f15c3af14c1db921c74a /gcc/config/fr30
parent1c2278974cfa5e22ffcde5c13f9cce92225bf812 (diff)
downloadgcc-c99df6842df4868171d10a8e74f58d8c2022866f.zip
gcc-c99df6842df4868171d10a8e74f58d8c2022866f.tar.gz
gcc-c99df6842df4868171d10a8e74f58d8c2022866f.tar.bz2
fr30.c (fr30_expand_epilogue): Revert last change.
* fr30.c (fr30_expand_epilogue): Revert last change. Use emit_jump_insn for the return insn. From-SVN: r31404
Diffstat (limited to 'gcc/config/fr30')
-rw-r--r--gcc/config/fr30/fr30.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/gcc/config/fr30/fr30.c b/gcc/config/fr30/fr30.c
index 1504a77..a24ac27 100644
--- a/gcc/config/fr30/fr30.c
+++ b/gcc/config/fr30/fr30.c
@@ -377,10 +377,7 @@ fr30_expand_epilogue ()
for (regno = 0; regno < STACK_POINTER_REGNUM; regno ++)
if (current_frame_info.gmask & (1 << regno))
- {
- emit_insn (gen_movsi_pop (gen_rtx_REG (Pmode, regno)));
- emit_insn (gen_rtx_USE (VOIDmode, regno));
- }
+ emit_insn (gen_movsi_pop (gen_rtx_REG (Pmode, regno)));
if (current_frame_info.pretend_size)
emit_insn (gen_add_to_stack (GEN_INT (current_frame_info.pretend_size)));
@@ -388,7 +385,7 @@ fr30_expand_epilogue ()
/* Reset state info for each function. */
current_frame_info = zero_frame_info;
- emit_insn (gen_return_from_func ());
+ emit_jump_insn (gen_return_from_func ());
}
/* Do any needed setup for a variadic function. We must create a register