]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite: Skip pr105250.c for powerpc and s390 [PR105266]
authorKewen Lin <linkw@linux.ibm.com>
Mon, 18 Apr 2022 02:34:51 +0000 (21:34 -0500)
committerRichard Biener <rguenther@suse.de>
Fri, 27 May 2022 13:14:54 +0000 (15:14 +0200)
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*-*-*.

(cherry picked from commit 021b51814d67bedd8f41ac07edfd05654140c6e5)

gcc/testsuite/gcc.dg/pr105250.c

index 9225e006a588be0a95a8cd0137380cd7ba5e9543..aea33efbd12d4d3ab47a5186bda4a5378138ed15 100644 (file)
@@ -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;