]> gcc.gnu.org Git - gcc.git/commitdiff
* cgraph.c (verify_cgraph_node): Don't allocate/free visited_nodes set.
authorSteven Bosscher <steven@gcc.gnu.org>
Thu, 27 Dec 2012 00:10:14 +0000 (00:10 +0000)
committerSteven Bosscher <steven@gcc.gnu.org>
Thu, 27 Dec 2012 00:10:14 +0000 (00:10 +0000)
From-SVN: r194726

gcc/ChangeLog
gcc/cgraph.c

index 1c43d8a1bb65aceaebae12a8817772f68f523f9e..651ba4835b6d302d9dd06a839068df9dfb92ab5a 100644 (file)
@@ -1,3 +1,7 @@
+2012-12-27  Steven Bosscher  <steven@gcc.gnu.org>
+
+       * cgraph.c (verify_cgraph_node): Don't allocate/free visited_nodes set.
+
 2012-12-25  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
 
        PR target/53789
index 3af545671e1cb564aa8b11c59ddb807f0ecdfbae..444b4f0e957c2df78cae4ba1fb45e911a06b3d4f 100644 (file)
@@ -2498,9 +2498,6 @@ verify_cgraph_node (struct cgraph_node *node)
     {
       if (this_cfun->cfg)
        {
-         /* The nodes we're interested in are never shared, so walk
-            the tree ignoring duplicates.  */
-         struct pointer_set_t *visited_nodes = pointer_set_create ();
          /* Reach the trees by walking over the CFG, and note the
             enclosing basic-blocks in the call edges.  */
          FOR_EACH_BB_FN (this_block, this_cfun)
@@ -2550,7 +2547,6 @@ verify_cgraph_node (struct cgraph_node *node)
                      }
                  }
              }
-         pointer_set_destroy (visited_nodes);
        }
       else
        /* No CFG available?!  */
This page took 0.093488 seconds and 5 git commands to generate.