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.