LWG 3035. std::allocator's constructors should be constexpr
[official-gcc.git] / gcc / testsuite / gcc.dg / ipa / ipcp-self-recursion-1.c
blob7ecbf79de611069705450f96586cbab19afbb88e
1 /* { dg-do run } */
2 /* { dg-options "-O3 -fno-early-inlining" } */
4 int array[128];
6 volatile int v = 0;
7 volatile int blah = 0;
8 volatile int counter = 0;
10 int __attribute__((noipa))
11 obscured_one ()
13 return 1;
16 static void
17 f (int c, int l)
19 int i;
20 for (i = 0; i < c; i++)
21 array[i] = 455;
23 counter++;
24 if (counter > 6)
25 __builtin_abort ();
27 v = l;
28 if (l > 0)
29 f (c, l - 1);
30 blah = l;
33 int
34 main (int argc, char *argv[])
36 int i;
37 for (i = 0; i < 100; i++)
39 counter = 0;
40 f (0, 5);
41 if (obscured_one ())
42 break;
45 return 0;