[Bug libfortran/25425] F95 and F2003 differ on list-directed output for 0.0
fxcoudert at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Feb 8 20:54:00 GMT 2006
------- Comment #5 from fxcoudert at gcc dot gnu dot org 2006-02-08 20:54 -------
Subject: Bug 25425
Author: fxcoudert
Date: Wed Feb 8 20:54:14 2006
New Revision: 110769
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=110769
Log:
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.
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/trans-decl.c
trunk/libgfortran/ChangeLog
trunk/libgfortran/io/write.c
trunk/libgfortran/libgfortran.h
trunk/libgfortran/runtime/compile_options.c
trunk/libgfortran/runtime/error.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25425
More information about the Gcc-bugs
mailing list