Re: [PATCH] Fix ICE due to cross-jumping (PR rtl-optimization/88470)

2018-12-13 Thread Jeff Law
On 12/13/18 4:32 PM, Jakub Jelinek wrote: > On Thu, Dec 13, 2018 at 04:28:10PM -0700, Jeff Law wrote: >>> 2018-12-13 Jakub Jelinek >>> >>> PR rtl-optimization/88470 >>> * cfgcleanup.c (outgoing_edges_match): If the function is >>> shrink-wrapped and bb1 ends with a JUMP_INSN with a s

Re: [PATCH] Fix ICE due to cross-jumping (PR rtl-optimization/88470)

2018-12-13 Thread Jakub Jelinek
On Thu, Dec 13, 2018 at 04:28:10PM -0700, Jeff Law wrote: > > 2018-12-13 Jakub Jelinek > > > > PR rtl-optimization/88470 > > * cfgcleanup.c (outgoing_edges_match): If the function is > > shrink-wrapped and bb1 ends with a JUMP_INSN with a single fake > > edge to EXIT, return fal

Re: [PATCH] Fix ICE due to cross-jumping (PR rtl-optimization/88470)

2018-12-13 Thread Jeff Law
On 12/13/18 3:53 PM, Jakub Jelinek wrote: > Hi! > > The following testcase ICEs, because we have an indirect jump with > a single (fake) successor edge to EXIT, one reachable from the body > of the function after prologue and another one reachable from before the > prologue (due to shrink-wrapping

[PATCH] Fix ICE due to cross-jumping (PR rtl-optimization/88470)

2018-12-13 Thread Jakub Jelinek
Hi! The following testcase ICEs, because we have an indirect jump with a single (fake) successor edge to EXIT, one reachable from the body of the function after prologue and another one reachable from before the prologue (due to shrink-wrapping). The patch fixes this by disallowing crossjumping o