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: [lto-streamer, lto][patch] clear TREE_PURPOSE


On Mon, 9 Jun 2008, Michael Matz wrote:

> Hi,
> 
> On Mon, 9 Jun 2008, Rafael Espindola wrote:
> 
> > It is based on http://gcc.gnu.org/ml/gcc-patches/2008-03/msg00349.html,
> > but uses a langhook for doing the cleanup.
> 
> I think that's sensible.
> 
> > This small part looks safe. Should I try to port it to trunk?
> 
> I think we should make up our minds about the uid2type and hence the 
> uid2decl map (which richi already included, but had to remove again due to 
> garbage collection issues, which we could work around, though) first.

It should work as is (the part that didn't work was converting the
referenced vars hashtable to a bitmap).  The question is whether we
want to pay the extra memory for those hashtables (in the light that
we may not be able to remove the duplicates which are the referenced
vars hashtable and the unexpanded vars list as well as the block vars
list -- in the end they could all be bitmaps of UIDs).

Richard.


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