From 6aad1e387ffc71cc2027f0d22fc21e2eb86e040f Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Thu, 23 Jun 2011 11:51:01 +0930 Subject: [PATCH] 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 --- gcc/ChangeLog | 6 ++++++ gcc/config/rs6000/rs6000.c | 1 + 2 files changed, 7 insertions(+) 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; -- 2.30.2