------- 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" <[EMAIL PROTECTED]> 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