[PATCH][Middle-end]Add a new option to finer control inlining based on function's visibility

Alexander Monakov amonakov@ispras.ru
Wed Sep 12 16:10:00 GMT 2018


On Wed, 12 Sep 2018, Richard Biener wrote:
> With LTO "static" is too blurry - would -finline-only-hidden be OK
> with you?

This doesn't sound right - in non-pic, everything is hidden, effectively.
And the intended use is with Linux kernel, which does not use -fpic.

I agree with LTO this option makes less sense, but I wouldn't expect LTO
to be used for livepatching-capable kernels.

Alexander



More information about the Gcc-patches mailing list