1 | #include "shared.h" |
---|---|
2 | |
3 | volatile int x; |
4 | |
5 | __attribute__((noinline)) |
6 | void tail_called_in_b_from_b() { |
7 | ++x; // break here |
8 | } |
9 | |
10 | void tail_called_in_b_from_a() { |
11 | tail_called_in_b_from_b(); |
12 | } |
13 |
1 | #include "shared.h" |
---|---|
2 | |
3 | volatile int x; |
4 | |
5 | __attribute__((noinline)) |
6 | void tail_called_in_b_from_b() { |
7 | ++x; // break here |
8 | } |
9 | |
10 | void tail_called_in_b_from_a() { |
11 | tail_called_in_b_from_b(); |
12 | } |
13 |