[Bug c/31886] (different from bug report c/31077 and 29241) C handling of always_inline attribute error and a solution
zhouyi04 at ios dot cn
gcc-bugzilla@gcc.gnu.org
Mon Aug 6 08:41:00 GMT 2007
------- 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
More information about the Gcc-bugs
mailing list