[Bug optimization/11680] member access of C++ class with all methods inline should be optimized better
dberlin at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sun Jul 27 05:33:00 GMT 2003
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11680
------- Additional Comments From dberlin at gcc dot gnu dot org 2003-07-27 05:33 -------
Try the tree-ssa branch, which should and does help quite a lot for these types of problems
My numbers:
mainline:
[dberlin@dberlin dberlin]$ time ./a.out slow
real 0m3.777s
user 0m3.770s
sys 0m0.010s
[dberlin@dberlin dberlin]$ time ./a.out fast
real 0m1.065s
user 0m1.070s
sys 0m0.000s
tree-ssa:
[dberlin@dberlin dberlin]$ time ./a.out slow
real 0m1.356s
user 0m1.360s
sys 0m0.000s
[dberlin@dberlin dberlin]$ time ./a.out fast
real 0m1.120s
user 0m1.110s
sys 0m0.010s
More information about the Gcc-bugs
mailing list