From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29242 invoked by alias); 13 Feb 2012 10:01:16 -0000 Received: (qmail 29226 invoked by uid 22791); 13 Feb 2012 10:01:15 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,TW_VB X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 13 Feb 2012 10:01:02 +0000 From: "vbyakovl23 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/49829] [4.7 Regression] --disable-static --enable-shared regression: cannot find -lstdc++ Date: Mon, 13 Feb 2012 10:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vbyakovl23 at gmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: bkoz at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.7.0 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-02/txt/msg01253.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49829 --- Comment #26 from Vladimir Yakovlev 2012-02-13 09:59:31 UTC --- We have performance degradation of 447.dealII benchspec 2006.It was happened because there are no inlining a library routine '_Rb_tree_node_base' from libstdc++-v3/src/tree.cc const _Rb_tree_node_base* _Rb_tree_increment(const _Rb_tree_node_base* __x) throw () { return Rb_tree_increment(const_cast<_Rb_tree_node_base*>(_x)); } I found out that the degradation is caused by absence of -fPIC flag in compilation command line. If I add the flag to command line the inlining is happened.