From: Jakub Jelinek Date: Tue, 26 Mar 2024 10:25:15 +0000 (+0100) Subject: testsuite: Add -Wno-psabi to pr113126.c test X-Git-Tag: basepoints/gcc-15~470 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4549b0f67d52b4f042ab89a036249545c3938b45;p=thirdparty%2Fgcc.git testsuite: Add -Wno-psabi to pr113126.c test I've missed FAIL: gcc.dg/torture/pr113126.c -O0 (test for excess errors) etc. regressions on i686-linux since January. The problem is obvious Excess errors: .../gcc/testsuite/gcc.dg/torture/pr113126.c:11:1: warning: MMX vector return without MMX enabled changes the ABI [-Wpsabi] and I've added -Wno-psabi to dg-additional-options to fix that up. 2024-03-26 Jakub Jelinek * gcc.dg/torture/pr113126.c: Add -Wno-psabi as dg-additional-options. --- diff --git a/gcc/testsuite/gcc.dg/torture/pr113126.c b/gcc/testsuite/gcc.dg/torture/pr113126.c index 4aa38e0a2557..ffe29799d13a 100644 --- a/gcc/testsuite/gcc.dg/torture/pr113126.c +++ b/gcc/testsuite/gcc.dg/torture/pr113126.c @@ -1,4 +1,5 @@ /* { dg-do compile } */ +/* { dg-additional-options "-Wno-psabi" } */ typedef float __attribute__((__vector_size__ (8))) F; typedef double __attribute__((__vector_size__ (16))) G;