[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] Old bug - ordering of 16 bit assignments
From: |
Joerg Wunsch |
Subject: |
Re: [avr-gcc-list] Old bug - ordering of 16 bit assignments |
Date: |
Sun, 27 Feb 2005 13:27:14 +0100 (MET) |
Brian Dean <address@hidden> wrote:
> I'm not sure when this bug re-appeared, but when one makes an
> assignment of a value through a 16 bit pointer, avr-gcc is assigning
> the low byte, then high byte.
I think it has never been fixed.
I used to keep it in the FreeBSD port as patch-16bitassign, but
eventually removed it there when upgrading the port to GCC 3.4.0 (the
file is still in the Attic of CVS). I don't feel very comfortable
with a private fix for this. It should somehow be brought into GCC's
code. As the previous fix was already Marek's fix, he's probably the
one to pester to integrate that patch.
(Patch appended for reference.)
--
cheers, J"org .-.-. --... ...-- -.. . DL8DTL
http://www.sax.de/~joerg/ NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)
patch-16bitassign.diff
Description: Text document
- [avr-gcc-list] Old bug - ordering of 16 bit assignments, Brian Dean, 2005/02/26
- [avr-gcc-list] Re: Old bug - ordering of 16 bit assignments, Brian Dean, 2005/02/26
- Re: [avr-gcc-list] Old bug - ordering of 16 bit assignments,
Joerg Wunsch <=
- Re: [avr-gcc-list] Old bug - ordering of 16 bit assignments, Andy Hutchinson, 2005/02/27
- Re: [avr-gcc-list] Old bug - ordering of 16 bit assignments, Bob Paddock, 2005/02/28
- Re: [avr-gcc-list] Old bug - ordering of 16 bit assignments, E. Weddington, 2005/02/28
- Re: [avr-gcc-list] Old bug - ordering of 16 bit assignments, David Gay, 2005/02/28
- Re: [avr-gcc-list] Old bug - ordering of 16 bit assignments, E. Weddington, 2005/02/28
- Re: [avr-gcc-list] Old bug - ordering of 16 bit assignments, Brian Dean, 2005/02/28