This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/31849] [4.3 Regression] Code size regression caused by fix to PR 31360
- From: "alexandre dot nunes at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Feb 2008 00:32:34 -0000
- Subject: [Bug tree-optimization/31849] [4.3 Regression] Code size regression caused by fix to PR 31360
- References: <bug-31849-374@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #33 from alexandre dot nunes at gmail dot com 2008-02-12 00:32 -------
I compiled gcc 4.3 for arm-unknown-elf (today's trunk, not sure about the rev).
Compiling three in three firmware images gave me size regressions with -Os;
with -O2, gcc 4.3 produces smaller code than 4.2.3:
# Increased about 3.1%
#nam gcc v fl code size
img1 4.2.3 -Os 4786
img1 4.3.- -Os 4936
# Increased about 1.3%
img2 4.2.3 -Os 3372
img2 4.3.- -Os 3416
# Decreased (!) about 3,3%
img3 4.2.3 -O2 13892
img3 4.3.- -O2 13436
# Increased about 4,4%
img3 4.2.3 -Os 12348
img3 4.3.0 -Os 12892
--
alexandre dot nunes at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |alexandre dot nunes at gmail
| |dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31849