openacc: Fix atomic_capture-2.c iteration-ordering issues
authorJulian Brown <julian@codesourcery.com>
Mon, 7 Sep 2020 18:43:16 +0000 (11:43 -0700)
committerJulian Brown <julian@codesourcery.com>
Tue, 8 Sep 2020 20:26:42 +0000 (13:26 -0700)
commit8183ebcdc1c843f15c807e5bc26dbafe4e8c4dc3
tree076fc447aecedd26bf0fb5252c2caa5bc36ba3ef
parente929d65b48ad5583e995d872ca5de95b23de4d72
openacc: Fix atomic_capture-2.c iteration-ordering issues

The test case was written with assumptions about loop iteration ordering
that are not guaranteed by OpenACC and do not apply on all targets,
in particular AMD GCN. This patch removes those assumptions.

2020-09-08  Julian Brown  <julian@codesourcery.com>

libgomp/
* testsuite/libgomp.oacc-c-c++-common/atomic_capture-2.c: Remove
iteration-ordering assumptions.
libgomp/testsuite/libgomp.oacc-c-c++-common/atomic_capture-2.c