cfghooks.c (verify_flow_info): Disable check that all probabilities are set correctly.
authorJan Hubicka <hubicka@ucw.cz>
Fri, 13 Oct 2017 20:04:00 +0000 (22:04 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Fri, 13 Oct 2017 20:04:00 +0000 (20:04 +0000)
* cfghooks.c (verify_flow_info): Disable check that all probabilities
are set correctly.

From-SVN: r253741

gcc/ChangeLog
gcc/cfghooks.c

index 56383ef72f0b4a0466247b24e5ca4b2945443e9c..5134120e7f10fe2b63fd7a310b3590c0dbec3035 100644 (file)
@@ -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.
index c15c58c728e3878eeef5cdb42066acd83539d6a4..258a5eabf8dd08af4d00782efbb1416040a4a047 100644 (file)
@@ -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);