[Bug tree-optimization/33761] non-optimal inlining heuristics pessimizes gzip SPEC score at -O3

ubizjak at gmail dot com gcc-bugzilla@gcc.gnu.org
Wed Feb 6 18:43:00 GMT 2008



------- Comment #20 from ubizjak at gmail dot com  2008-02-06 18:42 -------
Whoa, adding -fomit-frame-pointer brings us from

(gcc -O3 -m32)
user    0m41.031s

to

(gcc -O3 -m32 -fomit-frame-pointer)
user    0m30.006s

Since -fo-f-p adds another free reg, it looks that since inlining increases
register pressure some unlucky heavy-used variable gets allocated to the stack
slot.


-- 


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



More information about the Gcc-bugs mailing list