]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite: Add -Wno-psabi -w to pr100887.c test [PR100943]
authorJakub Jelinek <jakub@redhat.com>
Tue, 8 Jun 2021 08:06:13 +0000 (10:06 +0200)
committerJakub Jelinek <jakub@redhat.com>
Tue, 8 Jun 2021 08:07:33 +0000 (10:07 +0200)
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.

gcc/testsuite/gcc.dg/pr100887.c

index de6b3effe13a5d98f9dbaf9603186e54ec9afb85..027025f32f6fc5a5ee1cdbb9b9213f4329375a1e 100644 (file)
@@ -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;