Hi,
this is another place we make single exit edge without probability set.

Bootstrapped/regtested x86_64-linux, will commit it shortly.

Honza

        * tree-if-conv.c (combine_blocks): Use make_single_succ_edge
        to keep profile consistent.
Index: tree-if-conv.c
===================================================================
--- tree-if-conv.c      (revision 249869)
+++ tree-if-conv.c      (working copy)
@@ -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);
        }
 

Reply via email to