Add new test to verify that the array index, limit, and stride are
[official-gcc.git] / gcc / testsuite / gcc.dg / winline-9.c
blobfddf5c68f0c81cd1e8ffe35c2cff1ec606198acf
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -Winline --param large-stack-frame=10 --param large-stack-frame-growth=2" } */
4 int a,b;
5 void test(char *);
6 static inline
7 int aa (void)
9 char t[10];
10 test(t);
12 static inline
13 int bb (void) /* { dg-warning "large-stack-frame" "" } */
15 char t[100];
16 test(t);
19 t()
21 if (a)
22 aa();
23 if (b)
24 bb(); /* { dg-warning "called from here" "" } */