testsuite: Fix up g++.dg/ext/vector40.C test
authorJakub Jelinek <jakub@redhat.com>
Tue, 6 Apr 2021 09:46:32 +0000 (11:46 +0200)
committerJakub Jelinek <jakub@redhat.com>
Tue, 6 Apr 2021 09:46:32 +0000 (11:46 +0200)
The test FAILs on i686-linux due to -Wpsabi diagnostics.

2021-04-06  Jakub Jelinek  <jakub@redhat.com>

PR c++/97900
* g++.dg/ext/vector40.C: Add -Wno-psabi -w to dg-options.

gcc/testsuite/g++.dg/ext/vector40.C

index 885afb0..66b6b64 100644 (file)
@@ -1,4 +1,5 @@
 // PR c++/97900
+// { dg-options "-Wno-psabi -w" }
 
 template<typename T>
 T test(T __attribute__((vector_size(2 * sizeof(T)))) vec) {