[Patch, fortran] PR24207 (and PR21896) - incorrect application of private attribute.

Steve Kargl sgk@troutmask.apl.washington.edu
Sat Oct 8 22:43:00 GMT 2005


On Sat, Oct 08, 2005 at 11:17:10AM +0200, Paul Thomas wrote:
> 
> This patch fixes PR24207, in which a private variable was being denied a 
> namelist in a contained procedure in the same module, and an over 
> zealous patch for PR21986, which did the same for use associated derived 
> type arguments in a public procedure.  In the case of contained 
> namelists, both use associated and host associated symbols must be 
> permitted, whereas only use associated symbols are permitted for public 
> procedures.  Trying to use associate private symbols is caught 
> elesewhere.  The patch modifies the appropriate conditions in resolve.c 
> (resolve_symbol).
> 

OK.


-- 
Steve



More information about the Fortran mailing list