[Patch, fortran] PR66079 - [6 Regression] memory leak with source allocation in internal subprogram
Steve Kargl
sgk@troutmask.apl.washington.edu
Mon May 25 18:08:00 GMT 2015
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
More information about the Fortran
mailing list