Commit 7b95ed64 by Jan Hubicka Committed by Jan Hubicka

* shring-wrap.c: Revert accidental commit.

From-SVN: r248893
parent 2506e3b0
2017-06-05 Jan Hubicka <hubicka@ucw.cz>
* shring-wrap.c: Revert accidental commit.
2017-06-05 Volker Reichelt <v.reichelt@netcologne.de>
* doc/invoke.texi (-Wduplicated-branches): Add to warning list.
......
......@@ -561,11 +561,9 @@ handle_simple_exit (edge e)
BB_END (old_bb) = end;
redirect_edge_succ (e, new_bb);
new_bb->count = e->count;
new_bb->frequency = e->frequency;
e->flags |= EDGE_FALLTHRU;
e = make_single_succ_edge (new_bb, EXIT_BLOCK_PTR_FOR_FN (cfun), 0);
e = make_edge (new_bb, EXIT_BLOCK_PTR_FOR_FN (cfun), 0);
}
e->flags &= ~EDGE_FALLTHRU;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment