https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107950

--- Comment #8 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to Jan Hubicka from comment #7)
> Thanks for looking into the incremental link of libbackend. I had it in my
> tree for a while but never got around implementing correct way to enable it
> only during bootstrap since host compiler may not support it. It would be
> nice to have it in since it should reduce WPA memory use and also test this
> code path.

Feel free to grab my initial patch in c#0 and upstream it. I tried that some
time ago in the following email thread:
https://gcc.gnu.org/pipermail/gcc/2021-May/236096.html

> 
> I also think it is the case where partial linking makes the symbol to be
> pulled into LTO binary at the initial link time.  It should be optimized
> away if linker was not complaining.

Optimize away during the partial linking? So you think it's a GCC issue when it
comes to partial linking?

Reply via email to