From c2d3211d580369b75200fbdd7b854d30460e0aba Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Fri, 1 Sep 2023 14:22:17 +0200 Subject: 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. --- gcc/testsuite/g++.dg/opt/vectcond-1.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc') 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 */ -- cgit v1.1