re PR fortran/16404 (should reject invalid code with -pedantic -std=f95 ? (x8))
authorTobias Schlüter <tobias.schlueter@physik.uni-muenchen.de>
Fri, 16 Jul 2004 00:57:43 +0000 (02:57 +0200)
committerTobias Schlüter <tobi@gcc.gnu.org>
Fri, 16 Jul 2004 00:57:43 +0000 (02:57 +0200)
commitb38b6477f8229197137a63d2e9abd20fb0bb83d5
tree8c55d335bebc0523bb9a5df83c00721571dacd30
parentc9583ed23d6fc2706bfaf403c4c3ba41f92b9b50
re PR fortran/16404 (should reject invalid code with -pedantic -std=f95 ? (x8))

fortran/
* parse.c (gfc_check_do_variable): Fix error locus.

testsuite/
PR fortran/16404
* gfortran.dg/do_iterator.f90: New test.

From-SVN: r84795
gcc/fortran/ChangeLog
gcc/fortran/parse.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/do_iterator.f90 [new file with mode: 0644]