gcse.c (add_label_notes): REG_LABEL is an INSN_LIST.
* gcse.c (add_label_notes): REG_LABEL is an INSN_LIST. * loop.c (add_label_notes): Likewise. * reload.c (find_reloads): Likewise. * config/sh/sh.c (machine_dependent_reorg): Likewise. From-SVN: r45320
This commit is contained in:
parent
6c8d43e78d
commit
6b8c9327ed
|
@ -1,3 +1,10 @@
|
|||
2001-08-31 Andreas Jaeger <aj@suse.de>
|
||||
|
||||
* gcse.c (add_label_notes): REG_LABEL is an INSN_LIST.
|
||||
* loop.c (add_label_notes): Likewise.
|
||||
* reload.c (find_reloads): Likewise.
|
||||
* config/sh/sh.c (machine_dependent_reorg): Likewise.
|
||||
|
||||
2001-08-31 Jason Merrill <jason_merrill@redhat.com>
|
||||
|
||||
* unwind-pe.h (read_uleb128, read_sleb128): Move actual reading
|
||||
|
|
|
@ -3238,9 +3238,9 @@ machine_dependent_reorg (first)
|
|||
or pseudo-op. */
|
||||
|
||||
label = gen_label_rtx ();
|
||||
REG_NOTES (link) = gen_rtx_EXPR_LIST (REG_LABEL, label,
|
||||
REG_NOTES (link) = gen_rtx_INSN_LIST (REG_LABEL, label,
|
||||
REG_NOTES (link));
|
||||
REG_NOTES (insn) = gen_rtx_EXPR_LIST (REG_LABEL, label,
|
||||
REG_NOTES (insn) = gen_rtx_INSN_LIST (REG_LABEL, label,
|
||||
REG_NOTES (insn));
|
||||
if (rescan)
|
||||
{
|
||||
|
@ -3256,7 +3256,7 @@ machine_dependent_reorg (first)
|
|||
|| ((reg2 = sfunc_uses_reg (scan))
|
||||
&& REGNO (reg2) == REGNO (reg))))
|
||||
REG_NOTES (scan)
|
||||
= gen_rtx_EXPR_LIST (REG_LABEL, label, REG_NOTES (scan));
|
||||
= gen_rtx_INSN_LIST (REG_LABEL, label, REG_NOTES (scan));
|
||||
}
|
||||
while (scan != dies);
|
||||
}
|
||||
|
|
|
@ -5113,7 +5113,7 @@ add_label_notes (x, insn)
|
|||
We no longer ignore such label references (see LABEL_REF handling in
|
||||
mark_jump_label for additional information). */
|
||||
|
||||
REG_NOTES (insn) = gen_rtx_EXPR_LIST (REG_LABEL, XEXP (x, 0),
|
||||
REG_NOTES (insn) = gen_rtx_INSN_LIST (REG_LABEL, XEXP (x, 0),
|
||||
REG_NOTES (insn));
|
||||
if (LABEL_P (XEXP (x, 0)))
|
||||
LABEL_NUSES (XEXP (x, 0))++;
|
||||
|
|
|
@ -1626,7 +1626,7 @@ add_label_notes (x, insns)
|
|||
for (insn = insns; insn; insn = NEXT_INSN (insn))
|
||||
if (reg_mentioned_p (XEXP (x, 0), insn))
|
||||
{
|
||||
REG_NOTES (insn) = gen_rtx_EXPR_LIST (REG_LABEL, XEXP (x, 0),
|
||||
REG_NOTES (insn) = gen_rtx_INSN_LIST (REG_LABEL, XEXP (x, 0),
|
||||
REG_NOTES (insn));
|
||||
if (LABEL_P (XEXP (x, 0)))
|
||||
LABEL_NUSES (XEXP (x, 0))++;
|
||||
|
|
|
@ -3875,7 +3875,7 @@ find_reloads (insn, replace, ind_levels, live_known, reload_reg_p)
|
|||
if (GET_CODE (insn) != JUMP_INSN
|
||||
&& GET_CODE (substitution) == LABEL_REF
|
||||
&& !find_reg_note (insn, REG_LABEL, XEXP (substitution, 0)))
|
||||
REG_NOTES (insn) = gen_rtx_EXPR_LIST (REG_LABEL,
|
||||
REG_NOTES (insn) = gen_rtx_INSN_LIST (REG_LABEL,
|
||||
XEXP (substitution, 0),
|
||||
REG_NOTES (insn));
|
||||
}
|
||||
|
@ -5782,7 +5782,7 @@ subst_reloads (insn)
|
|||
register refers to. */
|
||||
if (GET_CODE (*r->where) == LABEL_REF
|
||||
&& GET_CODE (insn) == JUMP_INSN)
|
||||
REG_NOTES (insn) = gen_rtx_EXPR_LIST (REG_LABEL,
|
||||
REG_NOTES (insn) = gen_rtx_INSN_LIST (REG_LABEL,
|
||||
XEXP (*r->where, 0),
|
||||
REG_NOTES (insn));
|
||||
|
||||
|
|
Loading…
Reference in New Issue