[committed] testsuite: Add -Wno-psabi to pr47639.C testcase
Commit Message
On Wed, Jan 19, 2022 at 12:42:22PM +0100, Martin Liška wrote:
> The tests are C++ code, so use a proper file extension.
>
> gcc/testsuite/ChangeLog:
>
> * g++.dg/ext/boolcomplex-1.c: Moved to...
> * g++.dg/ext/boolcomplex-1.C: ...here.
> * g++.dg/opt/pr47639.c: Moved to...
> * g++.dg/opt/pr47639.C: ...here.
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.
Committed as obvious to trunk:
2022-01-20 Jakub Jelinek <jakub@redhat.com>
* g++.dg/opt/pr47639.C: Add -Wno-psabi to dg-options.
Jakub
@@ -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;