avr-gcc-list
[Top][All Lists]
Advanced

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

Re: [avr-gcc-list] Weird optimization issue with avr-gcc 4.5.3, re "nake


From: Johannes Bauer
Subject: Re: [avr-gcc-list] Weird optimization issue with avr-gcc 4.5.3, re "naked."
Date: Fri, 27 Jan 2012 14:57:00 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.23) Gecko/20110922 Thunderbird/3.1.15

On 27.01.2012 01:40, William "Chops" Westfield wrote:
> (reports are that 4.5.2 produced smaller code than 4.3.2)

Hmmm...

defiant joe [~/tmp]: avr-gcc -dumpversion
4.3.4
defiant joe [~/tmp]: avr-gcc  -ggdb -Os -c -mmcu=atmega328p
-mshort-calls foo.c
defiant joe [~/tmp]: avr-size foo.o
   text    data     bss     dec     hex filename
     54       0       0      54      36 foo.o
defiant joe [~/tmp]: avr-gcc  -ggdb -Os -c -mmcu=atmega328p
-mshort-calls -DNAKED foo.c
defiant joe [~/tmp]: avr-size foo.o
   text    data     bss     dec     hex filename
     52       0       0      52      34 foo.o

Best regards,
Joe



reply via email to

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