This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/45304] Functions/subroutines without arguments always treated like varargs



------- Comment #3 from jakub at gcc dot gnu dot org  2010-08-17 18:06 -------
Subject: Bug 45304

Author: jakub
Date: Tue Aug 17 18:06:18 2010
New Revision: 163311

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=163311
Log:
        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.

Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/trans-decl.c
    trunk/gcc/fortran/trans-intrinsic.c
    trunk/gcc/fortran/trans-types.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45304


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]