[Bug fortran/56007] Remarkably bad error message with DO array=1,2
jvdelisle at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Feb 28 19:08:00 GMT 2016
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
More information about the Gcc-bugs
mailing list