gcc/libgfortran/io
Jerry DeLisle 2bb6de3a7e 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
2007-07-15 16:26:22 +00:00
..
close.c re PR fortran/28335 (flush() / write() statement on closed units - error?) 2006-07-31 00:15:08 +00:00
file_pos.c re PR libfortran/31532 (INQUIRE(...,POSITION=...) not standard conforming) 2007-04-28 02:03:21 +00:00
format.c re PR fortran/31395 ([4.2 Only] Colon edit descriptor is ignored unless preceded by a comma or a slash) 2007-04-06 15:39:02 +00:00
inquire.c re PR libfortran/31532 (INQUIRE(...,POSITION=...) not standard conforming) 2007-04-28 02:03:21 +00:00
intrinsics.c re PR target/22539 (Internal compiler error with maximum sized array) 2007-05-04 14:02:18 -04:00
io.h re PR libfortran/31607 (CALL SYSTEM produces garbled output when writing to a buffered file) 2007-05-07 19:48:40 +00:00
list_read.c string.c (compare0): Use gfc_charlen_type instead of int. 2007-05-27 00:15:22 +03:00
lock.c re PR fortran/31201 (Too large unit number generates wrong code) 2007-05-06 22:28:31 +00:00
open.c string.c (compare0): Use gfc_charlen_type instead of int. 2007-05-27 00:15:22 +03:00
read.c 2006-11-08 Steven G. Kargl <kargl@gcc.gnu.org> 2006-11-09 03:57:44 +00:00
size_from_kind.c random.c: Include config.h 2005-11-27 17:09:40 -05:00
transfer.c re PR libfortran/32752 (Segfault on WRITE with modified unix_stream structure) 2007-07-15 05:29:29 +00:00
unit.c [multiple changes] 2007-07-02 23:29:27 +00:00
unix.c re PR libfortran/32752 (Segfault on WRITE with modified unix_stream structure) 2007-07-15 05:29:29 +00:00
write.c re PR libfortran/32611 (Print sign of negative zero) 2007-07-15 16:26:22 +00:00