aboutsummaryrefslogtreecommitdiff
path: root/gcc/combine.c
diff options
context:
space:
mode:
authorRichard Kenner <kenner@vlsi1.ultra.nyu.edu>2001-01-16 22:21:16 +0000
committerRichard Kenner <kenner@gcc.gnu.org>2001-01-16 17:21:16 -0500
commit6953fdb48e46ebc61b7a4f762e19af1c6a42f36e (patch)
tree14b3a1983f97807fe8af89ebd567b35552a5cb60 /gcc/combine.c
parentdf6194d4a526ed25c30c217ea9a92d59abd20f2b (diff)
downloadgcc-6953fdb48e46ebc61b7a4f762e19af1c6a42f36e.zip
gcc-6953fdb48e46ebc61b7a4f762e19af1c6a42f36e.tar.gz
gcc-6953fdb48e46ebc61b7a4f762e19af1c6a42f36e.tar.bz2
combine.c (try_combine): If i3_subst_into_i2, properly check for I3 having more than one SET.
* combine.c (try_combine): If i3_subst_into_i2, properly check for I3 having more than one SET. From-SVN: r39077
Diffstat (limited to 'gcc/combine.c')
-rw-r--r--gcc/combine.c2
1 files changed, 1 insertions, 1 deletions
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