Re: [PR 91831] Copy PARM_DECLs of artificial thunks

2019-09-24 Thread Richard Biener
On Mon, Sep 23, 2019 at 6:59 PM Martin Jambor wrote: > > Hi, > > I am quite surprised I did not catch this before but the new > ipa-param-manipulation does not copy PARM_DECLs when creating artificial > thinks (I think it originally did but then I somehow removed during one > cleanups). Fixed bel

[PR 91831] Copy PARM_DECLs of artificial thunks

2019-09-23 Thread Martin Jambor
Hi, I am quite surprised I did not catch this before but the new ipa-param-manipulation does not copy PARM_DECLs when creating artificial thinks (I think it originally did but then I somehow removed during one cleanups). Fixed below by adding the capability at the natural place. It is triggered w