This is the mail archive of the gcc@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: [tree-ssa] Garbage collector x bb annotations


On Mon, 2003-10-06 at 18:31, Zdenek Dvorak wrote:
> Hello,
> 
> I have just run into the following problem: dom_children get released by
> ggc_collect call in tree-ssa-pre.  Allocating them by ggc seems wrong to
> me, since basic block annotations are allocated from obstack and
> invisible to garbage collector.
> 
Yeah.  But there's more than that, unfortunately.  All the fields in
struct bb_ann_d are ggc allocated.  The real solution would be to
finally convert basic blocks to ggc.  Volunteers?


Diego.


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