aboutsummaryrefslogtreecommitdiff
path: root/gcc/bitmap.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/bitmap.h')
-rw-r--r--gcc/bitmap.h15
1 files changed, 10 insertions, 5 deletions
diff --git a/gcc/bitmap.h b/gcc/bitmap.h
index 013c9fb..805e37e 100644
--- a/gcc/bitmap.h
+++ b/gcc/bitmap.h
@@ -157,12 +157,14 @@ struct bitmap_usage: public mem_usage
{
char *location_string = loc->to_string ();
- fprintf (stderr, "%-48s %10li:%5.1f%%%10li%10li:%5.1f%%%12li%12li%10s\n",
- location_string,
- (long)m_allocated, get_percent (m_allocated, total.m_allocated),
- (long)m_peak, (long)m_times,
+ fprintf (stderr, "%-48s %10" PRIu64 ":%5.1f%%"
+ "%10" PRIu64 "%10" PRIu64 ":%5.1f%%"
+ "%12" PRIu64 "%12" PRIu64 "%10s\n",
+ location_string, (uint64_t)m_allocated,
+ get_percent (m_allocated, total.m_allocated),
+ (uint64_t)m_peak, (uint64_t)m_times,
get_percent (m_times, total.m_times),
- (long)m_nsearches, (long)m_search_iter,
+ m_nsearches, m_search_iter,
loc->m_ggc ? "ggc" : "heap");
free (location_string);
@@ -253,6 +255,9 @@ extern void bitmap_clear (bitmap);
/* Copy a bitmap to another bitmap. */
extern void bitmap_copy (bitmap, const_bitmap);
+/* Move a bitmap to another bitmap. */
+extern void bitmap_move (bitmap, bitmap);
+
/* True if two bitmaps are identical. */
extern bool bitmap_equal_p (const_bitmap, const_bitmap);