https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82479
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2017-10-09 Ever confirmed|0 |1 --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Confirmed. How useful this optimization is questionable. Gcc has __builtin_popcount which can be used.