public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-6514] testsuite: Fix up c-c++-common/builtin-shufflevector-3.c testcase [PR101530]
@ 2022-01-12  8:40 Jakub Jelinek
  0 siblings, 0 replies; only message in thread
From: Jakub Jelinek @ 2022-01-12  8:40 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:2c4dccb605d485293291878397b42927dc050481

commit r12-6514-g2c4dccb605d485293291878397b42927dc050481
Author: Jakub Jelinek <jakub@redhat.com>
Date:   Wed Jan 12 09:39:21 2022 +0100

    testsuite: Fix up c-c++-common/builtin-shufflevector-3.c testcase [PR101530]
    
    This fixes:
    FAIL: c-c++-common/builtin-shufflevector-3.c  -Wc++-compat  (test for excess errors)
    Excess errors:
    .../gcc/testsuite/c-c++-common/builtin-shufflevector-3.c:6:1: warning: SSE vector argument without SSE enabled changes the ABI [-Wpsabi]
    
    2022-01-12  Jakub Jelinek  <jakub@redhat.com>
    
            PR middle-end/101530
            * c-c++-common/builtin-shufflevector-3.c: Add -Wno-psabi to
            dg-options.

Diff:
---
 gcc/testsuite/c-c++-common/builtin-shufflevector-3.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gcc/testsuite/c-c++-common/builtin-shufflevector-3.c b/gcc/testsuite/c-c++-common/builtin-shufflevector-3.c
index 0c9bda689ef..6e8fb643f40 100644
--- a/gcc/testsuite/c-c++-common/builtin-shufflevector-3.c
+++ b/gcc/testsuite/c-c++-common/builtin-shufflevector-3.c
@@ -1,4 +1,5 @@
 /* { dg-do compile } */
+/* { dg-options "-Wno-psabi" } */
 
 typedef int __attribute__((__vector_size__ (sizeof(int)*4))) V;


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

only message in thread, other threads:[~2022-01-12  8:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-12  8:40 [gcc r12-6514] testsuite: Fix up c-c++-common/builtin-shufflevector-3.c testcase [PR101530] Jakub Jelinek

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).