[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] avr-gcc bug: global register variable is broken
From: |
E. Weddington |
Subject: |
Re: [avr-gcc-list] avr-gcc bug: global register variable is broken |
Date: |
Thu, 02 Dec 2004 08:10:23 -0700 |
On 1 Dec 2004 at 15:48, Klaus Rudolph wrote:
> Hi all,
>
> it is impossible to define a global register variable in avr-gcc.
> The register is used by the compiler on some places and it is really not
> preserved.
>
>
<snip>
> Any idea for a workaround? I need some register vars for interrupt handler
> :-(
>
> Is there allready a patch available or is this maybe fixed in current CVS
> head of release 4.0 in gcc sources?
>
AFAIK, there's nothing new in the avr port itself in this area.
If this is a bug, then *please* submit a GCC bug report on this. That way it
can be verified (by
other GCC developers), tracked, and other GCC developers can be aware of this
issue.
Thanks!
Eric