Question on function-at-a-time and GC
Richard Kenner
kenner@vlsi1.ultra.nyu.edu
Fri Apr 16 19:36:00 GMT 2004
The only tricky bit is when the nested subprogram refers to the
enclosing subprogram's variables.
Yes, but that's the only really interesting case. And the far more
common one.
However, add me to the set of people who think we should drop the
nested-functions extension from the C front end.
It wouldn't buy much because many other languages support it, so we
still need to deal with them. If they hadn't been in GCC, doing the
initial GNAT work would have been a much larger job, since they would
have to have been added.
More information about the Gcc
mailing list