From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2153) id BBD033858C27; Wed, 27 Oct 2021 07:44:02 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BBD033858C27 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Jakub Jelinek To: gcc-cvs@gcc.gnu.org Subject: [gcc r12-4735] testsuite: Fix up gcc.dg/pr102897.c testcase [PR102897] X-Act-Checkin: gcc X-Git-Author: Jakub Jelinek X-Git-Refname: refs/heads/master X-Git-Oldrev: eef811490646a68c9893968a421b351e7bf704e1 X-Git-Newrev: 4f1fe0dc25391a1d73c1034a85b3b6bf04c5e26e Message-Id: <20211027074402.BBD033858C27@sourceware.org> Date: Wed, 27 Oct 2021 07:44:02 +0000 (GMT) X-BeenThere: gcc-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Oct 2021 07:44:02 -0000 https://gcc.gnu.org/g:4f1fe0dc25391a1d73c1034a85b3b6bf04c5e26e commit r12-4735-g4f1fe0dc25391a1d73c1034a85b3b6bf04c5e26e Author: Jakub Jelinek Date: Wed Oct 27 09:41:38 2021 +0200 testsuite: Fix up gcc.dg/pr102897.c testcase [PR102897] The testcase FAILs on i686-linux due to: FAIL: gcc.dg/pr102897.c (test for excess errors) Excess errors: .../gcc/gcc/testsuite/gcc.dg/pr102897.c:11:1: warning: MMX vector return without MMX enabled changes the ABI [-Wpsabi] .../gcc/gcc/testsuite/gcc.dg/pr102897.c:10:10: warning: MMX vector argument without MMX enabled changes the ABI [-Wpsabi] Fixed by adding -Wno-psabi. 2021-10-27 Jakub Jelinek PR tree-optimization/102897 * gcc.dg/pr102897.c: Add -Wno-psabi to dg-options. Diff: --- gcc/testsuite/gcc.dg/pr102897.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/gcc.dg/pr102897.c b/gcc/testsuite/gcc.dg/pr102897.c index bb14dccc92f..8e0d25ee24c 100644 --- a/gcc/testsuite/gcc.dg/pr102897.c +++ b/gcc/testsuite/gcc.dg/pr102897.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ /* Specify C99 to avoid the warning/error on compound literals. */ -/* { dg-options "-O1 -std=c99" } */ +/* { dg-options "-O1 -std=c99 -Wno-psabi" } */ /* Verify that there is no ICE. */