aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2023-09-01 14:22:17 +0200
committerJakub Jelinek <jakub@redhat.com>2023-09-01 14:22:17 +0200
commitc2d3211d580369b75200fbdd7b854d30460e0aba (patch)
treea3b1728a486a66dc2c750ce8ae15fa065a941654
parentb8df57b3221aac70f22fb5c93d0b95bf22fded90 (diff)
downloadgcc-c2d3211d580369b75200fbdd7b854d30460e0aba.zip
gcc-c2d3211d580369b75200fbdd7b854d30460e0aba.tar.gz
gcc-c2d3211d580369b75200fbdd7b854d30460e0aba.tar.bz2
testsuite: Fix vectcond-1.C FAIL on i686-linux [PR19832]
This test FAILs on i686-linux with .../gcc/testsuite/g++.dg/opt/vectcond-1.C:8:57: warning: MMX vector return without MMX enabled changes the ABI [-Wpsabi] .../gcc/testsuite/g++.dg/opt/vectcond-1.C:17:12: warning: MMX vector argument without MMX enabled changes the ABI [-Wpsabi] excess warning. Fixed by using -Wno-psabi. 2023-09-01 Jakub Jelinek <jakub@redhat.com> PR tree-optimization/19832 * g++.dg/opt/vectcond-1.C: Add -Wno-psabi to dg-options.
-rw-r--r--gcc/testsuite/g++.dg/opt/vectcond-1.C2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/g++.dg/opt/vectcond-1.C b/gcc/testsuite/g++.dg/opt/vectcond-1.C
index 3877ad1..5be4e84 100644
--- a/gcc/testsuite/g++.dg/opt/vectcond-1.C
+++ b/gcc/testsuite/g++.dg/opt/vectcond-1.C
@@ -1,5 +1,5 @@
/* { dg-do compile } */
-/* { dg-options "-O2 -fdump-tree-ccp1 -fdump-tree-optimized" } */
+/* { dg-options "-O2 -fdump-tree-ccp1 -fdump-tree-optimized -Wno-psabi" } */
/* This is the vector version of these optimizations. */
/* PR tree-optimization/19832 */