Daily bump.
[official-gcc.git] / libgomp / testsuite / libgomp.c / pr69110.c
blob0d9e5ca5c3cfe7d794ae94610829080bc0b1a55d
1 /* { dg-do run } */
2 /* { dg-options "-ftree-parallelize-loops=2 -O1 -fno-tree-loop-im" } */
4 #define N 1000
6 unsigned int i = 0;
8 static void __attribute__((noinline, noclone))
9 foo (void)
11 unsigned int z;
12 for (z = 0; z < N; ++z)
13 ++i;
16 extern void abort (void);
18 int
19 main (void)
21 foo ();
22 if (i != N)
23 abort ();
25 return 0;