[Bug tree-optimization/127080] optimize `a % b` into `a - b` if it is known that a >= b && a <= b*2; (there is a selection case too)

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Aug 26 23:59:34 GMT 2026


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

Drea Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement
           Keywords|                            |missed-optimization


More information about the Gcc-bugs mailing list