(fold_rtx): Fix typo in two FLOAT_STORE_FLAG_VALUE tests.
authorRichard Kenner <kenner@gcc.gnu.org>
Fri, 14 Aug 1992 18:44:54 +0000 (14:44 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Fri, 14 Aug 1992 18:44:54 +0000 (14:44 -0400)
From-SVN: r1837

gcc/cse.c

index 5ff49fb..497766c 100644 (file)
--- a/gcc/cse.c
+++ b/gcc/cse.c
@@ -4843,7 +4843,7 @@ fold_rtx (x, insn)
          rtx true = const_true_rtx, false = const0_rtx;
 
 #ifdef FLOAT_STORE_FLAG_VALUE
-         if (GET_MODE_CLASS (mode))
+         if (GET_MODE_CLASS (mode) == MODE_FLOAT)
            {
              true = immed_real_const_1 (FLOAT_STORE_FLAG_VALUE, mode);
              false = CONST0_RTX (mode);
@@ -4961,7 +4961,7 @@ fold_rtx (x, insn)
              rtx true = const_true_rtx, false = const0_rtx;
 
 #ifdef FLOAT_STORE_FLAG_VALUE
-             if (GET_MODE_CLASS (mode))
+             if (GET_MODE_CLASS (mode) == MODE_FLOAT)
                {
                  true = immed_real_const_1 (FLOAT_STORE_FLAG_VALUE, mode);
                  false = CONST0_RTX (mode);