gcc/libgfortran/io
Jerry DeLisle 2861f77f87 write.c (stdbool.h): Add include.
2007-08-27  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	* io/write.c (stdbool.h): Add include. (sign_t): Move typedef to
	new file write_float.def. Include write_float.def.
	(extract_real): Delete. (calculate_sign): Delete.
	(calculate_exp): Delete. (calculate_G_format): Delete.
	(output_float): Delete. (write_float): Delete.
	* io/write_float.def (calculate_sign): Added.
	(output_float): Refactored to be independent of kind and added to this
	file for inclusion. (write_infnan): New function to write "Infinite" or
	"NaN" depending on flags passed, independent of kind.
	(CALCULATE_EXP): New macro to build kind specific functions. Use it.
	(OUTPUT_FLOAT_FMT_G): New macro, likewise. Use it.
	(DTOA, DTOAL): Macros to implement "decimal to ascii".
	(WRITE_FLOAT): New macro for kind specific write_float functions.
	(write_float): Revised function to determine kind and use WRITE_FLOAT
	to implement kind specific output.

From-SVN: r127846
2007-08-28 00:56:05 +00:00
..
close.c
file_pos.c
format.c re PR fortran/32987 (TAB in FORMAT: accept extension, warn with -std=f*) 2007-08-10 00:02:32 +02:00
inquire.c re PR libfortran/33055 (Runtime error in INQUIRE unit existance with -fdefault-integer-8) 2007-08-26 22:04:48 +00:00
intrinsics.c
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 re PR fortran/33039 (Read NAMELIST: reads wrong namelist name) 2007-08-10 12:36:01 +00:00
lock.c re PR fortran/31201 (Too large unit number generates wrong code) 2007-05-06 22:28:31 +00:00
open.c re PR libfortran/32858 (printf-capabilities for runtime_error()) 2007-07-29 20:01:45 +00:00
read.c read.c (convert_real): Generate error only on EINVAL. 2007-07-23 02:42:05 +00:00
size_from_kind.c
transfer.c re PR libfortran/32858 (printf-capabilities for runtime_error()) 2007-07-29 20:01:45 +00:00
unit.c [multiple changes] 2007-07-02 23:29:27 +00:00
unix.c re PR libfortran/32977 (All gfortran tests fail on Tru64 UNIX V4.0F: vsnprintf missing) 2007-08-03 22:09:10 +00:00
write_float.def write.c (stdbool.h): Add include. 2007-08-28 00:56:05 +00:00
write.c write.c (stdbool.h): Add include. 2007-08-28 00:56:05 +00:00