gcc 4.1 code size
Giovanni Bajo
giovannibajo@libero.it
Wed Dec 7 01:01:00 GMT 2005
Andreas Killaitis <andreas@killaitis.net> wrote:
> I was now astonished
> that my tests with gcc 4.1 showed that the library size has been
> grown by about 10%.
> The used compile options are:
>
> [...]
> -O3
Don't expect GCC to optimize code size at -O3. -O3 means -O2 *and* inline as
much as it makes sense to do, so it's really not a good option if you're
interested in code size.
Giovanni Bajo
More information about the Gcc
mailing list