Commit 5896a41d by John David Anglin

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
parent 05234016
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> 2017-02-02 Thomas Schwinge <thomas@codesourcery.com>
* plugin/plugin-nvptx.c (nvptx_exec): Make it static. * plugin/plugin-nvptx.c (nvptx_exec): Make it static.
......
/* This code uses nvptx inline assembly guarded with acc_on_device, which is /* This code uses nvptx inline assembly guarded with acc_on_device, which is
not optimized away at -O0, and then confuses the target assembler. not optimized away at -O0, and then confuses the target assembler.
{ dg-skip-if "" { *-*-* } { "-O0" } { "" } } */ { dg-skip-if "" { *-*-* } { "-O0" } { "" } } */
{ dg-skip-if "" { hppa*-*-* } { "*" } { "" } } */
/* { dg-additional-options "-fopenacc-dim=16:16" } */ /* { dg-additional-options "-fopenacc-dim=16:16" } */
#include <openacc.h> #include <openacc.h>
......
#if !defined(__hppa__) || !defined(__hpux__)
#include <complex.h> #include <complex.h>
#endif
/* Double float has 53 bits of fraction. */ /* Double float has 53 bits of fraction. */
#define FRAC (1.0 / (1LL << 48)) #define FRAC (1.0 / (1LL << 48))
......
#if !defined(__hppa__) || !defined(__hpux__)
#include <complex.h> #include <complex.h>
#endif
/* Single float has 23 bits of fraction. */ /* Single float has 23 bits of fraction. */
#define FRAC (1.0f / (1 << 20)) #define FRAC (1.0f / (1 << 20))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment