PR rtl-optimization/57320
* function.c (rest_of_handle_thread_prologue_and_epilogue): Cleanup
the CFG after thread_prologue_and_epilogue_insns.
From-SVN: r208551
+2014-03-13 Steven Bosscher <steven@gcc.gnu.org>
+
+ PR rtl-optimization/57320
+ * function.c (rest_of_handle_thread_prologue_and_epilogue): Cleanup
+ the CFG after thread_prologue_and_epilogue_insns.
+
2014-03-13 Vladimir Makarov <vmakarov@redhat.com>
PR rtl-optimization/57189
scheduling to operate in the epilogue. */
thread_prologue_and_epilogue_insns ();
+ /* Shrink-wrapping can result in unreachable edges in the epilogue,
+ see PR57320. */
+ cleanup_cfg (0);
+
/* The stack usage info is finalized during prologue expansion. */
if (flag_stack_usage_info)
output_stack_usage ();