From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6129 invoked by alias); 3 Oct 2002 12:07:28 -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 6121 invoked from network); 3 Oct 2002 12:07:27 -0000 Received: from unknown (HELO nikam.ms.mff.cuni.cz) (195.113.18.106) by sources.redhat.com with SMTP; 3 Oct 2002 12:07:27 -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 5F8F64DEC0; Thu, 3 Oct 2002 14:07:27 +0200 (CEST) Received: by camelot.ms.mff.cuni.cz (sSMTP sendmail emulation); Thu, 3 Oct 2002 14:07:25 +0200 Date: Thu, 03 Oct 2002 06:20:00 -0000 From: Jan Hubicka To: Olivier Hainque Cc: Michael Matz , Jan Hubicka , gcc@gcc.gnu.org Subject: Re: Question on fixup_abnormal_edges Message-ID: <20021003120725.GP2364@kam.mff.cuni.cz> References: <20021001184620.B16300@berlin.int.act-europe.fr> <20021002221931.A18433@berlin.int.act-europe.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021002221931.A18433@berlin.int.act-europe.fr> User-Agent: Mutt/1.3.28i X-SW-Source: 2002-10/txt/msg00156.txt.bz2 > > Michael Matz wrote: > > > ;; End of basic block 175, registers live: > > > 29 [$29] 30 [$30] 31 [AP] 63 [FP] > > > > Ok, no $22 here. So either the caller-save code should take the current > > liveness into account before emitting loads/stores around calls (which I'm > > not sure it is able to, considering non-optimizing compilation) or not Even in non-optimizing compilication we do have acurate liveness information now (after stupid regalloc is dead), so this should not be problem. The caller save use chain->live_throughout that should contain proper values. Unforutnately the code is somewhat messy as reload still use it's own liveness updating code instead of relying on what live.c have and there well may be some bug. Can I see the relevant block in the .lreg dump? This should be the final version of liveness info used by regalloc. Honza