PR libfortran/64770 Segfault when trying to open existing file with status="new".
[official-gcc.git] / gcc / testsuite / gcc.dg / ipa / pr63909.c
blob8538e214be3661797c28a873e55a4c2890597d9f
1 /* { dg-options "-O2 -fno-guess-branch-probability" } */
3 int z;
5 __attribute__((noinline))
6 void g ()
8 if (++z)
9 __builtin_exit (0);
10 g ();
13 __attribute__((noinline))
14 void f ()
16 if (++z)
17 __builtin_exit (0);
18 f ();
21 int main()
23 f ();
24 g ();
26 return 0;