From: Alan Modra Date: Thu, 23 Jun 2011 02:21:01 +0000 (+0930) Subject: re PR bootstrap/49383 (powerpc64-linux bootstrap failure due to ice in cgraph_only_ca... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6aad1e387ffc71cc2027f0d22fc21e2eb86e040f;p=gcc.git re PR bootstrap/49383 (powerpc64-linux bootstrap failure due to ice in cgraph_only_called_directly_p) PR bootstrap/49383 * config/rs6000/rs6000.c (call_ABI_of_interest): Adjust cgraph invocation for 2011-06-09 changes. From-SVN: r175328 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d4ee63b825d..059d7163907 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2011-06-23 Alan Modra + + PR bootstrap/49383 + * config/rs6000/rs6000.c (call_ABI_of_interest): Adjust cgraph + invocation for 2011-06-09 changes. + 2011-06-22 Jakub Jelinek PR libgomp/49490 diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index cea1650ac61..b21cb7f37a9 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -7430,6 +7430,7 @@ call_ABI_of_interest (tree fndecl) /* Interesting functions that we are emitting in this object file. */ c_node = cgraph_get_node (fndecl); + c_node = cgraph_function_or_thunk_node (c_node, NULL); return !cgraph_only_called_directly_p (c_node); } return false;