From 65df3aefaa6c0735bd46ffdc7b5018a8b4020ab8 Mon Sep 17 00:00:00 2001 From: Richard Sandiford Date: Tue, 15 Feb 2022 18:09:34 +0000 Subject: [PATCH] aarch64: Fix store_v2vec_lanes.c failure store_v2vec_lanes.c started failing after SLP was enabled at -O2. The test is specifically checking what happens for unvectorised code, with the vectors being constructed from individal addition results. gcc/testsuite/ * gcc.target/aarch64/store_v2vec_lanes.c: Add -fno-tree-vectorize. --- gcc/testsuite/gcc.target/aarch64/store_v2vec_lanes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/gcc.target/aarch64/store_v2vec_lanes.c b/gcc/testsuite/gcc.target/aarch64/store_v2vec_lanes.c index 3296d04..7ea8a67 100644 --- a/gcc/testsuite/gcc.target/aarch64/store_v2vec_lanes.c +++ b/gcc/testsuite/gcc.target/aarch64/store_v2vec_lanes.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O2" } */ +/* { dg-options "-O2 -fno-tree-vectorize" } */ typedef long long v2di __attribute__ ((vector_size (16))); typedef double v2df __attribute__ ((vector_size (16))); -- 2.7.4