https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109949
--- Comment #10 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-12 branch has been updated by Matthias Kretz <mkr...@gcc.gnu.org>: https://gcc.gnu.org/g:ff7360dafe209b960535eaaa3efcfbaaa44daff9 commit r12-9652-gff7360dafe209b960535eaaa3efcfbaaa44daff9 Author: Matthias Kretz <m.kr...@gsi.de> Date: Wed May 24 16:43:07 2023 +0200 libstdc++: Fix type of first argument to vec_cntm call Signed-off-by: Matthias Kretz <m.kr...@gsi.de> libstdc++-v3/ChangeLog: PR libstdc++/109949 * include/experimental/bits/simd.h (__intrinsic_type): If __ALTIVEC__ is defined, map gnu::vector_size types to their corresponding __vector T types without losing unsignedness of integer types. Also prefer long long over long. * include/experimental/bits/simd_ppc.h (_S_popcount): Cast mask object to the expected unsigned vector type. (cherry picked from commit efd2b55d8562c6e80cb7ee8b9b1f9418f0c00cd9)