aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2024-02-20 10:31:46 +0100
committerJakub Jelinek <jakub@redhat.com>2024-02-20 10:31:46 +0100
commitecfcc362b7f3f796c72f3525c4e3a6dd8ab3beac (patch)
treed33506c090d3f60fe4fc4cea28f6cdfddc158f1a
parent5a9a9bd415ed1d211e00990226b90199407b3448 (diff)
downloadgcc-ecfcc362b7f3f796c72f3525c4e3a6dd8ab3beac.zip
gcc-ecfcc362b7f3f796c72f3525c4e3a6dd8ab3beac.tar.gz
gcc-ecfcc362b7f3f796c72f3525c4e3a6dd8ab3beac.tar.bz2
testsuite: Fix up analyzer/torture/vector-extract-1.c test for i686 [PR113983]
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.
-rw-r--r--gcc/testsuite/gcc.dg/analyzer/torture/vector-extract-1.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/analyzer/torture/vector-extract-1.c b/gcc/testsuite/gcc.dg/analyzer/torture/vector-extract-1.c
index 5b878e6..5d01c2d 100644
--- a/gcc/testsuite/gcc.dg/analyzer/torture/vector-extract-1.c
+++ b/gcc/testsuite/gcc.dg/analyzer/torture/vector-extract-1.c
@@ -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. */