* gcc.dg/torture/stackalign/builtin-apply-2.c: Fix skip-if syntax.
[official-gcc.git] / gcc / testsuite / gcc.dg / graphite / isl-ast-gen-blocks-3.c
blob9c5223c5d73a7cda70318db1f25d2c94de3f34c5
1 /* We use a global variable 'k' to avoid ipa-cp. */
2 int k = 50;
3 static int __attribute__((noinline))
4 foo ()
6 int i, res = 0;
7 for (i = k/2; i < k; i++)
8 res += i;
10 return res;
13 extern void abort ();
15 int
16 main (void)
18 int res = foo ();
20 if (res != 925)
21 abort ();
23 return 0;