tree-cfg.c (dump_cfg_stats): Add a new fmt_str_2 format string and use it when printi...
authorBen Elliston <bje@au.ibm.com>
Tue, 12 Jul 2005 13:20:28 +0000 (13:20 +0000)
committerBen Elliston <bje@gcc.gnu.org>
Tue, 12 Jul 2005 13:20:28 +0000 (23:20 +1000)
* tree-cfg.c (dump_cfg_stats): Add a new fmt_str_2 format string
and use it when printing num_edges.

From-SVN: r101923

gcc/ChangeLog
gcc/tree-cfg.c

index 07f53773f820f88eef9b233884d0cd89671d3d9e..c793e5e876396eb1212c74b7b115105a2c630ab5 100644 (file)
@@ -1,3 +1,8 @@
+2005-07-12  Ben Elliston  <bje@au.ibm.com>
+
+       * tree-cfg.c (dump_cfg_stats): Add a new fmt_str_2 format string
+       and use it when printing num_edges.
+
 2005-07-12  Bernd Schmidt  <bernd.schmidt@analog.com>
 
        * doc/extend.texi (Blackfin Built-in Functions): New section.
index dd8ad0821f0b2019eb5f248eadea998f7f72fe26..5e06476c76aa8ffdfed5657a539f4fd4d9f993f8 100644 (file)
@@ -2240,6 +2240,7 @@ dump_cfg_stats (FILE *file)
   basic_block bb;
   const char * const fmt_str   = "%-30s%-13s%12s\n";
   const char * const fmt_str_1 = "%-30s%13d%11lu%c\n";
+  const char * const fmt_str_2 = "%-30s%13ld%11lu%c\n";
   const char * const fmt_str_3 = "%-43s%11lu%c\n";
   const char *funcname
     = lang_hooks.decl_printable_name (current_function_decl, 2);
@@ -2262,7 +2263,7 @@ dump_cfg_stats (FILE *file)
     num_edges += EDGE_COUNT (bb->succs);
   size = num_edges * sizeof (struct edge_def);
   total += size;
-  fprintf (file, fmt_str_1, "Edges", num_edges, SCALE (size), LABEL (size));
+  fprintf (file, fmt_str_2, "Edges", num_edges, SCALE (size), LABEL (size));
 
   fprintf (file, "---------------------------------------------------------\n");
   fprintf (file, fmt_str_3, "Total memory used by CFG data", SCALE (total),