[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] Optimizer appears broken in WinAVR-20080411

From: Raymond Hurst
Subject: Re: [avr-gcc-list] Optimizer appears broken in WinAVR-20080411
Date: Sun, 20 Apr 2008 12:26:37 -0700
User-agent: Thunderbird (Windows/20080213)

Wouter van Gulik wrote:

-----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:
For me the size went back to usable again.



-fno-inline-small-functions did the trick.
Looks like the optimizer is a little better.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]