gcc/libgfortran/runtime
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
..
compile_options.c All files: Update FSF address. 2005-08-17 02:49:08 +00:00
environ.c All files: Update FSF address. 2005-08-17 02:49:08 +00:00
error.c PR fortran/21875 Internal Unit Array I/O, NIST 2005-09-14 20:18:19 +00:00
in_pack_generic.c All files: Update FSF address. 2005-08-17 02:49:08 +00:00
in_unpack_generic.c All files: Update FSF address. 2005-08-17 02:49:08 +00:00
main.c All files: Update FSF address. 2005-08-17 02:49:08 +00:00
memory.c re PR fortran/12840 ([4.0 only] Unable to find scalarization loop specifier) 2005-09-09 06:00:40 +00:00
normalize.c All files: Update FSF address. 2005-08-17 02:49:08 +00:00
pause.c All files: Update FSF address. 2005-08-17 02:49:08 +00:00
select.c All files: Update FSF address. 2005-08-17 02:49:08 +00:00
stop.c All files: Update FSF address. 2005-08-17 02:49:08 +00:00
string.c All files: Update FSF address. 2005-08-17 02:49:08 +00:00