]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite: Fix up c-c++-common/builtin-shufflevector-3.c testcase [PR101530]
authorJakub Jelinek <jakub@redhat.com>
Wed, 12 Jan 2022 08:39:21 +0000 (09:39 +0100)
committerJakub Jelinek <jakub@redhat.com>
Wed, 12 Jan 2022 08:39:21 +0000 (09:39 +0100)
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.

gcc/testsuite/c-c++-common/builtin-shufflevector-3.c

index 0c9bda689ef7909c5868c13a2d8cdd4156038650..6e8fb643f402e2eda742df00fcc5626cbf49df87 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-do compile } */
+/* { dg-options "-Wno-psabi" } */
 
 typedef int __attribute__((__vector_size__ (sizeof(int)*4))) V;