From: David Edelsohn Date: Wed, 31 Jul 2002 15:46:21 +0000 (+0000) Subject: rs6000.c (validate_condition_mode): Test flag_finite_math_only for CCFPmode. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ad72b5331e04616e343f3b7f92c4cd4c784c3d86;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ff553ab4207..5d79a16b7cd 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2002-07-31 David Edelsohn + + * rs6000.c (validate_condition_mode): Test flag_finite_math_only + for CCFPmode. + 2002-07-31 Richard Sandiford * config/mips/crtn.asm: Don't use __mips16 to determine the diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index 891bfca5ffe..a85923f82bf 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -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))