This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/49829] [4.7 Regression] --disable-static --enable-shared regression: cannot find -lstdc++
- From: "vbyakovl23 at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 13 Feb 2012 09:59:31 +0000
- Subject: [Bug bootstrap/49829] [4.7 Regression] --disable-static --enable-shared regression: cannot find -lstdc++
- Auto-submitted: auto-generated
- References: <bug-49829-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49829
--- Comment #26 from Vladimir Yakovlev <vbyakovl23 at gmail dot com> 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.