https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88776

--- Comment #9 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
Author: jvdelisle
Date: Mon Jan 14 02:03:34 2019
New Revision: 267912

URL: https://gcc.gnu.org/viewcvs?rev=267912&root=gcc&view=rev
Log:
2019-01-13  Jerry DeLisle  <jvdeli...@gcc.gnu.org>

        Backport from trunk
        PR libfortran/88776
        * io/list_read.c (namelist_read): Use nml_err_ret path on read error
        not based on stdin_unit.
        * io/open.c (newunit): Free format buffer if the unit specified is for
        stdin, stdout, or stderr.

        * gfortran.dg/namelist_96.f90: New test.

Added:
    branches/gcc-8-branch/gcc/testsuite/gfortran.dg/namelist_96.f90
Modified:
    branches/gcc-8-branch/gcc/testsuite/ChangeLog
    branches/gcc-8-branch/libgfortran/ChangeLog
    branches/gcc-8-branch/libgfortran/io/list_read.c
    branches/gcc-8-branch/libgfortran/io/open.c

Reply via email to