[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-libc-dev] [HEAD/1.0] Commit: fix for bug #9669
From: |
E. Weddington |
Subject: |
Re: [avr-libc-dev] [HEAD/1.0] Commit: fix for bug #9669 |
Date: |
Wed, 21 Jul 2004 16:06:04 -0600 |
On 22 Jul 2004 at 0:00, Joerg Wunsch wrote:
> I just fixed the FAQ entry explaining the use of ROM tables.
>
> Since people (including the originator of the entry :) occasionally
> stumble across it, I also mentioned the special case where the index
> into a ROM table is compile-time constant, so the compiler would
> optimize the access, thereby hiding the bug that the pointer should be
> extracted from ROM using memcpy_P(). (Usually, people use that fixed
> index case as a proof-of-concept test, and then later crash when
> trying to make it based on a variable.)
Thanks for doing this!
Eric