gcc/libgfortran
Jerry DeLisle 91b30ee5b9 re PR fortran/25828 ([f2003] ACCESS='STREAM' io support)
2006-08-15  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR libgfortran/25828
	* libgfortran.h: Rename GFC_LARGE_IO_INT to GFC_IO_INT.
	* io/file_pos.c (st_backspace): Ignore if access=STREAM.
	(st_rewind): Handle case of access=STREAM.
	* io/open.c (access_opt): Add STREAM_ACCESS.
	(edit_modes): Set current_record to zero only if not STREAM.
	(new_unit): Initialize maxrec, recl, and last_record for STREAM.
	* io/read.c (read_x): Advance file position for STREAM.
	* io/io.h (enum unit_access): Align IOPARM flags with frontend.
	Add ACCESS_STREAM. Add prototype for is_stream_io () function.
	Use GFC_IO_INT.
	* io/inquire.c (inquire_via_unit): Add text for access = "STREAM".
	* io/unit.c (is_stream_io): New function to return true if access =
	STREAM.
	* io/transfer.c (file_mode): Add modes for unformatted stream and
	formatted stream. (current_mode): Return appropriate file mode based
	on access flags.
	(read_block): Handle formatted stream reads.
	(read_block_direct): Handle unformatted stream reads.
	(write_block): Handle formatted stream writes.
	(write_buf): Handle unformatted stream writes.
	(unformatted_read): Fix up, use temporary for size.
	(pre_position): Position file for STREAM access.
	(data_transfer_init): Initialize for stream access, skip irrelevent
	error checks.
	(next_record_r),(next_record_w), and (next_record): Do nothing for
	stream I/O.
	(finalize_transfer): Flush when all done if stream I/O.

From-SVN: r116172
2006-08-15 23:06:44 +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 libfortran/27919 (dot_product should be removed from the library) 2006-07-19 19:51:49 +03:00
intrinsics * intrinsics/bessel.c: Add prototypes for all functions. 2006-08-12 07:30:04 +00:00
io re PR fortran/25828 ([f2003] ACCESS='STREAM' io support) 2006-08-15 23:06:44 +00:00
m4 re PR libfortran/27919 (dot_product should be removed from the library) 2006-07-19 19:51:49 +03:00
runtime re PR libfortran/28452 (__gfortran_random_r10 not found) 2006-08-01 17:15:04 +00:00
acinclude.m4
aclocal.m4 Makefile.in: Regenerate using automake 1.9.6. 2006-08-02 20:05:23 +00:00
c99_protos.h
ChangeLog re PR fortran/25828 ([f2003] ACCESS='STREAM' io support) 2006-08-15 23:06:44 +00:00
ChangeLog-2002 * Split the ChangeLog into years. 2006-01-01 17:14:35 +00:00
ChangeLog-2003 * Split the ChangeLog into years. 2006-01-01 17:14:35 +00:00
ChangeLog-2004 * Split the ChangeLog into years. 2006-01-01 17:14:35 +00:00
ChangeLog-2005 * Split the ChangeLog into years. 2006-01-01 17:14:35 +00:00
config.h.in intrinsic.c (add_functions): Add ACCESS, CHMOD, RSHIFT, LSHIFT. 2006-07-30 20:48:00 +00:00
configure intrinsic.c (add_functions): Add ACCESS, CHMOD, RSHIFT, LSHIFT. 2006-07-30 20:48:00 +00:00
configure.ac intrinsic.c (add_functions): Add ACCESS, CHMOD, RSHIFT, LSHIFT. 2006-07-30 20:48:00 +00:00
configure.host
fmain.c
libgfortran.h re PR fortran/25828 ([f2003] ACCESS='STREAM' io support) 2006-08-15 23:06:44 +00:00
libtool-version etime.c: Remove etime_ 2006-07-15 16:12:15 +00:00
Makefile.am re PR libfortran/28452 (__gfortran_random_r10 not found) 2006-08-01 17:15:04 +00:00
Makefile.in Makefile.in: Regenerate using automake 1.9.6. 2006-08-02 20:05:23 +00:00
mk-kinds-h.sh
mk-sik-inc.sh
mk-srk-inc.sh