On Thu, Mar 7, 2013 at 12:04 AM, Steven Bosscher <stevenb....@gmail.com> wrote: > Hello, > > This patch fixes a bunch of smaller issues with GATHER_STATISTICS for > bitmaps: overflows in counters and ugly output format. > > Bootstrapped (with and without GATHER_STATISTICS) and regtested on > powerpc64-unknown-linux-gnu and on x86_64-unknown-linux-gnu. OK for > trunk?
Ok. Thanks, Richard. > Ciao! > Steven > > > * bitmap.c (struct bitmap_descriptor_d): Use unsigned HOST_WIDEST_INT > for all counters. > (struct output_info): Likewise. > (register_overhead): Remove bad gcc_assert. > (bitmap_find_bit): If there is only a single bitmap element, do not > count a miss as a search. > (print_statistics): Update for counter type changes. > (dump_bitmap_statistics): Likewise. Print headers such that they > are properly lined up with the printed counters.