[gcc r12-6757] testsuite: Add -Wno-psabi to pr47639.C testcase

Jakub Jelinek jakub@gcc.gnu.org
Thu Jan 20 10:33:51 GMT 2022


https://gcc.gnu.org/g:7b78dee64def7e251a1d0678613c8aaabe7b176c

commit r12-6757-g7b78dee64def7e251a1d0678613c8aaabe7b176c
Author: Jakub Jelinek <jakub@redhat.com>
Date:   Thu Jan 20 11:32:29 2022 +0100

    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  <jakub@redhat.com>
    
            * g++.dg/opt/pr47639.C: Add -Wno-psabi to dg-options.

Diff:
---
 gcc/testsuite/g++.dg/opt/pr47639.C | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/g++.dg/opt/pr47639.C b/gcc/testsuite/g++.dg/opt/pr47639.C
index 6ee8bb7dee4..429ad258ec6 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;


More information about the Gcc-cvs mailing list