https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109822
--- Comment #4 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:467887d5750d03d438ab704437b2c5e5da78497e commit r12-9666-g467887d5750d03d438ab704437b2c5e5da78497e Author: Matthias Kretz <m.kr...@gsi.de> Date: Fri May 26 12:23:44 2023 +0200 libstdc++: Correct NTTP and simd_mask ctor call Signed-off-by: Matthias Kretz <m.kr...@gsi.de> libstdc++-v3/ChangeLog: PR libstdc++/109822 * include/experimental/bits/simd.h (to_native): Use int NTTP as specified in PTS2. (to_compatible): Likewise. Add missing tag to call mask generator ctor. * testsuite/experimental/simd/pr109822_cast_functions.cc: New test. (cherry picked from commit 668d43502f465d48adbc1fe2956b979f36657e5f)