]> gcc.gnu.org Git - gcc.git/commitdiff
(can_reverse_comparison_p): Return 1 if -ffast-math.
authorRichard Kenner <kenner@gcc.gnu.org>
Mon, 27 Dec 1993 13:49:28 +0000 (08:49 -0500)
committerRichard Kenner <kenner@gcc.gnu.org>
Mon, 27 Dec 1993 13:49:28 +0000 (08:49 -0500)
From-SVN: r6336

gcc/jump.c

index c8d2e6dd7ff24ed3510da7e735f1f83e27f8ff67..b2181a5afec8b861e077d9a1ac4d5b825e41cf1c 100644 (file)
@@ -2574,6 +2574,7 @@ can_reverse_comparison_p (comparison, insn)
         comparison and vice versa, even for floating point.  If no operands
         are NaNs, the reversal is valid.  If some operand is a NaN, EQ is
         always false and NE is always true, so the reversal is also valid.  */
+      || flag_fast_math
       || GET_CODE (comparison) == NE
       || GET_CODE (comparison) == EQ)
     return 1;
This page took 0.086017 seconds and 5 git commands to generate.