This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Avoid varpool to check TREE_SYMBOL_REFERENCED
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Jan Hubicka <hubicka at ucw dot cz>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 13 May 2010 19:19:14 +0000 (UTC)
- Subject: Re: Avoid varpool to check TREE_SYMBOL_REFERENCED
- References: <20100513175319.GA16915@kam.mff.cuni.cz>
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.
--
Joseph S. Myers
joseph@codesourcery.com