PowerPC validate_condition_mode (g77 regression fix)

David Edelsohn dje@watson.ibm.com
Wed Jul 31 09:52:00 GMT 2002


	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))



More information about the Gcc-patches mailing list