1 /* { dg-skip-if "requires alloca" { ! alloca } { "-O0" } { "" } } */ 2 int x; 3 4 static int 5 __attribute__ ((noinline)) foo(void)6foo (void) 7 { 8 return 0; 9 } 10 11 static void 12 __attribute__ ((noinline)) bar(void)13bar (void) 14 { 15 } 16 17 static inline void baz(void)18baz (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)31test (void) 32 { 33 baz (); 34 } 35