re PR bootstrap/45028 (ICE building 64-bit libjava on Solaris 2/SPARC: output_operand: invalid expression as operand)

PR bootstrap/45028
	* recgprop.c (copyprop_hardreg_forward_1): If changed is true,
	call cprop_find_used_regs again via note_uses.

From-SVN: r162427
This commit is contained in:
Jakub Jelinek 2010-07-22 22:48:42 +02:00 committed by Jakub Jelinek
parent 7be7d292fb
commit 828f2c8b2e
2 changed files with 14 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2010-07-22 Jakub Jelinek <jakub@redhat.com>
PR bootstrap/45028
* recgprop.c (copyprop_hardreg_forward_1): If changed is true,
call cprop_find_used_regs again via note_uses.
2010-07-22 Eric Botcazou <ebotcazou@adacore.com>
* alias.c (get_alias_set): Fix formatting issues.

View file

@ -947,7 +947,14 @@ copyprop_hardreg_forward_1 (basic_block bb, struct value_data *vd)
did_replacement:
if (changed)
anything_changed = true;
{
anything_changed = true;
/* If something changed, perhaps further changes to earlier
DEBUG_INSNs can be applied. */
if (vd->n_debug_insn_changes)
note_uses (&PATTERN (insn), cprop_find_used_regs, vd);
}
/* Clobber call-clobbered registers. */
if (CALL_P (insn))