This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/77868] Fail to NULL guard check for internal unit in inquire_via_unit
- From: "jvdelisle at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 05 Oct 2016 16:32:56 +0000
- Subject: [Bug libfortran/77868] Fail to NULL guard check for internal unit in inquire_via_unit
- Auto-submitted: auto-generated
- References: <bug-77868-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77868
--- Comment #2 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
Author: jvdelisle
Date: Wed Oct 5 16:32:24 2016
New Revision: 240794
URL: https://gcc.gnu.org/viewcvs?rev=240794&root=gcc&view=rev
Log:
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.
Modified:
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gfortran.dg/class_array_20.f03
trunk/gcc/testsuite/gfortran.dg/class_array_21.f03
trunk/gcc/testsuite/gfortran.dg/dtio_15.f90
trunk/gcc/testsuite/gfortran.dg/finalize_29.f08
trunk/gcc/testsuite/gfortran.dg/unlimited_polymorphic_23.f90
trunk/libgfortran/ChangeLog
trunk/libgfortran/io/inquire.c