aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJan Hubicka <hubicka@ucw.cz>2017-10-13 22:04:00 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2017-10-13 20:04:00 +0000
commit5675a2f8c8faf5abdab5af02c4bdd54482e10ded (patch)
treeb3f7598e72ebb12e14b5e070a86bbcb4bbf51352 /gcc
parenta1c47ade7761bc745630a916b957164630721150 (diff)
downloadgcc-5675a2f8c8faf5abdab5af02c4bdd54482e10ded.zip
gcc-5675a2f8c8faf5abdab5af02c4bdd54482e10ded.tar.gz
gcc-5675a2f8c8faf5abdab5af02c4bdd54482e10ded.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/cfghooks.c4
2 files changed, 8 insertions, 1 deletions
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 <hubicka@ucw.cz>
+
+ * cfghooks.c (verify_flow_info): Disable check that all probabilities
+ are set correctly.
+
2017-10-13 Jeff Law <law@redhat.com>
* 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);