From 38c1731193fe12d951f3010880406505507d90c1 Mon Sep 17 00:00:00 2001 From: David Edelsohn Date: Wed, 2 Mar 2022 08:59:01 -0500 Subject: [PATCH] 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. --- gcc/testsuite/c-c++-common/pr104505.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gcc/testsuite/c-c++-common/pr104505.c b/gcc/testsuite/c-c++-common/pr104505.c index 7fa3d841197..2fc3bb99ddc 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;