avr-gcc-list
[Top][All Lists]
Advanced

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

Re: [avr-gcc-list] [discussion] lpm support in avr-gcc


From: Joerg Wunsch
Subject: Re: [avr-gcc-list] [discussion] lpm support in avr-gcc
Date: Tue, 27 Aug 2002 18:45:56 +0200 (MET DST)

Harald Kipp <address@hidden> wrote:

> I don't know much about the compiler's internal structure,
> but I guess, that both suggestions
> 
>    1. Automatic recognition of PMEM pointers in assingments
>    2. Using P modifier for string literals
> 
> would require substantial changes, while the current way,
> using the special attribute progmem, changes the runtime
> lib only.

Using __attribute__ is IMHO fine.  But it would be ideal if
this could automatically make gcc emit lpm instructions
when accessing these variables.

-- 
J"org Wunsch                                           Unix support engineer
address@hidden        http://www.interface-systems.de/~j/
avr-gcc-list at http://avr1.org



reply via email to

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