This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/23232] DATA implied DO variables
- 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:59:44 -0000
- Subject: [Bug fortran/23232] DATA implied DO variables
- References: <bug-23232-11116@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from fxcoudert at gcc dot gnu dot org 2006-10-08 21:59 -------
(In reply to comment #4)
> *** Bug 29395 has been marked as a duplicate of this bug. ***
$ 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
--
fxcoudert at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed|2006-01-29 19:54:38 |2006-10-08 21:59:43
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23232