[Bug c/87924] OpenACC wait clauses without async-arguments
cltang at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Feb 19 14:10:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87924
--- Comment #2 from Chung-Lin Tang <cltang at gcc dot gnu.org> ---
Author: cltang
Date: Tue Feb 19 14:10:15 2019
New Revision: 269016
URL: https://gcc.gnu.org/viewcvs?rev=269016&root=gcc&view=rev
Log:
2019-02-19 Chung-Lin Tang <cltang@codesourcery.com>
PR c/87924
gcc/c/
* c-parser.c (c_parser_oacc_clause_wait): Add representation of wait
clause without argument as 'wait (GOMP_ASYNC_NOVAL)', adjust comments.
gcc/cp/
* parser.c (cp_parser_oacc_clause_wait): Add representation of wait
clause without argument as 'wait (GOMP_ASYNC_NOVAL)', adjust comments.
gcc/fortran/
* openmp.c (gfc_match_omp_clauses): Add representation of wait clause
without argument as 'wait (GOMP_ASYNC_NOVAL)'.
libgomp/
* oacc-parallel.c (GOACC_parallel_keyed): Remove condition on call to
goacc_wait().
(goacc_wait): Handle ACC_ASYNC_NOVAL case, remove goacc_thread() call
and related adjustment.
Reviewed-by: Thomas Schwinge <thomas@codesourcery.com>
Modified:
trunk/gcc/c/ChangeLog
trunk/gcc/c/c-parser.c
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/parser.c
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/openmp.c
trunk/libgomp/ChangeLog
trunk/libgomp/oacc-parallel.c
More information about the Gcc-bugs
mailing list