rs6000.c (validate_condition_mode): Test flag_finite_math_only for CCFPmode.

* rs6000.c (validate_condition_mode): Test flag_finite_math_only
        for CCFPmode.

From-SVN: r55904
This commit is contained in:
David Edelsohn 2002-07-31 15:46:21 +00:00 committed by David Edelsohn
parent 302359da86
commit ad72b5331e
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2002-07-31 David Edelsohn <edelsohn@gnu.org>
* rs6000.c (validate_condition_mode): Test flag_finite_math_only
for CCFPmode.
2002-07-31 Richard Sandiford <rsandifo@redhat.com>
* config/mips/crtn.asm: Don't use __mips16 to determine the

View File

@ -6674,9 +6674,10 @@ validate_condition_mode (code, mode)
abort ();
/* These should never be generated except for
flag_unsafe_math_optimizations. */
flag_unsafe_math_optimizations and flag_finite_math_only. */
if (mode == CCFPmode
&& ! flag_unsafe_math_optimizations
&& ! flag_finite_math_only
&& (code == LE || code == GE
|| code == UNEQ || code == LTGT
|| code == UNGT || code == UNLT))