1 /* PR target/79494 */ 2 /* { dg-do compile } */ 3 /* { dg-require-effective-target split_stack } */ 4 /* { dg-options "-O2 -fsplit-stack -g" } */ 5 6 void foo(int a)7foo (int a) 8 { 9 __label__ lab; 10 __attribute__((noinline, noclone)) void bar (int b) 11 { 12 switch (b) 13 { 14 case 1: 15 goto lab; 16 case 2: 17 goto lab; 18 } 19 } 20 bar (a); 21 lab:; 22 } 23