From 9b2e59adde6d2e94cc01ca47d73d5eb2d4c829ab Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Mon, 27 Dec 1993 08:49:28 -0500 Subject: [PATCH] (can_reverse_comparison_p): Return 1 if -ffast-math. From-SVN: r6336 --- gcc/jump.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gcc/jump.c b/gcc/jump.c index c8d2e6dd7ff..b2181a5afec 100644 --- a/gcc/jump.c +++ b/gcc/jump.c @@ -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; -- 2.30.2