diff options
author | Jakub Jelinek <jakub@redhat.com> | 2021-01-26 09:33:04 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2021-01-26 09:33:04 +0100 |
commit | eb77a934eec8fe52e4c5612f5264127290bc517d (patch) | |
tree | c59020da61aa58accd12c21e77cd306f8bdaa566 /gcc | |
parent | 7423731691e898b0581532cf277b1e08a510323a (diff) | |
download | gcc-eb77a934eec8fe52e4c5612f5264127290bc517d.zip gcc-eb77a934eec8fe52e4c5612f5264127290bc517d.tar.gz gcc-eb77a934eec8fe52e4c5612f5264127290bc517d.tar.bz2 |
testsuite: Fix up pr98807.c on i686-linux [PR98807]
The new testcase FAILs on i686-linux with:
gcc/testsuite/gcc.dg/pr98807.c: In function 'foo0':
gcc/testsuite/gcc.dg/pr98807.c:20:1: warning: SSE vector return without SSE enabled changes the ABI [-Wpsabi]
gcc/testsuite/gcc.dg/pr98807.c:19:1: note: the ABI for passing parameters with 16-byte alignment has changed in GCC 4.6
gcc/testsuite/gcc.dg/pr98807.c:19:1: warning: SSE vector argument without SSE enabled changes the ABI [-Wpsabi]
FAIL: gcc.dg/pr98807.c (test for excess errors)
Adding usual testcase treatment for such cases.
2021-01-26 Jakub Jelinek <jakub@redhat.com>
PR middle-end/98807
* gcc.dg/pr98807.c: Add -Wno-psabi -w to dg-options.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/gcc.dg/pr98807.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/pr98807.c b/gcc/testsuite/gcc.dg/pr98807.c index eb8a8d1..d4eac5a 100644 --- a/gcc/testsuite/gcc.dg/pr98807.c +++ b/gcc/testsuite/gcc.dg/pr98807.c @@ -1,6 +1,6 @@ /* { dg-do run } */ /* { dg-require-effective-target stdint_types } */ -/* { dg-options "-O2" } */ +/* { dg-options "-O2 -Wno-psabi -w" } */ /* { dg-additional-options "-mno-sse2" { target x86_64-*-* i?86-*-* } } */ #include <stdint.h> |