diff options
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/flow.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4199d2c..3bd9d20 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +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 (); } |