gcc/libgfortran/io
Jerry DeLisle c7421e06ca re PR fortran/37077 (Implement Internal Unit I/O for character KIND=4)
2010-07-12  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR libfortran/37077
	* io/read.c: Fix comment.
	* io/io.h (is_char4_unit): New macro.
	* io/unit.c (get_internal_unit): Call new function open_internal4.
	* io/unix.c (mem_alloc_r4): New function. (mem_alloc_w4): New function.
	(mem_read4): New function, temporary stub. (mem_write4): New function.
	(open_internal4): New function to set stream pointers to use the new
	mem functions.
	* io/transfer.c (write_block): Use new mem_alloc_w4 to access internal
	units of kind=4.
	* io/unix.h: Add prototypes for open_internal4, mem_alloc_w4, and
	mem_alloc_r4.
	* io/write.c (memset4): New helper function. (memcpy4): New helper
	function. (write_default_char4): Use new helper functions.
	(write_a): Likewise. (write_l): Likewise. (write_boz): Likewise.
	(write_decimal): Likewise. (write_x): Likewise.
	(write_integer): Likewise.
	* io/write_float.def (output_float): Add code blocks to handle internal
	unit kind=4 output utilizing gfc_char4_t pointers. (write_infnan): Use
	new helper functions. (OUTPUT_FLOAT_FMT_G): Update this macro likewise.

From-SVN: r162123
2010-07-13 02:12:08 +00:00
..
close.c Split up io/io.h 2009-11-02 23:52:59 +02:00
fbuf.c Remove free_mem 2010-05-07 18:55:59 +03:00
fbuf.h Move includes after include guards 2009-11-19 22:23:03 +02:00
file_pos.c re PR fortran/44477 (Sequential I/O with END FILE: File position should be at EoF) 2010-06-19 00:58:28 +00:00
format.c Remove free_mem 2010-05-07 18:55:59 +03:00
format.h Move includes after include guards 2009-11-19 22:23:03 +02:00
inquire.c transfer.c: Update copyright. 2010-04-01 18:22:00 +00:00
intrinsics.c PR libfortran/43605 FTELL intrinsic, take 2. 2010-04-01 23:51:45 +03:00
io.h re PR fortran/37077 (Implement Internal Unit I/O for character KIND=4) 2010-07-13 02:12:08 +00:00
list_read.c re PR libfortran/43298 (fortran library does not read in NaN -Inf or Inf) 2010-07-02 21:07:30 +02:00
lock.c Remove free_mem 2010-05-07 18:55:59 +03:00
open.c Remove free_mem 2010-05-07 18:55:59 +03:00
read.c re PR fortran/37077 (Implement Internal Unit I/O for character KIND=4) 2010-07-13 02:12:08 +00:00
size_from_kind.c Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
transfer.c re PR fortran/37077 (Implement Internal Unit I/O for character KIND=4) 2010-07-13 02:12:08 +00:00
unit.c re PR fortran/37077 (Implement Internal Unit I/O for character KIND=4) 2010-07-13 02:12:08 +00:00
unix.c re PR fortran/37077 (Implement Internal Unit I/O for character KIND=4) 2010-07-13 02:12:08 +00:00
unix.h re PR fortran/37077 (Implement Internal Unit I/O for character KIND=4) 2010-07-13 02:12:08 +00:00
write_float.def re PR fortran/37077 (Implement Internal Unit I/O for character KIND=4) 2010-07-13 02:12:08 +00:00
write.c re PR fortran/37077 (Implement Internal Unit I/O for character KIND=4) 2010-07-13 02:12:08 +00:00