https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90693
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|wilco at gcc dot gnu.org |pinskia at gcc dot gnu.org --- Comment #14 from Andrew Pinski <pinskia at gcc dot gnu.org> --- > __builtin_popcount (x) == 1 into x == (x & -x) Actually that should be `__builtin_popcount (x) <= 1` Anyways I am going to implement the rest here due to PR 94787 .