[Bug middle-end/56461] [4.8 Regression] GCC is leaking lots of memory

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Mar 5 15:52:00 GMT 2013


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

--- Comment #34 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-03-05 15:52:02 UTC ---
Author: jakub
Date: Tue Mar  5 15:51:48 2013
New Revision: 196469

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196469
Log:
    PR middle-end/56461
    * ggc-common.c (gt_pch_save): For ENABLE_VALGRIND_CHECKING,
    if VALGRIND_GET_VBITS is defined, temporarily make object
    memory all defined, and restore previous valgrind addressability
    and definability afterwards.  Free this_object at the end.

    * c-pch.c (pch_init): Free target_validity at the end.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/c-family/ChangeLog
    trunk/gcc/c-family/c-pch.c
    trunk/gcc/ggc-common.c



More information about the Gcc-bugs mailing list