summaryrefslogtreecommitdiff
path: root/gcc/hash-map.h
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2015-06-10 09:57:34 +0200
committerMartin Liska <marxin@gcc.gnu.org>2015-06-10 07:57:34 +0000
commit643e0a30873598350e984f7391a2cbabb9f24706 (patch)
tree2c5a813f6081fa75e5c459fbf46f682f864e756b /gcc/hash-map.h
parentd5524d521efc91c4b8d8efe2ebace3176aa092e5 (diff)
Fix BITMAP identifier clash.
PR bootstrap/66471 * mem-stats-traits.h (enum mem_alloc_origin): Add _ORIGIN suffix for all enum values in mem_alloc_origin. * alloc-pool.c (dump_alloc_pool_statistics): Use newly changed enum name. * alloc-pool.h (pool_allocator::pool_allocator): Likewise. * bitmap.c (bitmap_register): Likewise. (dump_bitmap_statistics): Likewise. * ggc-common.c (dump_ggc_loc_statistics): Likewise. (ggc_record_overhead): Likewise. * hash-map.h: Likewise. * hash-set.h: Likewise. * hash-table.c (void dump_hash_table_loc_statistics): Likewise. * hash-table.h: Likewise. * vec.c (vec_prefix::register_overhead): Likewise. (vec_prefix::release_overhead): Likewise. (dump_vec_loc_statistics): Likewise. From-SVN: r224315
Diffstat (limited to 'gcc/hash-map.h')
-rw-r--r--gcc/hash-map.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/hash-map.h b/gcc/hash-map.h
index f28f74fb03c..2f1bca4d950 100644
--- a/gcc/hash-map.h
+++ b/gcc/hash-map.h
@@ -107,7 +107,7 @@ class GTY((user)) hash_map
public:
explicit hash_map (size_t n = 13, bool ggc = false,
bool gather_mem_stats = true CXX_MEM_STAT_INFO)
- : m_table (n, ggc, gather_mem_stats, HASH_MAP PASS_MEM_STAT) {}
+ : m_table (n, ggc, gather_mem_stats, HASH_MAP_ORIGIN PASS_MEM_STAT) {}
/* Create a hash_map in ggc memory. */
static hash_map *create_ggc (size_t size, bool gather_mem_stats = true