This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: namelist array objects in subprograms
Paul,
Anything that needs to handle array values expressons must do so
explicitly.
See gfc_conv_intrinsic_transfer and gfc_conv_function_call for examples.
I was just doing that yesterday afternoon and not making head nor tail of
it! I'll have another stab at it today.
On a related matter: Namelist uses a transfer function for each type,
apparently to avoid contaminating the runtime with front-end type
enumeration or vice-versa. Is there any in-principle reason not to do this
latter, thereby reducing the transfer functions to one. The code would look
a lot neater.
Paul T