]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR fortran/45304 (Functions/subroutines without arguments always treated like...
authorJakub Jelinek <jakub@redhat.com>
Tue, 17 Aug 2010 18:06:18 +0000 (20:06 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 17 Aug 2010 18:06:18 +0000 (20:06 +0200)
commit35d3d688fc4b8adde86a554a5061f2a7d54df6a2
tree54aa23c03c4d5c54807cefbeccd9c5fbb14f5ce2
parent1c111d0a5874d378f3e80c057255b2edb1bf0836
re PR fortran/45304 (Functions/subroutines without arguments always treated like varargs)

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.

From-SVN: r163311
gcc/fortran/ChangeLog
gcc/fortran/trans-decl.c
gcc/fortran/trans-intrinsic.c
gcc/fortran/trans-types.c