re PR libfortran/25425 ([4.1 only] F95 and F2003 differ on list-directed output for...
authorFrançois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Wed, 8 Feb 2006 20:54:14 +0000 (20:54 +0000)
committerFrançois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Wed, 8 Feb 2006 20:54:14 +0000 (20:54 +0000)
commit5f8f531322798fed73c507580e602903b96ab122
treeff93abb380a7a9b32186abc7f83123e78202327a
parent2cf94e58cbde0c5e906720768bd738588a1a075a
re PR libfortran/25425 ([4.1 only] F95 and F2003 differ on list-directed output for 0.0)

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.

From-SVN: r110769
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