[Darwin, PPC, testsuite] Fix builtins-2 for Darwin.
authorIain Sandoe <iain@sandoe.co.uk>
Sun, 23 Jun 2019 20:29:09 +0000 (20:29 +0000)
committerIain Sandoe <iains@gcc.gnu.org>
Sun, 23 Jun 2019 20:29:09 +0000 (20:29 +0000)
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  <iain@sandoe.co.uk>

* gcc.target/powerpc/builtins-2.c: Require VSX hardware support.

From-SVN: r272606

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/powerpc/builtins-2.c

index 87b0f5867d972fdf9ced3a252a7bb31d9e0f15f5..70267ff246cb813d04ca2e053c0515c79b6a64cc 100644 (file)
@@ -1,3 +1,7 @@
+2019-06-23  Iain Sandoe  <iain@sandoe.co.uk>
+
+       * gcc.target/powerpc/builtins-2.c: Require VSX hardware support.
+
 2019-06-23  Iain Sandoe  <iain@sandoe.co.uk>
 
        * gcc.target/powerpc/pr80125.c (foo): Use an unsigned char
index bf3347a842291e500d7a9bec8cd19bc7094622c4..0fa60b277f67d1fe15a9eb5a78eae040f3949df7 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-do run { target { powerpc*-*-* } } } */
+/* { dg-require-effective-target vsx_hw } */
 /* { dg-options "-mdejagnu-cpu=power8 " } */
 
 #include <altivec.h>