------- Comment #7 from sgk at troutmask dot apl dot washington dot edu 2008-02-29 23:05 ------- Subject: Re: scope of variables in statement function do not acquire rank from host
On Fri, Feb 29, 2008 at 10:55:31PM -0000, fxcoudert at gcc dot gnu dot org wrote: >--- Comment #6 from fxcoudert at gcc dot gnu dot org 2008-02-29 22:55 ------- > I've thought about it more, and it's probably going to be tricky to solve: > after we have matched the formal arglist, we need to fill the namespace with > replacement symbols for all the dummy args (stripping them from their > attributes other than type and kind), then match the body of the statement > function, then remove these symbols and go on with our life. I don't know the > resolution code well enough to do that :( This bug pre-dates gfortran (at least it is also in g95). gfortran has compiled a ton of F77 code, and this is the first instance that I've seen. I think this bug is way down the priority list. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35299