From: Richard Kenner Date: Tue, 16 Jan 2001 22:21:16 +0000 (+0000) Subject: combine.c (try_combine): If i3_subst_into_i2, properly check for I3 having more than... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6953fdb48e46ebc61b7a4f762e19af1c6a42f36e;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ff1f38ec658..2fe96be3c1f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Tue Jan 16 17:20:43 2001 Richard Kenner + + * combine.c (try_combine): If i3_subst_into_i2, properly check for + I3 having more than one SET. + 2001-01-16 Jim Wilson * invoke.texi: Document IA-64 options. diff --git a/gcc/combine.c b/gcc/combine.c index 30b13c8d692..e684ba15654 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