> On Sep 26, 2018, at 9:45 AM, Jeff Law <l...@redhat.com> wrote: > > On 9/26/18 7:38 AM, Jason Merrill wrote: >> On Wed, Sep 26, 2018 at 9:24 AM, Richard Biener <rguent...@suse.de> wrote: >>> IIRC he explicitely wanted 'static' not 'hidden' linkage. Not sure >>> what 'internal' would mean in this context. >> >> I mean internal linkage as in the C and C++ standards. > Since this is primarily for kernel hot patching, I think we're looking > to restrict inlining to functions that have visibility limited to a > compilation unit.
Yes. that’s the intention. -finline-only-static will ONLY inline functions that are visible within the current compilation unit. Qing > > Qing, can you confirm that either way? > > Jeff