re PR fortran/83225 (runtime error in transfer.c)
authorJerry DeLisle <jvdelisle@gcc.gnu.org>
Sun, 3 Dec 2017 03:26:09 +0000 (03:26 +0000)
committerJerry DeLisle <jvdelisle@gcc.gnu.org>
Sun, 3 Dec 2017 03:26:09 +0000 (03:26 +0000)
commit7b39e3c24f912f274ea2127ca7fc3133bf97a911
treeaf7bfb1c126c7ac0f9cba1f37be28fd90041d885
parentacffd4fd6404bee31508007af5942192a78ab016
re PR fortran/83225 (runtime error in transfer.c)

2017-12-02  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libgfortran/83225
* io/io.h (is_internal_unit): Use the unit_is_internal bit.
* io/transfer.c (data_transfer_init): Set the bit to true for
internal umits. Use that bit for checks for internal unit
initializations.
* io/unit.c (insert_unit): As a precaution, set the
internal_unit_kind to zero when a unit structure is first created.

From-SVN: r255362
libgfortran/ChangeLog
libgfortran/io/io.h
libgfortran/io/transfer.c
libgfortran/io/unit.c