gcc/libgfortran/io
Jerry DeLisle 606778c6f5 re PR libfortran/78549 (Very slow formatted internal file output)
2017-12-12  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

        PR libgfortran/78549
        * io/inquire.c (inquire_via_unit): Adjust test for existence for
        pre-connected internal units.
        * io/transfer.c (finalize_transfer): When done with a transfer
        to internal units, free the format buffer and close the stream.
        (st_read_done): Delete freeing the stream, now handled using
        sclose in finalize_transfer. (st_write_done): Likewise.
        * io/unit.c (get_unit): Return NULL for special reserved unit
        numbers, signifying not accessible to the user.
        (init_units): Insert the two special internal units into the
        unit treap. This makes these unit structures available without
        further allocations for later use by internal unit I/O. These
        units are automatically deleted by normal program termination.
        * io/unix.c (mem_close): Add a guard check to protect from double free.

From-SVN: r255621
2017-12-14 02:30:49 +00:00
..
close.c
fbuf.c
fbuf.h
file_pos.c
format.c
format.h
inquire.c re PR libfortran/78549 (Very slow formatted internal file output) 2017-12-14 02:30:49 +00:00
intrinsics.c
io.h re PR fortran/83225 (runtime error in transfer.c) 2017-12-03 03:26:09 +00:00
list_read.c re PR fortran/83191 (Writing a namelist with repeated complex numbers) 2017-12-03 16:47:12 +00:00
lock.c
open.c PR 53796 Improve INQUIRE(RECL=...) handling 2017-11-28 21:28:50 +02:00
read.c
size_from_kind.c
transfer128.c
transfer.c re PR libfortran/78549 (Very slow formatted internal file output) 2017-12-14 02:30:49 +00:00
unit.c re PR libfortran/78549 (Very slow formatted internal file output) 2017-12-14 02:30:49 +00:00
unix.c re PR libfortran/78549 (Very slow formatted internal file output) 2017-12-14 02:30:49 +00:00
unix.h
write_float.def
write.c re PR fortran/83191 (Writing a namelist with repeated complex numbers) 2017-12-03 16:47:12 +00:00