Boostrapped on x86_64-unknown-linux-gnu, applied.

Richard.

2018-05-29  Richard Biener  <rguent...@suse.de>

        * dominance.c (iterate_fix_dominators): Push/pop TV_DOMINANCE.

diff --git a/gcc/dominance.c b/gcc/dominance.c
index 20671983f98..5ba765c82be 100644
--- a/gcc/dominance.c
+++ b/gcc/dominance.c
@@ -1475,6 +1475,8 @@ iterate_fix_dominators (enum cdi_direction dir, 
vec<basic_block> bbs,
       return;
     }
 
+  timevar_push (TV_DOMINANCE);
+
   /* Construct the graph G.  */
   hash_map<basic_block, int> map (251);
   FOR_EACH_VEC_ELT (bbs, i, bb)
@@ -1537,6 +1539,8 @@ iterate_fix_dominators (enum cdi_direction dir, 
vec<basic_block> bbs,
   free (parent);
 
   free_graph (g);
+
+  timevar_pop (TV_DOMINANCE);
 }
 
 void

Reply via email to