From 2c4dccb605d485293291878397b42927dc050481 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Wed, 12 Jan 2022 09:39:21 +0100 Subject: [PATCH] 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 PR middle-end/101530 * c-c++-common/builtin-shufflevector-3.c: Add -Wno-psabi to dg-options. --- 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;