This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]