]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
[Darwin, PPC, testsuite] Fix builtins-2 Darwin.
authorIain Sandoe <iain@sandoe.co.uk>
Thu, 5 Sep 2019 19:50:50 +0000 (19:50 +0000)
committerIain Sandoe <iains@gcc.gnu.org>
Thu, 5 Sep 2019 19:50:50 +0000 (19:50 +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-09-05  Iain Sandoe  <iain@sandoe.co.uk>

Backport from mainline.
2019-06-23  Iain Sandoe  <iain@sandoe.co.uk>

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

From-SVN: r275438

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

index 2a0d780a80f8d3a58a2750eb37558a57a3ce08a3..9348515ba833c65a9ed7998eb0c628cf1f8b48b2 100644 (file)
@@ -1,3 +1,10 @@
+2019-09-05  Iain Sandoe  <iain@sandoe.co.uk>
+
+       Backport from mainline.
+       2019-06-23  Iain Sandoe  <iain@sandoe.co.uk>
+
+       * gcc.target/powerpc/builtins-2.c: Require VSX hardware support.
+
 2019-09-05  Iain Sandoe  <iain@sandoe.co.uk>
 
        Backport from mainline.
index 8f1e9cd0e49b72e142291f63598bb42b0f6d9c41..98744efc942256e022b347aab0d6b882f8af7b60 100644 (file)
@@ -1,5 +1,6 @@
 /* { dg-do run { target { powerpc64le-*-* } } } */
 /* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power8" } } */
+/* { dg-require-effective-target vsx_hw } */
 /* { dg-options "-mcpu=power8 " } */
 
 #include <altivec.h>