1 /* { dg-options "-O2 -fno-guess-branch-probability" } */
2
3 int z;
4
5 __attribute__((noinline))
6 void g ()
7 {
8 if (++z)
9 __builtin_exit (0);
10 g ();
11 }
12
13 __attribute__((noinline))
14 void f ()
15 {
16 if (++z)
17 __builtin_exit (0);
18 f ();
19 }
20
21 int main()
22 {
23 f ();
24 g ();
25
26 return 0;
27 }