]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite: Fix vectcond-1.C FAIL on i686-linux [PR19832]
authorJakub Jelinek <jakub@redhat.com>
Fri, 1 Sep 2023 12:22:17 +0000 (14:22 +0200)
committerJakub Jelinek <jakub@redhat.com>
Fri, 1 Sep 2023 12:22:17 +0000 (14:22 +0200)
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.

gcc/testsuite/g++.dg/opt/vectcond-1.C

index 3877ad11414d016354a272dc5759869f97779501..5be4e84fb80194530a07d88767db993ed03a5575 100644 (file)
@@ -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 */