|
From: | Wouter van Gulik |
Subject: | Re: [avr-libc-dev] LPM instructions in optimized code causes unintended behavior in execution |
Date: | Thu, 17 Jun 2010 21:17:56 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100423 Thunderbird/3.0.4 |
On 17/06/10 10:15, Thomas Carsten Franke wrote:
Am 17.06.2010 09:38, schrieb Wouter van Gulik:Wouter van Gulik schreef:Joerg Wunsch schreef:As Wouter van Gulik wrote: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?Errm, you are right...We should probably file a bug report at binutils as well. gas is excepting an 'illegal' instruction. This could mean gcc/gas also happily generates the undefined LD files?Just right now I added a problem report to gcc 4.3.3 version describing the problem.
Just for the record the gcc bug id is:44564 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44564 I think this is a nasty bug, but it is hard to recreate the problem. I did a quick scan of GCC but I can't find a reference to a lpm r?, Z+ other than those to __temp_reg__.
HTH, Wouter
[Prev in Thread] | Current Thread | [Next in Thread] |