From: Pat Haugen Date: Fri, 15 Apr 2011 20:54:18 +0000 (+0000) Subject: rs6000.c (call_ABI_of_interest): Call cgraph_get_node instead of cgraph_get_create_node. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=eb229cf45a207f2c75bbab37ecbe7caa4f23b853;p=gcc.git rs6000.c (call_ABI_of_interest): Call cgraph_get_node instead of cgraph_get_create_node. * config/rs6000/rs6000.c (call_ABI_of_interest): Call cgraph_get_node instead of cgraph_get_create_node. From-SVN: r172520 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3fe31ee4224..80ee78d4150 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2011-04-15 Pat Haugen + + * config/rs6000/rs6000.c (call_ABI_of_interest): Call + cgraph_get_node instead of cgraph_get_create_node. + 2011-04-15 Jakub Jelinek * cfgexpand.c (expand_debug_expr): Use diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index 1234cf6e212..8182bf0b70d 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -7976,7 +7976,7 @@ call_ABI_of_interest (tree fndecl) return true; /* Interesting functions that we are emitting in this object file. */ - c_node = cgraph_get_create_node (fndecl); + c_node = cgraph_get_node (fndecl); return !cgraph_only_called_directly_p (c_node); } return false;