mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-28 15:35:56 +08:00
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:
parent
61e71a9e5e
commit
b3fdec9ea5
@ -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
|
||||
|
@ -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)));
|
||||
|
Loading…
Reference in New Issue
Block a user