Re: [PATCH] lto-wrapper: fix memory corruption.

2021-11-10 Thread Martin Liška
On 11/10/21 12:31, Richard Biener wrote: Is this also latent on branches? No, I made the refactoring early in this stage 1 in r12-741-g227a2ecf663d69972b851f51f1934d18927b62cd Martin

Re: [PATCH] lto-wrapper: fix memory corruption.

2021-11-10 Thread Richard Biener via Gcc-patches
On Wed, Nov 10, 2021 at 11:47 AM Martin Liška wrote: > > Patch can bootstrap on x86_64-linux-gnu and survives regression tests. > > Ready to be installed? OK. Is this also latent on branches? > The first argument of merge_and_complain is actually vector where > we merge options and it should b

[PATCH] lto-wrapper: fix memory corruption.

2021-11-10 Thread Martin Liška
Patch can bootstrap on x86_64-linux-gnu and survives regression tests. Ready to be installed? The first argument of merge_and_complain is actually vector where we merge options and it should be propagated to caller properly. Fixes: ==6656== Invalid read of size 8 ==6656==at 0x408056: merge