tree-cfg.c (dump_cfg_stats): Add a new fmt_str_2 format string and use it when printing num_edges.

* tree-cfg.c (dump_cfg_stats): Add a new fmt_str_2 format string
	and use it when printing num_edges.

From-SVN: r101923
This commit is contained in:
Ben Elliston 2005-07-12 13:20:28 +00:00 committed by Ben Elliston
parent 161c21b624
commit cac50d9410
2 changed files with 7 additions and 1 deletions

View 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.

View 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),