This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]