From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20295 invoked by alias); 4 Mar 2011 15:48:23 -0000 Received: (qmail 20283 invoked by uid 22791); 4 Mar 2011 15:48:22 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from mail-ww0-f51.google.com (HELO mail-ww0-f51.google.com) (74.125.82.51) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 04 Mar 2011 15:48:18 +0000 Received: by wwf26 with SMTP id 26so2492060wwf.8 for ; Fri, 04 Mar 2011 07:48:15 -0800 (PST) Received: by 10.227.203.145 with SMTP id fi17mr717905wbb.106.1299253695636; Fri, 04 Mar 2011 07:48:15 -0800 (PST) Received: from richards-thinkpad (gbibp9ph1--blueice2n1.emea.ibm.com [195.212.29.75]) by mx.google.com with ESMTPS id w25sm1884632wbd.17.2011.03.04.07.48.14 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 04 Mar 2011 07:48:15 -0800 (PST) From: Richard Sandiford To: Jakub Jelinek Mail-Followup-To: Jakub Jelinek ,Richard Guenther , gcc-patches@gcc.gnu.org, patches@linaro.org, richard.sandiford@linaro.org Cc: Richard Guenther , gcc-patches@gcc.gnu.org, patches@linaro.org Subject: Re: [2/2] Reducing the overhead of dwarf2 location tracking References: <20110304144954.GE30899@tyan-ft48-01.lab.bos.redhat.com> <20110304151007.GG30899@tyan-ft48-01.lab.bos.redhat.com> Date: Fri, 04 Mar 2011 15:48:00 -0000 In-Reply-To: <20110304151007.GG30899@tyan-ft48-01.lab.bos.redhat.com> (Jakub Jelinek's message of "Fri, 4 Mar 2011 16:10:08 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2011-03/txt/msg00212.txt.bz2 Jakub Jelinek writes: > On Fri, Mar 04, 2011 at 04:00:06PM +0100, Richard Guenther wrote: >> But then location lists for those variables depend on the function context >> and cannot be shared for different callers. Am I missing something? > > Sure, they can't be shared between different functions. If Richard's patch > does that, it is wrong. For the record, it isn't supposed to, although maybe it would without the dwarf2out_abstract_function change you asked for. I'll test that next week and resubmit. Richard