[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
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Oct 5 11:44:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33763
--- Comment #36 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-10-05 11:43:43 UTC ---
Author: jakub
Date: Fri Oct 5 11:43:38 2012
New Revision: 192119
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=192119
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:
trunk/gcc/testsuite/c-c++-common/pr33763.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-inline.c
More information about the Gcc-bugs
mailing list