[llvm-bugs] [Bug 30850] New: Merge r275926 into the 3.9 branch
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Oct 31 12:12:57 PDT 2016
https://llvm.org/bugs/show_bug.cgi?id=30850
Bug ID: 30850
Summary: Merge r275926 into the 3.9 branch
Product: OpenMP
Version: unspecified
Hardware: Macintosh
OS: MacOS X
Status: NEW
Severity: normal
Priority: P
Component: Clang Compiler Support
Assignee: unassignedclangbugs at nondot.org
Reporter: howarth.mailing.lists at gmail.com
CC: llvm-bugs at lists.llvm.org
Classification: Unclassified
I would like to propose merging the change...
r275926 | kli | 2016-07-18 18:49:16 -0400 (Mon, 18 Jul 2016) | 25 lines
[OpenMP] Fix incorrect diagnostics in map clause
Having the following code pattern will result in incorrect diagnostic
int main() {
int arr[10];
#pragma omp target data map(arr[:])
#pragma omp target map(arr)
{}
}
t.cpp:4:24: error: original storage of expression in data environment is shared
but data environment do not fully contain mapped expression storage
#pragma omp target map(arr)
^~~
t.cpp:3:29: note: used here
#pragma omp target data map(arr[:])
^~~~~~
1 error generated.
Patch by David S.
Differential Revision: https://reviews.llvm.org/D22075
to 3.9 branch for the 3.9.1 release
--
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/20161031/a064cfaf/attachment.html>
More information about the llvm-bugs
mailing list