[llvm-bugs] [Bug 47368] New: OMP map clause restriction change from 4.5 to 5.0 on "list iterms of map clause in the same construnct must not share original storge"
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Aug 31 09:16:39 PDT 2020
https://bugs.llvm.org/show_bug.cgi?id=47368
Bug ID: 47368
Summary: OMP map clause restriction change from 4.5 to 5.0 on
"list iterms of map clause in the same construnct must
not share original storge"
Product: clang
Version: 5.0
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: OpenMP
Assignee: unassignedclangbugs at nondot.org
Reporter: jennifer.yu at intel.com
CC: llvm-bugs at lists.llvm.org
OMP 4.5:
List items of map clauses in the same construct must not share
original storage.
OMP 5.0:
List items of the map clauses on the same construct must not share original
storage unless they are the same lvalue expression or array section.
So we should allow:
int scalar = 80;
#pragma omp target map (alloc: scalar) map(to: scalar)
--
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/20200831/0ac2e667/attachment.html>
More information about the llvm-bugs
mailing list