This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/19073] cp_namespace_decl not returning all decls
- From: "sstrasser at systemhaus-gruppe dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Dec 2004 01:04:13 -0000
- Subject: [Bug c++/19073] cp_namespace_decl not returning all decls
- References: <20041219004116.19073.sstrasser@systemhaus-gruppe.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From sstrasser at systemhaus-gruppe dot de 2004-12-19 01:04 -------
> The struct cp_binding_level contains all the decls.
that seems to be the same thing. cp_namespace_decls uses NAMESPACE_LEVEL macro
which brings you to a cp_binding_level structure.
maybe the summary of this bug shouldn't be about "cp_namespace_decls" but I
don't see why this is expected behaviour. the behaviour is not specific to this
function.
and then again, because everybody is telling me I shouldn't use
-fdump-translation-unit: I don't. I just proposed it as a way to check this bug.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19073