+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
&& (!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]);