(subst): Don't change a conditional branch into a conditional move.
authorTom Wood <wood@gnu.org>
Tue, 13 Oct 1992 10:01:01 +0000 (10:01 +0000)
committerTom Wood <wood@gnu.org>
Tue, 13 Oct 1992 10:01:01 +0000 (10:01 +0000)
From-SVN: r2426

gcc/combine.c

index 5476599d40549c665ce5236a05afcafdbfa1399b..c3f0b49693fb0aa20602cba534252821d04a2e4f 100644 (file)
@@ -3849,7 +3849,8 @@ subst (x, from, to, in_dest, unique_copy)
         IOR'ed together.  In practice, at most two will be nonzero.  Then
         we do the IOR's.  */
 
-      if (GET_CODE (SET_SRC (x)) == IF_THEN_ELSE
+      if (GET_CODE (SET_DEST (x)) != PC
+         && GET_CODE (SET_SRC (x)) == IF_THEN_ELSE
          && (GET_CODE (XEXP (SET_SRC (x), 0)) == EQ
              || GET_CODE (XEXP (SET_SRC (x), 0)) == NE)
          && XEXP (XEXP (SET_SRC (x), 0), 1) == const0_rtx