From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6008 invoked by alias); 27 Dec 2002 20:24:35 -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 6001 invoked from network); 27 Dec 2002 20:24:35 -0000 Received: from unknown (HELO nikam.ms.mff.cuni.cz) (195.113.18.106) by 209.249.29.67 with SMTP; 27 Dec 2002 20:24:35 -0000 Received: from camelot.ms.mff.cuni.cz (kampanus.ms.mff.cuni.cz [195.113.18.107]) by nikam.ms.mff.cuni.cz (Postfix) with SMTP id D08374DF07; Fri, 27 Dec 2002 21:24:24 +0100 (CET) Received: by camelot.ms.mff.cuni.cz (sSMTP sendmail emulation); Fri, 27 Dec 2002 21:24:26 +0100 Date: Fri, 27 Dec 2002 14:14:00 -0000 From: Jan Hubicka To: Zdenek Dvorak Cc: gcc@gcc.gnu.org, wilson@cygnus.com Subject: Re: update_life_info in schedule_insns Message-ID: <20021227202426.GA14517@kam.mff.cuni.cz> References: <20021227192545.GA9542@atrey.karlin.mff.cuni.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021227192545.GA9542@atrey.karlin.mff.cuni.cz> User-Agent: Mutt/1.3.28i X-SW-Source: 2002-12/txt/msg01475.txt.bz2 > Hello, > > > /* Don't update reg info after reload, since that affects > > regs_ever_live, which should not change after reload. */ > > update_life_info (blocks, UPDATE_LIFE_LOCAL, > > (reload_completed ? PROP_DEATH_NOTES > > : PROP_DEATH_NOTES | PROP_REG_INFO)); > > if (any_large_regions) > > { > > update_life_info (large_region_blocks, UPDATE_LIFE_GLOBAL, > > PROP_DEATH_NOTES | PROP_REG_INFO); > > } > > why the comment above does not apply for the second update_life_info > call? Large regions are used only before reload. Post reload we always do local scheduling at the moment. It would probably make more sense to add tests into update_life_info and do not touch regs_ever_live when we are not supposed to do so. Honza > > Zdenek