Fix openacc float reduction testcases
commit1a6e773639bd667b1536c12e3ea442d733b84456
authorvries <vries@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 4 Oct 2017 08:39:09 +0000 (4 08:39 +0000)
committervries <vries@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 4 Oct 2017 08:39:09 +0000 (4 08:39 +0000)
tree53574432af4bcd0fd4c2acabb45cb3872e11abb0
parentd77c3d98a3c885a941939590f9a1c8fcf38a52c2
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@253398 138bc75d-0d04-0410-961f-82ee72b054a4
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