On Mon, Jul 10, 2017 at 4:18 PM, Bin Cheng <bin.ch...@arm.com> 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 tests can 
> catch the
> ICE as well.
>
> Bootstrap and test on x86_64.  Is it OK?

Ok.

Thanks,
Richard.

> Thanks,
> bin
> 2017-07-10  Bin Cheng  <bin.ch...@arm.com>
>
>         PR tree-optimization/81374
>         * tree-loop-distribution.c (pass_loop_distribution::execute): Record
>         the max index of basic blocks, rather than number of basic blocks.

Reply via email to