From: Andreas Krebbel Date: Tue, 22 Mar 2011 11:19:11 +0000 (+0000) Subject: recog.c (canonicalize_change_group): Use validate_unshare_change. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d89afca5b4d2bfa3742466f29670c64868185b08;p=gcc.git recog.c (canonicalize_change_group): Use validate_unshare_change. 2011-03-22 Andreas Krebbel * recog.c (canonicalize_change_group): Use validate_unshare_change. From-SVN: r171285 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ab8ea93caf7..7aac8837ea0 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2011-03-22 Andreas Krebbel + + * recog.c (canonicalize_change_group): Use validate_unshare_change. + 2011-03-22 Richard Guenther * gimple.c (gimple_rhs_class_table): POLYNOMIAL_CHREC is not diff --git a/gcc/recog.c b/gcc/recog.c index 8fb96a0ed83..c6ba1953ac9 100644 --- a/gcc/recog.c +++ b/gcc/recog.c @@ -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