aboutsummaryrefslogtreecommitdiff
path: root/libgomp/testsuite
diff options
context:
space:
mode:
authorJohn David Anglin <danglin@gcc.gnu.org>2017-02-09 00:22:32 +0000
committerJohn David Anglin <danglin@gcc.gnu.org>2017-02-09 00:22:32 +0000
commit5896a41da8cb6cd887d9af86d81047e38c3df4f1 (patch)
tree030b5864e1cadf0fc3452314a72c0ee731de16c1 /libgomp/testsuite
parent052340161e54ed3bf96405413c54b12cf12bc90f (diff)
downloadgcc-5896a41da8cb6cd887d9af86d81047e38c3df4f1.zip
gcc-5896a41da8cb6cd887d9af86d81047e38c3df4f1.tar.gz
gcc-5896a41da8cb6cd887d9af86d81047e38c3df4f1.tar.bz2
loop-dim-default.c: Skip on hppa*-*-*.
* 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
Diffstat (limited to 'libgomp/testsuite')
-rw-r--r--libgomp/testsuite/libgomp.oacc-c-c++-common/loop-dim-default.c1
-rw-r--r--libgomp/testsuite/libgomp.oacc-c-c++-common/reduction-cplx-dbl.c2
-rw-r--r--libgomp/testsuite/libgomp.oacc-c-c++-common/reduction-cplx-flt.c2
3 files changed, 5 insertions, 0 deletions
diff --git a/libgomp/testsuite/libgomp.oacc-c-c++-common/loop-dim-default.c b/libgomp/testsuite/libgomp.oacc-c-c++-common/loop-dim-default.c
index c433b80..3f504f8 100644
--- a/libgomp/testsuite/libgomp.oacc-c-c++-common/loop-dim-default.c
+++ b/libgomp/testsuite/libgomp.oacc-c-c++-common/loop-dim-default.c
@@ -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>
diff --git a/libgomp/testsuite/libgomp.oacc-c-c++-common/reduction-cplx-dbl.c b/libgomp/testsuite/libgomp.oacc-c-c++-common/reduction-cplx-dbl.c
index aa19d49..351e240 100644
--- a/libgomp/testsuite/libgomp.oacc-c-c++-common/reduction-cplx-dbl.c
+++ b/libgomp/testsuite/libgomp.oacc-c-c++-common/reduction-cplx-dbl.c
@@ -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))
diff --git a/libgomp/testsuite/libgomp.oacc-c-c++-common/reduction-cplx-flt.c b/libgomp/testsuite/libgomp.oacc-c-c++-common/reduction-cplx-flt.c
index 5c533f2..2e6feba 100644
--- a/libgomp/testsuite/libgomp.oacc-c-c++-common/reduction-cplx-flt.c
+++ b/libgomp/testsuite/libgomp.oacc-c-c++-common/reduction-cplx-flt.c
@@ -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))