This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [Patch, fortran] Runtime memory leak checking.
- From: dominiq at lps dot ens dot fr (Dominique Dhumieres)
- To: gcc-patches at gcc dot gnu dot org
- Cc: fortran at gcc dot gnu dot org
- Date: Sat, 29 Nov 2008 20:52:41 +0100
- Subject: Re: [Patch, fortran] Runtime memory leak checking.
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