This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/29395] New: failure in implied do loop data initialization
- From: "fxcoudert at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Oct 2006 21:41:33 -0000
- Subject: [Bug fortran/29395] New: failure in implied do loop data initialization
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
$ cat a10.f90
integer :: i(2,2)
data ((i(k,j), j = 1, k), k = 1, 2) / 3 * 0 /
end
$ gfortran a10.f90
In file a10.f90:2
data ((i(k,j), j = 1, k), k = 1, 2) / 3 * 0 /
1
Error: Parameter 'k' at (1) has not been declared or is a variable, which does
not reduce to a constant expression
--
Summary: failure in implied do loop data initialization
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Keywords: rejects-valid
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: fxcoudert at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29395