Message ID | 20140313180311.GA22862@tucnak.redhat.com |
---|---|
State | New |
Headers | show |
--- gcc/function.c.jj 2014-03-03 08:25:17.000000000 +0100 +++ gcc/function.c 2014-03-13 15:42:30.534922406 +0100 @@ -6991,6 +6991,10 @@ rest_of_handle_thread_prologue_and_epilo 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 ();