diff options
author | Jakub Jelinek <jakub@redhat.com> | 2021-06-08 10:06:13 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2021-06-08 10:07:33 +0200 |
commit | ec2174c6957e97bd69c001a782cd52b98e6ba2fb (patch) | |
tree | e6d58209eb3108322571cc0aa671a66477a344f0 | |
parent | 245517470d6948a40cead9f5c312b8d79ac5c491 (diff) | |
download | gcc-ec2174c6957e97bd69c001a782cd52b98e6ba2fb.zip gcc-ec2174c6957e97bd69c001a782cd52b98e6ba2fb.tar.gz gcc-ec2174c6957e97bd69c001a782cd52b98e6ba2fb.tar.bz2 |
testsuite: Add -Wno-psabi -w to pr100887.c test [PR100943]
On x86 the test is using -mavx512f and so never reports the various
-Wpsabi notes/warnings, but on other targets it can.
2021-06-08 Jakub Jelinek <jakub@redhat.com>
PR target/100887
PR testsuite/100943
* gcc.dg/pr100887.c: Add -Wno-psabi -w to dg-options.
-rw-r--r-- | gcc/testsuite/gcc.dg/pr100887.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/pr100887.c b/gcc/testsuite/gcc.dg/pr100887.c index de6b3ef..027025f 100644 --- a/gcc/testsuite/gcc.dg/pr100887.c +++ b/gcc/testsuite/gcc.dg/pr100887.c @@ -1,6 +1,6 @@ /* PR target/100887 */ /* { dg-do compile } */ -/* { dg-options "" } */ +/* { dg-options "-Wno-psabi -w" } */ /* { dg-additional-options "-mavx512f" { target { i?86-*-* x86_64-*-* } } } */ typedef unsigned long long __attribute__((__vector_size__ (2 * sizeof (long long)))) U; |