This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/52241] Performance degradation of 447.dealII on corei7 at spec2006_base32.


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52241

--- Comment #5 from Vladimir Yakovlev <vbyakovl23 at gmail dot com> 2012-02-16 09:05:49 UTC ---
(In reply to comment #2)
> I don't understand what you mean by "inlining", since '_Rb_tree_node_base' is a
> *type* not a function.

This is a constructor

> Anyway, I don't see how Benjamin's split could have caused inlining issues.

I don't know also but compare inline dumps with and witout -fPIC -DPIC
(attached).

I used command line from log of compiler build

/export/users/vbyakovl/workspaces/581/build-bad/./gcc/xgcc -shared-libgcc
-B/export/users/vbyakovl/workspaces/581/build-bad/./gcc -nostdinc++
-L/export/users/vbyakovl/workspaces/581/build-bad/x86_64-unknown-linux-gnu/libstdc++-v3/src
-L/export/users/vbyakovl/workspaces/581/build-bad/x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs
-B/export/users/vbyakovl/workspaces/581/install-bad/x86_64-unknown-linux-gnu/bin/
-B/export/users/vbyakovl/workspaces/581/install-bad/x86_64-unknown-linux-gnu/lib/
-isystem
/export/users/vbyakovl/workspaces/581/install-bad/x86_64-unknown-linux-gnu/include
-isystem
/export/users/vbyakovl/workspaces/581/install-bad/x86_64-unknown-linux-gnu/sys-include
-I/export/users/vbyakovl/workspaces/581/gcc/libstdc++-v3/../libgcc
-I/export/users/vbyakovl/workspaces/581/build-bad/x86_64-unknown-linux-gnu/libstdc++-v3/include/x86_64-unknown-linux-gnu
-I/export/users/vbyakovl/workspaces/581/build-bad/x86_64-unknown-linux-gnu/libstdc++-v3/include
-I/export/users/vbyakovl/workspaces/581/gcc/libstdc++-v3/libsupc++
-fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual
-fdiagnostics-show-location=once -Wabi -ffunction-sections -fdata-sections
-frandom-seed=tree.lo -g -O2 -D_GNU_SOURCE -c
../../../../../gcc/libstdc++-v3/src/c++98/tree.cc  -fPIC -DPIC -o tree.o
-fdump-ipa-inlin


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]