Re: [PATCH] LTO: merge -flto=foo both from IL and linker cmdline

2021-05-17 Thread Richard Biener via Gcc-patches
On Thu, May 13, 2021 at 1:49 PM Martin Liška wrote: > > Hello. > > In g:3835aa0eb90292d652dd6b200f302f3cac7e643f, I changed logic that the output > -flto=foo argument is taken from IL file command lines. However, it should be > also > merged with linker command line. One can use -flto for compila

[PATCH] LTO: merge -flto=foo both from IL and linker cmdline

2021-05-13 Thread Martin Liška
Hello. In g:3835aa0eb90292d652dd6b200f302f3cac7e643f, I changed logic that the output -flto=foo argument is taken from IL file command lines. However, it should be also merged with linker command line. One can use -flto for compilation and -flto=16 for linking. Ready after it finishes tests? T