[Bug middle-end/56727] Recursive call goes through the PLT unnecessarily

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Feb 9 15:54:00 GMT 2017


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

--- Comment #13 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
(In reply to Yuri Gribov from comment #12)
> Inlining inline functions is fine due to ODR rule.

ODR doesn't apply just to inline functions.  So all semantic interposition,
except for the case when both functions do the very same thing, is ODR
violation.
But many programs and libraries rely on it heavily.


More information about the Gcc-bugs mailing list