summaryrefslogtreecommitdiff
path: root/gcc/cfgrtl.c
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2002-03-14 10:10:13 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2002-03-14 10:10:13 +0000
commitb65ae28bc94ea0976062738a56aafa7542943a3e (patch)
tree43fec42013e1f42932ed89af0a56c4423c96c03d /gcc/cfgrtl.c
parent89d762ad57ccb76b41604d029700859c40614461 (diff)
downloadgcc-b65ae28bc94ea0976062738a56aafa7542943a3e.tar.gz
* toplev.c (rest_of_compilation): Add CLEANUP_UPDATE_LIFE to cfg_cleanup
call after liveness analysis. * recog.c (split_insn): Use delete_insn_and_edges. * cfgrtl.c (verify_flow_info): Be permisive about non-any_condjump instructions to have branch prediction notes. * ia64reorg.c (ia64_reorg): Do not rebuild CFG. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50765 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cfgrtl.c')
-rw-r--r--gcc/cfgrtl.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/gcc/cfgrtl.c b/gcc/cfgrtl.c
index 6e929eb0dad..5bf33bc0795 100644
--- a/gcc/cfgrtl.c
+++ b/gcc/cfgrtl.c
@@ -1745,14 +1745,9 @@ verify_flow_info ()
rtx note;
if (INSN_P (bb->end)
- && (note = find_reg_note (bb->end, REG_BR_PROB, NULL_RTX)))
+ && (note = find_reg_note (bb->end, REG_BR_PROB, NULL_RTX))
+ && any_condjump_p (bb->end))
{
- if (!any_condjump_p (bb->end))
- {
- error ("verify_flow_info: REG_BR_PROB on non-condjump",
- bb->index);
- err = 1;
- }
if (INTVAL (XEXP (note, 0)) != BRANCH_EDGE (bb)->probability)
{
error ("verify_flow_info: REG_BR_PROB does not match cfg %i %i",