gcc/libgfortran
Francois-Xavier Coudert 8b67b708f1 re PR libfortran/20006 ($ format extension doesn't work)
PR libfortran/20006
	* gfortran.h: Add is_main_program member to symbol_attribute.
	* trans-decl: Add a gfor_fndecl_set_std tree.
	(gfc_build_builtin_function_decls): Create it.
	(gfc_generate_function_code): Add this call at the beginning of
	the main program.
	* trans.c (gfc_generate_code): Move main_program and attr.
	* trans.h: Add declaration for gfor_fndecl_set_std.

	* Makefile.am: Add file runtime/compile_options.c.
	* Makefile.in: Regenerate.
	* libgfortran.h: Create structure compile_options_t. Define the
	compile_options variable and GFC_STD_ macros.
	* runtime/compile_options.c: New file.
	* runtime/error.c (notify_std): New function.
	* runtime/main.c (init): Call init_compile_options during
	initialization.
	* io/format.c: Use the new notify_std function for the $
	descriptor extension.

	* gfortran.dg/runtime_warning_1.f90: New test.

Co-Authored-By: Steven Bosscher <stevenb@suse.de>

From-SVN: r102990
2005-08-11 13:50:13 +00:00
..
generated libgfortran.h (GFC_ARRAY_DESCRIPTOR): Replace 'type *base' by 'size_t offset'. 2005-07-08 00:08:06 +02:00
intrinsics check.c (gfc_check_ttynam_sub, [...]): Add check functions for new intrinsics TTYNAM and ISATTY. 2005-08-09 17:33:17 +00:00
io re PR libfortran/20006 ($ format extension doesn't work) 2005-08-11 13:50:13 +00:00
m4 libgfortran.h (GFC_ARRAY_DESCRIPTOR): Replace 'type *base' by 'size_t offset'. 2005-07-08 00:08:06 +02:00
runtime re PR libfortran/20006 ($ format extension doesn't work) 2005-08-11 13:50:13 +00:00
.cvsignore ignore autom4te.cache 2004-08-23 23:51:56 +00:00
acinclude.m4 acinclude.m4 (LIBGFOR_CHECK_ATTRIBUTE_VISIBILITY): New. 2004-12-12 00:59:05 -08:00
aclocal.m4 re PR fortran/21915 ([4.0 only] Would like atanh etc. as intrinsics) 2005-06-24 23:07:13 +00:00
c99_protos.h re PR fortran/21915 ([4.0 only] Would like atanh etc. as intrinsics) 2005-06-24 23:07:13 +00:00
ChangeLog re PR libfortran/20006 ($ format extension doesn't work) 2005-08-11 13:50:13 +00:00
config.h.in re PR fortran/21915 ([4.0 only] Would like atanh etc. as intrinsics) 2005-06-24 23:07:13 +00:00
configure re PR fortran/21915 ([4.0 only] Would like atanh etc. as intrinsics) 2005-06-24 23:07:13 +00:00
configure.ac re PR fortran/21915 ([4.0 only] Would like atanh etc. as intrinsics) 2005-06-24 23:07:13 +00:00
fmain.c
libgfortran.h re PR libfortran/20006 ($ format extension doesn't work) 2005-08-11 13:50:13 +00:00
libtool-version libtool-version: New. 2004-07-04 09:06:54 +00:00
Makefile.am re PR libfortran/20006 ($ format extension doesn't work) 2005-08-11 13:50:13 +00:00
Makefile.in re PR libfortran/20006 ($ format extension doesn't work) 2005-08-11 13:50:13 +00:00
mk-kinds-h.sh c99_functions.c (log10l): New log10l function for systems where this is not available. 2005-06-23 18:50:25 +00:00
mk-sik-inc.sh mk-sik-inc.sh: Use a temporary string instead of 'echo -n'. 2004-09-01 17:51:42 +00:00
mk-srk-inc.sh mk-sik-inc.sh: Use a temporary string instead of 'echo -n'. 2004-09-01 17:51:42 +00:00