[Bug tree-optimization/124675] Missed optimization: Fold `(x % C) + (x % C < 0 ? C : 0)` to `x & (C-1)` when C is a power of 2

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Mar 28 17:34:23 GMT 2026


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

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

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


More information about the Gcc-bugs mailing list