Re: [RFA][PATCH][P2][PR middle-end/80422] Fix crossjumping ICE

2017-04-18 Thread Jakub Jelinek
On Mon, Apr 17, 2017 at 10:20:28AM -0600, Jeff Law wrote: > PR middle-end/80422 > * cfgcleanup.c (try_crossjump_to_edge): Verify SRC1 and SRC2 have > predecessors after walking up the insn chain. > > > PR middle-end/80422 > * gcc.c-torture/compile/pr80422.c: New test

[RFA][PATCH][P2][PR middle-end/80422] Fix crossjumping ICE

2017-04-17 Thread Jeff Law
A forwarder block becomes unreachable during cfg_cleanup. Later we're cross jumping an indirect (via more forwarders) successor of the now unreachable forwarder and walk up the CFG looking for hunks of equivalent insns and walk back into the unreachable forwarder block. We then want to look