[llvm-bugs] [Bug 51231] New: [OpenMP] Data sharing attribute of event handle for detachable task
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Jul 27 15:19:08 PDT 2021
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: unassignedclangbugs at nondot.org
Reporter: protze at itc.rwth-aachen.de
CC: llvm-bugs at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210727/81d2cb4c/attachment-0001.html>
More information about the llvm-bugs
mailing list