summaryrefslogtreecommitdiff
path: root/gcc/loop-unroll.c
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2005-04-09 18:09:11 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2005-04-09 16:09:11 +0000
commit7b0cab995daec07d1fddae14c57918ae0c30fb21 (patch)
treeb5d29f6fe23b01c580491479ee045f7bfb5ac469 /gcc/loop-unroll.c
parent5b296c8a7612a3a3adea46343e3475bbb979a2e8 (diff)
downloadgcc-7b0cab995daec07d1fddae14c57918ae0c30fb21.tar.gz
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/loop-unroll.c')
-rw-r--r--gcc/loop-unroll.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/loop-unroll.c b/gcc/loop-unroll.c
index e44dae69383..ab3828d9d02 100644
--- a/gcc/loop-unroll.c
+++ b/gcc/loop-unroll.c
@@ -1640,14 +1640,14 @@ static struct opt_info *
analyze_insns_in_loop (struct loop *loop)
{
basic_block *body, bb;
- unsigned i, n_edges = 0;
+ unsigned i, num_edges = 0;
struct opt_info *opt_info = xcalloc (1, sizeof (struct opt_info));
rtx insn;
struct iv_to_split *ivts = NULL;
struct var_to_expand *ves = NULL;
PTR *slot1;
PTR *slot2;
- edge *edges = get_loop_exit_edges (loop, &n_edges);
+ edge *edges = get_loop_exit_edges (loop, &num_edges);
bool can_apply = false;
iv_analysis_loop_init (loop);
@@ -1667,7 +1667,7 @@ analyze_insns_in_loop (struct loop *loop)
else
opt_info->loop_preheader = loop_preheader_edge (loop)->src;
- if (n_edges == 1
+ if (num_edges == 1
&& !(edges[0]->flags & EDGE_COMPLEX))
{
opt_info->loop_exit = loop_split_edge_with (edges[0], NULL_RTX);