From d7e96c4608ae4e37334add5ecc2bea594a9e940a Mon Sep 17 00:00:00 2001 From: Iain Sandoe Date: Sun, 23 Jun 2019 20:29:09 +0000 Subject: [PATCH] [Darwin, PPC, testsuite] Fix builtins-2 for Darwin. This cannot pass for current Darwin, since it requires VSX and we don't have any hardware supporting that. Add a dg-requires clause for this. 2019-06-23 Iain Sandoe * gcc.target/powerpc/builtins-2.c: Require VSX hardware support. From-SVN: r272606 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/gcc.target/powerpc/builtins-2.c | 1 + 2 files changed, 5 insertions(+) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 87b0f5867d9..70267ff246c 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2019-06-23 Iain Sandoe + + * gcc.target/powerpc/builtins-2.c: Require VSX hardware support. + 2019-06-23 Iain Sandoe * gcc.target/powerpc/pr80125.c (foo): Use an unsigned char diff --git a/gcc/testsuite/gcc.target/powerpc/builtins-2.c b/gcc/testsuite/gcc.target/powerpc/builtins-2.c index bf3347a8422..0fa60b277f6 100644 --- a/gcc/testsuite/gcc.target/powerpc/builtins-2.c +++ b/gcc/testsuite/gcc.target/powerpc/builtins-2.c @@ -1,4 +1,5 @@ /* { dg-do run { target { powerpc*-*-* } } } */ +/* { dg-require-effective-target vsx_hw } */ /* { dg-options "-mdejagnu-cpu=power8 " } */ #include -- 2.30.2