This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libfortran/77868] Fail to NULL guard check for internal unit in inquire_via_unit


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]