This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/56007] Remarkably bad error message with DO array=1,2


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

--- Comment #10 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
Author: jvdelisle
Date: Sun Feb 28 19:07:42 2016
New Revision: 233795

URL: https://gcc.gnu.org/viewcvs?rev=233795&root=gcc&view=rev
Log:
2016-02-28  Harald Anlauf <anlauf@gmx.de>
            Jerry DeLisle  <jvdelisle@gcc.gnu.org>

        PR fortran/56007
        * match.c (gfc_match_iterator): Add diagnostic for array variable
        as do loop index.

        * gfortran.dg/coarray_8.f90: Adjust error message.
        * gfortran.dg/pr56007.f90: New test.
        * gfortran.dg/pr56007.f: New test.

Added:
    trunk/gcc/testsuite/gfortran.dg/pr56007.f
    trunk/gcc/testsuite/gfortran.dg/pr56007.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/match.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gfortran.dg/coarray_8.f90

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]