This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [gfortran] PR 14565 -formatted write to an un-opened unit causes a segv
- From: Paul Brook <paul at codesourcery dot com>
- To: fortran at gcc dot gnu dot org
- Cc: Bud Davis <bdavis9659 at comcast dot net>, gcc-patches at gcc dot gnu dot org
- Date: Thu, 1 Apr 2004 02:14:27 +0100
- Subject: Re: [gfortran] PR 14565 -formatted write to an un-opened unit causes a segv
- Organization: CodeSourcery
- References: <1080312054.8022.36.camel@localhost.localdomain>
> 2004-03-26 Bud Davis <bdavis9659@comcast.net>
>
> PR gfortran/14565
> * io/open.c (new_unit),
> * io/io.h : new_unit is now visible
> * io/transfer.c (data_transfer_init): open unit if no OPEN
> statement. * io/transfer.c (data_transfer_init): remove compile warnings. *
> io/rewind.c (st_rewind): ftruncate if writing.
Applied, thanks.
Paul