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