testsuite: Fix up g++.target/i386/vec-tmpl1.C testcase [PR65211]
authorJakub Jelinek <jakub@redhat.com>
Tue, 26 Apr 2022 07:52:22 +0000 (09:52 +0200)
committerJakub Jelinek <jakub@redhat.com>
Tue, 26 Apr 2022 07:54:43 +0000 (09:54 +0200)
This test fails on i686-linux:
Excess errors:
.../gcc/testsuite/g++.target/i386/vec-tmpl1.C:13:27: warning: SSE vector return without SSE enabled changes the ABI [-Wpsabi]

2022-04-26  Jakub Jelinek  <jakub@redhat.com>

PR c++/65211
* g++.target/i386/vec-tmpl1.C: Add -Wno-psabi as
dg-additional-options.

gcc/testsuite/g++.target/i386/vec-tmpl1.C

index d512072..e0865e3 100644 (file)
@@ -1,4 +1,5 @@
 // PR c++/65211
+// { dg-additional-options "-Wno-psabi" }
 // { dg-final { scan-assembler-not "movdqa" } }
 
 typedef unsigned v4ui __attribute__ ((vector_size(16), aligned (16)));