From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30672 invoked by alias); 14 May 2003 09:25:53 -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 30637 invoked from network); 14 May 2003 09:25:52 -0000 Received: from unknown (HELO Cantor.suse.de) (213.95.15.193) by sources.redhat.com with SMTP; 14 May 2003 09:25:52 -0000 Received: from Hermes.suse.de (Hermes.suse.de [213.95.15.136]) by Cantor.suse.de (Postfix) with ESMTP id B195314A22; Wed, 14 May 2003 11:25:21 +0200 (MEST) Date: Wed, 14 May 2003 09:25:00 -0000 From: Michael Matz To: Richard Henderson Cc: Zack Weinberg , Subject: Re: Dead-code elimination can't remove string copy insns? In-Reply-To: <20030513215528.GE8273@redhat.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SW-Source: 2003-05/txt/msg01389.txt.bz2 Hi, On Tue, 13 May 2003, Richard Henderson wrote: > On Tue, May 13, 2003 at 11:30:12AM +0200, Michael Matz wrote: > > Exactly. We don't track dead stores to memory. > > Well, we do, but it only works on tail blocks. I know. But this uses the mem expressions to represent the stored-into memory, and hence doesn't work on BLKmode mems. I guess one could special case Zacks example by noting (for the tail blocks), that all stores to stack mem are dead if there is _no_ read from stack afterwards. But this special casing quickly becomes silly. Ciao, Michael.