This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/31886] (different from bug report c/31077 and 29241) C handling of always_inline attribute error and a solution
- From: "zhouyi04 at ios dot cn" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Aug 2007 08:40:50 -0000
- Subject: [Bug c/31886] (different from bug report c/31077 and 29241) C handling of always_inline attribute error and a solution
- References: <bug-31886-14209@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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