This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/69955] Memory leak with array constructor and derived type
- From: "dominiq at lps dot ens.fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 25 Feb 2016 13:35:45 +0000
- Subject: [Bug fortran/69955] Memory leak with array constructor and derived type
- Auto-submitted: auto-generated
- References: <bug-69955-4 at http dot gcc dot gnu dot org/bugzilla/>
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.