[Bug fortran/85702] [openacc] ICE in gfc_format_decoder, at fortran/error.c:943

2018-06-15 Thread cesar at gcc dot gnu.org
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  

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

[Bug fortran/85702] [openacc] ICE in gfc_format_decoder, at fortran/error.c:943

2018-06-13 Thread cesar at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85702

cesar at gcc dot gnu.org changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #3 from cesar at gcc dot gnu.org ---
Fixed in trunk.

[Bug fortran/85702] [openacc] ICE in gfc_format_decoder, at fortran/error.c:943

2018-06-13 Thread cesar at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85702

--- Comment #2 from cesar at gcc dot gnu.org ---
Author: cesar
Date: Wed Jun 13 14:29:04 2018
New Revision: 261550

URL: https://gcc.gnu.org/viewcvs?rev=261550&root=gcc&view=rev
Log:
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:
trunk/gcc/testsuite/gfortran.dg/goacc/pr85702.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/openmp.c
trunk/gcc/testsuite/ChangeLog