This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/46228] code produced for STL container is worse in 4.5.1 than in 4.4.5
- From: "zeev.tarantov at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 30 Oct 2010 20:06:08 +0000
- Subject: [Bug tree-optimization/46228] code produced for STL container is worse in 4.5.1 than in 4.4.5
- Auto-submitted: auto-generated
- References: <bug-46228-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46228
--- Comment #9 from Zeev Tarantov <zeev.tarantov at gmail dot com> 2010-10-30 20:05:57 UTC ---
Using -fwhole-program I got sane code. But almost all programs that are not
trivial cannot be compiled with -fwhole-program without LTO. At least on 4.5
branch LTO is not quite stable.
"- we need to improve heuristics to figure out that inlining is smaller than
call sequence (if it really is)"
This would be great.