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
This commit is contained in:
parent
ac48a1ba5e
commit
4bfbd309bd
@ -1,3 +1,9 @@
|
||||
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>
|
||||
|
||||
PR libgfortran/64432
|
||||
|
@ -2533,7 +2533,8 @@ data_transfer_init (st_parameter_dt *dtp, int read_flag)
|
||||
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,
|
||||
"Sequential READ or WRITE not allowed after "
|
||||
|
Loading…
Reference in New Issue
Block a user