Thomas Koenig via Fortran <fort...@gcc.gnu.org> wrote:

and the library function has

mmaxloc2_4_s1 (gfc_array_s1 * const restrict array,
                                 gfc_array_l1 * const restrict mask, 
GFC_LOGICAL_4 back,
                                 gfc_charlen_type len)

As far as I can tell, the decl looks correct, but I am a bit
confused by the final

chain <tree_list 0x7feefcfebb18 value <void_type 0x7feefcfecf18 void>>>>>>

there.  Should that be there?  What does it mean?

FUNCTION_TYPE

If the last node in the list is void_list_node (a TREE_LIST node whose TREE_VALUE is the void_type_ node), then functions of this type do not take variable arguments. Otherwise, they do take a variable number of arguments.

HTH
Iain

Reply via email to