This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/20363] interface body has incorrect scope
- From: "erik dot edelmann at iki dot fi" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Jul 2005 19:52:08 -0000
- Subject: [Bug fortran/20363] interface body has incorrect scope
- References: <20050307183348.20363.paulthomas2@wanadoo.fr>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From erik dot edelmann at iki dot fi 2005-07-11 19:52 -------
> Erik,
>
> Have you checked the parse tree for this? It looks OK, from a very
> casual look, but the parse tree would be the clincher.
After comments from Tobi I posted a new patch here:
http://gcc.gnu.org/ml/fortran/2005-07/msg00135.html
With that patch, the parse tree for the snafu module is
Namespace: A-H: (REAL 4) I-N: (INTEGER 4) O-Z: (REAL 4)
procedure name = snafu
symtree: foo Ambig 0
symbol foo (UNKNOWN 0)(PROCEDURE UNKNOWN-INTENT UNKNOWN-ACCESS
UNKNOWN-PROC SUBROUTINE)
Generic interfaces: really_snafu
symtree: snafu Ambig 0
symbol snafu (UNKNOWN 0)(MODULE UNKNOWN-INTENT UNKNOWN-ACCESS UNKNOWN-PROC)
symtree: really_snafu Ambig 0
symbol really_snafu (UNKNOWN 0)(PROCEDURE UNKNOWN-INTENT UNKNOWN-ACCESS
MODULE-PROC SUBROUTINE)
Formal arglist: foo
Formal namespace
Namespace: A-H: (REAL 4) I-N: (INTEGER 4) O-Z: (REAL 4)
procedure name = really_snafu
symtree: foo Ambig 0
symbol foo (INTEGER 4)(VARIABLE INOUT UNKNOWN-ACCESS UNKNOWN-PROC DUMMY)
symtree: really_snafu Ambig 0 from namespace snafu
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20363