re PR fortran/25076 (FORALL triplet subscript must not reference any index-name)
authorTobias Schlüter <tobi@gcc.gnu.org>
Sat, 6 Oct 2007 08:55:30 +0000 (10:55 +0200)
committerTobias Schlüter <tobi@gcc.gnu.org>
Sat, 6 Oct 2007 08:55:30 +0000 (10:55 +0200)
commitac5ba373739e0fbfd2385e5fa427629ce328e718
tree0814b58da2ed631921edc7fd958813d9ab83b435
parent6116ca65ddba06d9fb1cb85b26ac75964a63f684
re PR fortran/25076 (FORALL triplet subscript must not reference any index-name)

PR fortran/25076
fortran/
* resolve.c (gfc_find_forall_index): Move towards top,
renaming to ...
(find_forall_index): ... this.  Add check for NULL expr.
(resolve_forall_iterators): Verify additional constraint.
(resolve_forall): Remove checks obsoleted by new code in
resolve_forall_iterators.
testsuite/
* gfortran.dg/forall_11.f90: New.

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