[Bug fortran/69955] Memory leak with array constructor and derived type

dominiq at lps dot ens.fr gcc-bugzilla@gcc.gnu.org
Thu Feb 25 13:35:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69955

--- Comment #3 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> Compile time or runtime?  (Can't test right now).

My check was for run time: running the test grabs my 16Gb of memory.
My guess is that the temporary for

    write(*,*) size( (/( var(i)%ts , i=1,size(var) )/) )

is not released.


More information about the Gcc-bugs mailing list