]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
ggc-page.c (ggc_print_statistics): Use %ul and a cast to unsigned long for printing...
authorRichard Guenther <rguenther@suse.de>
Tue, 28 Nov 2006 10:03:49 +0000 (10:03 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 28 Nov 2006 10:03:49 +0000 (10:03 +0000)
2006-11-28  Richard Guenther  <rguenther@suse.de>

* ggc-page.c (ggc_print_statistics): Use %ul and a cast to
unsigned long for printing OBJECT_SIZE.

From-SVN: r119280

gcc/ChangeLog
gcc/ggc-page.c

index 896826d2d1fb2a8551febcb96193b910d91355a7..9bc59081a3dc80132ea6d9fd551a862929d6c824 100644 (file)
@@ -1,3 +1,8 @@
+2006-11-28  Richard Guenther  <rguenther@suse.de>
+
+       * ggc-page.c (ggc_print_statistics): Use %ul and a cast to
+       unsigned long for printing OBJECT_SIZE.
+
 2006-11-27  Steven Bosscher  <steven@gcc.gnu.org>
 
        * alias.c (init_alias_analysis): Remove simplification loop
index 5d880339d5a3e56d0244930ab1a6426b3c8fa3d5..01251f606e0c60e30ef525d82a03572d221a3cbc 100644 (file)
@@ -2017,10 +2017,12 @@ ggc_print_statistics (void)
     for (i = 0; i < NUM_ORDERS; i++)
       if (G.stats.total_allocated_per_order[i])
         {
-          fprintf (stderr, "Total Overhead  page size %7d:     %10lld\n",
-                   OBJECT_SIZE (i), G.stats.total_overhead_per_order[i]);
-          fprintf (stderr, "Total Allocated page size %7d:     %10lld\n",
-                   OBJECT_SIZE (i), G.stats.total_allocated_per_order[i]);
+          fprintf (stderr, "Total Overhead  page size %7ul:     %10lld\n",
+                   (unsigned long) OBJECT_SIZE (i),
+                  G.stats.total_overhead_per_order[i]);
+          fprintf (stderr, "Total Allocated page size %7ul:     %10lld\n",
+                   (unsigned long) OBJECT_SIZE (i),
+                  G.stats.total_allocated_per_order[i]);
         }
   }
 #endif