Commit 8a0c27ee by Richard Kenner

(record_reg_life): Call record_reg_life_pat with 0 for douse argument so that...

(record_reg_life): Call record_reg_life_pat with 0 for douse argument
so that USE's created to mark variables within blocks don't get marked
as set.

From-SVN: r9991
parent 66759bfb
......@@ -1199,7 +1199,7 @@ record_reg_life (insn, block, regstack)
if (GET_CODE (XEXP (note, 0)) == USE)
record_reg_life_pat (SET_DEST (XEXP (note, 0)), &src, NULL_PTR, 0);
record_reg_life_pat (PATTERN (insn), &src, &dest, 1);
record_reg_life_pat (PATTERN (insn), &src, &dest, 0);
for (regno = FIRST_STACK_REG; regno <= LAST_STACK_REG; regno++)
if (! TEST_HARD_REG_BIT (regstack->reg_set, regno))
{
......
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