gcc/libgfortran/io
Paul Thomas d4feb3d31a re PR fortran/30284 ([4.1 only] ICE in gfc_add_modify with internal reads)
2007-02-02  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/30284
	PR fortran/30626
	* trans-expr.c (gfc_conv_aliased_arg): Remove static attribute
	from function and make sure that substring lengths are
	translated.
	(is_aliased_array): Remove static attribute.
	* trans.c : Add prototypes for gfc_conv_aliased_arg and
	is_aliased_array.
	* trans-io.c (set_internal_unit): Add the post block to the
	arguments of the function.  Use is_aliased_array to check if
	temporary is needed; if so call gfc_conv_aliased_arg.
	(build_dt): Pass the post block to set_internal_unit and
	add to the block after all io activiy is done.

2007-02-02  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/30284
	PR fortran/30626
	* io/transfer.c (init_loop_spec, next_array_record): Change to
	lbound rather than unity base.

2007-02-02  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/30284
	* gfortran.dg/arrayio_11.f90.f90: New test.

	PR fortran/30626
	* gfortran.dg/arrayio_12.f90.f90: New test.

From-SVN: r121500
2007-02-02 12:35:57 +00:00
..
close.c re PR fortran/28335 (flush() / write() statement on closed units - error?) 2006-07-31 00:15:08 +00:00
file_pos.c re PR libfortran/29568 (implement unformatted files with subrecords (Intel style)) 2006-12-01 21:04:38 +00:00
format.c re PR libfortran/27704 (Incorrect runtime error on multiple OPEN) 2006-07-04 01:36:31 +00:00
inquire.c re PR fortran/29053 (Consecutive STREAM I/O file positions mixed up) 2006-09-15 13:16:15 +00:00
intrinsics.c re PR libfortran/27107 (Make dependency on io/io.h broken) 2007-01-17 19:44:00 +00:00
io.h re PR libfortran/27107 (Make dependency on io/io.h broken) 2007-01-17 19:44:00 +00:00
list_read.c re PR fortran/30435 (Slash at end of input not recognized according to standard) 2007-01-12 23:10:27 +00:00
lock.c re PR fortran/14943 (read/write code generation is not thread safe) 2005-11-21 23:03:56 +01:00
open.c re PR libfortran/30005 (Open errors (not/already exists etc.): show also the file name) 2006-12-05 00:51:26 +00:00
read.c 2006-11-08 Steven G. Kargl <kargl@gcc.gnu.org> 2006-11-09 03:57:44 +00:00
size_from_kind.c random.c: Include config.h 2005-11-27 17:09:40 -05:00
transfer.c re PR fortran/30284 ([4.1 only] ICE in gfc_add_modify with internal reads) 2007-02-02 12:35:57 +00:00
unit.c re PR fortran/29563 (Internal read loses data.) 2006-10-26 04:35:45 +00:00
unix.c re PR libfortran/29649 (Force core dump on runtime library errors) 2007-01-18 13:54:11 +01:00
write.c re PR fortran/29277 (Formated stream output: Translate "\n" / achar(10) into "\r\n" on some platforms) 2006-10-18 23:13:33 +00:00