fix compile time warnings about unused epilogue instructions

From-SVN: r31397
This commit is contained in:
Nick Clifton 2000-01-13 23:01:59 +00:00 committed by Nick Clifton
parent 2a0e04e247
commit ff17f16403
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2000-01-13 Nick Clifton <nickc@cygnus.com>
* config/fr30/fr30.c (fr30_expand_epilogue): Emit USEs of pop'ed
register to prevent compile time warnings.
2000-01-13 Zack Weinberg <zack@wolery.cumb.org>
* longlong.h [i386] (udiv_qrnnd): Rename 'd' argument to 'dv'

View File

@ -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)));