Debian Codegraph @

gcc/testsuite/gcc.target/i386/pr112605.c

raw
1 /* PR target/112605 */
2 /* { dg-do compile } */
3 /* { dg-require-effective-target split_stack } */
4 /* { dg-options "-fsplit-stack -mforce-indirect-call" } */
5
6 int x;
7 int y;
8
9 void __attribute__((noinline)) f1(void)
10 {
11 x++;
12 }
13
14 static __attribute__((noinline)) void f3(void)
15 {
16 y++;
17 }
18
19 void f2()
20 {
21 f1();
22 f3();
23 f1();
24 }