]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/c/ChangeLog
re PR c/87924 (OpenACC wait clauses without async-arguments)
authorChung-Lin Tang <cltang@codesourcery.com>
Tue, 19 Feb 2019 14:10:15 +0000 (14:10 +0000)
committerChung-Lin Tang <cltang@gcc.gnu.org>
Tue, 19 Feb 2019 14:10:15 +0000 (14:10 +0000)
commit19695f4d99e51181c37958680c99502e6f4edd08
treec8cfec47a9c4cbc6e7d3353936b79246d8014e3f
parent83fce9004a100215ac1b5e1ea5e1084bd2667c66
re PR c/87924 (OpenACC wait clauses without async-arguments)

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>
From-SVN: r269016
gcc/c/ChangeLog
gcc/c/c-parser.c
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/fortran/ChangeLog
gcc/fortran/openmp.c
libgomp/ChangeLog
libgomp/oacc-parallel.c