From: Jakub Jelinek Date: Thu, 9 May 2024 09:18:21 +0000 (+0200) Subject: testsuite: Fix up vector-subaccess-1.C test for ia32 [PR89224] X-Git-Tag: releases/gcc-12.4.0~131 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ffa41c65a375746fd26c2d620e634fb162726dfc;p=thirdparty%2Fgcc.git testsuite: Fix up vector-subaccess-1.C test for ia32 [PR89224] The test FAILs on i686-linux due to .../gcc/testsuite/g++.dg/torture/vector-subaccess-1.C:16:6: warning: SSE vector argument without SSE enabled changes the ABI [-Wpsabi] excess warnings. This fixes it by adding -Wno-psabi, like commonly done in other tests. 2024-05-09 Jakub Jelinek PR c++/89224 * g++.dg/torture/vector-subaccess-1.C: Add -Wno-psabi as additional options. (cherry picked from commit 8fb65ec816ff8f0d529b6d30821abace4328c9a2) --- diff --git a/gcc/testsuite/g++.dg/torture/vector-subaccess-1.C b/gcc/testsuite/g++.dg/torture/vector-subaccess-1.C index 0c8958a4e034..4b909dae4926 100644 --- a/gcc/testsuite/g++.dg/torture/vector-subaccess-1.C +++ b/gcc/testsuite/g++.dg/torture/vector-subaccess-1.C @@ -1,4 +1,5 @@ /* PR c++/89224 */ +/* { dg-additional-options "-Wno-psabi" } */ /* The access of `vector[i]` has the same qualifiers as the original vector which was missing. */