cgraphunit.c (verify_cgraph_node): Call cgraph_get_node instead of cgraph_node.
authorMartin Jambor <mjambor@suse.cz>
Fri, 11 Mar 2011 13:27:26 +0000 (14:27 +0100)
committerMartin Jambor <jamborm@gcc.gnu.org>
Fri, 11 Mar 2011 13:27:26 +0000 (14:27 +0100)
2011-03-11  Martin Jambor  <mjambor@suse.cz>

* cgraphunit.c (verify_cgraph_node): Call cgraph_get_node instead of
cgraph_node.

From-SVN: r170870

gcc/ChangeLog
gcc/cgraphunit.c

index 9630d36614de1ed98a5f4f87915aa63a5c4b6c7d..988e19e8298b3c36196ead313e3a3bd8bc23a1b0 100644 (file)
@@ -1,3 +1,8 @@
+2011-03-11  Martin Jambor  <mjambor@suse.cz>
+
+       * cgraphunit.c (verify_cgraph_node): Call cgraph_get_node instead of
+       cgraph_node.
+
 2011-03-11  Jakub Jelinek  <jakub@redhat.com>
 
        PR tree-optimization/48063
index 049d1b9f7b60e998cb670647f519fc5382a9f9cc..e6a0ea65b2634b6954a0ba301b5815370c365072 100644 (file)
@@ -551,7 +551,7 @@ verify_cgraph_node (struct cgraph_node *node)
       error_found = true;
     }
 
-  if (!cgraph_node (node->decl))
+  if (!cgraph_get_node (node->decl))
     {
       error ("node not found in cgraph_hash");
       error_found = true;