combine.c (try_combine): If i3_subst_into_i2, properly check for I3 having more than...
authorRichard Kenner <kenner@vlsi1.ultra.nyu.edu>
Tue, 16 Jan 2001 22:21:16 +0000 (22:21 +0000)
committerRichard Kenner <kenner@gcc.gnu.org>
Tue, 16 Jan 2001 22:21:16 +0000 (17:21 -0500)
* combine.c (try_combine): If i3_subst_into_i2, properly check for
I3 having more than one SET.

From-SVN: r39077

gcc/ChangeLog
gcc/combine.c

index ff1f38ec658f7801cb02cce43d9d2928b13b8b4b..2fe96be3c1f922f867cc10a2aa116f939245ab25 100644 (file)
@@ -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.
index 30b13c8d69207d028e7774568e02f6f3b7978978..e684ba15654cacbfee9537b0084f965273408606 100644 (file)
@@ -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