This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: TREE_SYMBOL_REFERENCED, assemble_name, memory wastage
- To: Zack Weinberg <zackw at stanford dot edu>
- Subject: Re: TREE_SYMBOL_REFERENCED, assemble_name, memory wastage
- From: Richard Henderson <rth at redhat dot com>
- Date: Sat, 18 Nov 2000 09:15:12 -0800
- Cc: gcc at gcc dot gnu dot org
- References: <20001117221900.B18114@wolery.stanford.edu>
On Fri, Nov 17, 2000 at 10:19:00PM -0800, Zack Weinberg wrote:
> To put TREE_SYMBOL_REFERENCED in decls instead, we'd need to set it
> way upstream, in tree->RTL conversion. And then we'd need to make all
> the optimizers update it when they deleted dead code. This is not
> happening.
Have assemble_name put all the strings that it outputs into
a hash table. TREE_SYMBOL_REFERENCED becomes the property
of being in that data structure.
r~