This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [tree-ssa] Garbage collector x bb annotations
- From: Diego Novillo <dnovillo at redhat dot com>
- To: Zdenek Dvorak <rakdver at atrey dot karlin dot mff dot cuni dot cz>
- Cc: "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Date: Wed, 08 Oct 2003 09:27:12 -0400
- Subject: Re: [tree-ssa] Garbage collector x bb annotations
- Organization: Red Hat Canada
- References: <20031006223141.GA2094@atrey.karlin.mff.cuni.cz>
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.