gcc/libgfortran
Tobias Burnus 092231a8d6 re PR fortran/39178 (Generate main() rather than using a main in libgfortran/fmain.c)
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.

From-SVN: r147883
2009-05-26 23:19:57 +02:00
..
config Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
generated Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
intrinsics Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
io re PR libfortran/37754 (READ I/O Performance regression from 4.3 to 4.4/4.5) 2009-05-20 00:16:38 +00:00
m4 Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
runtime re PR fortran/39178 (Generate main() rather than using a main in libgfortran/fmain.c) 2009-05-26 23:19:57 +02:00
acinclude.m4 re PR fortran/31832 (FAIL: gfortran.dg/integer_exponentiation_2.f90 at -O1 and above) 2008-12-29 20:10:00 +00:00
aclocal.m4
c99_protos.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
ChangeLog re PR fortran/39178 (Generate main() rather than using a main in libgfortran/fmain.c) 2009-05-26 23:19:57 +02:00
ChangeLog-2002
ChangeLog-2003
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007
config.h.in re PR fortran/31832 (FAIL: gfortran.dg/integer_exponentiation_2.f90 at -O1 and above) 2008-12-29 20:10:00 +00:00
configure configure.ac: Test for -ffunction-sections -fdata-sections and set SECTION_FLAGS accordingly. 2009-04-17 10:36:21 +00:00
configure.ac configure.ac: Test for -ffunction-sections -fdata-sections and set SECTION_FLAGS accordingly. 2009-04-17 10:36:21 +00:00
configure.host
fmain.c re PR fortran/39178 (Generate main() rather than using a main in libgfortran/fmain.c) 2009-05-26 23:19:57 +02:00
gfortran.map
libgfortran.h re PR fortran/39178 (Generate main() rather than using a main in libgfortran/fmain.c) 2009-05-26 23:19:57 +02:00
libtool-version
Makefile.am configure.ac: Test for -ffunction-sections -fdata-sections and set SECTION_FLAGS accordingly. 2009-04-17 10:36:21 +00:00
Makefile.in configure.ac: Test for -ffunction-sections -fdata-sections and set SECTION_FLAGS accordingly. 2009-04-17 10:36:21 +00:00
mk-kinds-h.sh mk-kinds-h.sh: Make -Wunused-variable proof. 2008-09-10 18:39:15 +02:00
mk-sik-inc.sh mk-sik-inc.sh: Make -Wunused-variable proof. 2008-09-10 19:18:08 +02:00
mk-srk-inc.sh mk-sik-inc.sh: Make -Wunused-variable proof. 2008-09-10 19:18:08 +02:00