[PATCH] Introduce global DECL_UID -> tree mapping (with pch fixed)

Richard Guenther rguenther@suse.de
Thu Feb 28 12:24:00 GMT 2008


On Tue, 26 Feb 2008, Richard Guenther wrote:

> On Tue, 26 Feb 2008, Richard Guenther wrote:
> 
> > 
> > This is the mapping introduction patch with a fix for the bootstrap
> > problems that happened in the "right" ggc circumstances.  The problem
> > is that the C++ FE ggc_frees decls, so the memory can be re-used while
> > the global mapping still points to that memory.  Fixed by removing the
> > decl from the mapping before ggc_freeing it.
> > 
> > I bootstrapped and tested this on x86_64-unknown-linux-gnu with release
> > checking enabled (this triggered the failure before), and I'll now
> > re-test the combined patch that makes referenced_vars a bitmap.
> > 
> > I suppose the cp/ change is obvious, so I'll apply the patch again after
> > that extra testing finished.
> 
> Thus, re-applied as rev. 132676.

And reverted again due to other problems.

Richard.



More information about the Gcc-patches mailing list