diff options
author | Janne Blomqvist <jb@gcc.gnu.org> | 2008-05-16 20:42:44 +0300 |
---|---|---|
committer | Janne Blomqvist <jb@gcc.gnu.org> | 2008-05-16 20:42:44 +0300 |
commit | 8947fd62fa9414017f0fe4f3075112e2a9ce9e44 (patch) | |
tree | b8d80d6121e1e056d1aaacd9882dd2ff45f168cb /gcc/fortran/trans-array.c | |
parent | 65686652e48ae64f331078abe64b344e3318cfb8 (diff) | |
download | gcc-8947fd62fa9414017f0fe4f3075112e2a9ce9e44.zip gcc-8947fd62fa9414017f0fe4f3075112e2a9ce9e44.tar.gz gcc-8947fd62fa9414017f0fe4f3075112e2a9ce9e44.tar.bz2 |
Part 1.1 of PR25561.
2008-05-15 Janne Blomqvist <jb@gcc.gnu.org>
PR libfortran/25561
* io/io.h (struct fbuf): Change pointer to position offset.
* io/fbuf.c (fbuf_init): Reduce default size of buffer, ptr=>pos
changes.
(fbuf_reset): ptr=>pos changes.
(fbuf_alloc): If the request doesn't fit, don't waste memory by
keeping flushed bytes. ptr=>pos changes.
(fbuf_flush): ptr=>pos changes.
(fbuf_seek): Don't seek past the left tab limit, don't update active
byte count.
* io/open.c (new_unit): If RECL has been specified, used that as
initial buffer size.
From-SVN: r135433
Diffstat (limited to 'gcc/fortran/trans-array.c')
0 files changed, 0 insertions, 0 deletions