------- Additional Comments From Tobias dot Schlueter at physik dot uni-muenchen dot de 2005-07-28 10:45 ------- Subject: Re: interface body has incorrect scope
Quoting erik dot edelmann at iki dot fi <[EMAIL PROTECTED]>: > The (draft) f2k standard apperantly considers interfaces with names to be > generic interfaces, even when the interface block contains only one > procedure. This is probably so because procedures can later be added to the same generic name, say interface a module procedure b end interface interface a module procedure c end interface etc. > The only one of these that can have a name is INTERFACE_GENERIC, which is > treated as "nameless" in find_special() by g95. This means that either > find_special() is meaningless in g95, or g95 has a bug. In the latter case, > we > would most likely introduce the same bug in gfortran with my patch. I'm, > however, becoming more and more convinced that find_special() is meaningless > (in > both compilers) (but I'm not 100 % sure of course). I think I agree with this, but I'm still not 100% sure I've understood everything that's relevant. - Tobi -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20363