From: Jakub Jelinek Date: Fri, 1 Sep 2023 12:22:17 +0000 (+0200) Subject: testsuite: Fix vectcond-1.C FAIL on i686-linux [PR19832] X-Git-Tag: basepoints/gcc-15~6516 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c2d3211d580369b75200fbdd7b854d30460e0aba;p=thirdparty%2Fgcc.git 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 PR tree-optimization/19832 * g++.dg/opt/vectcond-1.C: Add -Wno-psabi to dg-options. --- diff --git a/gcc/testsuite/g++.dg/opt/vectcond-1.C b/gcc/testsuite/g++.dg/opt/vectcond-1.C index 3877ad11414d..5be4e84fb801 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 */