[PATCH] Use void_list_node more in Fortran FE, don't make MAIN__ call varargs
Tobias Burnus
burnus@net-b.de
Tue Aug 17 17:32:00 GMT 2010
On 08/17/2010 07:25 PM, Jakub Jelinek wrote:
> As discussed in the PR, this patch just makes MAIN__ call non-varargs (for
> other calls more work is needed)
Namely, one should generate the interface based on the usage of the
call; that way one can also give better diagnostics. (Cf. PR and PR
linked in the PR.)
> and slightly optimizes by sharing
> void_list_node by more function types.
>
> Bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk?
OK. Thanks for the patch.
Tobias
> 2010-08-17 Jakub Jelinek<jakub@redhat.com>
>
> PR fortran/45304
> * trans-decl.c (build_library_function_decl_1): Chain on
> void_list_node instead of creating a new TREE_LIST.
> * trans-intrinsic.c (gfc_get_intrinsic_lib_fndecl): Likewise.
> * trans-types.c (gfc_get_function_type): Likewise. Set
> typelist to void_list_node for the main program
More information about the Fortran
mailing list