This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r267151 - in /trunk/libgomp: ChangeLog oacc-par...
- From: tschwinge at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Fri, 14 Dec 2018 20:42:51 -0000
- Subject: r267151 - in /trunk/libgomp: ChangeLog oacc-par...
Author: tschwinge
Date: Fri Dec 14 20:42:50 2018
New Revision: 267151
URL: https://gcc.gnu.org/viewcvs?rev=267151&root=gcc&view=rev
Log:
[PR88484] OpenACC wait directive without wait argument but with async clause
We don't correctly handle "#pragma acc wait async (a)" for "a >= 0", handling
as a no-op whereas it should enqueue the appropriate wait operations on
"async (a)".
libgomp/
PR libgomp/88484
* oacc-parallel.c (GOACC_wait): Correct handling for "async >= 0".
* testsuite/libgomp.oacc-c-c++-common/asyncwait-nop-1.c: New file.
Added:
trunk/libgomp/testsuite/libgomp.oacc-c-c++-common/asyncwait-nop-1.c
Modified:
trunk/libgomp/ChangeLog
trunk/libgomp/oacc-parallel.c