trans-intrinsic.c: question on FIXME

Daniel Franke franke.daniel@gmail.com
Fri May 25 08:29:00 GMT 2007


Hi all,

could someone be so kind to elaborate on this FIXME in trans-intrinsic.c?


/* Evaluate the arguments to an intrinsic function.  */
/* FIXME: This function and its callers should be rewritten so that it's
   not necessary to cons up a list to hold the arguments.  */

static tree
gfc_conv_intrinsic_function_args (gfc_se * se, gfc_expr * expr)


Especially, what's so bad about the current implementation of
"cons'ing up" a tree of arguments and how could one improve it?

Many thanks.
    Daniel



More information about the Fortran mailing list