Commit a2f2ce96 by Jim Wilson

(update_flow_info): When add REG_DEAD notes for dest of

last insn, add check for global_regs.

From-SVN: r13318
parent 0a49cbd4
......@@ -4629,6 +4629,10 @@ update_flow_info (notes, first, last, orig_insn)
dest = XEXP (dest, 0);
if (GET_CODE (dest) == REG
/* Global registers are always live, so the code below does not
apply to them. */
&& (REGNO (dest) >= FIRST_PSEUDO_REGISTER
|| ! global_regs[REGNO (dest)])
&& ! reg_overlap_mentioned_p (dest, SET_SRC (set)))
{
for (insn = PREV_INSN (last); ; insn = PREV_INSN (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