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

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

Re: [avr-libc-dev] LPM instructions in optimized code causes unintended


From: Wouter van Gulik
Subject: Re: [avr-libc-dev] LPM instructions in optimized code causes unintended behavior in execution
Date: Wed, 16 Jun 2010 22:47:10 +0200

----- Oorspronkelijk bericht -----
> As Wouter van Gulik wrote:
> 
> > Although true, I rather think this is a GCC bug. The avr instruction
> > documentation says LPM R31, Z+ has undefined results. In the example
> > it was oke to use LPM R31, Z.
> 
> IMHO, the respective code is hand-crafted asm code in avr-libc.

Are you sure? The code is about a jump table, is that in avr-libc?

Wouter


reply via email to

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