Commit 4bfbd309 by Jerry DeLisle

re PR libfortran/59513 (Fortran runtime error: Sequential READ or WRITE not…

re PR libfortran/59513 (Fortran runtime error: Sequential READ or WRITE not allowed after EOF marker, possibly use REWIND or BACKSPACE)

2015-03-22 Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR libgfortran/59513
	* io/transfer.c (data_transfer_init): Do not error for
	-std=legacy.

From-SVN: r221572
parent ac48a1ba
2015-03-22 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libgfortran/59513
* io/transfer.c (data_transfer_init): Do not error for
-std=legacy.
2015-03-16 Jerry DeLisle <jvdelisle@gcc.gnu.org> 2015-03-16 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libgfortran/64432 PR libgfortran/64432
......
...@@ -2533,7 +2533,8 @@ data_transfer_init (st_parameter_dt *dtp, int read_flag) ...@@ -2533,7 +2533,8 @@ data_transfer_init (st_parameter_dt *dtp, int read_flag)
return; return;
} }
if (dtp->u.p.current_unit->endfile == AFTER_ENDFILE) if (compile_options.warn_std &&
dtp->u.p.current_unit->endfile == AFTER_ENDFILE)
{ {
generate_error (&dtp->common, LIBERROR_OPTION_CONFLICT, generate_error (&dtp->common, LIBERROR_OPTION_CONFLICT,
"Sequential READ or WRITE not allowed after " "Sequential READ or WRITE not allowed after "
......
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