Re: [PR 83990] Fix location handling in ipa_modify_call_arguments

2018-02-12 Thread Jakub Jelinek
On Mon, Feb 12, 2018 at 06:35:47PM +0100, Martin Jambor wrote: > Hi, > > the callee-side arguments manipulation method used by IPA-SRA has two > issues with how it deals with locations. First, it gets the location > from expressions in an unreliable way rather than the statements it sees > and th

[PR 83990] Fix location handling in ipa_modify_call_arguments

2018-02-12 Thread Martin Jambor
Hi, the callee-side arguments manipulation method used by IPA-SRA has two issues with how it deals with locations. First, it gets the location from expressions in an unreliable way rather than the statements it sees and then it forgets to set a location of one gimple assign it creates. Both is fi