Commit 2e99323f by Nick Clifton Committed by Nick Clifton

Add REG_MAYBE_DEAD note to frame pointer initialisation instruction.

From-SVN: r48912
parent e1886ae0
2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
* config/arm/arm.c (arm_expand_prologue): Add REG_MAYBE_DEAD note
to frame pointer initialisation instruction.
(thumb_expand_prologue): Add REG_MAYBE_DEAD note to frame pointer
initialisation instruction.
2002-01-16 Jakub Jelinek <jakub@redhat.com>
PR target/5357:
......
......@@ -8344,7 +8344,10 @@ arm_expand_prologue ()
}
insn = gen_rtx_SET (SImode, ip_rtx, insn);
(void) emit_insn (insn);
insn = emit_insn (insn);
/* Add a reg note to stop propogate_one_insn() from barfing. */
REG_NOTES (insn) = gen_rtx_EXPR_LIST (REG_MAYBE_DEAD, ip_rtx,
REG_NOTES (insn));
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment