This is the mail archive of the gcc-patches@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]

Re: [PATCH] c++/PR28659


On Thursday 17 August 2006 01:43, Mark Mitchell wrote:

> > -      if (!TREE_PUBLIC (TYPE_MAIN_DECL (*tp)))
> > +      tree main_decl = TYPE_MAIN_DECL (*tp);
> > +      if (main_decl && !TREE_PUBLIC (main_decl))
> What is *tp in the case that causes the problem? 

(see bugreport)

> I would think that 
> TYPE_MAIN_DECL should be defined for all class types, so before we make
> this change I want to understand why that isn't true.

I'm afraid I can't answer that question. I've updated the bugreport with the 
answers to the questions you asked and I would like to ask you to look into 
it. It seems to be that the determination of the visibility is not happening 
at the right time. 


Dirk


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