[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-gcc-list] Re: [avr-libc-dev] Constant address to program memory in
[avr-gcc-list] Re: [avr-libc-dev] Constant address to program memory in C
Thu, 22 Nov 2007 23:33:26 +0100
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 your mail, I didn't even notice GCC allows jumps
to numerically specified addresses at all. I don't think there are
too many people using this feature.
> Considering the above argument, do you think it's a bug that should
> be fixed? I think perhaps it should, and if you agree I'll submit a
> bug to GCC.
Yes, please do. If it's not reported, nobody is ever going to fix it.
cheers, J"org .-.-. --... ...-- -.. . DL8DTL
http://www.sax.de/~joerg/ NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)