PR libfortran/25425
authorfxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 8 Feb 2006 20:54:14 +0000 (20:54 +0000)
committerfxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 8 Feb 2006 20:54:14 +0000 (20:54 +0000)
commit7833ddd7f2851ef118671abc07af7cedfd7fe1ed
treeff93abb380a7a9b32186abc7f83123e78202327a
parentde83d4725adf72fb9808b30a01a5c4ec05ae8a51
PR libfortran/25425

* trans-decl.c (gfc_generate_function_code): Add new argument,
pedantic, to set_std call.

* libgfortran.h: Add pedantic field to compile_options struct.
* io/write.c (calculate_G_format): Depending on the standard,
choose E or F format for list-directed output of 0.0.
* runtime/error.c (notify_std): Make warning and error dependent
on pedanticity.
* runtime/compile_options.c (set_std): Use new pedantic argument.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110769 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/trans-decl.c
libgfortran/ChangeLog
libgfortran/io/write.c
libgfortran/libgfortran.h
libgfortran/runtime/compile_options.c
libgfortran/runtime/error.c