From: Jakub Jelinek Date: Thu, 20 Jan 2022 10:32:29 +0000 (+0100) Subject: testsuite: Add -Wno-psabi to pr47639.C testcase X-Git-Tag: basepoints/gcc-13~1556 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7b78dee64def7e251a1d0678613c8aaabe7b176c;p=thirdparty%2Fgcc.git testsuite: Add -Wno-psabi to pr47639.C testcase This patch fixes gcc/testsuite/g++.dg/opt/pr47639.C:6:24: warning: MMX vector return without MMX enabled changes the ABI [-Wpsabi] gcc/testsuite/g++.dg/opt/pr47639.C:6:5: warning: MMX vector argument without MMX enabled changes the ABI [-Wpsabi] FAILs on i686-linux. 2022-01-20 Jakub Jelinek * g++.dg/opt/pr47639.C: Add -Wno-psabi to dg-options. --- diff --git a/gcc/testsuite/g++.dg/opt/pr47639.C b/gcc/testsuite/g++.dg/opt/pr47639.C index 6ee8bb7dee47..429ad258ec61 100644 --- a/gcc/testsuite/g++.dg/opt/pr47639.C +++ b/gcc/testsuite/g++.dg/opt/pr47639.C @@ -1,5 +1,5 @@ // { dg-do compile } -// { dg-options "-fnon-call-exceptions" } +// { dg-options "-fnon-call-exceptions -Wno-psabi" } typedef int __attribute__ ((vector_size (8))) vec;