re PR fortran/85702 ([openacc] ICE in gfc_format_decoder, at fortran/error.c:943)
authorCesar Philippidis <cesar@codesourcery.com>
Wed, 13 Jun 2018 14:29:04 +0000 (07:29 -0700)
committerCesar Philippidis <cesar@gcc.gnu.org>
Wed, 13 Jun 2018 14:29:04 +0000 (07:29 -0700)
commitadc41ebeab0c027cce9e1fb1e1356a66d89aeb57
treebd1835f282c7e045be847181e57b432deb62a160
parentc9492649182de9b36eaa71a49b96143e551afc54
re PR fortran/85702 ([openacc] ICE in gfc_format_decoder, at fortran/error.c:943)

PR fortran/85702

gcc/fortran/
* openmp.c (gfc_match_oacc_wait): Use %C to report error location.

gcc/testsuite/
* gfortran.dg/goacc/pr85702.f90: New test.

From-SVN: r261550
gcc/fortran/ChangeLog
gcc/fortran/openmp.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/goacc/pr85702.f90 [new file with mode: 0644]