[patch, libgfortran] PR59419 Failing OPEN with FILE='xxx' and IOSTAT creates the file 'xxx'
Tobias Burnus
burnus@net-b.de
Mon Dec 16 07:07:00 GMT 2013
Am 15.12.2013 23:14, schrieb Jerry DeLisle:
> The patch also fixes a few other places I found after auditing all calls to
> generate error in libgfortran/io.
> I will conjure up a test case for this.
Thanks for both.
> I have regression tested on X86-64 Linux. OK for trunk?
OK.
Tobias
> 2013-12-15 Jerry DeLisle <jvdelisle@gcc.gnu>
>
> PR libfortran/59419
> * io/file_pos.c (st_rewind): Do proper return after
> generate_error.
> * io/open.c (edit_modes): Move action code inside block that
> checks for library ok. (new_unit): Do cleanup after error.
> (st_open): Do proper return after error.
> * io/transfer.c (data_transfer_init): Likewise.
More information about the Fortran
mailing list