(record_reg_life): Mark an unused reg as such, even if it appears in

SET_SRC.

From-SVN: r1993
This commit is contained in:
James Van Artsdalen 1992-08-29 07:33:16 +00:00
parent 8a6c15383e
commit c860870600
1 changed files with 1 additions and 2 deletions

View File

@ -1106,8 +1106,7 @@ record_reg_life (insn, block, regstack)
REG_NOTES (insn) = gen_rtx (EXPR_LIST, REG_DEAD,
FP_mode_reg[regno][(int) DFmode],
REG_NOTES (insn));
else if (TEST_HARD_REG_BIT (dest, regno)
&& ! TEST_HARD_REG_BIT (src, regno))
else if (TEST_HARD_REG_BIT (dest, regno))
REG_NOTES (insn) = gen_rtx (EXPR_LIST, REG_UNUSED,
FP_mode_reg[regno][(int) DFmode],
REG_NOTES (insn));