[Bug bootstrap/66471] BITMAP is a reserved keyword on MinGW

marxin at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jun 10 07:58:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66471

--- Comment #5 from Martin Liška <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Wed Jun 10 07:57:34 2015
New Revision: 224315

URL: https://gcc.gnu.org/viewcvs?rev=224315&root=gcc&view=rev
Log:
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.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/alloc-pool.c
    trunk/gcc/alloc-pool.h
    trunk/gcc/bitmap.c
    trunk/gcc/ggc-common.c
    trunk/gcc/hash-map.h
    trunk/gcc/hash-set.h
    trunk/gcc/hash-table.c
    trunk/gcc/hash-table.h
    trunk/gcc/mem-stats-traits.h
    trunk/gcc/vec.c


More information about the Gcc-bugs mailing list