[Bug middle-end/124630] popcnt (a ^ (a - 1)) -1 is ctz when a is known non-zero

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Mar 25 05:25:54 GMT 2026


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

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