summaryrefslogtreecommitdiff
path: root/gcc/cfgbuild.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cfgbuild.c')
-rw-r--r--gcc/cfgbuild.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cfgbuild.c b/gcc/cfgbuild.c
index 3890bd172b4..a4882e2fca1 100644
--- a/gcc/cfgbuild.c
+++ b/gcc/cfgbuild.c
@@ -708,9 +708,9 @@ compute_outgoing_frequencies (basic_block b)
}
}
- if (EDGE_COUNT (b->succs) == 1)
+ if (single_succ_p (b))
{
- e = EDGE_SUCC (b, 0);
+ e = single_succ_edge (b);
e->probability = REG_BR_PROB_BASE;
e->count = b->count;
return;