[Patch, fortran] PR24207 (and PR21896) - incorrect application of private attribute.
Paul Thomas
paulthomas2@wanadoo.fr
Sat Oct 8 09:34:00 GMT 2005
:ADDPATCH fortran:
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).
Bubblestrapped and regtested on Cygwin_NT/Athlon. OK for mainline and 4.0?
Paul T
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: submit.txt
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20051008/b4bf53fc/attachment.txt>
More information about the Fortran
mailing list