diff options
author | Martin Liska <mliska@suse.cz> | 2015-06-10 09:57:34 +0200 |
---|---|---|
committer | Martin Liska <marxin@gcc.gnu.org> | 2015-06-10 07:57:34 +0000 |
commit | 643e0a30873598350e984f7391a2cbabb9f24706 (patch) | |
tree | 2c5a813f6081fa75e5c459fbf46f682f864e756b /gcc/bitmap.c | |
parent | d5524d521efc91c4b8d8efe2ebace3176aa092e5 (diff) | |
download | gcc-643e0a30873598350e984f7391a2cbabb9f24706.zip gcc-643e0a30873598350e984f7391a2cbabb9f24706.tar.gz gcc-643e0a30873598350e984f7391a2cbabb9f24706.tar.bz2 |
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/bitmap.c')
-rw-r--r-- | gcc/bitmap.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/bitmap.c b/gcc/bitmap.c index d600ace..733c767 100644 --- a/gcc/bitmap.c +++ b/gcc/bitmap.c @@ -30,7 +30,8 @@ mem_alloc_description<bitmap_usage> bitmap_mem_desc; void bitmap_register (bitmap b MEM_STAT_DECL) { - bitmap_mem_desc.register_descriptor (b, BITMAP, false FINAL_PASS_MEM_STAT); + bitmap_mem_desc.register_descriptor (b, BITMAP_ORIGIN, false + FINAL_PASS_MEM_STAT); } /* Account the overhead. */ @@ -2076,7 +2077,7 @@ dump_bitmap_statistics (void) if (! GATHER_STATISTICS) return; - bitmap_mem_desc.dump (BITMAP); + bitmap_mem_desc.dump (BITMAP_ORIGIN); } DEBUG_FUNCTION void |