Commit 19f71cd7 by Richard Henderson Committed by Richard Henderson

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

From-SVN: r53746
parent d5bcfcce
2002-05-22 Richard Henderson <rth@redhat.com> 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. * fixinc/inclhack.def (thread_keyword): Allow as any prototype arg.
* fixinc/fixincl.x, fixinc/tests/base/pthread.h: Rebuild. * fixinc/fixincl.x, fixinc/tests/base/pthread.h: Rebuild.
......
...@@ -485,20 +485,6 @@ life_analysis (f, file, flags) ...@@ -485,20 +485,6 @@ life_analysis (f, file, flags)
free_basic_block_vars (1); 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. */ /* Removing dead insns should've made jumptables really dead. */
delete_dead_jumptables (); delete_dead_jumptables ();
} }
...@@ -1556,11 +1542,7 @@ propagate_block_delete_insn (insn) ...@@ -1556,11 +1542,7 @@ propagate_block_delete_insn (insn)
INSN may reference a deleted label, particularly when a jump INSN may reference a deleted label, particularly when a jump
table has been optimized into a direct jump. There's no table has been optimized into a direct jump. There's no
real good way to fix up the reference to the deleted label real good way to fix up the reference to the deleted label
when the label is deleted, so we just allow it here. 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. */
if (inote && GET_CODE (inote) == CODE_LABEL) if (inote && GET_CODE (inote) == CODE_LABEL)
{ {
......
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