1 /* PR middle-end/29965 */
2 /* Test that OpenMP construct bodies which never return don't cause ICEs. */
3 /* { dg-do compile } */
4 /* { dg-options "-O2 -fopenmp" } */
6 extern void baz (void) __attribute__ ((noreturn
));
12 #pragma omp for schedule (dynamic)
13 for (i
= 0; i
< 2834; i
++)
22 #pragma omp for schedule (dynamic)
23 for (i
= 0; i
< 2834; i
++)
31 #pragma omp parallel for schedule (dynamic)
32 for (i
= 0; i
< 2834; i
++)
41 #pragma omp parallel for schedule (dynamic)
42 for (i
= 0; i
< 2834; i
++)