From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24358 invoked by alias); 19 Oct 2004 22:40:53 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 24351 invoked from network); 19 Oct 2004 22:40:52 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org with SMTP; 19 Oct 2004 22:40:52 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11/8.12.10) with ESMTP id i9JMeqxq014688; Tue, 19 Oct 2004 18:40:52 -0400 Received: from pobox.toronto.redhat.com (pobox.toronto.redhat.com [172.16.14.4]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i9JMejr32516; Tue, 19 Oct 2004 18:40:45 -0400 Received: from [127.0.0.1] (vpn50-10.rdu.redhat.com [172.16.50.10]) by pobox.toronto.redhat.com (8.12.8/8.12.8) with ESMTP id i9JMehbU032434; Tue, 19 Oct 2004 18:40:44 -0400 Subject: Re: Fix a tcb crash and a potential bug on mainline From: Diego Novillo To: Steven Bosscher Cc: Jeff Law , "gcc-patches@gcc.gnu.org" , Andrew Macleod In-Reply-To: <200410200036.32335.stevenb@suse.de> References: <200410182303.52997.stevenb@suse.de> <200410192328.28252.stevenb@suse.de> <1098223558.2915.131.camel@localhost.localdomain> <200410200036.32335.stevenb@suse.de> Content-Type: text/plain Organization: Red Hat Canada Message-Id: <1098225657.11218.53.camel@localhost.localdomain> Mime-Version: 1.0 Date: Tue, 19 Oct 2004 22:41:00 -0000 Content-Transfer-Encoding: 7bit X-SW-Source: 2004-10/txt/msg01652.txt.bz2 On Tue, 2004-10-19 at 18:36, Steven Bosscher wrote: > * tree-cfg.c (cleanup_control_flow): Don't try to cleanup > statements in unreachable blocks. Remove all outgoing edges > of such blocks. > This makes sense to me, but I'll defer to Jeff for final approval. I haven't followed this thread in too much detail. > + /* We can have unreachable blocks here if we run before > + delete_unreachable_blocks or if a block visited before > + this one had an edge to bb that we removed. > + s/bb/BB/ > + Remove all outdoing edges to perhaps make BB's successors > s/perhaps/attempt to/ ? Diego.