This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch, committed] PR83225 - [8.0 regression] runtime error in transfer.c
- From: Jerry DeLisle <jvdelisle at charter dot net>
- To: gfortran <fortran at gcc dot gnu dot org>
- Cc: gcc patches <gcc-patches at gcc dot gnu dot org>
- Date: Sat, 2 Dec 2017 19:30:39 -0800
- Subject: [patch, committed] PR83225 - [8.0 regression] runtime error in transfer.c
- Authentication-results: sourceware.org; auth=none
I have committed the following as simple after full regression testing on
linux-x64_86:
It is also a regression on the 7 branch and I will commit there as well.
Author: jvdelisle
Date: Sun Dec 3 03:26:09 2017
New Revision: 255362
URL: https://gcc.gnu.org/viewcvs?rev=255362&root=gcc&view=rev
Log:
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.
Modified:
trunk/libgfortran/ChangeLog
trunk/libgfortran/io/io.h
trunk/libgfortran/io/transfer.c
trunk/libgfortran/io/unit.c