Question on function-at-a-time and GC

Zack Weinberg zack@codesourcery.com
Fri Apr 16 22:17:00 GMT 2004


Laurent GUERBY <laurent@guerby.net> writes:

> On Mon, 2004-04-12 at 23:00, Zack Weinberg wrote:
>> The only tricky bit is when the nested subprogram refers to the
>> enclosing subprogram's variables.
>
> Which is 99% of the use cases for languages supporting them (otherwise
> there's no reason to use nested subprogram at all).
>
> Also taking adress of such nested program and being able to call
> them is a nice capability to have that could make such
> transformation even harder.

Well, the transformation is already implemented, in a language-
independent fashion, on the tree-ssa branch; look at tree-nested.c.

zw



More information about the Gcc mailing list