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: Avoid varpool to check TREE_SYMBOL_REFERENCED


> On Thu, 13 May 2010, Jan Hubicka wrote:
> 
> > The plan was to drop symbols and make DECL_ASSEMBLER_NAME and friends to
> > be direct string pointers that was supposed to save a lot of RAM. Perhaps
> > we can do this transition now? :)
> 
> Possibly related, the idea has been around for a long time that 
> identifiers (where an identifier rather than just a string pointer is 
> needed) should not be trees, again to save memory.  But I believe more 
> than one global-write maintainer (at the time) tried and failed to 
> implement the change of identifiers away from trees, so fixing that is 
> likely hard and the fix would need developing on its own branch.

Yep, I think removing TREE_SYMBOL_REFERENCED was one of incremental steps
on this plan.  I guess it would be nice to get rid of it now, since it really
is quite bad concept overall and it is not used as it was supposed to work
anyway (i.e. the C++ FE is just dropping in the flag for its own needs etc.).

Honza
> 
> -- 
> Joseph S. Myers
> joseph@codesourcery.com


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