[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] Re: [avr-libc-dev] Constant address to programmemory
Re: [avr-gcc-list] Re: [avr-libc-dev] Constant address to programmemory in C
Fri, 23 Nov 2007 10:38:49 -0700
On Nov 23, 2007 10:21 AM, Weddington, Eric <address@hidden> wrote:
> > > This rather smells like a compiler bug to me, than something where
> > > library support would be a real help. If the compiler offers the
> > > feature to jump to an arbitrary address using "goto", then it's
> > > responsible to translate that code into whatever is necessary to
> > > accomplish the goal. The tools always and only count in byte
> > > addresses.
> > 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).
> There is already a GCC bug filed for the above problem.
Great! Do you know the bug number? I searched GCC's bugzilla for `Host
contains the string avr' and found `Zarro Boogs'. The search form
seems a little busted, or perhaps just unusable.