https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96752
Martin Liška <marxin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Ever confirmed|0 |1 Last reconfirmed| |2020-08-24 --- Comment #3 from Martin Liška <marxin at gcc dot gnu.org> --- > I was very curious to explore Link-Time-Optimization in a GCC and I though > it can improve my project. I found that during linking I also need to > provide the same option which I have used during compiling. That's not needed. LTO streams options per-function basis and similarly for GCC's --param options. It's commonly used technique to mix various options during build of a project (like Firefox).