From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3364 invoked by alias); 7 Oct 2003 02:53:32 -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 3357 invoked from network); 7 Oct 2003 02:53:31 -0000 Received: from unknown (HELO dberlin.org) (69.3.5.6) by sources.redhat.com with SMTP; 7 Oct 2003 02:53:31 -0000 Received: from [127.0.0.1] (HELO dberlin.org) by dberlin.org (CommuniGate Pro SMTP 4.1.4) with ESMTP-TLS id 5150183; Mon, 06 Oct 2003 22:53:30 -0400 Date: Tue, 07 Oct 2003 02:53:00 -0000 From: Daniel Berlin To: Zdenek Dvorak cc: gcc@gcc.gnu.org Subject: Re: [tree-ssa] Garbage collector x bb annotations In-Reply-To: <20031006223141.GA2094@atrey.karlin.mff.cuni.cz> Message-ID: References: <20031006223141.GA2094@atrey.karlin.mff.cuni.cz> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SW-Source: 2003-10/txt/msg00194.txt.bz2 On Tue, 7 Oct 2003, Zdenek Dvorak wrote: > Hello, > > I have just run into the following problem: dom_children get released by > ggc_collect call in tree-ssa-pre. This can only occur if they aren't marked, but are ggc allocated. They shouldn't be, if they are. >Allocating them by ggc seems wrong to > me, since basic block annotations are allocated from obstack and > invisible to garbage collector. It is wrong. They will *always* be collected if this is the case. It must not show up because we push context before starting our PRE'ing of expressions, so unless we redo dom children, we'd not collect them. > > Zdenek >