aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/c-c++-common/gomp/assumes-1.c
blob: 8b3fb378bfbfd6589c1edf7c63713f592bf86de7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
int i;

#pragma omp assumes no_openmp, absent (target, teams) holds (i < 32U) holds (i < 32U)
void
bar (void)
{
}

#pragma omp assumes no_openmp_routines

#pragma omp assumes no_parallelism

#pragma omp assumes absent (for)
void
fred (void)
{
}

#pragma omp assumes absent (atomic, barrier, cancel, cancellation point) absent (critical, depobj) \
		    absent (distribute, flush, loop, masked, master, nothing, ordered) \
		    absent (parallel, scan, scope, section, sections, simd, single, task) \
		    absent (taskgroup, taskloop, taskwait, taskyield)
void
foo (void)
{
}