gcc/libgfortran
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
..
caf trans-decl.c (generate_coarray_sym_init): Use GFC_CAF_COARRAY_STATIC for static coarrays. 2011-08-29 12:33:09 +02:00
config
generated re PR fortran/49479 (reshape / optionals / zero sized arrays) 2011-09-10 14:06:57 +00:00
intrinsics re PR libfortran/50192 (Wrong character comparision with wide strings) 2011-08-29 09:05:11 +00:00
io Update file position for inquire lazily. 2011-10-31 16:59:19 +02:00
m4 re PR fortran/49479 (reshape / optionals / zero sized arrays) 2011-09-10 14:06:57 +00:00
runtime ctime.c: Include <stdlib.h>. 2011-07-23 11:06:04 +00:00
acinclude.m4
aclocal.m4
c99_protos.h
ChangeLog Update file position for inquire lazily. 2011-10-31 16:59:19 +02:00
ChangeLog-2002
ChangeLog-2003
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007
ChangeLog-2008
ChangeLog-2009
ChangeLog-2010
config.h.in
configure
configure.ac
configure.host
fmain.c
gfortran.map
kinds-override.h
libgfortran.h re PR libfortran/50192 (Wrong character comparision with wide strings) 2011-08-29 09:05:11 +00:00
libgfortran.spec.in
libtool-version
Makefile.am
Makefile.in
mk-kinds-h.sh
mk-sik-inc.sh
mk-srk-inc.sh