http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30354
Bernhard Reutner-Fischer <aldot at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |missed-optimization Last reconfirmed|2009-06-30 13:36:11 |2012-06-29 Host|i386-pc-linux-gnu | Build|i386-pc-linux-gnu | --- Comment #15 from Bernhard Reutner-Fischer <aldot at gcc dot gnu.org> 2012-06-28 23:28:28 UTC --- Honza, did you find time to have a look? I think this regressed alot in 4.6 $ for i in 3.4 4.2 4.4 4.5 4.6 4.7 4.8;do gcc-$i -fomit-frame-pointer -m32 -Os -o t-$i.o -c t.c;done $ size t-*.o text data bss dec hex filename 254731 0 0 254731 3e30b t-3.4.o 257731 0 0 257731 3eec3 t-4.2.o 242787 0 0 242787 3b463 t-4.4.o 242787 0 0 242787 3b463 t-4.5.o 542811 0 0 542811 8485b t-4.6.o 542811 0 0 542811 8485b t-4.7.o 542811 0 0 542811 8485b t-4.8.o where: gcc version 3.4.6 (Debian 3.4.6-10) gcc version 4.2.4 (Debian 4.2.4-6) gcc version 4.4.7 (Debian 4.4.7-1) gcc version 4.5.3 (Debian 4.5.3-12) gcc version 4.6.3 (Debian 4.6.3-1) gcc version 4.7.1 (Debian 4.7.1-2) 4.8 was pristine (just unrelated fixups) gcc version 4.8.0 20120514 (experimental) [fixups revision 19d3eef:c8f5cfb:cbf2756acd7df8cfb441025e4512b97b6ef2fd10] (GCC)