public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-7455] testsuite: Add -Wno-psabi to pr104505.c
@ 2022-03-02 18:10 David Edelsohn
  0 siblings, 0 replies; only message in thread
From: David Edelsohn @ 2022-03-02 18:10 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:38c1731193fe12d951f3010880406505507d90c1

commit r12-7455-g38c1731193fe12d951f3010880406505507d90c1
Author: David Edelsohn <dje.gcc@gmail.com>
Date:   Wed Mar 2 08:59:01 2022 -0500

    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.

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-03-02 18:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-02 18:10 [gcc r12-7455] testsuite: Add -Wno-psabi to pr104505.c David Edelsohn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).