Commit 0b8d60fa by Richard Henderson Committed by Richard Henderson

resource.c (mark_target_live_regs): Check that the target insn wasn't created…

resource.c (mark_target_live_regs): Check that the target insn wasn't created after compute_bb_for_insn.

        * resource.c (mark_target_live_regs): Check that the target
        insn wasn't created after compute_bb_for_insn.

From-SVN: r30212
parent 64699709
Wed Oct 27 00:56:59 1999 Richard Henderson <rth@cygnus.com>
* resource.c (mark_target_live_regs): Check that the target
insn wasn't created after compute_bb_for_insn.
Tue Oct 26 23:15:03 1999 Mark Mitchell <mark@codesourcery.com>
* ggc-page.c (poison_pages): Don't be overzealous.
......
......@@ -831,7 +831,8 @@ mark_target_live_regs (insns, target, res)
b = tinfo->block;
}
if (b == -1)
if (b == -1
&& INSN_UID (target) < (int) VARRAY_SIZE (basic_block_for_insn))
b = BLOCK_NUM (target);
if (target_hash_table != NULL)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment