This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

PowerPC validate_condition_mode (g77 regression fix)


	I think this patch fixes the g77 regressions on PowerPC.

David


Index: rs6000.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/config/rs6000/rs6000.c,v
retrieving revision 1.351
diff -c -p -r1.351 rs6000.c
*** rs6000.c	30 Jul 2002 21:23:46 -0000	1.351
--- rs6000.c	31 Jul 2002 15:40:01 -0000
*************** validate_condition_mode (code, mode)
*** 6677,6682 ****
--- 6677,6683 ----
       flag_unsafe_math_optimizations.  */
    if (mode == CCFPmode
        && ! flag_unsafe_math_optimizations
+       && ! flag_finite_math_only
        && (code == LE || code == GE
  	  || code == UNEQ || code == LTGT
  	  || code == UNGT || code == UNLT))


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]