these
bugs!
--
Summary: AVR inline assembly clobbers input value
Product: gcc
Version: 4.2.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: inline-asm
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: Rudolf dot Leitgeb at gmx dot at
GCC build triplet: i686-unknown-linux
GCC host triplet: i686-unknown-linux
GCC target triplet: avr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37895
nu dot org
ReportedBy: Rudolf dot Leitgeb at gmx dot at
GCC build triplet: powerpc-apple-darwin8.11.0
GCC host triplet: powerpc-apple-darwin8.11.0
GCC target triplet: avr-unknown-none
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35128
--- Comment #5 from Rudolf dot Leitgeb at gmx dot at 2008-02-11 17:48
---
Subject: Re: illegal opcode movw for mcu avr3
Please note, that this bug is also apparent in the production
version of gcc 4.2.3. This is the specific reason why I posted
a supposed copy of the original bug
--- Comment #6 from Rudolf dot Leitgeb at gmx dot at 2008-02-11 19:25
---
I just tried the suggested patch against binutils 2.18, gcc 4.2.3 still does
not compile. Also, the suggested patch does not apply cleanly against 2.18,
although this only affects a .texi file which is not needed
--- Comment #21 from Rudolf dot Leitgeb at gmx dot at 2008-02-12 18:27
---
This bug has come to surface again ... again I have to use --disable-libssp
when compiling gcc for the avr target, this time with gcc 4.2.3. Is ssp
essential for avr that it keeps creeping in ?
BTW: I use a
--- Comment #24 from Rudolf dot Leitgeb at gmx dot at 2008-02-13 08:45
---
Dear Eric,
thanks for the patch, I already knew that one from here:
http://winavr.cvs.sourceforge.net/winavr/patches/gcc/4.2.2/21-gcc-4.2.2-disable-libssp.patch?view=markup
I just wanted to point out that I
--- Comment #5 from Rudolf dot Leitgeb at gmx dot at 2010-02-18 13:28
---
Right away: I am NOT an expert in compiler or optimizer design, so please bear
with me.
I understand, that (((unsigned char)1) << ((unsigned char)something)) may need
more than 8 bits for representation an