Skip to content

[OpenMP][5.1] taskwait nowait should allow multiple depend clauses #59941

@jdoerfert

Description

@jdoerfert

We assert as we expect a single depend clause to check if nowait is legal. Minor oversight.

https://godbolt.org/z/34fEzK7fe

void t(int a, int b) {
#pragma omp taskwait nowait depend(inout: a) depend(out: b)
}

See also: https://github.com/SOLLVE/sollve_vv/blob/master/tests/5.1/taskwait/test_task_nowait.c

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions