aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcse.c
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2000-05-25 23:38:49 +0200
committerRichard Henderson <rth@gcc.gnu.org>2000-05-25 14:38:49 -0700
commit7f1c097d36682769f1f3f8fd72c7845d545104ed (patch)
treed95b18f4384b97d8d27889e062c1e3644fa14f68 /gcc/gcse.c
parentacad7ed35f094e0456334422554ef2558851367c (diff)
downloadgcc-7f1c097d36682769f1f3f8fd72c7845d545104ed.zip
gcc-7f1c097d36682769f1f3f8fd72c7845d545104ed.tar.gz
gcc-7f1c097d36682769f1f3f8fd72c7845d545104ed.tar.bz2
combine.c (try_combine): Use any_condjump_p...
* combine.c (try_combine): Use any_condjump_p, any_uncondjump_p and pc_set at the place of simplejump_p and condjump_p. * cse.c (record_jump_equiv): Likewise. * emit-rtl.c (emit): Likewise. * explow.c (find_next_ref): Likewise. * flow.c (tidy_fallthru_edge): Likewise. (init_propagate_block_info): Likewise. * gcse.c (delete_null_pointer_checks): Likewise. * ifcvt.c (cond_exec_get_condition, noce_get_condition, dead_or_predicable): Likewise. * integrate.c (copy_insn_list): Likewise. * loop.c (scan_loop, verify_dominator, find_and_verify_loops, for_each_insn_in_loop, check_dbra_loop, get_condition, insert_bct, load_mems): Likewise. * resource.c (find_dead_or_set_registers): Likewise. * sibcalls.c (simplejump_p): Likewise. * unroll.c (copy_loop_body, reg_dead_after_loop): Likewise. From-SVN: r34175
Diffstat (limited to 'gcc/gcse.c')
-rw-r--r--gcc/gcse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/gcse.c b/gcc/gcse.c
index 78b9d59..4665133 100644
--- a/gcc/gcse.c
+++ b/gcc/gcse.c
@@ -5101,8 +5101,8 @@ delete_null_pointer_checks (f)
/* We only want conditional branches. */
if (GET_CODE (last_insn) != JUMP_INSN
- || !condjump_p (last_insn)
- || simplejump_p (last_insn))
+ || !any_condjump_p (last_insn)
+ || !onlyjump_p (last_insn))
continue;
/* LAST_INSN is a conditional jump. Get its condition. */