------- Comment #1 from pinskia at gcc dot gnu dot org 2009-10-07 19:00 ------- I don't think they are a misfeature at all. Ada for an example actually requires nested functions even with the reasons we mention in the manual, that is trampolines and such. Fortran also has nested functions.
Now non local gotos are in my thoughts a more misfeature than nested functions. Also some ABIs don't require a trampoline at all. The PowerOpen/AIX/PowerPC64 Linux ABI does not require a trampoline and creates a function descriptor with the needed chain pointer. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41624