From: John David Anglin Date: Thu, 9 Feb 2017 00:22:32 +0000 (+0000) Subject: loop-dim-default.c: Skip on hppa*-*-*. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5896a41da8cb6cd887d9af86d81047e38c3df4f1;p=gcc.git 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 --- diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index 56dc5bbde87..72dc8dacf28 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,11 @@ +2017-02-08 John David Anglin + + * 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 * plugin/plugin-nvptx.c (nvptx_exec): Make it static. 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 c433b80da93..3f504f8863f 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 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 aa19d490d17..351e2409116 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 +#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 5c533f25109..2e6feba25d0 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 +#endif /* Single float has 23 bits of fraction. */ #define FRAC (1.0f / (1 << 20))