testsuite: Add -Wno-psabi to pr104505.c
authorDavid Edelsohn <dje.gcc@gmail.com>
Wed, 2 Mar 2022 13:59:01 +0000 (08:59 -0500)
committerDavid Edelsohn <dje.gcc@gmail.com>
Wed, 2 Mar 2022 18:10:37 +0000 (13:10 -0500)
The testcase references a vector type that elicits a psabi warning.
This patch adds the option to suppress the warning.

* c-c++-common/pr104505.c: Add -Wno-psabi.

gcc/testsuite/c-c++-common/pr104505.c

index 7fa3d84..2fc3bb9 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-do compile } */
+/* { dg-additional-options "-Wno-psabi" } */
 
 typedef char __attribute__((__vector_size__ (8))) U;
 typedef short __attribute__((__vector_size__ (16))) V;