On 09/07/2026 09:17, Andrea Pinski wrote:
On Wed, Jul 8, 2026 at 6:03 AM Karl Meakin via Sourceware Forge
<[email protected]> wrote:
From: Karl Meakin <[email protected]>
The `vcopy_lane` family of intrinsics are only available on AArch64
targets (ie not on 32-bit targets), so the test should be ignored on
those targets.
gcc/testsuite/ChangeLog:
* gcc.target/aarch64/advsimd-intrinsics/vcopy_lane_indices.c:
Don't test this file on 32-bit targets.
---
.../gcc.target/aarch64/advsimd-intrinsics/vcopy_lane_indices.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vcopy_lane_indices.c
b/gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vcopy_lane_indices.c
index a289659aec2c..839b1a832347 100644
--- a/gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vcopy_lane_indices.c
+++ b/gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vcopy_lane_indices.c
@@ -1,4 +1,4 @@
-/* { dg-do assemble } */
+/* { dg-do compile { target { aarch64-*-* } } } */
Is there a reason why you changed it from assemble to compile?
Otherwise ok.
The test is only checking the error messages, not the emitted assembly,
so assembling the code is unnecessary.
#include <arm_neon.h>
--
2.54.0