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.