------- Comment #5 from gdr at integrable-solutions dot net  2006-07-23 18:03 
-------
Subject: Re:  [4.0/4.1/4.2 Regression] g++ emits bogus namespace DIE

"mark at codesourcery dot com" <[EMAIL PROTECTED]> writes:

| drow at gcc dot gnu dot org wrote:
| > ------- Comment #3 from drow at gcc dot gnu dot org  2006-07-23 16:44
-------
| > Subject: Re:  [4.0/4.1/4.2 Regression] g++ emits bogus namespace DIE
| > 
| > On Sun, Jul 23, 2006 at 03:59:58PM -0000, mark at codesourcery dot com
wrote:
| >> If we're setting TYPE_CONTEXT to global_namespace, I think that's a C++
| >> front end bug.  Which type is getting set up like that?
| > 
| > I was wrong; TYPE_CONTEXT looks OK.  How about for DECLs?
| 
| The same rule applies; DECL_CONTEXT should also be NULL_TREE for an
| entity in the global namespace.

I believe the situation has been that clear for DECLs for a long time
now.

-- Gaby
akcc


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28460

Reply via email to