Commit 70b9ed88 by Jerry DeLisle

io.c (match_io_element): Do not set dt if not inquire.

2011-02-08  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	* io.c (match_io_element): Do not set dt if not inquire.

From-SVN: r169961
parent df2c31ee
2011-02-08 Jerry DeLisle <jvdelisle@gcc.gnu.org>
* io.c (match_io_element): Do not set dt if not inquire.
2011-02-08 Janus Weil <janus@gcc.gnu.org>
PR fortran/45290
......
......@@ -3091,7 +3091,8 @@ match_io_element (io_kind k, gfc_code **cpp)
cp = gfc_get_code ();
cp->op = EXEC_TRANSFER;
cp->expr1 = expr;
cp->ext.dt = current_dt;
if (k != M_INQUIRE)
cp->ext.dt = current_dt;
*cpp = cp;
return MATCH_YES;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment