[patch, fortran] PR 32535 - namelist with private items contained in sub-sub-procedure of a module rejected

Janus Weil jaydub66@googlemail.com
Sat Jul 7 22:12:00 GMT 2007


Ok, thanks for the annotations, Steve. So ... here we go again.
The ChangeLog entry:

2007-07-08  Janus Weil <jaydub66@gmail.com>

       PR fortran/32535
       * resolve.c (resolve_fl_namelist): Allow for namelists in
       contained (sub-)subroutines to have private components.

2007-07-08  Janus Weil <jaydub66@gmail.com>

       PR fortran/32535
       * gfortran.dg/pr32535.f90: New test.

This time I used diff -p and changed the formatting.

> Finally, does this scale to arbitrarily deep contained subroutines?

As we just sorted out on IRC, Fortran doesn't support more than two
levels of nested subroutines, so we don't need to check for arbitrary
levels.
Any further comments are highly welcome,
Janus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr32535.diff
Type: text/x-patch
Size: 1741 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20070707/edc41ea3/attachment.bin>


More information about the Fortran mailing list