OSDN Git Service

2007-07-15 Jerry DeLisle <jvdelisle@gcc.gnu.org>
authorjvdelisle <jvdelisle@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 15 Jul 2007 16:26:22 +0000 (16:26 +0000)
committerjvdelisle <jvdelisle@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 15 Jul 2007 16:26:22 +0000 (16:26 +0000)
commitd4862c77ebd88b4abbb75f8eda2d711107037e24
tree5dd0bb4b6a1ee0a04fd08df75bf78b4ef75d74d7
parent5a30047cc1166eb6ec0def314673f9535c5d44b7
2007-07-15  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
    Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>

PR fortran/32611
* runtime/compile_options.c (set_std): Remove.
(set_options): New function.
(init_compile_options): Add initialization for -fsign-zero option.
* gfortran.map (GFORTRAN_1.0): Rename _gfortran_set_std into
_gfortran_set_options.
* libgfortran.h (compile_options_t): Add sign_zero field.
* io/write.c (output_float): Use the sign bit of the value to determine
if a negative sign should be emitted for zero values.  Do not emit the
negative sign for zero if -fno-sign-zero was set during compile.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@126654 138bc75d-0d04-0410-961f-82ee72b054a4
libgfortran/ChangeLog
libgfortran/gfortran.map
libgfortran/io/write.c
libgfortran/libgfortran.h
libgfortran/runtime/compile_options.c