PING Re: [patch,libgfortan] Fis PR27704 Incorrect runtime error on multiple OPEN

Jerry DeLisle jvdelisle@verizon.net
Mon Jul 3 22:50:00 GMT 2006


Jerry DeLisle wrote:
> :ADDPATCH fortran:
> 
> After reviewing the thread referenced in the PR and reviewing the 
> standards, this patch fixes this PR by doing two things.
> 
> 1. On multiple opens, status="scratch" is allowed as an extension.  This 
> is accomplished by using notify_std.
> 
> 2. On multiple opens, status="old" is allowed as permitted by the f95 
> standard.
> 
> Finally as an enhancement, I have modified notify standard to be 
> consistent with generate_error and show the locus of the warning or 
> error as appropriate.
> 
> The attached test case is given.  Also, fmt_l.f90 will be modified to 
> accomodate  the output of the locus.
> 
> NOTE: There is some overlap between this patch and FX RFC library 
> cleanup patch.  I was looking at FX patch after I finished this one and 
> noticed the proposed move notify_std prototype to libgfortran.h.
> 
> FX, if you prefer I wait for yours to be OKed and committed, I will redo 
> this patch to line up, otherwise, I can commit this one first.  Let me 
> know.
> 
> Regression tested.
> 
> OK for trunk and 4.1 later?
> 

I know everyone is full up.  I think this patch is fairly straightforward so I 
propose to commit to trunk in a day or two if I do not here from anyone.

Regards,

Jerry



More information about the Fortran mailing list