]> git.ipfire.org Git - thirdparty/gcc.git/commit
OpenACC wait list diagnostic change
authorjules <jules@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 4 Dec 2018 12:35:06 +0000 (12:35 +0000)
committerjules <jules@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 4 Dec 2018 12:35:06 +0000 (12:35 +0000)
commit4012840290cba1cc0901b190561072a238f11038
treea2b615915d7dede9b8326229a4fd7631de438973
parent3d4762327aed5cf6cafbaa7a52166df4ef92eb82
OpenACC wait list diagnostic change

2018-12-04  James Norris  <jnorris@codesourcery.com>
    Cesar Philippidis  <cesar@codesourcery.com>
    Julian Brown  <julian@codesourcery.com>

gcc/c/
* c-parser.c (c_parser_oacc_wait_list): Remove dead diagnostic
code.

gcc/cp/
* parser.c (cp_parser_oacc_wait_list): Fix error message and avoid
duplicate diagnostic.

gcc/testsuite/
* c-c++-common/goacc/asyncwait-1: Update expected errors and add a
test for "wait (".

Reviewed-by: Thomas Schwinge <thomas@codesourcery.com>
Reviewed-by: Joseph Myers <joseph@codesourcery.com>
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@266774 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/c/ChangeLog
gcc/c/c-parser.c
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/goacc/asyncwait-1.c