LWG 3035. std::allocator's constructors should be constexpr
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-prof / pr49299-2.c
blob220c8c8ff0fb50e66442a376de0d35118767e2be
1 /* { dg-options "-O2" } */
3 void (*fn) (void);
5 volatile int v;
7 __attribute__((noreturn)) void
8 fn0 (void)
10 __builtin_exit (0);
13 void
14 fn1 (void)
18 __attribute__((noinline, noclone)) void
19 setfn (void (*x) (void))
21 fn = x;
24 int
25 main ()
27 int i;
28 if (v < 1)
29 setfn (fn0);
30 else
31 setfn (fn1);
32 fn ();
33 return 0;