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 c/33763] [4.6/4.7/4.8 Regression] Bogus inlining failed in call to `xxx': redefined extern inline functions are not considered for inlining


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33763

--- Comment #37 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-10-05 11:58:49 UTC ---
Author: jakub
Date: Fri Oct  5 11:58:46 2012
New Revision: 192121

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=192121
Log:
    PR tree-optimization/33763
    * tree-inline.c (expand_call_inline): Silently ignore always_inline
    attribute for redefined extern inline functions.

    * c-c++-common/pr33763.c: New test.

Added:
    branches/gcc-4_7-branch/gcc/testsuite/c-c++-common/pr33763.c
Modified:
    branches/gcc-4_7-branch/gcc/ChangeLog
    branches/gcc-4_7-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_7-branch/gcc/tree-inline.c


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