------- Additional Comments From dberlin at dberlin dot org 2004-10-18 14:06 ------- Subject: Re: [4.0 Regression] 15% increase in codesize with C code
On Oct 18, 2004, at 9:55 AM, giovannibajo at libero dot it wrote: > > ------- Additional Comments From giovannibajo at libero dot it > 2004-10-18 13:55 ------- > Yes, also on x86, we save approx 2k: > > 21213 4.0.0 -Os > 19158 4.0.0 -Os -fno-tree-pre > 18466 4.0.0 -Os -fno-tree-pre -fno-ivopts > 20172 4.0.0 -Os -fno-ivopts > 17971 3.4.1 -Os > > Daniel? Tree PRE (but not FRE) should probably be disabled at -Os, since it will replicate code for speed reasons. I'm happy to accept a patch to do this, it should be a simple setting of flag_tree_pre to 0 when -Os is turned on. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17549