-----Oorspronkelijk bericht-----
Van: address@hidden [mailto:avr-gcc-
address@hidden Namens Ray Hurst
Verzonden: zondag 20 april 2008 2:07
Aan: address@hidden
Onderwerp: [avr-gcc-list] Optimizer appears broken in WinAVR-20080411
I recompiled a recent project with the latest WinAVR and was surprised
that the code uncreased by almosy\t 400 bytes. Upon investigation as to
why I releaized the compile was in-lining my functions instead of
calling them.
Project attached
Any reason for this?
The optimizer is inlining to strong like you said. I don't know why. I have
experienced the same problem. My bootloader size almost doubled because of
this :(.
For some quick solution I use the tips found here:
http://lists.gnu.org/archive/html/avr-gcc-list/2008-04/msg00081.html
For me the size went back to usable again.
HTH,
Wouter