re PR fortran/69741 (Bad error in forall with array loop counters)
authorHarald Anlauf <anlauf@gmx.de>
Sun, 20 Nov 2016 18:43:16 +0000 (18:43 +0000)
committerSteven G. Kargl <kargl@gcc.gnu.org>
Sun, 20 Nov 2016 18:43:16 +0000 (18:43 +0000)
commit8dc998fb42ad043e3a0bfc8f36af07613121b3d4
tree5bc304c30af68b1953553c75e35f14a2b27d2a14
parent9692308d305f083785c41596328a35e9fddded8f
re PR fortran/69741 (Bad error in forall with array loop counters)

2016-11-20  Harald Anlauf  <anlauf@gmx.de>

PR fortran/69741
* resolve.c (gfc_resolve_forall): Check for nonscalar index variables.

2016-11-20  Harald Anlauf  <anlauf@gmx.de>

PR fortran/69741
* gfortran.dg/forall_18.f90: New testcase.

From-SVN: r242641
gcc/fortran/ChangeLog
gcc/fortran/resolve.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/forall_18.f90 [new file with mode: 0644]