[gcc r12-7455] testsuite: Add -Wno-psabi to pr104505.c

David Edelsohn dje@gcc.gnu.org
Wed Mar 2 18:10:39 GMT 2022


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;


More information about the Gcc-cvs mailing list