Re: Fix PR78384: ICE in loop splitting

2017-01-23 Thread Richard Biener
On Mon, Jan 23, 2017 at 2:38 PM, Michael Matz wrote: > Hi, > > the loop structure in the testcase is funny enough to confuse loop > splitting (it essentially would have been an irreducable region if it > weren't for the fact that one entry edge is stopped with a builtin_trap; > and so it transform

Fix PR78384: ICE in loop splitting

2017-01-23 Thread Michael Matz
Hi, the loop structure in the testcase is funny enough to confuse loop splitting (it essentially would have been an irreducable region if it weren't for the fact that one entry edge is stopped with a builtin_trap; and so it transforms into a strangely rotated loop where latch and header aren't