From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1961 invoked by alias); 8 Oct 2003 13:27:17 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 1948 invoked from network); 8 Oct 2003 13:27:17 -0000 Received: from unknown (HELO lacrosse.corp.redhat.com) (66.187.233.200) by sources.redhat.com with SMTP; 8 Oct 2003 13:27:17 -0000 Received: from dnovillo.cipe.redhat.com (dnovillo.cipe.redhat.com [10.0.0.106]) by lacrosse.corp.redhat.com (8.11.6/8.9.3) with ESMTP id h98DRFk21455; Wed, 8 Oct 2003 09:27:15 -0400 Subject: Re: [tree-ssa] Garbage collector x bb annotations From: Diego Novillo To: Zdenek Dvorak Cc: "gcc@gcc.gnu.org" In-Reply-To: <20031006223141.GA2094@atrey.karlin.mff.cuni.cz> References: <20031006223141.GA2094@atrey.karlin.mff.cuni.cz> Content-Type: text/plain Organization: Red Hat Canada Message-Id: <1065619632.7057.44.camel@frodo.toronto.redhat.com> Mime-Version: 1.0 Date: Wed, 08 Oct 2003 13:27:00 -0000 Content-Transfer-Encoding: 7bit X-SW-Source: 2003-10/txt/msg00270.txt.bz2 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.