This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [gfortran] PATCH


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]