gcc/libgfortran/io
Jerry DeLisle 746e63273f re PR fortran/44953 (FAIL: gfortran.dg/char4_iunit_1.f03 * execution test)
2010-07-19  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR libfortran/44953
	* io/unix.c (mem_alloc_w4): Return gfc_char4_t instead of char type
	pointer. (mem_write4): Remove cast to gfc_char4_t.
	* io/transfer.c (write_block): Use a gfc_char4_t pointer.
	(memset4): New helper function. (next_record_w): Use new helper
	function rather than sset for internal units.  Don't attempt to pad
	with spaces if it is not needed.
	* io/unix.h: Update prototype for mem_alloc_w4.
	* io/write.c (memset4): Use gfc_char4_t pointer and chracter type.
	Don't use multiply by 4 to compute offset. (memcpy4): Likewise.
	(write_default_char4): Use a gfc_char4_t pointer and update memset4
	and memcpy calls. (write_a): Likewise. (write_l): Likewise.
	(write_boz): Likewise. (write_decimal): Likewise. (write_x): Likewise.
	(write_char): Add support for character(kind=4) internal units that
	was previously missed. (write_integer): Use a gfc_char4_t pointer and
	update memset4 and memcpy calls. (write_character): Likewise.
	(write_separator): Add support for character(kind=4) internal units
	that was previously missed.
	* write_float.def (output_float): Use a gfc_char4_t pointer and
	update memset4 and memcpy calls. (write_infnan): Likewise.
	(output_float_FMT_G_): Likewise.

From-SVN: r162304
2010-07-19 13:11:54 +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/44934 (Bogus "Missing format for FORMATTED data transfer") 2010-07-15 03:40:56 +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-16 14:16:04 +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-16 14:16:04 +00:00
size_from_kind.c
transfer.c re PR fortran/44953 (FAIL: gfortran.dg/char4_iunit_1.f03 * execution test) 2010-07-19 13:11:54 +00:00
unit.c re PR fortran/37077 (Implement Internal Unit I/O for character KIND=4) 2010-07-16 14:16:04 +00:00
unix.c re PR fortran/44953 (FAIL: gfortran.dg/char4_iunit_1.f03 * execution test) 2010-07-19 13:11:54 +00:00
unix.h re PR fortran/44953 (FAIL: gfortran.dg/char4_iunit_1.f03 * execution test) 2010-07-19 13:11:54 +00:00
write_float.def re PR fortran/44953 (FAIL: gfortran.dg/char4_iunit_1.f03 * execution test) 2010-07-19 13:11:54 +00:00
write.c re PR fortran/44953 (FAIL: gfortran.dg/char4_iunit_1.f03 * execution test) 2010-07-19 13:11:54 +00:00