From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19604 invoked by alias); 4 Feb 2004 21:51:13 -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 19597 invoked from network); 4 Feb 2004 21:51:13 -0000 Received: from unknown (HELO pengo.systems.pipex.net) (62.241.160.193) by sources.redhat.com with SMTP; 4 Feb 2004 21:51:13 -0000 Received: from nowt.org (81-178-224-194.dsl.pipex.com [81.178.224.194]) by pengo.systems.pipex.net (Postfix) with ESMTP id ACE114C00048; Wed, 4 Feb 2004 21:51:10 +0000 (GMT) Received: from finch.home (finch.home [192.168.1.6]) by nowt.org (Postfix) with ESMTP id 5F2C5AC92; Wed, 4 Feb 2004 21:51:09 +0000 (GMT) From: Paul Brook Organization: CodeSourcery To: kenner@vlsi1.ultra.nyu.edu (Richard Kenner) Subject: Re: What to remove after tree-ssa is merged? Date: Wed, 04 Feb 2004 21:51:00 -0000 User-Agent: KMail/1.5.4 Cc: gcc@gcc.gnu.org References: <10402042128.AA04436@vlsi1.ultra.nyu.edu> In-Reply-To: <10402042128.AA04436@vlsi1.ultra.nyu.edu> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200402042151.08901.paul@codesourcery.com> X-SW-Source: 2004-02/txt/msg00317.txt.bz2 On Wednesday 04 February 2004 9:28 pm, Richard Kenner wrote: > The information must be there somewhere. Whenever these size or bound > expressions are used, it surely must be in the context of a particular > object. The RTL expanders manage it quite happily. > > When they are *used*, sure. But the point is that they are also present > in the bounds expressions *to be used* and there is nothing they can be > substituted with in that context. To be used when? I fail to see how this is a problem. The frontend passes complete functions to the optimizer. I agree that PLACEHOLDER_EXPR is a very useful in the frontend when building trees. However I can't see how it is of any use once the tree has been built. Once the optimizers see a function, haven't we already determined all uses of these expressions? Do you have any examples of the when an optimier would unexpectedly decide it needs to use one of these expressions? Paul