2 // { dg-options "-Os -Wframe-larger-than=2000 -Werror" }
4 // Shows a problem of not re-using stack space:
5 // Compile as: g++ -c test_stack_reuse.cpp -o /dev/null -Wframe-larger-than=2048 -Werror -Os
6 // Result: warning: the frame size of 10240 bytes is larger than 2048 bytes [-Wframe-larger-than=]