r267151 - in /trunk/libgomp: ChangeLog oacc-par...

tschwinge@gcc.gnu.org tschwinge@gcc.gnu.org
Fri Dec 14 20:42:00 GMT 2018


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



More information about the Gcc-cvs mailing list