[committed] testsuite: Fix up vector-subaccess-1.C test for ia32 [PR89224]
Checks
Commit Message
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 <jakub@redhat.com>
PR c++/89224
* g++.dg/torture/vector-subaccess-1.C: Add -Wno-psabi as additional
options.
Jakub
@@ -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. */