gcc/libgfortran
Jerry DeLisle 59154ed24c PR fortran/21875 Internal Unit Array I/O, NIST
2005-09-14  Jerry DeLisle  <jvdelisle@verizon.net

	PR fortran/21875 Internal Unit Array I/O, NIST
	* libgfortran.h: Add run time error code for array stride.
	* runtime/error.c (translate_error): Add error message for
	array stride.
	* io/io.h: Add array descriptor pointer to IOPARM structure.
	Add prtotypes for two new functions.
	* io/transfer.c (data_transfer_init): Removed initialization and
	moved to unit.c (get_unit)
	* io/transfer.c (next_record_r): Include internal unit read
	functionality.
	* io/transfer.c (next_record_w): Include internal unit write
	functionality, including padding of character array records.
	* io/unit.c (get_array_unit_len): New function to return the number
	of records in the character array 'file' from the array descriptor.
	* io/unit.c (get_unit): Gathered initialization code from
	init_data_transfer for internal units and added initialization of
	character array unit.
	* io/unit.c (is_array_io): New function to determine if internal unit
	is an array.
	* io/unix.c (mem_alloc_w_at): Add error checks for bad record length
	and end of file.

From-SVN: r104276
2005-09-14 20:18:19 +00:00
..
generated re PR fortran/19269 (transpose(reshape(...)) of character array segfaults.) 2005-09-13 07:15:01 +00:00
intrinsics re PR fortran/19269 (transpose(reshape(...)) of character array segfaults.) 2005-09-13 07:15:01 +00:00
io PR fortran/21875 Internal Unit Array I/O, NIST 2005-09-14 20:18:19 +00:00
m4 re PR fortran/19269 (transpose(reshape(...)) of character array segfaults.) 2005-09-13 07:15:01 +00:00
runtime PR fortran/21875 Internal Unit Array I/O, NIST 2005-09-14 20:18:19 +00:00
.cvsignore ignore autom4te.cache 2004-08-23 23:51:56 +00:00
ChangeLog PR fortran/21875 Internal Unit Array I/O, NIST 2005-09-14 20:18:19 +00:00
Makefile.am re PR libfortran/20006 ($ format extension doesn't work) 2005-08-11 13:50:13 +00:00
Makefile.in acinclude.m4 (LIBGFOR_CHECK_UNLINK_OPEN_FILE): Add check to see if target can unlink open files. 2005-08-27 16:01:54 +00:00
acinclude.m4 re PR libfortran/23262 ([mingw32] rewind truncates file) 2005-09-07 21:25:40 +00:00
aclocal.m4 acinclude.m4 (LIBGFOR_CHECK_UNLINK_OPEN_FILE): Add check to see if target can unlink open files. 2005-08-27 16:01:54 +00:00
c99_protos.h All files: Update FSF address. 2005-08-17 02:49:08 +00:00
config.h.in re PR libfortran/23262 ([mingw32] rewind truncates file) 2005-09-07 21:25:40 +00:00
configure re PR libfortran/23262 ([mingw32] rewind truncates file) 2005-09-07 21:25:40 +00:00
configure.ac re PR libfortran/23262 ([mingw32] rewind truncates file) 2005-09-07 21:25:40 +00:00
fmain.c
libgfortran.h PR fortran/21875 Internal Unit Array I/O, NIST 2005-09-14 20:18:19 +00:00
libtool-version
mk-kinds-h.sh c99_functions.c (log10l): New log10l function for systems where this is not available. 2005-06-23 18:50:25 +00:00
mk-sik-inc.sh mk-sik-inc.sh: Use a temporary string instead of 'echo -n'. 2004-09-01 17:51:42 +00:00
mk-srk-inc.sh mk-sik-inc.sh: Use a temporary string instead of 'echo -n'. 2004-09-01 17:51:42 +00:00