http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52241
--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-02-16 10:57:19 UTC --- Note that if more inlining in tree.cc even in -fPIC code helps more than just a single benchmark, we could consider compiling that file with -O3, or use some attributes/pragmas to ensure it is inlined. So perhaps start with compiling tree.cc with -O3 instead of -O2 (in both cases with -fPIC -DPIC) and see if it helps and how much.