From: Richard Kenner Date: Fri, 14 Aug 1992 18:44:54 +0000 (-0400) Subject: (fold_rtx): Fix typo in two FLOAT_STORE_FLAG_VALUE tests. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c7c955eebcd40249f1ffd2dfca29d2c3d5b0d477;p=gcc.git (fold_rtx): Fix typo in two FLOAT_STORE_FLAG_VALUE tests. From-SVN: r1837 --- diff --git a/gcc/cse.c b/gcc/cse.c index 5ff49fb810e..497766c2a70 100644 --- 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);