[Bug fortran/41093] memory leaks with gfc_namespace

burnus at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Aug 27 12:20:00 GMT 2012


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

Tobias Burnus <burnus at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |burnus at gcc dot gnu.org
         Resolution|                            |FIXED

--- Comment #4 from Tobias Burnus <burnus at gcc dot gnu.org> 2012-08-27 12:19:42 UTC ---
(Mostly) FIXED on the GCC 4.8 trunk.

See PR 54384 for some remaining issues.

Janus: As gfortran.dg/proc_ptr_result_1.f90 (see PR54384) shows, the PROCEDURE
statement leaks memory which is allocated in gfc_match_procedure and
resolve_procedure_interface. As PROCEDURE expert, can you have a look?

All: At least on x86-64, you might need a valgrind which has the patch at
https://bugs.kde.org/show_bug.cgi?id=295808 (the current SVN version has, but
3.8.0 is too old).



More information about the Gcc-bugs mailing list