cgraph callees availability

Paulo J. Matos pocmatos@gmail.com
Fri Jul 1 09:10:00 GMT 2011



On 01/07/11 09:38, Paulo J. Matos wrote:

> In GCC4.4 function test presents 2 callees foo() and bar() and the
> sibcall is not done. In GCC4.5 the sibcall is done (but shouldn't)
> because callees in cgraph is 0x0. I wonder if this information is not
> available anymore at this point and if there's something I can do about it.
>

After some digging around I noticed GCC4.5 introduces:
NEXT_PASS (pass_remove_cgraph_callee_edges);

I am wondering why this is being done. Are we just freeing resources or 
is there any other reason? Is there any other way to find callees 
without this information?

Cheers,

-- 
PMatos



More information about the Gcc mailing list