loop-dim-default.c: Skip on hppa*-*-*.
authorJohn David Anglin <danglin@gcc.gnu.org>
Thu, 9 Feb 2017 00:22:32 +0000 (00:22 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Thu, 9 Feb 2017 00:22:32 +0000 (00:22 +0000)
* testsuite/libgomp.oacc-c-c++-common/loop-dim-default.c: Skip on
hppa*-*-*.
* testsuite/libgomp.oacc-c-c++-common/reduction-cplx-dbl.c: Don't
include complex.h on hppa*-*-hpux*.
* testsuite/libgomp.oacc-c-c++-common/reduction-cplx-flt.c: Likewise.

From-SVN: r245292

libgomp/ChangeLog
libgomp/testsuite/libgomp.oacc-c-c++-common/loop-dim-default.c
libgomp/testsuite/libgomp.oacc-c-c++-common/reduction-cplx-dbl.c
libgomp/testsuite/libgomp.oacc-c-c++-common/reduction-cplx-flt.c

index 56dc5bbde877f282d5ca913f647c7ce318fb6b7c..72dc8dacf2845204f5498cb181b05004fc4053c0 100644 (file)
@@ -1,3 +1,11 @@
+2017-02-08  John David Anglin  <danglin@gcc.gnu.org>
+
+       * testsuite/libgomp.oacc-c-c++-common/loop-dim-default.c: Skip on
+       hppa*-*-*.
+       * testsuite/libgomp.oacc-c-c++-common/reduction-cplx-dbl.c: Don't
+       include complex.h on hppa*-*-hpux*.
+       * testsuite/libgomp.oacc-c-c++-common/reduction-cplx-flt.c: Likewise.
+
 2017-02-02  Thomas Schwinge  <thomas@codesourcery.com>
 
        * plugin/plugin-nvptx.c (nvptx_exec): Make it static.
index c433b80da9359cc504d834698d8b47a33a8d26b4..3f504f8863faf3fd8dc7002c97c9dd91472eb794 100644 (file)
@@ -1,6 +1,7 @@
 /* This code uses nvptx inline assembly guarded with acc_on_device, which is
    not optimized away at -O0, and then confuses the target assembler.
    { dg-skip-if "" { *-*-* } { "-O0" } { "" } } */
+   { dg-skip-if "" { hppa*-*-* } { "*" } { "" } } */
 /* { dg-additional-options "-fopenacc-dim=16:16" } */
 
 #include <openacc.h>
index aa19d490d177f9e1c0d5bef1f2dacd7975aaa1c3..351e24091163bb3726fc11af1d6c219e6df21302 100644 (file)
@@ -1,5 +1,7 @@
 
+#if !defined(__hppa__) || !defined(__hpux__)
 #include <complex.h>
+#endif
 
 /* Double float has 53 bits of fraction. */
 #define FRAC (1.0 / (1LL << 48))
index 5c533f25109ef1f70d00fe818e8cb657ee53f699..2e6feba25d0f1efb3739d1ce47031095c2781a1c 100644 (file)
@@ -1,5 +1,7 @@
 
+#if !defined(__hppa__) || !defined(__hpux__)
 #include <complex.h>
+#endif
 
 /* Single float has 23 bits of fraction. */
 #define FRAC (1.0f / (1 << 20))