diff options
author | Richard Henderson <rth@redhat.com> | 2003-03-30 12:46:57 -0800 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2003-03-30 12:46:57 -0800 |
commit | e1233a7dc0b2ab2e7d9cb5f0138a9de8f65125e5 (patch) | |
tree | 1f8da9ec73c4ebabe1b0846460e0317b29ff02a4 /gcc/jump.c | |
parent | 9b703090abb0b72c28ddfe1804d93bc6af5ec6a0 (diff) | |
download | gcc-e1233a7dc0b2ab2e7d9cb5f0138a9de8f65125e5.zip gcc-e1233a7dc0b2ab2e7d9cb5f0138a9de8f65125e5.tar.gz gcc-e1233a7dc0b2ab2e7d9cb5f0138a9de8f65125e5.tar.bz2 |
cfgbuild.c (make_edges): Use tablejump_p.
* cfgbuild.c (make_edges): Use tablejump_p.
* cfgcleanup.c (label_is_jump_target_p): Likewise.
* cfglayout.c (cfg_layout_can_duplicate_bb_p): Likewise.
* cfgrtl.c (flow_delete_block_noexpunge): Likewise.
(try_redirect_by_replacing_jump): Likewise.
(redirect_edge_and_branch): Likewise.
* cse.c (fold_rtx): Likewise.
* jump.c (delete_related_insns): Likewise.
* rtlanal.c (get_jump_table_offset): Likewise.
* ssa-ccp.c (ssa_ccp_df_delete_unreachable_insns): Likewise.
From-SVN: r65054
Diffstat (limited to 'gcc/jump.c')
-rw-r--r-- | gcc/jump.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -1757,10 +1757,7 @@ delete_related_insns (insn) next = NEXT_INSN (next); return next; } - else if ((lab_next = next_nonnote_insn (lab)) != NULL - && GET_CODE (lab_next) == JUMP_INSN - && (GET_CODE (PATTERN (lab_next)) == ADDR_VEC - || GET_CODE (PATTERN (lab_next)) == ADDR_DIFF_VEC)) + else if (tablejump_p (insn, NULL, &lab_next)) { /* If we're deleting the tablejump, delete the dispatch table. We may not be able to kill the label immediately preceding |