* flow.c (life_analysis): Delete broken reg_label check.

From-SVN: r53746
This commit is contained in:
Richard Henderson 2002-05-22 13:30:31 -07:00 committed by Richard Henderson
parent d5bcfcce1d
commit 19f71cd70f
2 changed files with 5 additions and 19 deletions

View File

@ -1,3 +1,7 @@
2002-05-22 Richard Henderson <rth@redhat.com>
* flow.c (life_analysis): Delete broken reg_label check.
2002-05-22 Richard Henderson <rth@redhat.com>
* fixinc/inclhack.def (thread_keyword): Allow as any prototype arg.

View File

@ -485,20 +485,6 @@ life_analysis (f, file, flags)
free_basic_block_vars (1);
#ifdef ENABLE_CHECKING
{
rtx insn;
/* Search for any REG_LABEL notes which reference deleted labels. */
for (insn = get_insns (); insn; insn = NEXT_INSN (insn))
{
rtx inote = find_reg_note (insn, REG_LABEL, NULL_RTX);
if (inote && GET_CODE (XEXP (inote, 0)) != CODE_LABEL)
abort ();
}
}
#endif
/* Removing dead insns should've made jumptables really dead. */
delete_dead_jumptables ();
}
@ -1556,11 +1542,7 @@ propagate_block_delete_insn (insn)
INSN may reference a deleted label, particularly when a jump
table has been optimized into a direct jump. There's no
real good way to fix up the reference to the deleted label
when the label is deleted, so we just allow it here.
After dead code elimination is complete, we do search for
any REG_LABEL notes which reference deleted labels as a
sanity check. */
when the label is deleted, so we just allow it here. */
if (inote && GET_CODE (inote) == CODE_LABEL)
{