summaryrefslogtreecommitdiff
path: root/gcc/config/fr30/fr30.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@cygnus.com>2000-01-13 23:01:59 +0000
committerNick Clifton <nickc@gcc.gnu.org>2000-01-13 23:01:59 +0000
commitff17f164035e09f502390f76ac111d3d54b724ee (patch)
tree18295dd607744ddea75a37264140a2f6f2b28317 /gcc/config/fr30/fr30.c
parent2a0e04e2471da9d09f1936c0dc9f96360df7dc7a (diff)
downloadgcc-ff17f164035e09f502390f76ac111d3d54b724ee.tar.gz
fix compile time warnings about unused epilogue instructions
From-SVN: r31397
Diffstat (limited to 'gcc/config/fr30/fr30.c')
-rw-r--r--gcc/config/fr30/fr30.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/config/fr30/fr30.c b/gcc/config/fr30/fr30.c
index e03ea5bb8fd..1504a77e1ff 100644
--- a/gcc/config/fr30/fr30.c
+++ b/gcc/config/fr30/fr30.c
@@ -377,7 +377,10 @@ 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_movsi_pop (gen_rtx_REG (Pmode, regno)));
+ emit_insn (gen_rtx_USE (VOIDmode, regno));
+ }
if (current_frame_info.pretend_size)
emit_insn (gen_add_to_stack (GEN_INT (current_frame_info.pretend_size)));