[Patch, fortran] Runtime memory leak checking.
Dominique Dhumieres
dominiq@lps.ens.fr
Sat Nov 29 20:38:00 GMT 2008
A few preliminary comments:
(1) I think the -static option won't work on Darwin.
(2) There are two typos in libgfortran/runtime/memory_check.c:
+ st_printf (" !! Memory deallocation error in the code generated by the "
+ "GNU Fortran compiler.\n !! Please report this issue to "
+ "http://gcc.gnu.org/bugzilla/\n";);
and
+ st_printf (" !! Memory leak in the code generated by the GNU Fortran "
+ "compiler.\n !! Please report this issue to "
+ "http://gcc.gnu.org/bugzilla/\n";);
the ';' before the last closing parantheses are wrong.
I agree with Steve that the patch is not suitable at this stage for 4.4.
However, I think jack could include it when he packages gfortran 4.4.0
for fink.
Dominique
More information about the Gcc-patches
mailing list