https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124221
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #1) > Also you could just use __builtin_parity : > https://gcc.gnu.org/onlinedocs/gcc-15.2.0/gcc/Bit-Operation-Builtins. > html#index-_005f_005fbuiltin_005fparity __builtin_parity has been around since GCC 4.0.0 even. But has not been optimized to that sequence until GCC 11.1.0: r11-1027-gf08995eefbf579 . Now the error message should be better here.
