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

Jakub Jelinek jakub@redhat.com
Tue Jun 8 08:08:54 GMT 2021


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.

--- 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;

	Jakub



More information about the Gcc-patches mailing list