re PR libfortran/77868 (Fail to NULL guard check for internal unit in inquire_via_unit)
authorJerry DeLisle <jvdelisle@gcc.gnu.org>
Wed, 5 Oct 2016 16:32:24 +0000 (16:32 +0000)
committerJerry DeLisle <jvdelisle@gcc.gnu.org>
Wed, 5 Oct 2016 16:32:24 +0000 (16:32 +0000)
commita40278c3e39a5ef2a35a0f8c4e6ce359c9af9832
treee9f55a185d17abdba2cce6a575f56a47f70d5f69
parent73e1414cb829d02baef1bf241d4bdf3805f6f724
re PR libfortran/77868 (Fail to NULL guard check for internal unit in inquire_via_unit)

2016-10-05  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR fortran/77868
* io/inquire.c (inquire_via_unit): NULL guard the check for
internal unit passed into child IO procedure.

* gfortran.dg/dtio_15.f90: Fix spaces in dg-do.
* gfortran.dg/class_array_20.f03: Likewise.
* gfortran.dg/class_array_21.f03: Likewise.
* gfortran.dg/finalize_29.f08: Likewise.
* gfortran.dg/unlimited_polymorphic_23.f90: Likewise.

From-SVN: r240794
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/class_array_20.f03
gcc/testsuite/gfortran.dg/class_array_21.f03
gcc/testsuite/gfortran.dg/dtio_15.f90
gcc/testsuite/gfortran.dg/finalize_29.f08
gcc/testsuite/gfortran.dg/unlimited_polymorphic_23.f90
libgfortran/ChangeLog
libgfortran/io/inquire.c