Inlining vs the stack

Mike Stump mrs@apple.com
Fri Aug 12 19:10:00 GMT 2005


On Aug 12, 2005, at 10:39 AM, Dale Johannesen wrote:
> We had a situation come up here where things are like this  
> (simplified, obviously):
>
> c() { char x[1000000]; }

I think we should turn off inlining for functions > 100k stack size.   
(Or maybe 500k, if you want).



More information about the Gcc mailing list