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
This commit is contained in:
Richard Kenner 2001-01-16 22:21:16 +00:00 committed by Richard Kenner
parent df6194d4a5
commit 6953fdb48e
2 changed files with 6 additions and 1 deletions

View 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.

View 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