reload.c (find_reloads): Adjust LABEL_NUSES on REG_LABEL_OPERAND insertion.
* reload.c (find_reloads): Adjust LABEL_NUSES on REG_LABEL_OPERAND insertion. From-SVN: r182903
This commit is contained in:
parent
bfeb0869d6
commit
6bfd2688d6
|
@ -1,3 +1,8 @@
|
|||
2012-01-05 Marcus Shawcroft <marcus.shawcroft@arm.com>
|
||||
|
||||
* reload.c (find_reloads): Adjust LABEL_NUSES on REG_LABEL_OPERAND
|
||||
insertion.
|
||||
|
||||
2012-01-05 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR bootstrap/51648
|
||||
|
|
|
@ -4208,7 +4208,12 @@ find_reloads (rtx insn, int replace, int ind_levels, int live_known,
|
|||
&& (!JUMP_P (insn)
|
||||
|| !label_is_jump_target_p (XEXP (substitution, 0),
|
||||
insn)))
|
||||
add_reg_note (insn, REG_LABEL_OPERAND, XEXP (substitution, 0));
|
||||
{
|
||||
add_reg_note (insn, REG_LABEL_OPERAND, XEXP (substitution, 0));
|
||||
if (LABEL_P (XEXP (substitution, 0)))
|
||||
++LABEL_NUSES (XEXP (substitution, 0));
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
retval |= (substed_operand[i] != *recog_data.operand_loc[i]);
|
||||
|
|
Loading…
Reference in New Issue