[Patch, fortran] PR66079 - [6 Regression] memory leak with source allocation in internal subprogram
Mikael Morin
mikael.morin@sfr.fr
Thu May 28 14:59:00 GMT 2015
Le 27/05/2015 23:09, Steve Kargl a écrit :
> 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?
>
I know there is mold. I'm not aware of anything else.
Now that you tell about it, I realize that the code in that area doesn't
seem to check for mold vs source.
Mikael
More information about the Fortran
mailing list