* shring-wrap.c: Revert accidental commit.

From-SVN: r248893
This commit is contained in:
Jan Hubicka 2017-06-05 21:14:49 +02:00 committed by Jan Hubicka
parent 2506e3b02a
commit 7b95ed64c9
2 changed files with 5 additions and 3 deletions

View File

@ -1,3 +1,7 @@
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.

View File

@ -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;