function.c (prepare_shrink_wrap, [...]): New function.
authorBernd Schmidt <bernds@codesourcery.com>
Wed, 12 Oct 2011 12:04:04 +0000 (12:04 +0000)
committerBernd Schmidt <bernds@gcc.gnu.org>
Wed, 12 Oct 2011 12:04:04 +0000 (12:04 +0000)
commit39d52ae5c1cb0d399743039e388481f77b7aa112
tree088c6c3012207e25c08b56119760a155d50c812a
parenta2d5091a51e15ef05478b68013ca3df36010a7a2
function.c (prepare_shrink_wrap, [...]): New function.

* function.c (prepare_shrink_wrap, bb_active_p): New function.
(thread_prologue_and_epilogue_insns): Use bb_active_p.
Call prepare_shrink_wrap, then recompute bb_active_p for the
last block.

From-SVN: r179848
gcc/ChangeLog
gcc/function.c