]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/testsuite/ChangeLog
re PR fortran/56007 (Remarkably bad error message with DO array=1,2)
authorHarald Anlauf <anlauf@gmx.de>
Sun, 28 Feb 2016 19:07:42 +0000 (19:07 +0000)
committerJerry DeLisle <jvdelisle@gcc.gnu.org>
Sun, 28 Feb 2016 19:07:42 +0000 (19:07 +0000)
commitb2fd5373948c2d030783e74df4a9b52174ac30fb
tree813b2ce0210149f504c8619b4b1fe3c47f50c747
parentcdc1a2c805460e742bda4581c3d732c3e27bab15
re PR fortran/56007 (Remarkably bad error message with DO array=1,2)

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.

Co-Authored-By: Jerry DeLisle <jvdelisle@gcc.gnu.org>
From-SVN: r233795
gcc/fortran/ChangeLog
gcc/fortran/match.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/coarray_8.f90
gcc/testsuite/gfortran.dg/pr56007.f [new file with mode: 0644]
gcc/testsuite/gfortran.dg/pr56007.f90 [new file with mode: 0644]