Re: [PATCHv5] Make "skip" work on inline frames

Simon Marchi
2019-12-03T04:22:22Z

On 2019-12-02 11:47 a.m., Bernd Edlinger wrote:
> I only tested that with gcc-4.8, and both test cases worked with that gcc version.
>
> I tried now with gcc-trunk version from a few days ago, and I think I see
> what you mean.
>
> skip2.c (now skip-inline.c) can be fixed by removing the assignment
> to x in the first line, which is superfluous (and copied from skip.c).
> But skip.c cannot be fixed this way. I only see a chance to allow
> the stepping back to main and then to foo happen.
>
> Does this modified test case work for you?

Yes, I confirm it passes now, thanks!

Simon