Commit 380e6ade by Richard Henderson Committed by Richard Henderson

* flow.c (life_analysis): Fix test for deleted label.

From-SVN: r53705
parent 1f95326c
2002-05-21 Richard Henderson <rth@redhat.com>
* flow.c (life_analysis): Fix test for deleted label.
2002-05-21 Neil Booth <neil@daikokuya.demon.co.uk>
* doc/tm.texi: Fix typo.
......
......@@ -493,12 +493,12 @@ life_analysis (f, file, flags)
for (insn = get_insns (); insn; insn = NEXT_INSN (insn))
{
rtx inote = find_reg_note (insn, REG_LABEL, NULL_RTX);
if (inote && GET_CODE (inote) == NOTE_INSN_DELETED_LABEL)
if (inote && GET_CODE (XEXP (inote, 0)) != CODE_LABEL)
abort ();
}
}
#endif
/* Removing dead insns should've made jumptables really dead. */
delete_dead_jumptables ();
}
......
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