[Bug fortran/32928] DATA statement with array element as initializer is rejected
jvdelisle at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Oct 4 23:32:00 GMT 2007
------- 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
More information about the Gcc-bugs
mailing list