Re: [PATCH PR81374]Record the max index of basic block, rather than # of basic blocks

2017-07-17 Thread Richard Biener
On Mon, Jul 10, 2017 at 4:18 PM, Bin Cheng wrote: > Hi, > This patch fixes an ICE in new loop distribution code. When computing > topological > order for basic blocks it should record the max index of basic block, rather > than > number of basic blocks. I didn't add new test because existing t

[PATCH PR81374]Record the max index of basic block, rather than # of basic blocks

2017-07-10 Thread Bin Cheng
Hi, This patch fixes an ICE in new loop distribution code. When computing topological order for basic blocks it should record the max index of basic block, rather than number of basic blocks. I didn't add new test because existing tests can catch the ICE as well. Bootstrap and test on x86_64.