recog.c (canonicalize_change_group): Use validate_unshare_change.

2011-03-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

	* recog.c (canonicalize_change_group): Use validate_unshare_change.

From-SVN: r171285
This commit is contained in:
Andreas Krebbel 2011-03-22 11:19:11 +00:00 committed by Andreas Krebbel
parent f471fe729f
commit d89afca5b4
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2011-03-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
* recog.c (canonicalize_change_group): Use validate_unshare_change.
2011-03-22 Richard Guenther <rguenther@suse.de>
* gimple.c (gimple_rhs_class_table): POLYNOMIAL_CHREC is not

View File

@ -277,8 +277,8 @@ canonicalize_change_group (rtx insn, rtx x)
/* Oops, the caller has made X no longer canonical.
Let's redo the changes in the correct order. */
rtx tem = XEXP (x, 0);
validate_change (insn, &XEXP (x, 0), XEXP (x, 1), 1);
validate_change (insn, &XEXP (x, 1), tem, 1);
validate_unshare_change (insn, &XEXP (x, 0), XEXP (x, 1), 1);
validate_unshare_change (insn, &XEXP (x, 1), tem, 1);
return true;
}
else