aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/combine.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index ff1f38e..2fe96be 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+Tue Jan 16 17:20:43 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
+
+ * combine.c (try_combine): If i3_subst_into_i2, properly check for
+ I3 having more than one SET.
+
2001-01-16 Jim Wilson <wilson@redhat.com>
* invoke.texi: Document IA-64 options.
diff --git a/gcc/combine.c b/gcc/combine.c
index 30b13c8..e684ba1 100644
--- a/gcc/combine.c
+++ b/gcc/combine.c
@@ -2524,7 +2524,7 @@ try_combine (i3, i2, i1, new_direct_jump_p)
actually came from I3, so that REG_UNUSED notes from I2 will be
properly handled. */
- if (i3_subst_into_i2 && GET_CODE (PATTERN (i2)) == PARALLEL)
+ if (i3_subst_into_i2 && single_set (i2) == 0)
{
for (i = 0; i < XVECLEN (PATTERN (i2), 0); i++)
if (GET_CODE (XVECEXP (PATTERN (i2), 0, i)) != USE