This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch, fortran] PR66079 - [6 Regression] memory leak with source allocation in internal subprogram


On Wed, May 27, 2015 at 06:24:25PM +0200, Mikael Morin wrote:
> Le 27/05/2015 16:07, Andre Vehreschild a ?crit :
> > Hi Paul, hi Mikael,
> > 
> > about renaming the identifier emitted: I would like to keep it short. Remember,
> > there is always a number attached to it, which makes it unique. Furthermore
> > does "alloc_source_tmp" sound unnecessarily long to me. It tastes like we do
> > not trust the unique identifier mechanism established in gfortran. But that is
> > just my personal taste.
> > 
> Then let's go with "source", which seems to get the majority of the
> votes.  It remains an improvement over "expr3" and "atmp".
> 

You do realize that expr3 holds things other than the 
expression in a source= in an allocate, right? 

-- 
Steve


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]