gcc/libgfortran
Jerry DeLisle 54ffdb125c re PR libfortran/20257 (Fortran runtime error: End of record occurs when writing large arrays)
2006-04-22  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR libgfortran/20257
	* io/io.h: Add prototypes for get_internal_unit and free_internal_unit.
	* io/unit.c (get_internal_unit): Initialize unit number, not zero.
	(free_internal_unit): New function to consolidate freeing memory.
	(get_unit): Initialize internal_unit_desc to NULL when unit is
	external.
	* io/unix.c (mem_close): Check for not NULL before freeing memory.
	* io/transfer.c (read_block): Reset bytes_left and skip error if unit
	is preconnected and default record length is reached.
	(read_block_direct): Ditto.
	(write_block): Ditto.
	(write_buf): Ditto.
	(data_transfer_init): Only flush if not internal unit.
	(finalize_transfer): Ditto and delete code to free memory used by
	internal units.
	(st_read_done): Use new function - free_internal_unit.
	(st_write_done): Use new function - free_internal unit.

From-SVN: r113190
2006-04-23 02:04:58 +00:00
..
config fpu-387.h: Use previously added SSE code in all cases, as it really is the right thing to do. 2006-04-01 21:24:24 +00:00
generated re PR fortran/26769 (Implement transpose() and reshape() for real instead of using integer) 2006-04-22 09:08:58 +02:00
intrinsics re PR libfortran/25577 (gfortran routine mvbits returns wrong answer.) 2006-02-08 00:52:37 +01:00
io re PR libfortran/20257 (Fortran runtime error: End of record occurs when writing large arrays) 2006-04-23 02:04:58 +00:00
m4 re PR fortran/26769 (Implement transpose() and reshape() for real instead of using integer) 2006-03-25 21:15:48 +00:00
runtime re PR fortran/25031 ([4.1 only] Allocatable array can be reallocated.) 2006-03-30 16:30:26 +00:00
acinclude.m4
aclocal.m4 re PR fortran/26769 (Implement transpose() and reshape() for real instead of using integer) 2006-03-25 21:15:48 +00:00
c99_protos.h
ChangeLog re PR libfortran/20257 (Fortran runtime error: End of record occurs when writing large arrays) 2006-04-23 02:04:58 +00:00
ChangeLog-2002
ChangeLog-2003
ChangeLog-2004
ChangeLog-2005
config.h.in
configure
configure.ac
configure.host
fmain.c
libgfortran.h [multiple changes] 2006-03-22 19:09:11 +00:00
libtool-version
Makefile.am re PR fortran/26769 (Implement transpose() and reshape() for real instead of using integer) 2006-04-22 09:08:58 +02:00
Makefile.in re PR fortran/26769 (Implement transpose() and reshape() for real instead of using integer) 2006-04-22 09:08:58 +02:00
mk-kinds-h.sh
mk-sik-inc.sh
mk-srk-inc.sh