public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: David Edelsohn <dje@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc r12-7455] testsuite: Add -Wno-psabi to pr104505.c
Date: Wed,  2 Mar 2022 18:10:39 +0000 (GMT)	[thread overview]
Message-ID: <20220302181039.0EAF93858D37@sourceware.org> (raw)

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;


                 reply	other threads:[~2022-03-02 18:10 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220302181039.0EAF93858D37@sourceware.org \
    --to=dje@gcc.gnu.org \
    --cc=gcc-cvs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).