On Wed, Sep 12, 2007 at 12:54:16PM +0200, Zdenek Pavlas wrote: > Even if you really need a trampoline, you don't need a fancy compiler for > that. It's easy to implement (at least on i386) using the existing support > for attribute(regparm). Real closures in C- way more fun than gcc's nested > functions, which are quite limited and (rightfully, IMO) seldom used.
Except that what your example program does is not a real closure. You *do* need compiler support for them. -- Antti-Juhani Kaijanaho, Jyväskylä http://antti-juhani.kaijanaho.fi/newblog/ http://www.flickr.com/photos/antti-juhani/ _______________________________________________ Tinycc-devel mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/tinycc-devel
