diff options
author | fxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-08-11 13:50:13 +0000 |
---|---|---|
committer | fxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-08-11 13:50:13 +0000 |
commit | 64fc3c4c555489736b5a298758e71fa77bc6114f (patch) | |
tree | d2c54ce8afd0ee3ffde950228cb4b59edbde4431 /libgfortran/io/format.c | |
parent | 930d6081ba8ccd057ebc90ea805e108bb6000690 (diff) | |
download | gcc-64fc3c4c555489736b5a298758e71fa77bc6114f.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@102990 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgfortran/io/format.c')
-rw-r--r-- | libgfortran/io/format.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libgfortran/io/format.c b/libgfortran/io/format.c index 229a937b05b..e075eee2556 100644 --- a/libgfortran/io/format.c +++ b/libgfortran/io/format.c @@ -580,6 +580,7 @@ parse_format_list (void) case FMT_DOLLAR: get_fnode (&head, &tail, FMT_DOLLAR); tail->repeat = 1; + notify_std (GFC_STD_GNU, "Extension: $ descriptor"); goto between_desc; case FMT_T: |