[llvm-bugs] [Bug 41750] [OpenMP] Cryptic diagnostics for bad data sharing clauses

via llvm-bugs llvm-bugs at lists.llvm.org
Mon May 6 07:26:55 PDT 2019


https://bugs.llvm.org/show_bug.cgi?id=41750

Alexey Bataev <a.bataev at hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |WORKSFORME
             Status|NEW                         |RESOLVED

--- Comment #1 from Alexey Bataev <a.bataev at hotmail.com> ---
It emits a lot of warning memssages (not OpenMP problem, but C/C++ compiler)
and there is a note amongst them:
```
repro.cpp:7:49: note: in instantiation of member function 'std::map<int,
std::unique_ptr<int, std::default_delete<int> >, std::less<int>,
std::allocator<std::pair<const int, std::unique_ptr<int,
std::default_delete<int> > > > >::map'
      requested here
#pragma omp parallel default(none) firstprivate(map)
                                                ^ 
```
, which points explicitly to firstprivate(map) clause

-- 
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/20190506/5a2535ff/attachment-0001.html>


More information about the llvm-bugs mailing list