1 /* PR middle-end/32362 */
3 /* { dg-options "-O2" } */
13 int n
[4] = { -1, -1, -1, -1 };
14 omp_set_num_threads (4);
17 #pragma omp parallel private(b)
19 b
= omp_get_thread_num ();
20 #pragma omp parallel firstprivate(a)
22 a
= (omp_get_thread_num () + a
) + 1;
23 if (b
== omp_get_thread_num ())
24 n
[omp_get_thread_num ()] = a
+ (b
<< 4);
30 && (n
[1] != 0x14 || n
[2] != 0x25 || n
[3] != 0x36))