Re: [patch] Cleanup the CFG after pro_and_epilogue pass (PR rtl-optimization/57320)

2014-03-13 Thread Jakub Jelinek
On Fri, May 17, 2013 at 03:59:07PM -0600, Jeff Law wrote: > On 05/17/2013 03:53 PM, Steven Bosscher wrote: > >On Fri, May 17, 2013 at 11:16 PM, Jeff Law wrote: > >>>What's happened, is that emitting the epilogue at the end of basic > >>>block 4 (with a barrier at the end) has made the use insn 43 >

Re: [patch] Cleanup the CFG after pro_and_epilogue pass

2013-05-17 Thread Jeff Law
On 05/17/2013 03:53 PM, Steven Bosscher wrote: On Fri, May 17, 2013 at 11:16 PM, Jeff Law wrote: What's happened, is that emitting the epilogue at the end of basic block 4 (with a barrier at the end) has made the use insn 43 unreachable. But from the description you've given, it appears that t

Re: [patch] Cleanup the CFG after pro_and_epilogue pass

2013-05-17 Thread Steven Bosscher
On Fri, May 17, 2013 at 9:49 PM, Steven Bosscher wrote: > Will commit sometime next week if no-one objects. Obviously there are objections. Patch withdrawn. Ciao! Steven

Re: [patch] Cleanup the CFG after pro_and_epilogue pass

2013-05-17 Thread Steven Bosscher
On Fri, May 17, 2013 at 11:16 PM, Jeff Law wrote: >> What's happened, is that emitting the epilogue at the end of basic >> block 4 (with a barrier at the end) has made the use insn 43 >> unreachable. > > But from the description you've given, it appears that the epilogue itself > has unreachable co

Re: [patch] Cleanup the CFG after pro_and_epilogue pass

2013-05-17 Thread Jeff Law
On 05/17/2013 02:53 PM, Steven Bosscher wrote: On Fri, May 17, 2013 at 9:52 PM, Jeff Law wrote: On 05/17/2013 01:49 PM, Steven Bosscher wrote: Hello, Trying to dump the CFG as a graph fails after the pro_and_epilogue pass because it leaves unreachable basic blocks. This patch fixes that issu

Re: [patch] Cleanup the CFG after pro_and_epilogue pass

2013-05-17 Thread Steven Bosscher
On Fri, May 17, 2013 at 9:52 PM, Jeff Law wrote: > On 05/17/2013 01:49 PM, Steven Bosscher wrote: >> >> Hello, >> >> Trying to dump the CFG as a graph fails after the pro_and_epilogue >> pass because it leaves unreachable basic blocks. This patch fixes that >> issue. >> >> Will commit sometime nex

Re: [patch] Cleanup the CFG after pro_and_epilogue pass

2013-05-17 Thread Jeff Law
On 05/17/2013 01:49 PM, Steven Bosscher wrote: Hello, Trying to dump the CFG as a graph fails after the pro_and_epilogue pass because it leaves unreachable basic blocks. This patch fixes that issue. Will commit sometime next week if no-one objects. Ciao! Steven * function.c (rest_of

[patch] Cleanup the CFG after pro_and_epilogue pass

2013-05-17 Thread Steven Bosscher
Hello, Trying to dump the CFG as a graph fails after the pro_and_epilogue pass because it leaves unreachable basic blocks. This patch fixes that issue. Will commit sometime next week if no-one objects. Ciao! Steven * function.c (rest_of_handle_thread_prologue_and_epilogue): Cle