public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-7248] aarch64: Fix store_v2vec_lanes.c failure
@ 2022-02-15 18:10 Richard Sandiford
  0 siblings, 0 replies; only message in thread
From: Richard Sandiford @ 2022-02-15 18:10 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:65df3aefaa6c0735bd46ffdc7b5018a8b4020ab8

commit r12-7248-g65df3aefaa6c0735bd46ffdc7b5018a8b4020ab8
Author: Richard Sandiford <richard.sandiford@arm.com>
Date:   Tue Feb 15 18:09:34 2022 +0000

    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.

Diff:
---
 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 3296d04da14..7ea8a674f4c 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)));


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-02-15 18:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-15 18:10 [gcc r12-7248] aarch64: Fix store_v2vec_lanes.c failure Richard Sandiford

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).