re PR libfortran/24224 (Generalized internal array IO not implemented.)
authorJerry DeLisle <jvdelisle@verizon.net>
Tue, 25 Oct 2005 01:32:33 +0000 (01:32 +0000)
committerJerry DeLisle <jvdelisle@gcc.gnu.org>
Tue, 25 Oct 2005 01:32:33 +0000 (01:32 +0000)
commit965eec1676035e748a44bc0069f1b046c40a470c
treed242a60a28c0bf664df869ac41dcd94a07afc1a3
parent8c4b4e67fb0a519a7d3b6a344bafe395197a1764
re PR libfortran/24224 (Generalized internal array IO not implemented.)

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.

From-SVN: r105878
libgfortran/ChangeLog
libgfortran/io/io.h
libgfortran/io/list_read.c
libgfortran/io/transfer.c
libgfortran/io/unit.c
libgfortran/runtime/error.c