aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2022-01-12 09:39:21 +0100
committerJakub Jelinek <jakub@redhat.com>2022-01-12 09:39:21 +0100
commit2c4dccb605d485293291878397b42927dc050481 (patch)
tree46d676222c2626a57af66baef0bfcca4f71c8a2c
parent45ddb395187f8f5f278880fe1422d8958ac35da6 (diff)
downloadgcc-2c4dccb605d485293291878397b42927dc050481.zip
gcc-2c4dccb605d485293291878397b42927dc050481.tar.gz
gcc-2c4dccb605d485293291878397b42927dc050481.tar.bz2
testsuite: Fix up c-c++-common/builtin-shufflevector-3.c testcase [PR101530]
This fixes: FAIL: c-c++-common/builtin-shufflevector-3.c -Wc++-compat (test for excess errors) Excess errors: .../gcc/testsuite/c-c++-common/builtin-shufflevector-3.c:6:1: warning: SSE vector argument without SSE enabled changes the ABI [-Wpsabi] 2022-01-12 Jakub Jelinek <jakub@redhat.com> PR middle-end/101530 * c-c++-common/builtin-shufflevector-3.c: Add -Wno-psabi to dg-options.
-rw-r--r--gcc/testsuite/c-c++-common/builtin-shufflevector-3.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/testsuite/c-c++-common/builtin-shufflevector-3.c b/gcc/testsuite/c-c++-common/builtin-shufflevector-3.c
index 0c9bda6..6e8fb64 100644
--- a/gcc/testsuite/c-c++-common/builtin-shufflevector-3.c
+++ b/gcc/testsuite/c-c++-common/builtin-shufflevector-3.c
@@ -1,4 +1,5 @@
/* { dg-do compile } */
+/* { dg-options "-Wno-psabi" } */
typedef int __attribute__((__vector_size__ (sizeof(int)*4))) V;