From: Jakub Jelinek Date: Wed, 27 Oct 2021 07:41:38 +0000 (+0200) Subject: testsuite: Fix up gcc.dg/pr102897.c testcase [PR102897] X-Git-Tag: basepoints/gcc-13~3578 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4f1fe0dc25391a1d73c1034a85b3b6bf04c5e26e;p=thirdparty%2Fgcc.git 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 --git a/gcc/testsuite/gcc.dg/pr102897.c b/gcc/testsuite/gcc.dg/pr102897.c index bb14dccc92f1..8e0d25ee24c1 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. */