This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/52241] Performance degradation of 447.dealII on corei7 at spec2006_base32.
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 19 Feb 2012 19:24:05 +0000
- Subject: [Bug c++/52241] Performance degradation of 447.dealII on corei7 at spec2006_base32.
- Auto-submitted: auto-generated
- References: <bug-52241-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52241
--- Comment #17 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-02-19 19:24:05 UTC ---
libstdc++.so.6 obviously contained -fPIC code before and does now as well, and
people really should be using the shared library (almost) always.
See http://www.akkadia.org/drepper/no_static_linking.html for some details.
So, if you are doing SPEC testing with -static, it probably just doesn't test
what people normally use or should use.
Can you please test Paolo's patch, if the slowdown you see is inherent in the
PIC code, or if it is about the different inlining decision? Thanks.