http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49383
Alan Modra <amodra at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |amodra at gmail dot com --- Comment #4 from Alan Modra <amodra at gmail dot com> 2011-06-19 23:18:08 UTC --- Honza, the code here is called during expansion of functions. If called at the start of a function body, the function is attempting to answer the question: Can this function be called from anywhere external to this object file? If called for the expansion of a call then the question is: Can this function call go to a function external to this object file? Then, once those questions are answered, further code checks whether function arguments and return value might be affected by the ABI in force. We aren't at all interested in local functions, so I don't think c_node->local and c_node->can_change_signature are relevant. At least, I don't see that they give any more information than cgraph_only_called_directly_p relevant to the questions call_ABI_of_interest is trying to answer.