Re: [PR 89693] Reorganize cgraph_node::clone_of_p

2019-04-12 Thread Jan Hubicka
Dne 2019-04-11 17:14, Martin Jambor napsal: Hi, this reorganization of cgraph_node:clone_of_p() prevents verifier falsely ICEing because it cannot recognize that a former thunk (expanded even before reaching pass pipeline) was cloned by IPA-CP. It basically traverses the clone_of chain at eac

[PR 89693] Reorganize cgraph_node::clone_of_p

2019-04-11 Thread Martin Jambor
Hi, this reorganization of cgraph_node:clone_of_p() prevents verifier falsely ICEing because it cannot recognize that a former thunk (expanded even before reaching pass pipeline) was cloned by IPA-CP. It basically traverses the clone_of chain at each step of thunk chain traversal, rather than jus