This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PR testsuite/91842] Skip gcc.dg/ipa/ipa-sra-19.c on power
- From: Martin Jambor <mjambor at suse dot cz>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Cc:
- Date: Wed, 02 Oct 2019 17:06:45 +0200
- Subject: [PR testsuite/91842] Skip gcc.dg/ipa/ipa-sra-19.c on power
Hi,
I seem to remember I minimized gcc.dg/ipa/ipa-sra-19.c on power but
perhaps I am wrong because the testcase fails there with a
power-specific error:
gcc.dg/ipa/ipa-sra-19.c:19:3: error: AltiVec argument passed to unprototyped function
I am going to simply skip it there with the following patch, which I
hope is obvious. Tested by running ipa.exp on both ppc64le-linux and
x86_64-linux.
Thanks,
Martin
diff --git a/gcc/testsuite/gcc.dg/ipa/ipa-sra-19.c b/gcc/testsuite/gcc.dg/ipa/ipa-sra-19.c
index adebaa5f5e1..d219411d8ba 100644
--- a/gcc/testsuite/gcc.dg/ipa/ipa-sra-19.c
+++ b/gcc/testsuite/gcc.dg/ipa/ipa-sra-19.c
@@ -1,5 +1,6 @@
/* { dg-do compile } */
/* { dg-options "-O2" } */
+/* { dg-skip-if "" { powerpc*-*-* } } */
typedef int __attribute__((__vector_size__(16))) vectype;