site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com User-agent: Mutt/1.4.1i
I've been bitten by this problem in the past as well, especially in functions that look a lot like the examples you've given (where an outer if wraps several complex code blocks). The worst of it is that in this example:
void foo(int flag) { if (flag) { largeStackUsingFunction(); } else { char buf[1000]; /* ... other code which does not call functions ... */ } }
What happens if you use alloca in the `else' in cases like this? Ariel Burton _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com
participants (1)
-
Ariel Burton