Fix openacc float reduction testcases
authorTom de Vries <tom@codesourcery.com>
Wed, 4 Oct 2017 08:39:09 +0000 (08:39 +0000)
committerTom de Vries <vries@gcc.gnu.org>
Wed, 4 Oct 2017 08:39:09 +0000 (08:39 +0000)
commit26596ee50d8506ec255784646a20e8edfa0ff3b4
tree53574432af4bcd0fd4c2acabb45cb3872e11abb0
parent8bca3f592cd3eca48afd88939160b2ebae8e47e5
Fix openacc float reduction testcases

2017-10-04  Tom de Vries  <tom@codesourcery.com>

* testsuite/libgomp.oacc-c-c++-common/par-loop-comb-reduction-3.c
(main): Reduce sum of arr elements.  Assert that hres is exactly
representable in 32-bit floating point.
* testsuite/libgomp.oacc-c-c++-common/par-loop-comb-reduction-4.c
(main): Reduce sum of arr elements.  Assert that hres and hmres are
exactly representable in 32-bit floating point.
* testsuite/libgomp.oacc-c-c++-common/reduction-7.c (gwv_np_4): Same.

From-SVN: r253398
libgomp/ChangeLog
libgomp/testsuite/libgomp.oacc-c-c++-common/par-loop-comb-reduction-3.c
libgomp/testsuite/libgomp.oacc-c-c++-common/par-loop-comb-reduction-4.c
libgomp/testsuite/libgomp.oacc-c-c++-common/reduction-7.c