[Bug rtl-optimization/85811] Invalid optimization with fmax, fabs and nan

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed May 16 21:53:00 GMT 2018


--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
    case MAX_EXPR:
      return RECURSE (op0) || RECURSE (op1);

This is not true if one is a NAN.

More information about the Gcc-bugs mailing list