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/31886] (different from bug report c/31077 and 29241) C handling of always_inline attribute error and a solution



------- Comment #9 from zhouyi04 at ios dot cn  2007-08-06 08:40 -------
(In reply to comment #8)
I try to compile my giving C program using gcc-4.2.1, the problem still exists.
As my solution 1 suggests:
a caller function is inlinable only if all of its callee functions are 
inlinable. while this is not the case in original tree-optimize.c (including
that in CVS), which says a caller function should be inlined if one of its
function is inlinable. 


-- 


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


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