expr.c (expand_expr_real_1): Just use do_store_flag.
[official-gcc.git] / libgomp / testsuite / libgomp.c / pr24455.c
blob8af449e7b5c3f8cfb4a1ba61ac5ad4e0f54e5ebc
1 /* { dg-do run } */
2 /* { dg-additional-sources pr24455-1.c } */
3 /* { dg-require-effective-target tls_runtime } */
5 extern void abort (void);
7 extern int i;
8 #pragma omp threadprivate(i)
10 int main()
12 i = 0;
14 #pragma omp parallel default(none) num_threads(10)
16 i++;
17 #pragma omp barrier
18 if (i != 1)
19 abort ();
22 return 0;