This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/32928] DATA statement with array element as initializer is rejected
- From: "jvdelisle at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Oct 2007 23:32:44 -0000
- Subject: [Bug fortran/32928] DATA statement with array element as initializer is rejected
- References: <bug-32928-13404@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #7 from jvdelisle at gcc dot gnu dot org 2007-10-04 23:32 -------
Note on comment #6 : I used the following simpler test case using INTEGER
rather than the original test case which uses CHARACTER. The CHARACTER case
does not compile at all.
program chkdata
integer, parameter,dimension(4) :: string = 5
integer :: a
data a / string(4) /
print *, a
end program chkdata
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32928