diff options
author | Jerry DeLisle <jvdelisle@gcc.gnu.org> | 2007-07-15 16:26:22 +0000 |
---|---|---|
committer | Jerry DeLisle <jvdelisle@gcc.gnu.org> | 2007-07-15 16:26:22 +0000 |
commit | 2bb6de3a7e8d27b8f7ea7139fbee5f33c32bf3e5 (patch) | |
tree | 5dd0bb4b6a1ee0a04fd08df75bf78b4ef75d74d7 /libgfortran/libgfortran.h | |
parent | 639d3040d458f520302f700c5bcc51412c9b47b1 (diff) | |
download | gcc-2bb6de3a7e8d27b8f7ea7139fbee5f33c32bf3e5.zip gcc-2bb6de3a7e8d27b8f7ea7139fbee5f33c32bf3e5.tar.gz gcc-2bb6de3a7e8d27b8f7ea7139fbee5f33c32bf3e5.tar.bz2 |
re PR libfortran/32611 (Print sign of negative zero)
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.
Co-Authored-By: Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
From-SVN: r126654
Diffstat (limited to 'libgfortran/libgfortran.h')
-rw-r--r-- | libgfortran/libgfortran.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libgfortran/libgfortran.h b/libgfortran/libgfortran.h index 8a86f41..e0cfa45 100644 --- a/libgfortran/libgfortran.h +++ b/libgfortran/libgfortran.h @@ -382,6 +382,7 @@ typedef struct int convert; int dump_core; int backtrace; + int sign_zero; size_t record_marker; int max_subrecord_length; } |