From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21794 invoked by alias); 6 Aug 2007 08:41:03 -0000 Received: (qmail 20587 invoked by uid 48); 6 Aug 2007 08:40:50 -0000 Date: Mon, 06 Aug 2007 08:41:00 -0000 Message-ID: <20070806084050.20584.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c/31886] (different from bug report c/31077 and 29241) C handling of always_inline attribute error and a solution In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "zhouyi04 at ios dot cn" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2007-08/txt/msg00332.txt.bz2 ------- 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