This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/32928] DATA statement with array element as initializer is rejected



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]