[Maria-developers] gcc -Wframe-larger-than

2010-10-30 Thread Sergei Golubchik
Hi, Just noticed that gcc has a warning option -Wframe-larger-than=LEN that makes gcc to warn about functions with stack frames larger than LEN. Considering a recent issue when we had a 130K structure on the stack (which did overflow the stack in some cases), it may be a good idea to enable this

Re: [Maria-developers] gcc -Wframe-larger-than

2010-11-01 Thread Kristian Nielsen
Sergei Golubchik writes: > Just noticed that gcc has a warning option -Wframe-larger-than=LEN > that makes gcc to warn about functions with stack frames larger > than LEN. > > Considering a recent issue when we had a 130K structure on the stack > (which did overflow the stack in some cases), it m