Hi! 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. Committed to trunk as obvious after testing it on x86_64-linux with make check-g++ RUNTESTFLAGS='--target_board=unix\{-m32/-mno-sse,-m32,-m64\} dg-torture.exp=vector-subaccess-1.C' and backported all the way to 11 branch. 2024-05-09 Jakub Jelinek <ja...@redhat.com> PR c++/89224 * g++.dg/torture/vector-subaccess-1.C: Add -Wno-psabi as additional options. --- gcc/testsuite/g++.dg/torture/vector-subaccess-1.C.jj 2024-05-08 10:16:54.045823642 +0200 +++ gcc/testsuite/g++.dg/torture/vector-subaccess-1.C 2024-05-09 11:16:46.730114871 +0200 @@ -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. */ Jakub