diff options
author | Janne Blomqvist <jb@gcc.gnu.org> | 2011-10-31 16:59:19 +0200 |
---|---|---|
committer | Janne Blomqvist <jb@gcc.gnu.org> | 2011-10-31 16:59:19 +0200 |
commit | 08810e5257936014e242527cdbb2de6beddf24e8 (patch) | |
tree | 41e75a36bf344be0552dbdadfdb4a498e01f5710 /libgfortran/caf | |
parent | 3469bd8660b6c79a4727287ef4214d2b9c864ba6 (diff) | |
download | gcc-08810e5257936014e242527cdbb2de6beddf24e8.tar.gz |
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
Diffstat (limited to 'libgfortran/caf')
0 files changed, 0 insertions, 0 deletions