avr-gcc-list
[Top][All Lists]
Advanced

[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. ;-)

Attachment: patch-16bitassign.diff
Description: Text document


reply via email to

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