]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite: Fix up vector-subaccess-1.C test for ia32 [PR89224]
authorJakub Jelinek <jakub@redhat.com>
Thu, 9 May 2024 09:18:21 +0000 (11:18 +0200)
committerJakub Jelinek <jakub@redhat.com>
Thu, 9 May 2024 09:18:21 +0000 (11:18 +0200)
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.

gcc/testsuite/g++.dg/torture/vector-subaccess-1.C

index 0c8958a4e034625c1f15be701cd0bfe55f16a82e..4b909dae492634945c0a40f6b694232cee648834 100644 (file)
@@ -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. */