[openacc, testsuite] Fix undefined behaviour in atomic_capture-1.f90
authorTom de Vries <tom@codesourcery.com>
Fri, 27 Apr 2018 22:11:12 +0000 (22:11 +0000)
committerTom de Vries <vries@gcc.gnu.org>
Fri, 27 Apr 2018 22:11:12 +0000 (22:11 +0000)
commit4a57a4b6292cca3927bfb84766f46694bd7b4f7f
treeb158d4c22b43a55ddd3db7f586afbc9806030f55
parentcf25444273b4bab2b60e5c3f811883bf2dab2b85
[openacc, testsuite] Fix undefined behaviour in atomic_capture-1.f90

2018-04-28  Tom de Vries  <tom@codesourcery.com>

PR testsuite/85527
* testsuite/libgomp.oacc-fortran/atomic_capture-1.f90 (main): Store
atomic capture results obtained in parallel loop to an array, instead of
to a scalar.

From-SVN: r259733
libgomp/ChangeLog
libgomp/testsuite/libgomp.oacc-fortran/atomic_capture-1.f90