This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/28460] [4.0/4.1/4.2 Regression] g++ emits bogus namespace DIE
- 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: 23 Jul 2006 23:47:31 -0000
- Subject: [Bug c++/28460] [4.0/4.1/4.2 Regression] g++ emits bogus namespace DIE
- References: <bug-28460-3264@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #10 from gdr at integrable-solutions dot net 2006-07-23 23:47 -------
Subject: Re: [4.0/4.1/4.2 Regression] g++ emits bogus namespace DIE
"mark at codesourcery dot com" <gcc-bugzilla@gcc.gnu.org> writes:
[...]
| (IMO, the ideal representation would have global_namespace for
| DECL_CONTEXT -- but that's not a change we can make without affecting
| the middle end, as you've noticed, so I think having
| {SET_,}CP_DECL_CONTEXT to insulate us would be a nice improvement.
I agree that is the correct representation. Can we agree to have it
for GCC-4.3 or higher?
-- Gaby
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28460