This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [gfortran/patch] Support NAMELIST I/O of derived type variables (compiler side)
> 2004-08-15 Victor Leikehman <lei@il.ibm.com>
>
> * trans-io.c (transfer_namelist_element): New. Recursively handle
> derived-type variables, in addition to the scalars. For strings, pass
> their length. (build_dt): Code moved to build_namelist, with some
> changes and additions. (gfc_build_io_library_fndecls): Declare the fifth
> argument in st_set_nml_var_char -- string_length.
Changed to use gfc_strlen_type_node where appropriate, and applied.
Paul