re PR fortran/52393 (I/O: "READ format" statement with parenthesed default-char-expr)
authorJerry DeLisle <jvdelisle@gcc.gnu.org>
Wed, 1 Jun 2016 17:06:50 +0000 (17:06 +0000)
committerJerry DeLisle <jvdelisle@gcc.gnu.org>
Wed, 1 Jun 2016 17:06:50 +0000 (17:06 +0000)
commit4731c9f025a6c14d77e3127b8c64a46bd933c687
treeeafde5e9fd53bc92265eb5140f61ccade2ebc1e3
parent042dee3e3bd99807f894963d89177a0f0db6ffd5
re PR fortran/52393 (I/O: "READ format" statement with parenthesed default-char-expr)

2016-06-01  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR fortran/52393
* io.c (match_io): For READ, try to match a default character
expression. If found, set the dt format expression to this,
otherwise go back and try control list.

PR fortran/52393
* gfortran.dg/fmt_read_3.f90: New test.

From-SVN: r237003
gcc/fortran/ChangeLog
gcc/fortran/io.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/fmt_read_3.f90 [new file with mode: 0644]