Nested functions
John Yates
jyates@netezza.com
Thu Dec 29 15:33:00 GMT 2005
Wednesday, December 28, 2005 7:51 AM mgerards@xs4all.nl wrote:
> The second problem is caused because some OS'es have no executable
> stack. Redhat even removes the nested functions from our code so it
> builds for them. But of course it would be better for all of our
> users if it just works.
Is it not the case that building the trampoline on the stack is
simply an efficiency issue, akin to alloca versus malloc? Surely,
at least in C++ with support for calling destructors, trampolines
could be build on the heap.
/john
More information about the Gcc-help
mailing list