testsuite: Fix up gcc.dg/pr102897.c testcase [PR102897]
authorJakub Jelinek <jakub@redhat.com>
Wed, 27 Oct 2021 07:41:38 +0000 (09:41 +0200)
committerJakub Jelinek <jakub@redhat.com>
Wed, 27 Oct 2021 07:43:40 +0000 (09:43 +0200)
The testcase FAILs on i686-linux due to:
FAIL: gcc.dg/pr102897.c (test for excess errors)
Excess errors:
.../gcc/gcc/testsuite/gcc.dg/pr102897.c:11:1: warning: MMX vector return without MMX enabled changes the ABI [-Wpsabi]
.../gcc/gcc/testsuite/gcc.dg/pr102897.c:10:10: warning: MMX vector argument without MMX enabled changes the ABI [-Wpsabi]
Fixed by adding -Wno-psabi.

2021-10-27  Jakub Jelinek  <jakub@redhat.com>

PR tree-optimization/102897
* gcc.dg/pr102897.c: Add -Wno-psabi to dg-options.

gcc/testsuite/gcc.dg/pr102897.c

index bb14dcc..8e0d25e 100644 (file)
@@ -1,6 +1,6 @@
 /* { dg-do compile } */
 /* Specify C99 to avoid the warning/error on compound literals.  */
-/* { dg-options "-O1 -std=c99" } */
+/* { dg-options "-O1 -std=c99 -Wno-psabi" } */
 
 /* Verify that there is no ICE.  */