From 5675a2f8c8faf5abdab5af02c4bdd54482e10ded Mon Sep 17 00:00:00 2001 From: Jan Hubicka Date: Fri, 13 Oct 2017 22:04:00 +0200 Subject: [PATCH] cfghooks.c (verify_flow_info): Disable check that all probabilities are set correctly. * cfghooks.c (verify_flow_info): Disable check that all probabilities are set correctly. From-SVN: r253741 --- gcc/ChangeLog | 5 +++++ gcc/cfghooks.c | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 56383ef..5134120 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2017-10-13 Jan Hubicka + + * cfghooks.c (verify_flow_info): Disable check that all probabilities + are set correctly. + 2017-10-13 Jeff Law * tree-ssa-reassoc.c (reassociate_bb): Clarify code slighly. diff --git a/gcc/cfghooks.c b/gcc/cfghooks.c index c15c58c..258a5ea 100644 --- a/gcc/cfghooks.c +++ b/gcc/cfghooks.c @@ -161,8 +161,10 @@ verify_flow_info (void) e->src->index, e->dest->index); err = 1; } + /* FIXME: Graphite and SLJL and target code still tends to produce + edges with no probablity. */ if (profile_status_for_fn (cfun) >= PROFILE_GUESSED - && !e->probability.initialized_p ()) + && !e->probability.initialized_p () && 0) { error ("Uninitialized probability of edge %i->%i", e->src->index, e->dest->index); -- 2.7.4