Compiling tonto-2.2 reveals that structure components cannot be used in array
constructors:
subroutine complex_constructor
type BASIS_TYPE
character(len=512) :: label
end type
type(BASIS_TYPE), dimension(:), pointer :: var
call read_library_data_((/var%label/))
end subroutine complex_constructor
emits..
complex_constructor.f90: In function ‘complex_constructor’:
complex_constructor.f90:1: fatal error: gfc_todo: Not Implemented: complex
character array constructors
compilation terminated.
I am on to it....
Paul
--
Summary: TODO: Complex array constructors in tonto-2.2
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
AssignedTo: pault at gcc dot gnu dot org
ReportedBy: pault at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27113