flag_finite_math_only, not flag_unsafe_math_optimizations.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96764
138bc75d-0d04-0410-961f-
82ee72b054a4
+2005-03-20 David Edelsohn <edelsohn@gnu.org>
+
+ * config/rs6000/rs6000.c (rs6000_generate_compare): Test
+ flag_finite_math_only, not flag_unsafe_math_optimizations.
+
2005-03-20 Kazu Hirata <kazu@cs.umass.edu>
* builtins.c (fold_builtin_1): Update a call to
}
/* Some kinds of FP comparisons need an OR operation;
- under flag_unsafe_math_optimizations we don't bother. */
+ under flag_finite_math_only we don't bother. */
if (rs6000_compare_fp_p
- && ! flag_unsafe_math_optimizations
- && ! (TARGET_HARD_FLOAT && TARGET_E500 && !TARGET_FPRS)
+ && !flag_finite_math_only
+ && !(TARGET_HARD_FLOAT && TARGET_E500 && !TARGET_FPRS)
&& (code == LE || code == GE
|| code == UNEQ || code == LTGT
|| code == UNGT || code == UNLT))