[Bug fortran/39178] Generate main() rather than using a main in libgfortran/fmain.c
burnus at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue May 26 21:20:00 GMT 2009
------- Comment #4 from burnus at gcc dot gnu dot org 2009-05-26 21:20 -------
Subject: Bug 39178
Author: burnus
Date: Tue May 26 21:19:57 2009
New Revision: 147883
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=147883
Log:
fortran/
2009-05-26 Tobias Burnus <burnus@net-b.de>
PR fortran/39178
* gfortranspec.c (lang_specific_driver): Stop linking
libgfortranbegin.
* trans-decl.c (gfc_build_builtin_function_decls): Stop
making MAIN__ publicly visible.
(gfc_build_builtin_function_decls): Add
gfor_fndecl_set_args.
(create_main_function) New function.
(gfc_generate_function_code): Use it.
libgfortran/
2009-05-26 Tobias Burnus <burnus@net-b.de>
PR fortran/39178
* runtime/main.c (store_exe_path): Make static
and multiple-times callable.
(set_args): Call store_exe_path.
* libgfortran.h: Remove store_exe_path prototype.
* fmain.c (main): Remove store_exe_path call.
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/gfortranspec.c
trunk/gcc/fortran/trans-decl.c
trunk/libgfortran/ChangeLog
trunk/libgfortran/fmain.c
trunk/libgfortran/libgfortran.h
trunk/libgfortran/runtime/main.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39178
More information about the Gcc-bugs
mailing list