[openacc, testsuite] Fix undefined behaviour in atomic_capture-1.c
authorJulian Brown <julian@codesourcery.com>
Sun, 29 Apr 2018 10:26:56 +0000 (10:26 +0000)
committerTom de Vries <vries@gcc.gnu.org>
Sun, 29 Apr 2018 10:26:56 +0000 (10:26 +0000)
commit8d70b61edda10e97686da47decfc7f93ff0bc7c9
treec67c0c919d75e7ac5deb4d91133818d9b175cc8e
parente7d32421aa0ce2b11457f120c0c7966c9da1b85e
[openacc, testsuite] Fix undefined behaviour in atomic_capture-1.c

2018-04-29  Julian Brown  <julian@codesourcery.com>
    Tom de Vries  <tom@codesourcery.com>

PR testsuite/85527
* testsuite/libgomp.oacc-c-c++-common/atomic_capture-1.c: Allow
arbitrary order for iterations of atomic subtract check.

Co-Authored-By: Tom de Vries <tom@codesourcery.com>
From-SVN: r259748
libgomp/ChangeLog
libgomp/testsuite/libgomp.oacc-c-c++-common/atomic_capture-1.c