re PR fortran/56667 (Syntax error causes misleading message: "Expected PARAMETER...
authorSteven G. Kargl <kargl@gcc.gnu.org>
Tue, 6 Mar 2018 19:05:48 +0000 (19:05 +0000)
committerSteven G. Kargl <kargl@gcc.gnu.org>
Tue, 6 Mar 2018 19:05:48 +0000 (19:05 +0000)
commit284ee475e1c239b9d74bd2c5fc7dde457c9db4f7
treee7ee124f6dfec76895093567e821277038a6f4dc
parent2128896318a0e71a002566d2150a54dd6a44765d
re PR fortran/56667 (Syntax error causes misleading message: "Expected PARAMETER symbol in complex constant")

2018-03-06  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/56667
* primary.c (match_sym_complex_part): Give the matcher for an implied
do-loop a chance to run.

2018-03-06  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/56667
* gfortran.dg/implied_do_2.f90: New test.
* gfortran.dg/coarray_8.f90: Update for new error message.

From-SVN: r258281
gcc/fortran/ChangeLog
gcc/fortran/primary.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/coarray_8.f90
gcc/testsuite/gfortran.dg/implied_do_2.f90 [new file with mode: 0644]