From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21170 invoked by alias); 5 Oct 2012 11:59:09 -0000 Received: (qmail 21121 invoked by uid 55); 5 Oct 2012 11:58:52 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [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 Date: Fri, 05 Oct 2012 11:59:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.6.4 X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 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: 2012-10/txt/msg00409.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33763 --- Comment #37 from Jakub Jelinek 2012-10-05 11:58:49 UTC --- Author: jakub Date: Fri Oct 5 11:58:46 2012 New Revision: 192121 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=192121 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: branches/gcc-4_7-branch/gcc/testsuite/c-c++-common/pr33763.c Modified: branches/gcc-4_7-branch/gcc/ChangeLog branches/gcc-4_7-branch/gcc/testsuite/ChangeLog branches/gcc-4_7-branch/gcc/tree-inline.c