aboutsummaryrefslogtreecommitdiff
path: root/gcc/ggc-common.c
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2019-06-12 15:07:07 +0200
committerMartin Liska <marxin@gcc.gnu.org>2019-06-12 13:07:07 +0000
commitff7b3aa51f8edd24fdc599d9f95a5cbf61aeb76e (patch)
tree9a67df7d7f672eadd843ec0dc84484f438130c8b /gcc/ggc-common.c
parent57bbc3e2f030b810766916189ec802aed5db5041 (diff)
downloadgcc-ff7b3aa51f8edd24fdc599d9f95a5cbf61aeb76e.zip
gcc-ff7b3aa51f8edd24fdc599d9f95a5cbf61aeb76e.tar.gz
gcc-ff7b3aa51f8edd24fdc599d9f95a5cbf61aeb76e.tar.bz2
Disable hash-table sanitization for mem stats maps.
2019-06-12 Martin Liska <mliska@suse.cz> * ggc-common.c (ggc_prune_overhead_list): Do not sanitize the created map. * hash-map.h: Add sanitize_eq_and_hash into ::hash_map. * mem-stats.h (mem_alloc_description::mem_alloc_description): Do not sanitize created maps. From-SVN: r272183
Diffstat (limited to 'gcc/ggc-common.c')
-rw-r--r--gcc/ggc-common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ggc-common.c b/gcc/ggc-common.c
index 2acdb6d..6fb5a3d 100644
--- a/gcc/ggc-common.c
+++ b/gcc/ggc-common.c
@@ -1014,5 +1014,5 @@ ggc_prune_overhead_list (void)
(*it).second.first->m_collected += (*it).second.second;
delete ggc_mem_desc.m_reverse_object_map;
- ggc_mem_desc.m_reverse_object_map = new map_t (13, false, false);
+ ggc_mem_desc.m_reverse_object_map = new map_t (13, false, false, false);
}