gcc/libgfortran
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
..
config config.gcc (i[34567]86-*-solaris2*): Default with_arch_32 to pentiumpro on Solaris 8 and 9/x86. 2010-07-12 11:32:42 +00:00
generated
intrinsics intrinsic.h (gfc_check_selected_real_kind, [...]): Update prototypes. 2010-06-25 21:40:37 +02:00
io re PR fortran/37077 (Implement Internal Unit I/O for character KIND=4) 2010-07-16 14:16:04 +00:00
m4
runtime decl.c (gfc_match_entry): Mark ENTRY as GFC_STD_F2008_OBS. 2010-06-25 21:17:21 +02:00
acinclude.m4
aclocal.m4
c99_protos.h
ChangeLog re PR fortran/37077 (Implement Internal Unit I/O for character KIND=4) 2010-07-16 14:16:04 +00:00
ChangeLog-2002
ChangeLog-2003
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007
ChangeLog-2008
ChangeLog-2009
config.h.in
configure configure.ac (gfortran_use_symver): Only check for Sun-style symbol versioning on Solaris 2. 2010-07-02 16:17:04 +00:00
configure.ac configure.ac (gfortran_use_symver): Only check for Sun-style symbol versioning on Solaris 2. 2010-07-02 16:17:04 +00:00
configure.host
fmain.c
gfortran.map intrinsic.h (gfc_check_selected_real_kind, [...]): Update prototypes. 2010-06-25 21:40:37 +02:00
libgfortran.h re PR fortran/43851 (Add _gfortran_error_stop_numeric) 2010-05-20 04:44:11 +00:00
libtool-version
Makefile.am configure.ac: Check for Sun symbol versioning. 2010-07-02 10:12:34 +00:00
Makefile.in configure.ac: Check for Sun symbol versioning. 2010-07-02 10:12:34 +00:00
mk-kinds-h.sh mk-kinds-h.sh: Define GFC_REAL_*_LITERAL_SUFFIX and GFC_REAL_*_LITERAL macros for each kind. 2010-06-09 12:56:35 +00:00
mk-sik-inc.sh
mk-srk-inc.sh intrinsic.h (gfc_check_selected_real_kind, [...]): Update prototypes. 2010-06-25 21:40:37 +02:00