]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
arm.c (final_prescan_insn, case INSN): If an insn doesn't contain a SET or a PARALLEL...
authorRichard Earnshaw <rearnsha@arm.com>
Mon, 9 Nov 1998 22:07:31 +0000 (22:07 +0000)
committerJeff Law <law@gcc.gnu.org>
Mon, 9 Nov 1998 22:07:31 +0000 (15:07 -0700)
        * arm.c (final_prescan_insn, case INSN): If an insn doesn't
        contain a SET or a PARALLEL, don't consider it for conditional
        execution.

From-SVN: r23589

gcc/ChangeLog
gcc/config/arm/arm.c

index 4820a7784c3c77ccb262398caa5fd1e1806edcc4..070436b6750bd1961676ad09e2ef743fbe9f6a0c 100644 (file)
@@ -1,3 +1,9 @@
+Mon Nov  9 23:05:51 1998  Richard Earnshaw (rearnsha@arm.com)
+
+       * arm.c (final_prescan_insn, case INSN): If an insn doesn't 
+       contain a SET or a PARALLEL, don't consider it for conditional
+       execution.
+
 Mon Nov  9 22:43:57 1998  Jean-Pierre Radley <jpr@jpr.com>
 
         * fixinc.sco: Paramaterize #include_next values.
index 9a808a80f8dc4a4d6ffec51e9f5482de551e6853..b201a0b5f8c37c5b6d9b83d2a1e27599662e5609 100644 (file)
@@ -5866,9 +5866,9 @@ final_prescan_insn (insn, opvec, noperands)
              /* Instructions using or affecting the condition codes make it
                 fail.  */
              scanbody = PATTERN (this_insn);
-             if ((GET_CODE (scanbody) == SET
-                  || GET_CODE (scanbody) == PARALLEL)
-                 && get_attr_conds (this_insn) != CONDS_NOCOND)
+             if ((GET_CODE (scanbody) == SET
+                    || GET_CODE (scanbody) == PARALLEL)
+                 || get_attr_conds (this_insn) != CONDS_NOCOND)
                fail = TRUE;
              break;