rs6000/testsuite: Skip pr105140.c
authorSegher Boessenkool <segher@kernel.crashing.org>
Wed, 6 Apr 2022 15:22:24 +0000 (15:22 +0000)
committerSegher Boessenkool <segher@kernel.crashing.org>
Wed, 6 Apr 2022 15:36:18 +0000 (15:36 +0000)
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.

2022-04-06  Segher Boessenkool  <segher@kernel.crashing.org>

gcc/testsuite/
PR target/105147
* gcc.dg/pr105140.c: Skip for powerpc*-*-*.

gcc/testsuite/gcc.dg/pr105140.c

index 14bff2f..da34e7a 100644 (file)
@@ -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;