--- Comment #8 from lothar at tradescape dot biz 2008-07-17 18:09 ---
If you have questions about the internal implementation of the boost avl tree
you can contact Ion GaztaƱaga igaztanaga at gmail dot com. He is aware of this
problem already.
--
http://gcc.gnu.org/bugzilla/show_bug
--- Comment #7 from rguenth at gcc dot gnu dot org 2008-07-17 18:01 ---
pointer_plus_2_bits will confuse points-to alias analysis galore. Of course
this doesn't explain the difference to -O0.
Still, -O1 is fast, -O1 -fstrict-aliasing is _very_ slow.
--
rguenth at gcc dot gnu dot or
--- Comment #6 from lothar at tradescape dot biz 2008-07-17 17:52 ---
in reply to #4:
-fno-tree-vectorize does not help
$ /opt2/linux/ix86/bin/g++-4.3.1 -m64 -O3 -fno-tree-vectorize -g -save-temps
-I/opt2/linux/x86_64/include/boost-1_35 -DUSE_OPTIMIZATION=0 -o ./avltest-no
./avltest.cpp
--- Comment #5 from lothar at tradescape dot biz 2008-07-17 17:50 ---
Created an attachment (id=15924)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15924&action=view)
the preprocessed file for case that is slower
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36861
--- Comment #4 from pinskia at gcc dot gnu dot org 2008-07-17 17:47 ---
Does -O3 -fno-tree-vectorize cause the speed back to normal?
Not everyone has boost installed :).
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
--