This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/61578] [4.9 regression] Code size increase for ARM thumb compared to 4.8.x when compiling with -Os
- From: "fredrik dot hederstierna at securitas-direct dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 18 Aug 2015 14:29:30 +0000
- Subject: [Bug target/61578] [4.9 regression] Code size increase for ARM thumb compared to 4.8.x when compiling with -Os
- Auto-submitted: auto-generated
- References: <bug-61578-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61578
--- Comment #17 from Fredrik Hederstierna <fredrik.hederstierna@securitas-direct.com> ---
Created attachment 36201
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36201&action=edit
Simple example giving +50% code size increase compared gcc-4.8.5 and gcc-5.2.0
Simple example giving +50% code size increase compared gcc-4.8.5 and gcc-5.2.0.
We still cannot use GCC 4.9, GCC 5.1 and GCC 5.2 due to code size increase.
The GCC 4.8.x produces the smallest binaries for us, and we still haven't
figured out exactly why.
Attached is an attempt to create a test case where GCC 4.9 and after creates
bad code. Please check it out.
With GCC-5.2.0 we got 55% code size increase compared to GCC-4.8.5.
In parallel I work with the CSiBE benchmark and I hope I can contribute with
some more metrics soon.
Thanks and Best Regards/Fredrik