This is the mail archive of the gcc@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: Data structure for using directive


Geoff Keating <geoffk@geoffk.org> writes:

| Gabriel Dos Reis <gdr@integrable-solutions.net> writes:
| 
| > The above requires me changing DECL_NAMESPACE_USING use a field of a 
| > 'struct tree_decl' that has a compatible-type (or that can be made so)
| > with splay_tree.  I'm thinking of DECL_POINTER_ALIAS_SET.  Thoughts?
| 
| I'm not quite sure what you're thinking of with the above paragraph,
| but if you're planning to add a pointer to a splay_tree into the tree
| datatype, you might want to consider doing it on the pch-branch
| because in mainline splay_tree is not GCable.

Hmm, my intent is to fix PR/2455 on mainline... 

But your point on GCable field tells me I should be careful about not
fooliing the GC.  Thanks.

[ hmm, I'm dreaming of the day we'll get rid of the catch-all tree ]

-- Gaby


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