aboutsummaryrefslogtreecommitdiff
path: root/gcc/recog.c
diff options
context:
space:
mode:
authorAndreas Krebbel <Andreas.Krebbel@de.ibm.com>2011-03-22 11:19:11 +0000
committerAndreas Krebbel <krebbel@gcc.gnu.org>2011-03-22 11:19:11 +0000
commitd89afca5b4d2bfa3742466f29670c64868185b08 (patch)
treecae7aed4bc0760e879f500191158f779719b10a8 /gcc/recog.c
parentf471fe729f9c1a3a182818c7789a3a1893a00107 (diff)
downloadgcc-d89afca5b4d2bfa3742466f29670c64868185b08.zip
gcc-d89afca5b4d2bfa3742466f29670c64868185b08.tar.gz
gcc-d89afca5b4d2bfa3742466f29670c64868185b08.tar.bz2
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
Diffstat (limited to 'gcc/recog.c')
-rw-r--r--gcc/recog.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/recog.c b/gcc/recog.c
index 8fb96a0..c6ba1953 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