From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5183 invoked by alias); 8 Jul 2004 19:28:57 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 5172 invoked from network); 8 Jul 2004 19:28:57 -0000 Received: from unknown (HELO mx2.redhat.com) (66.187.237.31) by sourceware.org with SMTP; 8 Jul 2004 19:28:57 -0000 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.12.10/8.12.10) with ESMTP id i68JPGSt029800; Thu, 8 Jul 2004 15:25:16 -0400 Received: from potter.sfbay.redhat.com (potter.sfbay.redhat.com [172.16.27.15]) by int-mx2.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i68JSpw28926; Thu, 8 Jul 2004 15:28:51 -0400 Received: from frothingslosh.sfbay.redhat.com (frothingslosh.sfbay.redhat.com [172.16.24.27]) by potter.sfbay.redhat.com (8.11.6/8.11.6) with ESMTP id i68JSpP18416; Thu, 8 Jul 2004 12:28:51 -0700 Received: from frothingslosh.sfbay.redhat.com (localhost.localdomain [127.0.0.1]) by frothingslosh.sfbay.redhat.com (8.12.10/8.12.10) with ESMTP id i68JSoQw020190; Thu, 8 Jul 2004 12:28:50 -0700 Received: (from rth@localhost) by frothingslosh.sfbay.redhat.com (8.12.10/8.12.10/Submit) id i68JSo0g020188; Thu, 8 Jul 2004 12:28:50 -0700 X-Authentication-Warning: frothingslosh.sfbay.redhat.com: rth set sender to rth@redhat.com using -f Date: Thu, 08 Jul 2004 20:18:00 -0000 From: Richard Henderson To: Joern Rennecke Cc: Zack Weinberg , Jim Wilson , Daniel Jacobowitz , gcc-patches@gcc.gnu.org Subject: Re: Reusing stack slots Message-ID: <20040708192850.GB20150@redhat.com> Mail-Followup-To: Richard Henderson , Joern Rennecke , Zack Weinberg , Jim Wilson , Daniel Jacobowitz , gcc-patches@gcc.gnu.org References: <20040708033229.GA16298@redhat.com> <200407081818.i68IID608413@chloe.uk.w2k.superh.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200407081818.i68IID608413@chloe.uk.w2k.superh.com> User-Agent: Mutt/1.4.1i X-SW-Source: 2004-07/txt/msg00828.txt.bz2 On Thu, Jul 08, 2004 at 07:18:13PM +0100, Joern Rennecke wrote: > Maybe there should be a psudo-operations that indicates that an > addressable variable comes into or gets out of scope. > Sort of like a constructor / destructor pair. > You can the use alias information to see if the lifetime can be > reduced further - the start / end points may be moved across anything that > definitely doesn't alias the variable. Sure. Something akin to that was discussed on irc yesterday. Lots of niggly details to work out yet... r~