gcc/libgfortran/runtime
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
..
backtrace.c re PR libfortran/32495 (static declaration of 'strcasestr' follows non-static declaration) 2007-06-25 17:21:46 +00:00
compile_options.c re PR libfortran/32611 (Print sign of negative zero) 2007-07-15 16:26:22 +00:00
environ.c re PR fortran/31917 ([4.1 only] GFORTRAN_CONVERT_UNIT is ignored) 2007-05-17 10:39:32 +02:00
error.c re PR libfortran/32456 (IO error message should show Unit/Filename) 2007-06-24 22:56:21 +00:00
fpu.c re PR fortran/14943 (read/write code generation is not thread safe) 2005-11-21 23:03:56 +01:00
in_pack_generic.c in_pack.m4: Fixed a typo. 2006-10-18 19:17:49 +02:00
in_unpack_generic.c in_pack.m4: Fixed a typo. 2006-10-18 19:17:49 +02:00
main.c main.c (please_free_exe_path_when_done): New variable. 2007-04-19 11:01:15 +00:00
memory.c Fortran frontend: 2007-07-03 19:50:05 +03:00
pause.c re PR fortran/14943 (read/write code generation is not thread safe) 2005-11-21 23:03:56 +01:00
select.c All files: Update FSF address. 2005-08-17 02:49:08 +00:00
stop.c re PR fortran/14943 (read/write code generation is not thread safe) 2005-11-21 23:03:56 +01:00
string.c string.c (compare0): Use gfc_charlen_type instead of int. 2007-05-27 00:15:22 +03:00