Re: [PATCH] ipa-sra: Prevent constructing debug info from wrong argument

2020-07-02 Thread Richard Biener via Gcc-patches
On Wed, Jul 1, 2020 at 11:59 PM Martin Jambor wrote: > > Hi, > > the mechanism generating debug info for removed parameters did not > adjust index of the argument in the call statement to take into > account extra arguments IPA-SRA might have produced when splitting a > strucutre. This patch

[PATCH] ipa-sra: Prevent constructing debug info from wrong argument

2020-07-01 Thread Martin Jambor
Hi, the mechanism generating debug info for removed parameters did not adjust index of the argument in the call statement to take into account extra arguments IPA-SRA might have produced when splitting a strucutre. This patch addresses that omission and stops gdb from showing incorrect value for