http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49383
--- Comment #3 from Jan Hubicka <hubicka at ucw dot cz> 2011-06-18 09:00:22 UTC
---
Hi,
the problem is in cgraph_only_called_directl_p call within
call_abi_of_interest.
Getting the one can probably fix the problem by:
Index: rs6000.c
===================================================================
--- rs6000.c (revision 175166)
+++ rs6000.c (working copy)
@@ -7419,7 +7419,7 @@ call_ABI_of_interest (tree fndecl)
/* Interesting functions that we are emitting in this object file. */
c_node = cgraph_get_node (fndecl);
- return !cgraph_only_called_directly_p (c_node);
+ return !cgraph_only_called_directly_p (cgraph_function_or_thunk_node
(c_node, NULL));
}
return false;
}
however I can't make sense of the logic here. Doesn't it want to use
c_node->local && c_node->can_change_signature
like other ABI change issues? It makes it possible to use modified ABI cross
ltrans partitions.
Honza