Correctly apply last change.
authorRichard Kenner <kenner@gcc.gnu.org>
Wed, 19 Aug 1992 11:32:24 +0000 (07:32 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Wed, 19 Aug 1992 11:32:24 +0000 (07:32 -0400)
From-SVN: r1895

gcc/combine.c

index 55b9dd77e1e2e555319fbdfe130b62f92611a107..7372e1663922a434bc2a3aed27a5a5b6f09d0cc1 100644 (file)
@@ -7544,9 +7544,6 @@ simplify_comparison (code, pop0, pop1)
          break;
 
        case SUBREG:
-         /* If the inner mode is narrower and we are extracting the low part,
-            we can treat the SUBREG as if it were a ZERO_EXTEND.  */
-         if (subreg_lowpart_p (op0)
          /* Check for the case where we are comparing A - C1 with C2,
             both constants are smaller than 1/2 the maxium positive
             value in MODE, and the comparison is equality or unsigned.
@@ -7576,6 +7573,9 @@ simplify_comparison (code, pop0, pop1)
              continue;
            }
 
+         /* If the inner mode is narrower and we are extracting the low part,
+            we can treat the SUBREG as if it were a ZERO_EXTEND.  */
+         if (subreg_lowpart_p (op0)
              && GET_MODE_BITSIZE (GET_MODE (SUBREG_REG (op0))) < mode_width)
            /* Fall through */ ;
          else