aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2024-05-09 11:18:21 +0200
committerJakub Jelinek <jakub@redhat.com>2024-05-09 11:18:21 +0200
commit8fb65ec816ff8f0d529b6d30821abace4328c9a2 (patch)
treeb1b539785341b062aae888573cc7d42af488b1dd
parent9ba01240864ac446052d97692e2199539b7c76d8 (diff)
downloadgcc-8fb65ec816ff8f0d529b6d30821abace4328c9a2.zip
gcc-8fb65ec816ff8f0d529b6d30821abace4328c9a2.tar.gz
gcc-8fb65ec816ff8f0d529b6d30821abace4328c9a2.tar.bz2
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 <jakub@redhat.com> PR c++/89224 * g++.dg/torture/vector-subaccess-1.C: Add -Wno-psabi as additional options.
-rw-r--r--gcc/testsuite/g++.dg/torture/vector-subaccess-1.C1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.dg/torture/vector-subaccess-1.C b/gcc/testsuite/g++.dg/torture/vector-subaccess-1.C
index 0c8958a..4b909da 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. */