|
From: | Bernard Fouché |
Subject: | Re: [avr-gcc-list] AVR-GCC 4.3.2 producing larger output than AVR-GCC 4.1.2 with the same source and options (-Os) |
Date: | Fri, 09 Jan 2009 12:36:05 +0100 |
User-agent: | Thunderbird 2.0.0.19 (Windows/20081209) |
Hi. Did you try with: -finline-limit=10 -fno-if-conversion -mcall-prologuesI ran into similar problems with code size and these options made the code fit in a bootloader area (however my bootloader is much bigger thant 512 bytes)
I've also seen that EEPROM related function calls were inlined each time, so I wrote a couple of wrapper functions to avoid this inlining.
Bernard DLC wrote:
I've noticed that too. My Arduino bootloader fits into the 512 byte boot section when compiled with avr-gcc 3.4, but doesn't when compiled with avr-gcc 4.3.You've found an even closer gap with the jump between 4.1 and 4.3. DLC
[Prev in Thread] | Current Thread | [Next in Thread] |