https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56727

--- Comment #11 from Florian Weimer <fw at gcc dot gnu.org> ---
(In reply to Jakub Jelinek from comment #10)

> Don't we also inline any beneficial inline functions at -O3 even if they
> could be interposed (definitely not suggesting we stop doing that, that
> would totally kill compiler performance)?  I'd say we shouldn't care about
> the semantic interposition for self-recursion either, just make sure we
> don't crash on such code.

At least we should make things consistent and use direct calls for all local
locals which could potentially be subject to inlining.  Otherwise,
interposition could break with apparently unrelated code changes.

Reply via email to