URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [gomp/] [pr34610.c] - Rev 329
Go to most recent revision | Compare with Previous | Blame | View Log
/* PR gcov-profile/34610 */ /* { dg-do compile } */ /* { dg-options "-O2 -fprofile-arcs -fopenmp" } */ extern void bar (int); extern void baz (int) __attribute__((noreturn)); void foo (int k) { int i; #pragma omp for schedule(dynamic) for (i = 0; i < 10; ++i) bar (i); #pragma omp parallel for schedule(static) for (i = 0; i < 10; ++i) bar (i); #pragma omp parallel for schedule(static, 4) for (i = 0; i < 10; ++i) bar (i); if (k) #pragma omp for schedule(dynamic) for (i = 0; i < 10; ++i) baz (i); #pragma omp parallel for (i = 0; i < 10; ++i) bar (i); } /* { dg-final { cleanup-coverage-files } } */
Go to most recent revision | Compare with Previous | Blame | View Log