]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite: Add -Wno-psabi to pr47639.C testcase
authorJakub Jelinek <jakub@redhat.com>
Thu, 20 Jan 2022 10:32:29 +0000 (11:32 +0100)
committerJakub Jelinek <jakub@redhat.com>
Thu, 20 Jan 2022 10:32:29 +0000 (11:32 +0100)
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  <jakub@redhat.com>

* g++.dg/opt/pr47639.C: Add -Wno-psabi to dg-options.

gcc/testsuite/g++.dg/opt/pr47639.C

index 6ee8bb7dee473ba0504e7ecf7d675f991e9461b7..429ad258ec6161225297903e2ab43f01bcd733b3 100644 (file)
@@ -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;