This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/25101] [4.1] Zero stride allowed in FORALL:s
- From: "kargl at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Jan 2006 20:04:29 -0000
- Subject: [Bug fortran/25101] [4.1] Zero stride allowed in FORALL:s
- References: <bug-25101-6642@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from kargl at gcc dot gnu dot org 2006-01-06 20:04 -------
Subject: Bug 25101
Author: kargl
Date: Fri Jan 6 20:04:15 2006
New Revision: 109425
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=109425
Log:
2006-01-06 Steven G. Kargl <kargls@comcast.net>
PR fortran/25101
* resolve.c (resolve_forall_iterators): Check for scalar variables;
Check stride is nonzero.
PR fortran/24640
* parse.c (next_free): Check for whitespace after the label.
* match.c (gfc_match_small_literal_int): Initialize cnt variable.
PR fortran/25101
* gfortran.dg/forall_2.f90: New test.
PR fortran/24640
* gfortran.dg/label_2.f90: New test.
Added:
branches/gcc-4_1-branch/gcc/testsuite/gfortran.dg/forall_2.f90
branches/gcc-4_1-branch/gcc/testsuite/gfortran.dg/label_2.f90
Modified:
branches/gcc-4_1-branch/gcc/fortran/ChangeLog
branches/gcc-4_1-branch/gcc/fortran/match.c
branches/gcc-4_1-branch/gcc/fortran/parse.c
branches/gcc-4_1-branch/gcc/fortran/resolve.c
branches/gcc-4_1-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25101