diff options
author | Ben Elliston <bje@au.ibm.com> | 2005-07-12 13:20:28 +0000 |
---|---|---|
committer | Ben Elliston <bje@gcc.gnu.org> | 2005-07-12 23:20:28 +1000 |
commit | cac50d9410d1c110fdaacaecfaef840e3c42e1a5 (patch) | |
tree | 036af6f518a4738724c5c5051ca4870b3a591cdf /gcc/tree-cfg.c | |
parent | 161c21b6242127527b7a63f65f6d5a7c331ea0cc (diff) | |
download | gcc-cac50d9410d1c110fdaacaecfaef840e3c42e1a5.zip gcc-cac50d9410d1c110fdaacaecfaef840e3c42e1a5.tar.gz gcc-cac50d9410d1c110fdaacaecfaef840e3c42e1a5.tar.bz2 |
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
Diffstat (limited to 'gcc/tree-cfg.c')
-rw-r--r-- | gcc/tree-cfg.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/tree-cfg.c b/gcc/tree-cfg.c index dd8ad08..5e06476 100644 --- a/gcc/tree-cfg.c +++ b/gcc/tree-cfg.c @@ -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), |