From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6682 invoked by alias); 4 Mar 2002 20:46:37 -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 6605 invoked from network); 4 Mar 2002 20:46:36 -0000 Received: from unknown (HELO potter.sfbay.redhat.com) (209.249.29.60) by sources.redhat.com with SMTP; 4 Mar 2002 20:46:36 -0000 Received: from dot.sfbay.redhat.com (dot.sfbay.redhat.com [205.180.230.224]) by potter.sfbay.redhat.com (8.11.6/8.11.6) with ESMTP id g24KfDh03152; Mon, 4 Mar 2002 12:41:14 -0800 Received: (from rth@localhost) by dot.sfbay.redhat.com (8.11.6/8.11.6) id g24KkWq06743; Mon, 4 Mar 2002 12:46:32 -0800 X-Authentication-Warning: dot.sfbay.redhat.com: rth set sender to rth@redhat.com using -f Date: Mon, 04 Mar 2002 12:46:00 -0000 From: Richard Henderson To: Ulrich Weigand Cc: gcc@gcc.gnu.org Subject: Re: Bug with copyprop_hardreg_forward and shared RTX Message-ID: <20020304124632.A6719@redhat.com> Mail-Followup-To: Richard Henderson , Ulrich Weigand , gcc@gcc.gnu.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from Ulrich.Weigand@de.ibm.com on Mon, Mar 04, 2002 at 03:44:43PM +0100 X-SW-Source: 2002-03/txt/msg00117.txt.bz2 On Mon, Mar 04, 2002 at 03:44:43PM +0100, Ulrich Weigand wrote: > However, this appears to be done intentionally by reload, > if the comment at that place is to be believed: > > The REG-rtx's for the pseudos are modified in place, > so all insns that used to refer to them now refer to memory. > > So if this is the bug, do you have suggestions how to best fix it? Hum. True, I'd forgotten about that sharing. I'd have thought in general such substitutions would end up using the stack pointer or the frame pointer, and so wouldn't end up being optimized. I guess we could run an unshare_all_rtl_again pass after reload is done... r~