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: "mark at codesourcery dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Jul 2006 00:05:28 -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 #11 from mark at codesourcery dot com 2006-07-24 00:05 -------
Subject: Re: [4.0/4.1/4.2 Regression] g++ emits bogus namespace
DIE
gdr at integrable-solutions dot net wrote:
> ------- 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?
Not necessarily. It depends on the middle-end impact. This is just a
cleanup; the current representation is certainly adequate to represent
C++, despite having a special case.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28460