diff mbox series

[committed] testsuite: Add -Wno-psabi -w to pr100887.c test [PR100943]

Message ID 20210608080854.GN7746@tucnak
State New
Headers show
Series [committed] testsuite: Add -Wno-psabi -w to pr100887.c test [PR100943] | expand

Commit Message

Jakub Jelinek June 8, 2021, 8:08 a.m. UTC
Hi!

On x86 the test is using -mavx512f and so never reports the various
-Wpsabi notes/warnings, but on other targets it can.

Committed to trunk as obvious.

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.


	Jakub
diff mbox series

Patch

--- gcc/testsuite/gcc.dg/pr100887.c.jj	2021-06-07 09:28:21.990747548 +0200
+++ gcc/testsuite/gcc.dg/pr100887.c	2021-06-07 17:46:14.413145889 +0200
@@ -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;