(if_then_else_cond): Fix typo in narrowing of a SUBREG.
authorRichard Kenner <kenner@gcc.gnu.org>
Fri, 25 Feb 1994 14:00:07 +0000 (09:00 -0500)
committerRichard Kenner <kenner@gcc.gnu.org>
Fri, 25 Feb 1994 14:00:07 +0000 (09:00 -0500)
From-SVN: r6624

gcc/combine.c

index 4317341be116464f989a450f52c86b2915853296..da6daa36c163ea0611108232f6c17310c3748207 100644 (file)
@@ -6238,11 +6238,10 @@ if_then_else_cond (x, ptrue, pfalse)
           && 0 != (cond0 = if_then_else_cond (SUBREG_REG (x),
                                               &true0, &false0)))
     {
-      enum machine_mode inner_mode = GET_MODE (SUBREG_REG (x));
-      unsigned HOST_WIDE_INT mask = GET_MODE_MASK (inner_mode);
+      *ptrue = force_to_mode (true0, mode, GET_MODE_MASK (mode), NULL_RTX, 0);
+      *pfalse
+       = force_to_mode (false0, mode, GET_MODE_MASK (mode), NULL_RTX, 0);
 
-      *ptrue = force_to_mode (true0, inner_mode, mask, NULL_RTX, 0);
-      *pfalse = force_to_mode (false0, inner_mode, mask, NULL_RTX, 0);
       return cond0;
     }