diff mbox series

[committed] PR84389

Message ID bd46b081-277c-4414-e85c-93d66c04694d@charter.net
State New
Headers show
Series [committed] PR84389 | expand

Commit Message

Jerry DeLisle Feb. 18, 2018, 7:23 p.m. UTC
Committed the following as obvious and simple to trunk with new test case.

Author: jvdelisle
Date: Sun Feb 18 19:19:47 2018
New Revision: 257795

URL: https://gcc.gnu.org/viewcvs?rev=257795&root=gcc&view=rev
Log:
2018-02-18  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR fortran/84389
	* io.c (check_format): Allow FMT_COLON.

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

Added:
     trunk/gcc/testsuite/gfortran.dg/dtio_33.f90
Modified:
     trunk/gcc/fortran/ChangeLog
     trunk/gcc/fortran/io.c
     trunk/gcc/testsuite/ChangeLog

The patch:
diff mbox series

Patch

diff --git a/gcc/fortran/io.c b/gcc/fortran/io.c
index 9b7c2de16f4..d9f0fb1d4ac 100644
--- a/gcc/fortran/io.c
+++ b/gcc/fortran/io.c
@@ -985,6 +985,9 @@  data_desc:
  	case FMT_COMMA:
  	  goto format_item;

+	case FMT_COLON:
+	  goto format_item_1;
+
  	case FMT_LPAREN:

    dtio_vlist: