[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] RE: possible bug in avr-gcc 4.3.2?

From: Joerg Wunsch
Subject: Re: [avr-gcc-list] RE: possible bug in avr-gcc 4.3.2?
Date: Sat, 23 May 2009 20:57:20 +0200 (MET DST)

Zoran Rilak <address@hidden> wrote:

> is it possible that the compiler does automatic replacement of
> dow[0] with dow0, which is as intended, while dow[k] gets
> dereferenced as a pointer to data memory?

Exactly that.  You have to apply pgm_read_word() in both cases.

cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]