avr-libc-dev
[Top][All Lists]
Advanced

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

RE: [avr-libc-dev] [bug #22878] eeprom_*_word/dword/block causehanginATm


From: Weddington, Eric
Subject: RE: [avr-libc-dev] [bug #22878] eeprom_*_word/dword/block causehanginATmega256x
Date: Wed, 9 Apr 2008 13:45:41 -0600

 

> -----Original Message-----
> From: Stu Bell [mailto:address@hidden 
> Sent: Wednesday, April 09, 2008 1:39 PM
> To: Weddington, Eric; Dmitry K.; address@hidden
> Subject: RE: [avr-libc-dev] [bug #22878] 
> eeprom_*_word/dword/block causehanginATmega256x
> 
> I'm not sure I should respond to this, as I'm not sure what the asm
> directive ".rept 30000" does.  If I'm way off base, just email me
> directly and I'll shut up.
> 
> The compiled code does show that, for an avr6, the function 
> pointer code
> is wrong (okay, not completely right).
> 

Well I was responding to Dmitry's claims which he put in a comment at
the top of the source code:

/* avr-gcc 4.4-20080404 + binutils 2.18 produce incorrect code: the
foo4()
   function stores 0 value to 'vp' variable.
   Options: -W -Wall -Os -mmcu=atmega2560
 */

The code generated by 4.3.0 + Andy's combine patch shows that the foo4()
function does NOT store 0 value to 'vp' variable. At least that's my
interpretation. As to the validity of what it is storing, I don't know
about that.

Eric




reply via email to

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