Re: [PR 82027] Also stream opt_info of former_clones

2017-12-21 Thread Jeff Law
On 12/21/2017 02:50 PM, Martin Jambor wrote: > Hi, > > the problem in PR 82027 is a general one with thunks that are created > for IPA-CP clones. At WPA time, IPA-CP creates a clone that is called > through a thunk. An "artificial thunk" is created in > duplicate_thunk_for_node() in cgraphclones

[PR 82027] Also stream opt_info of former_clones

2017-12-21 Thread Martin Jambor
Hi, the problem in PR 82027 is a general one with thunks that are created for IPA-CP clones. At WPA time, IPA-CP creates a clone that is called through a thunk. An "artificial thunk" is created in duplicate_thunk_for_node() in cgraphclones.c. This function also removes now unnecessary arguments