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: Joerg Wunsch
Subject: Re: [avr-libc-dev] LPM instructions in optimized code causes unintended behavior in execution
Date: Wed, 16 Jun 2010 22:37:02 +0200
User-agent: Mutt/1.5.20 (2009-06-14)

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.

Please file a bug report.

-- 
cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



reply via email to

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