This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/81374] [8 Regression] ICE in bb_top_order_cmp, at tree-loop-distribution.c:391
- From: "amker at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 10 Jul 2017 09:35:27 +0000
- Subject: [Bug tree-optimization/81374] [8 Regression] ICE in bb_top_order_cmp, at tree-loop-distribution.c:391
- Auto-submitted: auto-generated
- References: <bug-81374-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81374
--- Comment #2 from amker at gcc dot gnu.org ---
Okay, so bb_top_order_index_size should be inittialized to
last_basic_block_for_fn, rather than number of basic blocks since we don't
reuse index of deleted basic block. I am testing a patch.