gcc/libgfortran/io
Janne Blomqvist 08810e5257 Update file position for inquire lazily.
libgfortran ChangeLog:

2011-10-31  Janne Blomqvist  <jb@gcc.gnu.org>

	* io/inquire.c (inquire_via_unit): Check whether we're at the
	beginning or end if the position is unspecified. If the position
	is not one of the 3 standard ones, return unspecified.
	* io/io.h (update_position): Remove prototype.
	* io/transfer.c (next_record): Set the position to unspecified,
	letting inquire figure it out more exactly when needed.
	* io/unit.c (update_position): Remove function.


testsuite ChangeLog:

2011-10-31  Janne Blomqvist  <jb@gcc.gnu.org>

	* gfortran.dg/inquire_5.f90: Update testcase to match the standard
	and current implementation.

From-SVN: r180703
2011-10-31 16:59:19 +02:00
..
close.c
fbuf.c remove useless if-before-free tests 2011-04-20 18:19:03 +00:00
fbuf.h
file_pos.c Introduce a size member function to struct stream. 2011-10-31 16:52:26 +02:00
format.c remove useless if-before-free tests 2011-04-20 18:19:03 +00:00
format.h
inquire.c Update file position for inquire lazily. 2011-10-31 16:59:19 +02:00
intrinsics.c Simplify handling of special files. 2011-10-31 16:45:50 +02:00
io.h Update file position for inquire lazily. 2011-10-31 16:59:19 +02:00
list_read.c re PR fortran/50109 (Formatted namelist read with multiple "!" fails with: Cannot match namelist object name !) 2011-08-18 16:23:41 +02:00
lock.c
open.c Introduce a size member function to struct stream. 2011-10-31 16:52:26 +02:00
read.c PR 19155 Check for strtod failure via endptr 2011-05-29 11:59:44 +03:00
size_from_kind.c
transfer128.c
transfer.c Update file position for inquire lazily. 2011-10-31 16:59:19 +02:00
unit.c Update file position for inquire lazily. 2011-10-31 16:59:19 +02:00
unix.c Introduce a size member function to struct stream. 2011-10-31 16:52:26 +02:00
unix.h Introduce a size member function to struct stream. 2011-10-31 16:52:26 +02:00
write_float.def re PR libfortran/48787 (Invalid UP/DOWN rounding with F editing) 2011-05-05 01:19:30 +00:00
write.c PR 48488 Typo 2011-04-29 19:06:48 +03:00