This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/52241] New: Performance degradation of 447.dealII on corei7 at spec2006_base32.
- From: "vbyakovl23 at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 14 Feb 2012 08:09:45 +0000
- Subject: [Bug c++/52241] New: Performance degradation of 447.dealII on corei7 at spec2006_base32.
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52241
Bug #: 52241
Summary: Performance degradation of 447.dealII on corei7 at
spec2006_base32.
Classification: Unclassified
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: vbyakovl23@gmail.com
Guilty commit
c1e8b3edf7b5038f070c7a9732e58d066081a636 is the first bad commit
commit c1e8b3edf7b5038f070c7a9732e58d066081a636
Author: bkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Mon Jan 23 23:12:01 2012 +0000
caused 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.