This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/47470] Less-optimized Code Size when using Optimizations
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 26 Jan 2011 13:37:58 +0000
- Subject: [Bug c/47470] Less-optimized Code Size when using Optimizations
- Auto-submitted: auto-generated
- References: <bug-47470-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47470
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
--- Comment #8 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-01-26 13:37:50 UTC ---
You can also try -fno-thread-jumps, but really we don't care about 3.x
anymore and for example 4.5.1 creates reasonable code for me on i?86-linux.
> gcc-4.5 -c t.c -m32 -Os
> size t.o
text data bss dec hex filename
50 0 0 50 32 t.o
> gcc-3.3 -c t.c -m32 -Os
> size t.o
text data bss dec hex filename
70 0 0 70 46 t.o
> gcc-3.3 -c t.c -m32
> size t.o
text data bss dec hex filename
73 0 0 73 49 t.o
Thus closing as fixed.