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

	PR libfortran/37077
	* io/read.c (read_default_char4): Add support for reading into a
	kind-4 character variable from a character(kind=4) internal unit.
	* io/io.h (read_block_form4): Add prototype.
	* io/unit.c (get_internal_unit): Add call to fbuf_init.
	(free_internal_unit): Add call to fbuf_destroy. (get_unit): Fix
	whitespace.
	* io/transfer.c (read_sf_internal): Use fbuf_alloc to allocate a string
	to recieve the wide characters translated to single byte chracters.
	(read_block_form): Fix whitespace. (read_block_form4): New function to
	read from a character(kind=4) internal unit into a character(kind=4)
	variable. (read_block_direct): Fix whitespace. (write_block): Fix
	whitespace. (formatted_transfer_scalar_read): Likewise.
	(formatted_transfer_scalar_write): Likewise.
	* io/write.c (write_character): Add support for list directed write of
	a kind=1 character string to a character(kind=4) internal unit.

From-SVN: r162260
2010-07-16 14:16:04 +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
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
inquire.c
intrinsics.c
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 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-16 14:16:04 +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/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-16 14:16:04 +00:00