summaryrefslogtreecommitdiff
path: root/gcc/tree-if-conv.c
diff options
context:
space:
mode:
authorJan Hubicka <hubicka@ucw.cz>2017-07-01 16:55:28 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2017-07-01 14:55:28 +0000
commit1099198d0086da9be8176463700261a2bf529924 (patch)
treeef5124f92e6c2eb937a388eb3d19ef10b5276354 /gcc/tree-if-conv.c
parent36d95aa8913ae43c998e0917711856d307cc5f00 (diff)
tree-if-conv.c (combine_blocks): Use make_single_succ_edge to keep profile consistent.
* tree-if-conv.c (combine_blocks): Use make_single_succ_edge to keep profile consistent. From-SVN: r249870
Diffstat (limited to 'gcc/tree-if-conv.c')
-rw-r--r--gcc/tree-if-conv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-if-conv.c b/gcc/tree-if-conv.c
index dbacc6e1950..28529c90a61 100644
--- a/gcc/tree-if-conv.c
+++ b/gcc/tree-if-conv.c
@@ -2403,7 +2403,7 @@ combine_blocks (struct loop *loop)
if (exit_bb != loop->header)
{
/* Connect this node to loop header. */
- make_edge (loop->header, exit_bb, EDGE_FALLTHRU);
+ make_single_succ_edge (loop->header, exit_bb, EDGE_FALLTHRU);
set_immediate_dominator (CDI_DOMINATORS, exit_bb, loop->header);
}