[Bug fortran/56667] Syntax error causes misleading message: "Expected PARAMETER symbol in complex constant"

kargl at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Mar 6 19:06:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56667

--- Comment #4 from kargl at gcc dot gnu.org ---
Author: kargl
Date: Tue Mar  6 19:05:48 2018
New Revision: 258281

URL: https://gcc.gnu.org/viewcvs?rev=258281&root=gcc&view=rev
Log:
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.

Added:
    trunk/gcc/testsuite/gfortran.dg/implied_do_2.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/primary.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gfortran.dg/coarray_8.f90


More information about the Gcc-bugs mailing list