re PR fortran/80010 (diagnostics: typo $!)
authorJakub Jelinek <jakub@redhat.com>
Thu, 16 Mar 2017 16:50:27 +0000 (17:50 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 16 Mar 2017 16:50:27 +0000 (17:50 +0100)
commite711928b48b62d04a44c098322441fe80ea88839
tree6165520e5e7ddcc0273dcd874c78f170f1f5ea2f
parentc05c23808106294ff0b6665cb4dd395a691be659
re PR fortran/80010 (diagnostics: typo $!)

PR fortran/80010
* parse.c (gfc_ascii_statement): Use !$ACC for ST_OACC_ATOMIC
and ST_OACC_END_ATOMIC, instead of !ACC.
* trans-decl.c (finish_oacc_declare): Use !$ACC instead of $!ACC.
* openmp.c (gfc_match_oacc_declare, gfc_match_oacc_wait,
gfc_resolve_oacc_declare): Likewise.

* gfortran.dg/goacc/asyncwait-3.f95: Adjust expected diagnostic.

From-SVN: r246204
gcc/fortran/ChangeLog
gcc/fortran/openmp.c
gcc/fortran/parse.c
gcc/fortran/trans-decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/goacc/asyncwait-3.f95