Re: [PATCH] LTO: merge -flto=arg from object files.

2021-04-26 Thread Jeff Law via Gcc-patches
On 4/21/2021 2:14 AM, Martin Liška wrote: Hey. It's quite common case that a build system does not a -flto=foo option as part of linker command. We should merge -flto options from the corresponding object files. Patch can bootstrap on x86_64-linux-gnu and survives regression tests. Ready to

[PATCH] LTO: merge -flto=arg from object files.

2021-04-21 Thread Martin Liška
Hey. It's quite common case that a build system does not a -flto=foo option as part of linker command. We should merge -flto options from the corresponding object files. Patch can bootstrap on x86_64-linux-gnu and survives regression tests. Ready to be installed? Thanks, Martin gcc/ChangeLog: