1 /* { dg-skip-if "requires alloca" { ! alloca } { "-O0" } { "" } } */
2 int x;
3 
4 static int
5 __attribute__ ((noinline))
foo(void)6 foo (void)
7 {
8   return 0;
9 }
10 
11 static void
12 __attribute__ ((noinline))
bar(void)13 bar (void)
14 {
15 }
16 
17 static inline void
baz(void)18 baz (void)
19 {
20   char arr[x];
21 
22 lab:
23   if (foo () == -1)
24     {
25       bar ();
26       goto lab;
27     }
28 }
29 
30 void
test(void)31 test (void)
32 {
33   baz ();
34 }
35