diff options
author | Jakub Jelinek <jakub@redhat.com> | 2013-03-05 15:51:48 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2013-03-05 15:51:48 +0000 |
commit | eb34c5109ce02c88f306cf11b9b34aa38712297e (patch) | |
tree | 621a132b81c013b0cba91140e85a6ab093c5ecd4 /gcc/c-family | |
parent | 76a7cac33bb3838b677f8c639a32e0eac51ee6f5 (diff) |
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.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@196469 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-family')
-rw-r--r-- | gcc/c-family/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/c-family/c-pch.c | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index b8ca5aea50c..6d90bfb37d2 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,8 @@ +2013-03-05 Jakub Jelinek <jakub@redhat.com> + + PR middle-end/56461 + * c-pch.c (pch_init): Free target_validity at the end. + 2013-03-04 Jakub Jelinek <jakub@redhat.com> * c-pretty-print.c (pp_c_pretty_printer_init): Clear pp->flags. diff --git a/gcc/c-family/c-pch.c b/gcc/c-family/c-pch.c index c40ee8dbaed..7b0eca7fde1 100644 --- a/gcc/c-family/c-pch.c +++ b/gcc/c-family/c-pch.c @@ -141,6 +141,8 @@ pch_init (void) if (pch_ready_to_save_cpp_state) pch_cpp_save_state (); + + XDELETE (target_validity); } /* Whether preprocessor state has been saved in a PCH file. */ |