Message ID | 59ec0fe2642e02f514e4415f393f8c680e2a1e55.1649259098.git.segher@kernel.crashing.org |
---|---|
State | New |
Headers | show |
Series | rs6000/testsuite: Skip pr105140.c | expand |
On 4/6/22 17:32, Segher Boessenkool wrote: > This test fails with error "AltiVec argument passed to unprototyped > function", but the code (in rs6000.c:invalid_arg_for_unprototyped_fn, > from 2005) actually tests for any vector type argument. It also does > not fail on Darwin, not reflected here though. > > Andreas, s390 has this same hook code, you may need to do the same? Yes, thanks for the pointer. I've just committed the following: IBM zSystems/testsuite: PR105147: Skip pr105140.c pr105140.c fails on IBM zSystems with "vector argument passed to unprototyped function". s390_invalid_arg_for_unprototyped_fn in s390.cc is triggered by that. gcc/testsuite/ChangeLog: PR target/105147 * gcc.dg/pr105140.c: Skip for s390*-*-*. --- gcc/testsuite/gcc.dg/pr105140.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/gcc.dg/pr105140.c b/gcc/testsuite/gcc.dg/pr105140.c index da34e7ad656..7d30985e850 100644 --- a/gcc/testsuite/gcc.dg/pr105140.c +++ b/gcc/testsuite/gcc.dg/pr105140.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ /* { dg-options "-Os -w -Wno-psabi" } */ -/* { dg-skip-if "PR105147" { powerpc*-*-* } } */ +/* { dg-skip-if "PR105147" { powerpc*-*-* s390*-*-* } } */ typedef char __attribute__((__vector_size__ (16 * sizeof (char)))) U; typedef int __attribute__((__vector_size__ (16 * sizeof (int)))) V;
diff --git a/gcc/testsuite/gcc.dg/pr105140.c b/gcc/testsuite/gcc.dg/pr105140.c index 14bff2f7f9c5..da34e7ad6566 100644 --- a/gcc/testsuite/gcc.dg/pr105140.c +++ b/gcc/testsuite/gcc.dg/pr105140.c @@ -1,5 +1,6 @@ /* { dg-do compile } */ /* { dg-options "-Os -w -Wno-psabi" } */ +/* { dg-skip-if "PR105147" { powerpc*-*-* } } */ typedef char __attribute__((__vector_size__ (16 * sizeof (char)))) U; typedef int __attribute__((__vector_size__ (16 * sizeof (int)))) V;