[Bug libstdc++/109261] std::experimental::simd is not usable in several constant expressions

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed May 24 11:06:51 GMT 2023


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109261

--- Comment #10 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Matthias Kretz <mkretz@gcc.gnu.org>:

https://gcc.gnu.org/g:aa8b363171a95b8f867a74f29c75f9577e9087e1

commit r14-1160-gaa8b363171a95b8f867a74f29c75f9577e9087e1
Author: Matthias Kretz <m.kretz@gsi.de>
Date:   Wed May 24 12:50:46 2023 +0200

    libstdc++: Fix SFINAE for __is_intrinsic_type on ARM

    On ARM NEON doesn't support double, so __is_intrinsic_type_v<double,
    whatever> should say false (instead of being ill-formed).

    Signed-off-by: Matthias Kretz <m.kretz@gsi.de>

    libstdc++-v3/ChangeLog:

            PR libstdc++/109261
            * include/experimental/bits/simd.h (__intrinsic_type):
            Specialize __intrinsic_type<double, 8> and
            __intrinsic_type<double, 16> in any case, but provide the member
            type only with __aarch64__.


More information about the Gcc-bugs mailing list