Commit 60715d0b by Richard Kenner

(reg_dead_at_p): When scanning backwards, stop at BARRIER.

From-SVN: r9885
parent 1cab3be1
......@@ -10185,7 +10185,7 @@ reg_dead_at_p (reg, insn)
/* Scan backwards until we find a REG_DEAD note, SET, CLOBBER, label, or
beginning of function. */
for (; insn && GET_CODE (insn) != CODE_LABEL;
for (; insn && GET_CODE (insn) != CODE_LABEL && GET_CODE (insn) != BARRIER;
insn = prev_nonnote_insn (insn))
{
note_stores (PATTERN (insn), reg_dead_at_p_1);
......
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