sched1: debug/model: dump predecessor list and BB num [NFC]
[gcc.git] / libgomp / testsuite / libgomp.c / pr68960.c
blob2accc6af4a83659b88840416e8ea149e9997c872
1 /* PR middle-end/68960 */
2 /* { dg-do run } */
4 int
5 main ()
7 int temp[257] __attribute__ ((aligned (256))) = { 0 };
8 #pragma omp parallel private (temp) num_threads (2)
10 int *p = &temp[0];
11 asm volatile ("" : "+g" (p));
12 if (((__UINTPTR_TYPE__) p) & 255)
13 __builtin_abort ();
15 #pragma omp parallel num_threads (2)
16 #pragma omp single
17 #pragma omp task firstprivate (temp)
19 int *p = &temp[0];
20 asm volatile ("" : "+g" (p));
21 if (((__UINTPTR_TYPE__) p) & 255)
22 __builtin_abort ();
24 return 0;