https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82479
Steve Ellcey <sje at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |sje at gcc dot gnu.org Known to work| |9.0 Resolution|--- |FIXED --- Comment #14 from Steve Ellcey <sje at gcc dot gnu.org> --- It looks like the fix for this is checked in. I verified that on Aarch64, when compiling bits.cpp from 531.deepsjeng_r in SPEC 2017, GCC generated a __builtin_popcount call. It looks like this went in after the 8.* branch was created so 9.1 would be the first version to have it.