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

amonakov at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jan 23 21:35:00 GMT 2017


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

--- Comment #8 from Alexander Monakov <amonakov at gcc dot gnu.org> ---
Well, if my argument is correct, then GCC generates wrong code for the very
first example in comment #0. If that is deliberate as a compromise even though
otherwise GCC suppresses optimizations to honor possible ELF interposition, I
think this ought to be documented?  To my knowledge, that is the sole instance
where optimization doesn't fully honor ELF interposition possibility.


More information about the Gcc-bugs mailing list