From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15163 invoked by alias); 13 May 2003 09:07:44 -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 15038 invoked from network); 13 May 2003 09:07:43 -0000 Received: from unknown (HELO Cantor.suse.de) (213.95.15.193) by sources.redhat.com with SMTP; 13 May 2003 09:07:43 -0000 Received: from Hermes.suse.de (Hermes.suse.de [213.95.15.136]) by Cantor.suse.de (Postfix) with ESMTP id 7E46A150F4; Tue, 13 May 2003 11:07:42 +0200 (MEST) Date: Tue, 13 May 2003 09:07:00 -0000 From: Michael Matz To: Andrew MacLeod Cc: gcc mailing list Subject: Re: [tree-ssa] Out of SSA status and issues In-Reply-To: <1052765152.3372.28.camel@p4> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SW-Source: 2003-05/txt/msg01274.txt.bz2 Hi, On 12 May 2003, Andrew MacLeod wrote: > Actually, is propagating this copy a safe thing to do? > > Copy propagation simply looks at the def, and if the stmt is a copy, > copies it... So if there was a store after the definition of i_14 which > killed the memory location that T.6_12 points to, then the PHI is going > to get the wrong result... isn't it? An indirect reference is not a copy. I don't know if tree-ssa thinks it is, but it definitely shouldn't. Ciao, Michael.