This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/19073] cp_binding_level::names not returning all decls
- From: "gdr at integrable-solutions dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 May 2005 16:47:52 -0000
- Subject: [Bug c++/19073] cp_binding_level::names not returning all decls
- References: <20041219004116.19073.sstrasser@systemhaus-gruppe.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From gdr at integrable-solutions dot net 2005-05-15 16:47 -------
Subject: Re: cp_binding_level::names not returning all decls
"sstrasser at systemhaus-gruppe dot de" <gcc-bugzilla@gcc.gnu.org> writes:
| (In reply to comment #9)
| > only if it may be needed there in the future. Perhaps a solution would be
| > adding every name there when -fdump-translation-unit is given (at the
| expense of
| > some extra memory consumption, slower compilation).
|
| in case you plan to to this: the above mentioned case seems to be the only one.
| I've fixed this in my project MetaC++ by just commenting out the 4 lines above.
| which probably introduces other bugs and so is no solution for -fdump..., but
| what I'm trying to say is that this is the only case where GCC does not add a
| name to cp_binding_level::names
The more I think about this, the more I'm wondering whether
cp_binding_level::names is the proper way to get the real functionality.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19073