This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/19073] cp_binding_level::names not returning all decls


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]