https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125564

            Bug ID: 125564
           Summary: frange needs a way to say if `-0.0` is part of the
                    range or not
           Product: gcc
           Version: 16.0
            Status: UNCONFIRMED
          Keywords: missed-optimization
          Severity: enhancement
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: pinskia at gcc dot gnu.org
  Target Milestone: ---

While looking into changing HONOR_NANS into using the frange, I found that
frange does not support have a way to say if `-0.0` is NOT part of the range.

This can be used to change HONOR_SIGNED_ZEROS in match.pd to that information.
Right now (r.signbit_p(sign), sign) being false works, that will help for say
`a*a` (or unsigned to double conversion), but not int to double conversion.

Reply via email to