[libgomp, openacc, testsuite] Fix async logic in lib-12.f90
commit4439e2fc160ae8b82a7a55b79efb3dc751afc1d1
authorvries <vries@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 26 Jul 2018 07:52:45 +0000 (26 07:52 +0000)
committervries <vries@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 26 Jul 2018 07:52:45 +0000 (26 07:52 +0000)
treecf3e513145ef78b66dcaffc2cad3965e2dfcc66f
parent881965ae062ae2962c2f596d7c74fd6510a45ca7
[libgomp, openacc, testsuite] Fix async logic in lib-12.f90

In testcase lib-12.f90, all acc_async_test calls are placed in a location
where they are not guaranteed to succeed, which explains why there's an xfail
for the lower optimization levels.

This patch fixes the problem by moving the acc_async_test calls to the correct
locations.

Reg-tested on x86_64 with nvptx accelerator.

2018-07-26  Tom de Vries  <tdevries@suse.de>

* testsuite/libgomp.oacc-fortran/lib-12.f90: Move acc_async_test calls
to correct locations.  Remove xfail.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@262990 138bc75d-0d04-0410-961f-82ee72b054a4
libgomp/ChangeLog
libgomp/testsuite/libgomp.oacc-fortran/lib-12.f90