Debian Codegraph @

gcc/testsuite/gcc.dg/Wstack-usage.c

raw
1 /* PR 90983/manual documents `-Wno-stack-usage` flag, but it is unrecognized
2 { dg-do compile }
3 { dg-options "-Wall -Wstack-usage=123 -Wno-stack-usage" } */
4
5 void f (void*);
6
7 void g (int n)
8 {
9 if (n < 1234)
10 n = 1234;
11
12 char a [n];
13 f (a);
14 }