aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKewen Lin <linkw@linux.ibm.com>2022-04-17 21:34:51 -0500
committerKewen Lin <linkw@linux.ibm.com>2022-04-17 21:34:51 -0500
commit021b51814d67bedd8f41ac07edfd05654140c6e5 (patch)
treecdb953ff86b5e68e3f85506f58be11f29b53a203
parent53859972b97c2d72d1d957073ba6bc67293b1dc6 (diff)
downloadgcc-021b51814d67bedd8f41ac07edfd05654140c6e5.zip
gcc-021b51814d67bedd8f41ac07edfd05654140c6e5.tar.gz
gcc-021b51814d67bedd8f41ac07edfd05654140c6e5.tar.bz2
testsuite: Skip pr105250.c for powerpc and s390 [PR105266]
This test case pr105250.c is like its related pr105140.c, which suffers the error with message like "{AltiVec,vector} argument passed to unprototyped" on powerpc and s390. So like commits r12-8025 and r12-8039, this fix is to add the dg-skip-if for powerpc*-*-* and s390*-*-*. gcc/testsuite/ChangeLog: PR testsuite/105266 * gcc.dg/pr105250.c: Skip for powerpc*-*-* and s390*-*-*.
-rw-r--r--gcc/testsuite/gcc.dg/pr105250.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/pr105250.c b/gcc/testsuite/gcc.dg/pr105250.c
index 665dd95..4683e0e 100644
--- a/gcc/testsuite/gcc.dg/pr105250.c
+++ b/gcc/testsuite/gcc.dg/pr105250.c
@@ -1,5 +1,6 @@
/* { dg-do compile } */
/* { dg-options "-w -Wno-psabi -O2" } */
+/* { dg-skip-if "PR105266" { powerpc*-*-* s390*-*-* } } */
typedef int __attribute__((__vector_size__(4))) T;
typedef int __attribute__((__vector_size__(8))) U;