re PR libfortran/88776 (Namelist read from stdin: loss of data)
commit9c5f89006fa4b64c77997f660554a12315f4ac1d
authorJerry DeLisle <jvdelisle@gcc.gnu.org>
Mon, 14 Jan 2019 00:22:00 +0000 (14 00:22 +0000)
committerJerry DeLisle <jvdelisle@gcc.gnu.org>
Mon, 14 Jan 2019 00:22:00 +0000 (14 00:22 +0000)
treef238d50e7438578fcb6c31df6f1ab0ff3285495b
parentbff1a7315da774562db589a19a96ea522b47b900
re PR libfortran/88776 (Namelist read from stdin: loss of data)

2019-01-13  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libfortran/88776
* io/open.c (newunit): Free format buffer if the unit specified is for
stdin, stdout, or stderr.

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

From-SVN: r267910
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/namelist_96.f90 [new file with mode: 0644]
libgfortran/ChangeLog
libgfortran/io/open.c