https://bugs.llvm.org/show_bug.cgi?id=51231
Bug ID: 51231
Summary: [OpenMP] Data sharing attribute of event handle for
detachable task
Product: OpenMP
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: Clang Compiler Support
Assignee: unassignedclangb...@nondot.org
Reporter: pro...@itc.rwth-aachen.de
CC: llvm-bugs@lists.llvm.org
https://lab.llvm.org/buildbot/#/builders/4/builds/11170/steps/6/logs/FAIL__libomp__detach_nested_task_c
The error contradicts a restriction in the OpenMP spec:
error: variable 'event' must have explicitly specified data sharing attributes
This restriction for the detach clause applies:
A variable that appears in a detach clause cannot appear in a data-sharing
attribute clause on the same construct.
clang should accept this line without error:
#pragma omp task detach(event) firstprivate(i,n) shared(ret) default(none)
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs