re PR target/64833 ([SH]: Error: pcrel too far when compiling imagemagick and graphic...
[gcc.git] / gcc / bitmap.c
index 5fc46548beb93ec2580ff35e8604114f864f89a7..bafb4cc91c9d11f63373ce39c77e582721b74a74 100644 (file)
@@ -21,13 +21,7 @@ along with GCC; see the file COPYING3.  If not see
 #include "system.h"
 #include "coretypes.h"
 #include "obstack.h"
-#include "ggc.h"
 #include "bitmap.h"
-#include "hash-table.h"
-#include "vec.h"
-#include "inchash.h"
-#include "mem-stats.h"
-#include "hash-map.h"
 
 /* Memory allocation statistics purpose instance.  */
 mem_alloc_description<bitmap_usage> bitmap_mem_desc;
@@ -36,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.  */
@@ -2079,10 +2074,10 @@ bitmap_print (FILE *file, const_bitmap head, const char *prefix,
 void
 dump_bitmap_statistics (void)
 {
-  if (! GATHER_STATISTICS)
+  if (!GATHER_STATISTICS)
     return;
 
-  bitmap_mem_desc.dump (BITMAP);
+  bitmap_mem_desc.dump (BITMAP_ORIGIN);
 }
 
 DEBUG_FUNCTION void