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

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

Re: [avr-gcc-list] Improving in leaps and skips!


From: Marek Michalkiewicz
Subject: Re: [avr-gcc-list] Improving in leaps and skips!
Date: Sun, 13 Mar 2005 20:55:29 +0100
User-agent: Mutt/1.5.6+20040907i

On Sun, Mar 13, 2005 at 06:56:30PM +0100, Rolf Ebert wrote:

> My statement above is still true.  Nested functions per se do work with  
> current gcc and the Ada front end.  It does not work to take addresses of  
> nested functions, though.  Obviously the generation of trampolines is  
> deferred to the actual use of nested function pointers.

Trampolines can't work on the AVR because it is not possible to execute
code from writable memory.  Well, flash is writable with SPM if you are
really desperate... but it is slow and erase/write cycles are limited.
So the best we can do is to document the limitation and live with it.

Marek





reply via email to

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