mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-09 03:00:27 +08:00
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
This commit is contained in:
parent
646997096c
commit
0b8d60fa5d
@ -1,3 +1,8 @@
|
||||
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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user