From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 61713 invoked by alias); 25 May 2015 18:08:32 -0000 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 Received: (qmail 61683 invoked by uid 89); 25 May 2015 18:08:31 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.5 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,T_RP_MATCHES_RCVD autolearn=no version=3.3.2 X-Spam-User: qpsmtpd, 2 recipients X-HELO: troutmask.apl.washington.edu Received: from troutmask.apl.washington.edu (HELO troutmask.apl.washington.edu) (128.95.76.21) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Mon, 25 May 2015 18:08:30 +0000 Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.14.9/8.14.9) with ESMTP id t4PI8Rd1005217 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 25 May 2015 11:08:27 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.14.9/8.14.9/Submit) id t4PI8RE9005216; Mon, 25 May 2015 11:08:27 -0700 (PDT) (envelope-from sgk) Date: Mon, 25 May 2015 18:41:00 -0000 From: Steve Kargl To: Mikael Morin Cc: Paul Richard Thomas , Andre Vehreschild , "fortran@gcc.gnu.org" , gcc-patches , Damian Rouson Subject: Re: [Patch, fortran] PR66079 - [6 Regression] memory leak with source allocation in internal subprogram Message-ID: <20150525180827.GA5207@troutmask.apl.washington.edu> References: <20150523195252.22647b46@vepi2> <55635CD8.5070005@sfr.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <55635CD8.5070005@sfr.fr> User-Agent: Mutt/1.5.23 (2014-03-12) X-SW-Source: 2015-05/txt/msg02254.txt.bz2 On Mon, May 25, 2015 at 07:33:12PM +0200, Mikael Morin wrote: > Le 25/05/2015 09:30, Paul Richard Thomas a ?crit : > > Dear All, > > > > Lets see if I can get it right this time :-) > > > > Note that I have changed the name of the temporary variable in > > trans_allocate from 'atmp' to 'expr3' so that it is not confused with > > array temporaries. > I agree with Andre willing to use a more explicit name ("source"), and I > suggest pushing it yet further; something like "alloc_source_tmp". > We should never have named things "expr3" all over the place, but > that's another matter. > I choose "expr3" because "expr1" and "expr2" were already present in gfc_code. It's been awhile since I looked at gfc_code. Seems we now also have expr4. -- Steve