https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85702
--- Comment #4 from cesar at gcc dot gnu.org --- Author: cesar Date: Fri Jun 15 14:01:00 2018 New Revision: 261630 URL: https://gcc.gnu.org/viewcvs?rev=261630&root=gcc&view=rev Log: PR fortran/85702 Backport from mainline 2018-06-13 Cesar Philippidis <ce...@codesourcery.com> 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. Added: branches/gcc-8-branch/gcc/testsuite/gfortran.dg/goacc/pr85702.f90 Modified: branches/gcc-8-branch/gcc/fortran/ChangeLog branches/gcc-8-branch/gcc/fortran/openmp.c branches/gcc-8-branch/gcc/testsuite/ChangeLog