Commit f7fda749 by Richard Henderson Committed by Richard Henderson

* tree-cfg.c (dump_cfg_stats): Fix 64-bit format mismatch errors.

From-SVN: r84409
parent 8598a113
2004-04-09 Richard Henderson <rth@redhat.com>
* tree-cfg.c (dump_cfg_stats): Fix 64-bit format mismatch errors.
2004-07-09 Eric Christopher <echristo@redhat.com>
* config/rs6000/40x.md: Split into two automatons.
......
......@@ -2308,10 +2308,10 @@ dump_cfg_stats (FILE *file)
{
static long max_num_merged_labels = 0;
unsigned long size, total = 0;
long n_edges;
int n_edges;
basic_block bb;
const char * const fmt_str = "%-30s%-13s%12s\n";
const char * const fmt_str_1 = "%-30s%13lu%11lu%c\n";
const char * const fmt_str_1 = "%-30s%13d%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);
......@@ -2326,8 +2326,8 @@ dump_cfg_stats (FILE *file)
size = n_basic_blocks * sizeof (struct basic_block_def);
total += size;
fprintf (file, fmt_str_1, "Basic blocks", n_basic_blocks, SCALE (size),
LABEL (size));
fprintf (file, fmt_str_1, "Basic blocks", n_basic_blocks,
SCALE (size), LABEL (size));
n_edges = 0;
FOR_EACH_BB (bb)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment