[Bug fortran/49466] [4.6/4.7 Regression] Memory leak with assignment of extended derived types

dominiq at lps dot ens.fr gcc-bugzilla@gcc.gnu.org
Sun Jun 19 18:45:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49466

--- Comment #5 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2011-06-19 18:45:09 UTC ---
> In the first assignment b.U is allocated, in the second assignment it is not
> freed, before being allocated again.

I don't think it should be freed then allocated for the second assignment in
the code in comment#4.



More information about the Gcc-bugs mailing list