diff options
author | Jerry DeLisle <jvdelisle@gcc.gnu.org> | 2017-04-23 15:49:16 +0000 |
---|---|---|
committer | Jerry DeLisle <jvdelisle@gcc.gnu.org> | 2017-04-23 15:49:16 +0000 |
commit | c7eb642efa06145c84fc368284839fe6aa4b4650 (patch) | |
tree | 6fc389c4b330d8b2dc3bbc728b96c6383caac40f /gcc/fortran/module.c | |
parent | 60fc41bd415a631d7db82d56ed44d95677edf57e (diff) | |
download | gcc-c7eb642efa06145c84fc368284839fe6aa4b4650.zip gcc-c7eb642efa06145c84fc368284839fe6aa4b4650.tar.gz gcc-c7eb642efa06145c84fc368284839fe6aa4b4650.tar.bz2 |
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
Diffstat (limited to 'gcc/fortran/module.c')
-rw-r--r-- | gcc/fortran/module.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/fortran/module.c b/gcc/fortran/module.c index 4d6afa5..e8cba14 100644 --- a/gcc/fortran/module.c +++ b/gcc/fortran/module.c @@ -631,6 +631,7 @@ gfc_match_use (void) case INTERFACE_USER_OP: case INTERFACE_GENERIC: + case INTERFACE_DTIO: m = gfc_match (" =>"); if (type == INTERFACE_USER_OP && m == MATCH_YES |