From 62ecfeb8b90fa19e17dd1115fce791961b0f7a2e Mon Sep 17 00:00:00 2001 From: Martin Jambor Date: Fri, 11 Mar 2011 14:27:26 +0100 Subject: [PATCH] cgraphunit.c (verify_cgraph_node): Call cgraph_get_node instead of cgraph_node. 2011-03-11 Martin Jambor * cgraphunit.c (verify_cgraph_node): Call cgraph_get_node instead of cgraph_node. From-SVN: r170870 --- gcc/ChangeLog | 5 +++++ gcc/cgraphunit.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9630d36614d..988e19e8298 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2011-03-11 Martin Jambor + + * cgraphunit.c (verify_cgraph_node): Call cgraph_get_node instead of + cgraph_node. + 2011-03-11 Jakub Jelinek PR tree-optimization/48063 diff --git a/gcc/cgraphunit.c b/gcc/cgraphunit.c index 049d1b9f7b6..e6a0ea65b26 100644 --- a/gcc/cgraphunit.c +++ b/gcc/cgraphunit.c @@ -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; -- 2.30.2