This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/56727] Recursive call goes through the PLT unnecessarily
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 09 Feb 2017 15:53:58 +0000
- Subject: [Bug middle-end/56727] Recursive call goes through the PLT unnecessarily
- Auto-submitted: auto-generated
- References: <bug-56727-4@http.gcc.gnu.org/bugzilla/>
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.