From 2b4c6d4a6f7f49d9980baf681f7121616df04c78 Mon Sep 17 00:00:00 2001 From: kenner Date: Tue, 16 Jan 2001 22:21:16 +0000 Subject: [PATCH] * combine.c (try_combine): If i3_subst_into_i2, properly check for I3 having more than one SET. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39077 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 5 +++++ gcc/combine.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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 -- 2.11.4.GIT