diff options
Diffstat (limited to 'gcc/config/rs6000/rs6000.c')
-rw-r--r-- | gcc/config/rs6000/rs6000.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index 52e951f9..557dc19 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -3238,9 +3238,10 @@ validate_condition_mode (code, mode) || code == UNGE || code == UNLE)) abort(); - /* These should never be generated except for fast_math. */ + /* These should never be generated except for + flag_unsafe_math_optimizations. */ if (mode == CCFPmode - && ! flag_fast_math + && ! flag_unsafe_math_optimizations && (code == LE || code == GE || code == UNEQ || code == LTGT || code == UNGT || code == UNLT)) @@ -4454,9 +4455,9 @@ rs6000_generate_compare (code) rs6000_compare_op1))); /* Some kinds of FP comparisons need an OR operation; - except that for fast_math we don't bother. */ + except for flag_unsafe_math_optimizations we don't bother. */ if (rs6000_compare_fp_p - && ! flag_fast_math + && ! flag_unsafe_math_optimizations && (code == LE || code == GE || code == UNEQ || code == LTGT || code == UNGT || code == UNLT)) |