re PR tree-optimization/81374 (ICE in bb_top_order_cmp, at tree-loop-distribution...
authorBin Cheng <bin.cheng@arm.com>
Mon, 17 Jul 2017 11:34:30 +0000 (11:34 +0000)
committerBin Cheng <amker@gcc.gnu.org>
Mon, 17 Jul 2017 11:34:30 +0000 (11:34 +0000)
commit3fb824520b804305f510a9a2b84b652a23a72f22
tree602cd64be95daacabb08438610d6f6c872196d64
parentb6c354ebc736de36d39b2b81e7dd2e3932b28404
re PR tree-optimization/81374 (ICE in bb_top_order_cmp, at tree-loop-distribution.c:391)

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.

From-SVN: r250268
gcc/ChangeLog
gcc/tree-loop-distribution.c