diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6298db47122..e0557159d62 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -3,6 +3,9 @@ * tree-ssa-dom.c (record_equivalences_from_phis): Remove an "if" whose condition is always true. + * cfgrtl.c (rtl_verify_flow_info_1): Use JUMP_P instead of + INSN_P. + 2004-12-02 Stan Shebs * config/rs6000/rs6000.c (rs6000_override_options): Make 64-bit diff --git a/gcc/cfgrtl.c b/gcc/cfgrtl.c index ec92966fb87..90bd95f845c 100644 --- a/gcc/cfgrtl.c +++ b/gcc/cfgrtl.c @@ -1973,7 +1973,7 @@ rtl_verify_flow_info_1 (void) rtx note; edge_iterator ei; - if (INSN_P (BB_END (bb)) + if (JUMP_P (BB_END (bb)) && (note = find_reg_note (BB_END (bb), REG_BR_PROB, NULL_RTX)) && EDGE_COUNT (bb->succs) >= 2 && any_condjump_p (BB_END (bb)))