This test fails on targets that don't have complex.h. The standard c99_runtime check doesn't work in the libgomp testsuite, so I explicitly disabled the test on hppa*-*-hpux*.
Tested on hppa64-hp-hpux11.11 and hppa2.0w-hp-hpux11.11. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net
2015-03-21 John David Anglin <dang...@gcc.gnu.org> * testsuite/libgomp.oacc-c-c++-common/reduction-4.c: Don't run on hppa*-*-hpux*. Index: testsuite/libgomp.oacc-c-c++-common/reduction-4.c =================================================================== --- testsuite/libgomp.oacc-c-c++-common/reduction-4.c (revision 221555) +++ testsuite/libgomp.oacc-c-c++-common/reduction-4.c (working copy) @@ -1,4 +1,4 @@ -/* { dg-do run } */ +/* { dg-do run { target { ! { hppa*-*-hpux* } } } } */ /* complex reductions. */