Commit a394b17b by Jim Wilson

(distribute_notes, REG_DEAD case): Handle hard

registers which partially overlap the destination of the insn.

From-SVN: r4327
parent 97def4ff
......@@ -9773,6 +9773,16 @@ distribute_notes (notes, from_insn, i3, i2, elim_i2, elim_i1)
all_used = 0;
}
/* Check for the case where the register dying partially
overlaps the register set by this insn. */
if (all_used)
for (i = regno; i < endregno; i++)
if (dead_or_set_regno_p (place, i))
{
all_used = 0;
break;
}
if (! all_used)
{
/* Put only REG_DEAD notes for pieces that are
......
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