https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110050
Bug ID: 110050 Summary: experimental/simd/pr109822_cast_functions.cc fails on arm after g:668d43502f465d48adbc1fe2956b979f36657e5f Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: clyon at gcc dot gnu.org Target Milestone: --- After commit g:668d43502f465d48adbc1fe2956b979f36657e5f, I've noticed that experimental/simd/pr109822_cast_functions.cc is now failing on arm targets: FAIL: experimental/simd/pr109822_cast_functions.cc -ffast-math -O2 -Wno-psabi (test for excess errors) Excess errors: /libstdc++-v3/include/experimental/bits/simd.h:2418: error: static assertion failed: should use explicit specialization above /libstdc++-v3/include/experimental/bits/simd.h:2421: error: invalid use of incomplete type 'struct std::experimental::parallelism_v2::__intrinsic_type<long double, 16, void>' /libstdc++-v3/include/experimental/bits/simd_builtin.h:827: error: invalid application of '__alignof__' to incomplete type 'std::experimental::parallelism_v2::_GnuTraits<long double, long long int, std::experimental::parallelism_v2::simd_abi::_VecBuiltin<16>, 2>::_SimdMember' {aka 'std::experimental::parallelism_v2::_SimdWrapper<long double, 2, void>'} /libstdc++-v3/include/experimental/bits/simd.h:5492: error: requested alignment is not an integer constant /libstdc++-v3/include/experimental/bits/simd.h:5492: error: 'std::experimental::parallelism_v2::simd<_Tp, _Abi>::_M_data' has incomplete type /libstdc++-v3/include/experimental/bits/simd.h:4529: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] [...] I noticed this on trunk, I didn't check all the releases branches, but I noticed that this commit was backported to gcc 11, 12 and 13.