[avr-gcc-list] Re: [avr-libc-dev] Constant address to program memory in C

2007-11-22 Thread Shaun Jackman
On Nov 22, 2007 1:44 PM, Joerg Wunsch <[EMAIL PROTECTED]> wrote: > As Shaun Jackman wrote: > > > The assembler has a pm(a) operator for this very reason. It would be > > useful for avr-libc to have a similar macro. > > This rather smells like a compiler bug to me, than something where > library sup

[avr-gcc-list] Re: [avr-libc-dev] Constant address to program memory in C

2007-11-22 Thread Joerg Wunsch
As Shaun Jackman wrote: > > This rather smells like a compiler bug to me, than something where > > library support would be a real help. [...] > I agree. Unfortunately, there's a bunch of code out there now that > assumes goto *x needs to be fixed up with a goto *(x/2). Are you sure? Until you