diff options
author | Brad Lucier <lucier@math.purdue.edu> | 2001-03-07 11:29:41 -0800 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2001-03-07 11:29:41 -0800 |
commit | de6c59795844f185e1079034b9fa777fbc12ef5a (patch) | |
tree | 996aa9dfa54be0d228dde6e7394f9adf66f7c76c /gcc/ifcvt.c | |
parent | 6822468a694e59639c0f97975a2f48951501fd37 (diff) | |
download | gcc-de6c59795844f185e1079034b9fa777fbc12ef5a.tar.gz |
Brad's -ffast-math breakup.
From-SVN: r40300
Diffstat (limited to 'gcc/ifcvt.c')
-rw-r--r-- | gcc/ifcvt.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/ifcvt.c b/gcc/ifcvt.c index 06c25fd321c..ceb7d49db2d 100644 --- a/gcc/ifcvt.c +++ b/gcc/ifcvt.c @@ -1143,7 +1143,7 @@ noce_try_minmax (if_info) to get the target to tell us... */ if (FLOAT_MODE_P (GET_MODE (if_info->x)) && TARGET_FLOAT_FORMAT == IEEE_FLOAT_FORMAT - && ! flag_fast_math) + && ! flag_unsafe_math_optimizations) return FALSE; cond = noce_get_alt_condition (if_info, if_info->a, &earliest); @@ -1397,10 +1397,10 @@ noce_operand_ok (op) if (side_effects_p (op)) return FALSE; - /* ??? Unfortuantely may_trap_p can't look at flag_fast_math, due to + /* ??? Unfortuantely may_trap_p can't look at flag_trapping_math, due to being linked into the genfoo programs. This is probably a mistake. With finite operands, most fp operations don't trap. */ - if (flag_fast_math && FLOAT_MODE_P (GET_MODE (op))) + if (!flag_trapping_math && FLOAT_MODE_P (GET_MODE (op))) switch (GET_CODE (op)) { case DIV: |