[Bug rtl-optimization/81625] GCC v4.7 ... v8 is bloating code by > 25% compared to v3.4
fredrik.hederstierna@securitas-direct.com
gcc-bugzilla@gcc.gnu.org
Tue Aug 1 21:59:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81625
Fredrik Hederstierna <fredrik.hederstierna@securitas-direct.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |fredrik.hederstierna@securi
| |tas-direct.com
--- Comment #3 from Fredrik Hederstierna <fredrik.hederstierna@securitas-direct.com> ---
Checked size of text segment on arm-none-eabi from 4.6 to 7.1 but no major
difference seen, though some increase in later releases.
I previously saw code growt especially on ARM thumb1 code, but seems to be on
track again with newer releases, at least when running CsiBE benchmark.
gcc-4.6.4 1868 bytes (0)
gcc-4.7.4 1844 bytes (-1.3%)
gcc-4.8.5 1832 bytes (-1.9%)
gcc-4.9.3 1824 bytes (-2.4%)
gcc-5.3.0 1832 bytes (-1.9%)
gcc-6.3.0 1856 bytes (-0.6%)
gcc-7.1.0 1856 bytes (-0.6%)
gcc-8-master 1872 bytes (+0.2%)
arm-none-eabi-gcc -c -Os -std=gnu89 -mcpu=cortex-m3 -mthumb snake.c
See my CSibe benchmark data at http://gcc.hederstierna.com/csibe/
currently only for ARM but my plan was to add more targets after time, but
project halted due now to no time unfortunately.
More information about the Gcc-bugs
mailing list