On Wed, Oct 11, 2017 at 12:06 PM, Bin Cheng <bin.ch...@arm.com> wrote:
> Hi,
> This patch fixes the reported ICE.  Root cause is postorder number is not 
> updated
> after merging partitions in SCC.  As a result, reduction partition may not be 
> scheduled
> as the last one because partitions are sorted in descending postorder.
> Bootstrap and test on x86_64 and AArch64.  Is it OK?

Ok.

Richard.

> Thanks,
> bin
> 2017-10-10  Bin Cheng  <bin.ch...@arm.com>
>
>         PR tree-optimization/82472
>         * tree-loop-distribution.c (sort_partitions_by_post_order): Refine
>         comment.
>         (break_alias_scc_partitions): Update postorder number.
>
> gcc/testsuite
> 2017-10-10  Bin Cheng  <bin.ch...@arm.com>
>
>         PR tree-optimization/82472
>         * gcc.dg/tree-ssa/pr82472.c: New test.

Reply via email to