-
- Downloads
re PR fortran/48298 ([F03] User-Defined Derived-Type IO (DTIO))
2016-10-17 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR fortran/48298 * io/io.h: Move size_used from dtp to unit structure. Add bool has_size to unit structure. * read.c (read_x): Use has_size and size_used. * transfer.c (read_sf_internal,read_sf,read_block_form, read_block_form4): Likewise. (data_transfer_init): If parent, initialize the size variables. (finalize_transfer): Set the size variable using size_used in gfc_unit. (write_block): Delete bogus/dead code. * gfortran.dg/dtio_17.f90: New test. From-SVN: r241294
Showing
- gcc/testsuite/ChangeLog 4 additions, 0 deletionsgcc/testsuite/ChangeLog
- gcc/testsuite/gfortran.dg/dtio_17.f90 77 additions, 0 deletionsgcc/testsuite/gfortran.dg/dtio_17.f90
- libgfortran/ChangeLog 12 additions, 0 deletionslibgfortran/ChangeLog
- libgfortran/io/io.h 2 additions, 1 deletionlibgfortran/io/io.h
- libgfortran/io/read.c 3 additions, 2 deletionslibgfortran/io/read.c
- libgfortran/io/transfer.c 28 additions, 14 deletionslibgfortran/io/transfer.c
Loading
Please register or sign in to comment