aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Edelsohn <dje.gcc@gmail.com>2022-03-02 08:59:01 -0500
committerDavid Edelsohn <dje.gcc@gmail.com>2022-03-02 13:10:37 -0500
commit38c1731193fe12d951f3010880406505507d90c1 (patch)
treec9ca548f0c2177b09a9521dbe7415d4169dbbf67
parent8977f4bec650bb6975792772245b07b722ee9843 (diff)
downloadgcc-38c1731193fe12d951f3010880406505507d90c1.zip
gcc-38c1731193fe12d951f3010880406505507d90c1.tar.gz
gcc-38c1731193fe12d951f3010880406505507d90c1.tar.bz2
testsuite: Add -Wno-psabi to pr104505.c
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.
-rw-r--r--gcc/testsuite/c-c++-common/pr104505.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/testsuite/c-c++-common/pr104505.c b/gcc/testsuite/c-c++-common/pr104505.c
index 7fa3d84..2fc3bb9 100644
--- a/gcc/testsuite/c-c++-common/pr104505.c
+++ b/gcc/testsuite/c-c++-common/pr104505.c
@@ -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;