[PATCH] Fix ICE from path isolation (PR tree-optimization/84960)

2018-03-21 Thread Jakub Jelinek
Hi! On the following testcase, path isolation decides to duplicate a bb and redirect edge from ENTRY bb to its successor to this duplicate bb and tree cleanup then removes all other basic blocks as unreachable. When blocks are removed, forced labels are moved to their bb->prev_bb block, but inser

Re: [PATCH] Fix ICE from path isolation (PR tree-optimization/84960)

2018-03-21 Thread Richard Biener
On March 21, 2018 9:24:06 PM GMT+01:00, Jakub Jelinek wrote: >Hi! > >On the following testcase, path isolation decides to duplicate a bb and >redirect edge from ENTRY bb to its successor to this duplicate bb and >tree cleanup then removes all other basic blocks as unreachable. > >When blocks are r