re PR fortran/80484 (Three syntax errors involving derived-type I/O)
authorJerry DeLisle <jvdelisle@gcc.gnu.org>
Sun, 23 Apr 2017 15:49:16 +0000 (15:49 +0000)
committerJerry DeLisle <jvdelisle@gcc.gnu.org>
Sun, 23 Apr 2017 15:49:16 +0000 (15:49 +0000)
commitc7eb642efa06145c84fc368284839fe6aa4b4650
tree6fc389c4b330d8b2dc3bbc728b96c6383caac40f
parent60fc41bd415a631d7db82d56ed44d95677edf57e
re PR fortran/80484 (Three syntax errors involving derived-type I/O)

2017-04-23  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR fortran/80484
* io.c (format_lex): Check for '/' and set token to FMT_SLASH.
(check_format): Move FMT_DT checking code to data_desc section.
* module.c (gfc_match_use): Include the case of INTERFACE_DTIO.

PR fortran/80484
* gfortran.dg/dtio_29.f03: New test.

From-SVN: r247084
gcc/fortran/ChangeLog
gcc/fortran/io.c
gcc/fortran/module.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/dtio_29.f03 [new file with mode: 0644]