This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [gfortran] PATCH
- From: Steve Kargl <sgk at troutmask dot apl dot washington dot edu>
- To: Fran??ois-Xavier Coudert <Francois-Xavier dot Coudert at lcp dot u-psud dot fr>
- Cc: fortran at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Sun, 27 Mar 2005 19:26:28 -0800
- Subject: Re: [gfortran] PATCH
- References: <42430306.20007@lcp.u-psud.fr>
On Thu, Mar 24, 2005 at 07:12:22PM +0100, Fran??ois-Xavier Coudert wrote:
> Hi all,
>
> The attached one-line patch fixes the second bug in PR libfortran/20163.
> In case an error occured during an OPEN statement, we currently return
> without calling library_end() before, which means any subsequent I/O
> statement is doomed.
>
> The debugging and diagnosis for this problem are due to Dale Ranta.
>
> *strapped and regtested on i686-linux for both mainline and 4.0. OK for
> commit?
>
>
> 2005-03-17 Dale Ranta <dir@lanl.gov>
> Francois-Xavier Coudert <coudert@clipper.ens.fr>
>
> * io/open.c (st_open): call library_end() before returning even if
> an error arises.
>
> 2005-03-17 Dale Ranta <dir@lanl.gov>
> Francois-Xavier Coudert <coudert@clipper.ens.fr>
>
> * gfortran.dg/pr20163-2.f: New test.
This is okay for mainline and 4.0.
--
Steve