]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite: Fix up analyzer/torture/vector-extract-1.c test for i686 [PR113983]
authorJakub Jelinek <jakub@redhat.com>
Tue, 20 Feb 2024 09:31:46 +0000 (10:31 +0100)
committerJakub Jelinek <jakub@redhat.com>
Tue, 20 Feb 2024 09:31:46 +0000 (10:31 +0100)
The testcase fails on i686-linux with
.../gcc/testsuite/gcc.dg/analyzer/torture/vector-extract-1.c:11:1: warning: MMX vector return without MMX enabled changes the ABI [-Wpsabi]
Added -Wno-psabi to silence the warning.

2024-02-20  Jakub Jelinek  <jakub@redhat.com>

PR analyzer/113983
* gcc.dg/analyzer/torture/vector-extract-1.c: Add -Wno-psabi as
dg-additional-options.

gcc/testsuite/gcc.dg/analyzer/torture/vector-extract-1.c

index 5b878e6e4e21a98f5fe4f6d258073c38481a86c3..5d01c2d0141ac4659e27e2fd5bcb22afabea7b5e 100644 (file)
@@ -1,4 +1,5 @@
 /* PR analyzer/113983  */
+/* { dg-additional-options "-Wno-psabi" } */
 
 /* maybe_undo_optimize_bit_field_compare used to ICE on this
    because it was not checking for only integer types. */