m32c.c (m32c_pushm_popm): Don't mark epilogue insns as frame related.

* config/m32c/m32c.c (m32c_pushm_popm): Don't mark epilogue insns
as frame related.

From-SVN: r105511
This commit is contained in:
DJ Delorie 2005-10-17 13:50:55 -04:00 committed by DJ Delorie
parent 61e71a9e5e
commit b3fdec9ea5
2 changed files with 7 additions and 5 deletions

View File

@ -1,3 +1,8 @@
2005-10-17 DJ Delorie <dj@redhat.com>
* config/m32c/m32c.c (m32c_pushm_popm): Don't mark epilogue insns
as frame related.
2005-10-17 Nathan Sidwell <nathan@codesourcery.com>
PR c++/22551

View File

@ -1322,17 +1322,14 @@ m32c_pushm_popm (Push_Pop_Type ppt)
}
if (ppt == PP_popm && byte_count)
{
rtx insn;
if (cfun->machine->is_interrupt)
for (i = MEM7_REGNO; i >= MEM0_REGNO; i--)
if (cfun->machine->intr_pushmem[i - MEM0_REGNO])
{
if (TARGET_A16)
insn = emit_insn (gen_pophi_16 (gen_rtx_REG (HImode, i)));
emit_insn (gen_pophi_16 (gen_rtx_REG (HImode, i)));
else
insn = emit_insn (gen_pophi_24 (gen_rtx_REG (HImode, i)));
F (insn);
emit_insn (gen_pophi_24 (gen_rtx_REG (HImode, i)));
}
if (reg_mask)
emit_insn (gen_popm (GEN_INT (reg_mask)));