Message ID | b5cbbca2-a5e6-4982-5251-f94936124820@linux.ibm.com |
---|---|
State | New |
Headers | show |
Series | testsuite: Skip pr105250.c for powerpc and s390 [PR105266] | expand |
On 4/14/22 05:10, Kewen.Lin wrote: > Hi, > > The 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*-*-*. > > Tested on powerpc64le-linux-gnu P9 and it should work on s390 > as its similar PR105147. > > Is it ok for trunk? > > BR, > Kewen > ----- > > gcc/testsuite/ChangeLog: > > PR testsuite/105266 > * gcc.dg/pr105250.c: Skip for powerpc*-*-* and s390*-*-*. Ok for s390. Thanks! Andreas
On Thu, Apr 14, 2022 at 11:10:43AM +0800, Kewen.Lin wrote: > Hi, > > The 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*-*-*. > > Tested on powerpc64le-linux-gnu P9 and it should work on s390 > as its similar PR105147. > > Is it ok for trunk? Yes. Thanks! Segher
diff --git a/gcc/testsuite/gcc.dg/pr105250.c b/gcc/testsuite/gcc.dg/pr105250.c index 665dd95d8cb..4683e0e63a2 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;