Re: GCC stack size
Re: GCC stack size
- Subject: Re: GCC stack size
- From: Ariel Burton <email@hidden>
- Date: Wed, 4 Mar 2009 10:07:08 -0500
>
> 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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden