diff options
author | Jan Hubicka <jh@suse.cz> | 2005-04-09 18:09:11 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2005-04-09 16:09:11 +0000 |
commit | 7b0cab995daec07d1fddae14c57918ae0c30fb21 (patch) | |
tree | b5d29f6fe23b01c580491479ee045f7bfb5ac469 /gcc/tree-cfg.c | |
parent | 5b296c8a7612a3a3adea46343e3475bbb979a2e8 (diff) | |
download | gcc-7b0cab995daec07d1fddae14c57918ae0c30fb21.zip gcc-7b0cab995daec07d1fddae14c57918ae0c30fb21.tar.gz gcc-7b0cab995daec07d1fddae14c57918ae0c30fb21.tar.bz2 |
cfglayout.c (copy_bbs): Rename n_edges to num_edges.
* cfglayout.c (copy_bbs): Rename n_edges to num_edges.
* cfgloop.c (get_loop_exit_edges): Likewise.
* cfgloopmanip.c (fix_irreducible_loops): Likewise.
(unloop): Likewise.
* loop-unroll.c (analyze_insns_in_loop): Likewise.
* tree-cfg.c (dump_cfg_status): Likewise.
Co-Authored-By: Steven Bosscher <stevenb@suse.de>
From-SVN: r97903
Diffstat (limited to 'gcc/tree-cfg.c')
-rw-r--r-- | gcc/tree-cfg.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/tree-cfg.c b/gcc/tree-cfg.c index 38d8215..d54408c 100644 --- a/gcc/tree-cfg.c +++ b/gcc/tree-cfg.c @@ -2551,7 +2551,7 @@ dump_cfg_stats (FILE *file) { static long max_num_merged_labels = 0; unsigned long size, total = 0; - int n_edges; + long num_edges; basic_block bb; const char * const fmt_str = "%-30s%-13s%12s\n"; const char * const fmt_str_1 = "%-30s%13d%11lu%c\n"; @@ -2572,12 +2572,12 @@ dump_cfg_stats (FILE *file) fprintf (file, fmt_str_1, "Basic blocks", n_basic_blocks, SCALE (size), LABEL (size)); - n_edges = 0; + num_edges = 0; FOR_EACH_BB (bb) - n_edges += EDGE_COUNT (bb->succs); - size = n_edges * sizeof (struct edge_def); + num_edges += EDGE_COUNT (bb->succs); + size = num_edges * sizeof (struct edge_def); total += size; - fprintf (file, fmt_str_1, "Edges", n_edges, SCALE (size), LABEL (size)); + fprintf (file, fmt_str_1, "Edges", num_edges, SCALE (size), LABEL (size)); size = n_basic_blocks * sizeof (struct bb_ann_d); total += size; |