PR tree-optimization/81303
[official-gcc.git] / gcc / testsuite / gcc.dg / pr79494.c
blobe8543f8c43fb93a69943c800a5c1b1c1f36ead40
1 /* PR target/79494 */
2 /* { dg-do compile } */
3 /* { dg-require-effective-target split_stack } */
4 /* { dg-options "-O2 -fsplit-stack -g" } */
6 void
7 foo (int a)
9 __label__ lab;
10 __attribute__((noinline, noclone)) void bar (int b)
12 switch (b)
14 case 1:
15 goto lab;
16 case 2:
17 goto lab;
20 bar (a);
21 lab:;