Fwd: Valgrind (and inspxe-cl) reports lost memory using gfortran 4.8.2 with allocatables

Paul van Delst paul.vandelst@noaa.gov
Tue Oct 7 18:08:00 GMT 2014


On 10/07/14 12:45, Steve Kargl wrote:
> On Tue, Oct 07, 2014 at 11:26:03AM -0400, Paul van Delst wrote:
>>
>>> It appears to be a bug.
>>>
>>> Final Committee Draft, F2003, p. 116.
>>>
>>>      When a procedure is invoked, any allocated allocatable object that
>>>      is an actual argument associated with an INTENT(OUT) allocatable
>>>      dummy argument is deallocated; any allocated allocatable object that
>>>      is a subobject of an actual argument associated with an INTENT(OUT)
>>>      dummy argument is deallocated.
>> Okay. Should I file a bug report? Not sure how to determine if this
>> issue hasn't already been reported.
>>
> Yes, file a bug report.  If it is a duplicated, it will simply be
> closed. It is better to have duplicates than no report at all.
Filed as #63473. (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63473)

Thanks very much.

cheers,

paulv



More information about the Fortran mailing list