]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/c-family/ChangeLog
re PR middle-end/56461 (GCC is leaking lots of memory)
authorJakub Jelinek <jakub@redhat.com>
Tue, 5 Mar 2013 15:51:48 +0000 (16:51 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 5 Mar 2013 15:51:48 +0000 (16:51 +0100)
commit0b50e6540fe69191c78689d0ff5d0a1e18130391
tree621a132b81c013b0cba91140e85a6ab093c5ecd4
parent4ccf8f43ce30db2991656165ddd8839598751075
re PR middle-end/56461 (GCC is leaking lots of memory)

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.

From-SVN: r196469
gcc/ChangeLog
gcc/c-family/ChangeLog
gcc/c-family/c-pch.c
gcc/ggc-common.c