aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2021-10-27 09:41:38 +0200
committerJakub Jelinek <jakub@redhat.com>2021-10-27 09:43:40 +0200
commit4f1fe0dc25391a1d73c1034a85b3b6bf04c5e26e (patch)
tree06432cf6fb7e715c1d1b54d83d1fb6b0d39ca6cc /gcc
parenteef811490646a68c9893968a421b351e7bf704e1 (diff)
downloadgcc-4f1fe0dc25391a1d73c1034a85b3b6bf04c5e26e.zip
gcc-4f1fe0dc25391a1d73c1034a85b3b6bf04c5e26e.tar.gz
gcc-4f1fe0dc25391a1d73c1034a85b3b6bf04c5e26e.tar.bz2
testsuite: Fix up gcc.dg/pr102897.c testcase [PR102897]
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.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/gcc.dg/pr102897.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/pr102897.c b/gcc/testsuite/gcc.dg/pr102897.c
index bb14dcc..8e0d25e 100644
--- a/gcc/testsuite/gcc.dg/pr102897.c
+++ b/gcc/testsuite/gcc.dg/pr102897.c
@@ -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. */