]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/dominance.c
c++: Handle multiple aggregate overloads [PR95319].
[thirdparty/gcc.git] / gcc / dominance.c
index 20671983f986ede78f893d35e446b0e573c9550a..0d7655c4c4e4d17faccfb5d5ad3b47857a27c46a 100644 (file)
@@ -1,5 +1,5 @@
 /* Calculate (post)dominators in slightly super-linear time.
-   Copyright (C) 2000-2018 Free Software Foundation, Inc.
+   Copyright (C) 2000-2020 Free Software Foundation, Inc.
    Contributed by Michael Matz (matz@ifh.de).
 
    This file is part of GCC.
@@ -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