Re: [PR 68851] Do not collect thunks in callect_callers

2015-12-14 Thread Jan Hubicka
> Hi, > > in PR 68851, IPA-CP decides to clone for all known contexts, even when > it is not local because the code is not supposed to grow anyway. The > code doing that uses collect_callers method of cgraph_edge to find all > the edges which are to be redirected in such case. However, there is

[PR 68851] Do not collect thunks in callect_callers

2015-12-14 Thread Martin Jambor
Hi, in PR 68851, IPA-CP decides to clone for all known contexts, even when it is not local because the code is not supposed to grow anyway. The code doing that uses collect_callers method of cgraph_edge to find all the edges which are to be redirected in such case. However, there is also an edge