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 #16 from Yury Gribov <ygribov at gcc dot gnu.org> ---
Author: ygribov
Date: Fri Jul 21 19:48:51 2017
New Revision: 250442

URL: https://gcc.gnu.org/viewcvs?rev=250442&root=gcc&view=rev
Log:
2017-07-21  Yury Gribov  <tetra2005@gmail.com>

        PR middle-end/56727
        * ipa-visibility (function_and_variable_visibility): Convert
        recursive PLT call to direct call if appropriate.

        * gcc.dg/pr56727-1.c: New test.
        * gcc.dg/pr56727-2.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/pr56727-1.c
    trunk/gcc/testsuite/gcc.dg/pr56727-2.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/ipa-visibility.c
    trunk/gcc/testsuite/ChangeLog

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