gcc/libgfortran
Thomas Koenig 9370b3c0f9 re PR fortran/34565 (internal write to string array fails)
2008-01-03  Thomas Koenig  <tkoenig@gcc.gnu.org>

	PR libfortran/34565
	* io/io.h:  Adjust protoypes for open_internal(),
	next_array_record() and init_loop_spec().
	* io/list_read.c (next_char):  Use argument "finished"
	of next_array_record to check for end on internal file.
	* io/unit.c:  Calculate the offset for an array
	internal file and supply this informatin to open_internal().
	* io/unix.c (open_internal):  Set the offset for the internal
	file on open.
	* io/transfer.c (init_loop_spec):  Calculate the starting
	record in case of negative strides.  Return size of 0 for
	an empty array.
	(next_array_record):  Use an extra flag to signal that the
	array is finished.
	(next_record_r):  Use the new flag to next_array_record().
	(next_record_w):  Likewise.

2008-01-03  Thomas Koenig  <tkoenig@gcc.gnu.org>

	PR libfortran/34565
	* gfortran.dg/internal_readwrite_1.f90:  New test.
	* gfortran.dg/internal_readwrite_2.f90:  New test.

From-SVN: r131305
2008-01-03 19:49:38 +00:00
..
config fpu-387.h: Include cpuid.h. 2007-09-07 11:34:36 +02:00
generated re PR fortran/34566 (Matmul of logical values) 2007-12-25 10:12:41 +00:00
intrinsics re PR libfortran/22423 (Warnings when building libgfortran) 2007-12-27 15:00:10 +00:00
io re PR fortran/34565 (internal write to string array fails) 2008-01-03 19:49:38 +00:00
m4 re PR fortran/34566 (Matmul of logical values) 2007-12-25 10:12:41 +00:00
runtime re PR fortran/34594 (On error and END, no jump to ERR=<label>) 2007-12-27 12:33:52 +00:00
acinclude.m4 acinclude.m4 (LIBGFOR_TARGET_ILP32): Remove test. 2007-09-20 22:43:39 +00:00
aclocal.m4 Regenerate aclocal.m4 in boehm-gc, libffi, libgfortran, libgomp, 2007-07-05 10:54:10 -07:00
c99_protos.h re PR libfortran/33583 (FAIL: gfortran.dg/gamma_1.f90) 2007-11-16 22:31:28 +00:00
ChangeLog re PR fortran/34565 (internal write to string array fails) 2008-01-03 19:49:38 +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 re PR libfortran/31286 (cshift uses uninitialized variables) 2007-04-18 08:47:28 +00:00
ChangeLog-2005 re PR libfortran/31286 (cshift uses uninitialized variables) 2007-04-18 08:47:28 +00:00
ChangeLog-2006 re PR libfortran/31286 (cshift uses uninitialized variables) 2007-04-18 08:47:28 +00:00
ChangeLog-2007 Rotate Fortran ChangeLogs. 2008-01-02 18:54:50 +01:00
config.h.in re PR libfortran/33583 (FAIL: gfortran.dg/gamma_1.f90) 2007-11-16 22:31:28 +00:00
configure re PR fortran/34533 (DTIME returns total process time and not since last invocation) 2007-12-25 05:41:44 -05:00
configure.ac re PR libfortran/33583 (FAIL: gfortran.dg/gamma_1.f90) 2007-11-16 22:31:28 +00:00
configure.host acinclude.m4 (LIBGFOR_CHECK_FPSETMASK): New check. 2005-10-28 20:13:20 +00:00
fmain.c minloc1.m4: Update copyright year and ajust headers order. 2007-08-31 14:01:34 +00:00
gfortran.map re PR fortran/34533 (DTIME returns total process time and not since last invocation) 2007-12-25 05:41:44 -05:00
libgfortran.h libgfortran.h (GFC_REAL_*_HUGE, [...]): Remove. 2007-10-25 23:32:07 +00:00
libtool-version re PR libfortran/27107 (Make dependency on io/io.h broken) 2007-01-17 19:44:00 +00:00
Makefile.am re PR fortran/34533 (DTIME returns total process time and not since last invocation) 2007-12-25 05:41:44 -05:00
Makefile.in re PR fortran/34533 (DTIME returns total process time and not since last invocation) 2007-12-25 05:41:44 -05:00
mk-kinds-h.sh * mk-kinds-h.sh: Change sed syntax. 2007-11-08 19:17:19 +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