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

Steve Kargl sgk@troutmask.apl.washington.edu
Tue Oct 7 16:45:00 GMT 2014


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.

-- 
Steve



More information about the Fortran mailing list