Debian Codegraph @

gcc/testsuite/gcc.target/bpf/frame-limit-2.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-O0 -mframe-limit=256" } */
3
4 int
5 foo ()
6 {
7 long data[32];
8 return 0;
9 }
10
11 int
12 bar ()
13 {
14 long data[33];
15 return 0;
16 } /* { dg-error "stack limit" } */