Hi, This test makes use of the `__vector(int[4])' type, which is not supported on all targets, so guard the test with target avx_runtime || vect_sizes_16B_8B, fixing PR104740.
Regression tested on x86_64-linux-gnu, committed to mainline. Regards, Iain. --- PR d/104740 gcc/testsuite/ChangeLog: * gdc.dg/simd_ctfe.d: Compile with target avx_runtime or vect_sizes_16B_8B. --- gcc/testsuite/gdc.dg/simd_ctfe.d | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/gdc.dg/simd_ctfe.d b/gcc/testsuite/gdc.dg/simd_ctfe.d index b254cf312cb..507de17baa2 100644 --- a/gcc/testsuite/gdc.dg/simd_ctfe.d +++ b/gcc/testsuite/gdc.dg/simd_ctfe.d @@ -1,4 +1,5 @@ -// { dg-do compile } +// { dg-additional-options "-mavx" { target avx_runtime } } +// { dg-do compile { target { avx_runtime || vect_sizes_16B_8B } } } import core.simd; // https://issues.dlang.org/show_bug.cgi?id=19627 -- 2.32.0