Commit 13018fad by Richard Earnshaw

(distribute_notes, case REG_DEAD): If a call uses a

hard reg, then this is where it dies.

From-SVN: r7569
parent 9966b391
...@@ -10520,7 +10520,9 @@ distribute_notes (notes, from_insn, i3, i2, elim_i2, elim_i1) ...@@ -10520,7 +10520,9 @@ distribute_notes (notes, from_insn, i3, i2, elim_i2, elim_i1)
break; break;
} }
} }
else if (reg_referenced_p (XEXP (note, 0), PATTERN (tem))) else if (reg_referenced_p (XEXP (note, 0), PATTERN (tem))
|| (GET_CODE (tem) == CALL_INSN
&& find_reg_fusage (tem, USE, XEXP (note, 0))))
{ {
place = tem; place = tem;
break; break;
......
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