mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-22 21:51:36 +08:00
cris.c (cris_emit_movem_store): Call copy_rtx on parts re-used for REG_FRAME_RELATED_EXPR.
* config/cris/cris.c (cris_emit_movem_store): Call copy_rtx on parts re-used for REG_FRAME_RELATED_EXPR. From-SVN: r128157
This commit is contained in:
parent
be677dc12a
commit
dfc0fb23ed
@ -1,3 +1,8 @@
|
||||
2007-09-06 Hans-Peter Nilsson <hp@axis.com>
|
||||
|
||||
* config/cris/cris.c (cris_emit_movem_store): Call copy_rtx on
|
||||
parts re-used for REG_FRAME_RELATED_EXPR.
|
||||
|
||||
2007-09-05 Janis Johnson <janis187@us.ibm.com>
|
||||
|
||||
* optabs.c (expand_float): Convert unsigned integer as signed only
|
||||
|
@ -3147,10 +3147,11 @@ cris_emit_movem_store (rtx dest, rtx nregs_rtx, int increment,
|
||||
if (increment != 0)
|
||||
{
|
||||
rtx seq = gen_rtx_SEQUENCE (VOIDmode, rtvec_alloc (nregs + 1));
|
||||
XVECEXP (seq, 0, 0) = XVECEXP (PATTERN (insn), 0, 0);
|
||||
XVECEXP (seq, 0, 0) = copy_rtx (XVECEXP (PATTERN (insn), 0, 0));
|
||||
for (i = 1; i < nregs; i++)
|
||||
XVECEXP (seq, 0, i) = XVECEXP (PATTERN (insn), 0, i + 1);
|
||||
XVECEXP (seq, 0, nregs) = XVECEXP (PATTERN (insn), 0, 1);
|
||||
XVECEXP (seq, 0, i)
|
||||
= copy_rtx (XVECEXP (PATTERN (insn), 0, i + 1));
|
||||
XVECEXP (seq, 0, nregs) = copy_rtx (XVECEXP (PATTERN (insn), 0, 1));
|
||||
REG_NOTES (insn)
|
||||
= gen_rtx_EXPR_LIST (REG_FRAME_RELATED_EXPR, seq,
|
||||
REG_NOTES (insn));
|
||||
|
Loading…
x
Reference in New Issue
Block a user