2005-10-24 Jerry DeLisle <jvdelisle@verizon.net>
PR libgfortran/24224 * libgfortran.h: Remove array stride error code. * runtime/error.c: Remove array stride error. * io/io.h: Change name of 'nml_loop_spec' to 'array_loop_spec' to be generic. Add pointer to array_loop_spec and rank to gfc_unit structure. * io/list_read.c: Revise nml_loop_spec references to array_loop_spec. * io/transfer.c (init_loop_spec): New function to initialize an array_loop_spec. (next_array_record): New function to return the index to the next array record by incrementing through the array_loop_spec. (next_record_r): Use new function. (next_record_w): Use new function. (finalize_transfer): Free memory allocated for array_loop_spec. * io/unit.c (get_array_unit_len): Delete this function. Use new function init_loop_spec to initialize the array_loop_spec. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@105878 138bc75d-0d04-0410-961f-82ee72b054a4
Showing
- libgfortran/ChangeLog 19 additions, 0 deletionslibgfortran/ChangeLog
- libgfortran/io/io.h 38 additions, 31 deletionslibgfortran/io/io.h
- libgfortran/io/list_read.c 3 additions, 3 deletionslibgfortran/io/list_read.c
- libgfortran/io/transfer.c 99 additions, 14 deletionslibgfortran/io/transfer.c
- libgfortran/io/unit.c 9 additions, 28 deletionslibgfortran/io/unit.c
- libgfortran/runtime/error.c 0 additions, 4 deletionslibgfortran/runtime/error.c
Loading
Please register or sign in to comment