gcc/libgfortran
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
..
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 pack_generic.c (pack_internal): Remove unused zero_sized variable. 2009-11-28 21:29:51 +01:00
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-13 02:12:08 +00:00
m4 pack_generic.c (pack_internal): Remove unused zero_sized variable. 2009-11-28 21:29:51 +01:00
runtime decl.c (gfc_match_entry): Mark ENTRY as GFC_STD_F2008_OBS. 2010-06-25 21:17:21 +02:00
acinclude.m4 re PR fortran/31832 (FAIL: gfortran.dg/integer_exponentiation_2.f90 at -O1 and above) 2008-12-29 20:10:00 +00:00
aclocal.m4 Update to Automake 1.11.1. 2010-04-02 18:18:06 +00:00
c99_protos.h re PR fortran/33197 (Fortran 2008: math functions) 2009-07-25 21:39:07 +02:00
ChangeLog re PR fortran/37077 (Implement Internal Unit I/O for character KIND=4) 2010-07-13 02:12:08 +00:00
ChangeLog-2002 ChangeLog-2002: Add copyright footer. 2010-01-04 09:59:59 +01:00
ChangeLog-2003 ChangeLog-2002: Add copyright footer. 2010-01-04 09:59:59 +01:00
ChangeLog-2004 ChangeLog-2002: Add copyright footer. 2010-01-04 09:59:59 +01:00
ChangeLog-2005 ChangeLog-2002: Add copyright footer. 2010-01-04 09:59:59 +01:00
ChangeLog-2006 ChangeLog-2002: Add copyright footer. 2010-01-04 09:59:59 +01:00
ChangeLog-2007 ChangeLog-2002: Add copyright footer. 2010-01-04 09:59:59 +01:00
ChangeLog-2008 ChangeLog-2002: Add copyright footer. 2010-01-04 09:59:59 +01:00
ChangeLog-2009 ChangeLog-2002: Add copyright footer. 2010-01-04 09:59:59 +01:00
config.h.in configure.ac: Check for GFORTRAN_C99_1.1 funcs in OS libm. 2009-09-22 12:23:06 +02:00
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 configure.host: Define ieee_flags and set it to -mieee for sh. 2009-07-30 22:56:08 +00:00
fmain.c Add comment saying file is deprecated 2009-08-14 20:54:27 +03:00
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 re PR libfortran/27107 (Make dependency on io/io.h broken) 2007-01-17 19:44:00 +00:00
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-sik-inc.sh: Make -Wunused-variable proof. 2008-09-10 19:18:08 +02:00
mk-srk-inc.sh intrinsic.h (gfc_check_selected_real_kind, [...]): Update prototypes. 2010-06-25 21:40:37 +02:00