Commit c2d7c918 by Richard Stallman

(mark_jump_label): Copy LABEL_REF_NONLOCAL_P

from LABEL_REF into REG_LABEL note.

From-SVN: r2605
parent 1709c754
......@@ -2989,8 +2989,13 @@ mark_jump_label (x, insn, cross_jump)
|| ! (GET_CODE (next) == JUMP_INSN
&& (GET_CODE (PATTERN (next)) == ADDR_VEC
|| GET_CODE (PATTERN (next)) == ADDR_DIFF_VEC)))
REG_NOTES (insn) = gen_rtx (EXPR_LIST, REG_LABEL, label,
REG_NOTES (insn));
{
REG_NOTES (insn) = gen_rtx (EXPR_LIST, REG_LABEL, label,
REG_NOTES (insn));
/* Record in the note whether label is nonlocal. */
LABEL_REF_NONLOCAL_P (REG_NOTES (insn))
= LABEL_REF_NONLOCAL_P (x);
}
}
}
return;
......
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