diff options
author | Richard Henderson <rth@redhat.com> | 2002-05-21 15:35:04 -0700 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2002-05-21 15:35:04 -0700 |
commit | 380e6adea2e15fdb2d68305ec3b44c176d27a1d2 (patch) | |
tree | ec65e0cb44d39ce18076c5d711b54aaa19358ddb | |
parent | 1f95326c132230ef3abfb64e16f19bdf20cbdd0b (diff) | |
download | gcc-380e6adea2e15fdb2d68305ec3b44c176d27a1d2.zip gcc-380e6adea2e15fdb2d68305ec3b44c176d27a1d2.tar.gz gcc-380e6adea2e15fdb2d68305ec3b44c176d27a1d2.tar.bz2 |
* flow.c (life_analysis): Fix test for deleted label.
From-SVN: r53705
-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 (); } |