]> git.ipfire.org Git - thirdparty/gcc.git/commit
libstdc++: Correct NTTP and simd_mask ctor call
authorMatthias Kretz <m.kretz@gsi.de>
Fri, 26 May 2023 10:23:44 +0000 (12:23 +0200)
committerMatthias Kretz <m.kretz@gsi.de>
Tue, 30 May 2023 14:19:07 +0000 (16:19 +0200)
commit668d43502f465d48adbc1fe2956b979f36657e5f
tree0ecc26e88b2b83f088b12b6327b7263bb4107e38
parent3e2689e568425f14d6728504ad6f5d32b90320ad
libstdc++: Correct NTTP and simd_mask ctor call

Signed-off-by: Matthias Kretz <m.kretz@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.
libstdc++-v3/include/experimental/bits/simd.h
libstdc++-v3/testsuite/experimental/simd/pr109822_cast_functions.cc [new file with mode: 0644]