[gcc r12-6514] testsuite: Fix up c-c++-common/builtin-shufflevector-3.c testcase [PR101530]

Jakub Jelinek jakub@gcc.gnu.org
Wed Jan 12 08:40:43 GMT 2022


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;


More information about the Gcc-cvs mailing list