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: [patch, fortran] PR 32535 - namelist with private items contained in sub-sub-procedure of a module rejected


On Sun, Jul 08, 2007 at 12:12:15AM +0200, Janus Weil wrote:
> 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

To save others time, I'll review and commit this patch later 
today.

-- 
Steve


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