[llvm-bugs] [Bug 51106] New: Default firstprivate clause not working on some variables

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Jul 15 09:20:11 PDT 2021


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

            Bug ID: 51106
           Summary: Default firstprivate clause not working on some
                    variables
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: OpenMP
          Assignee: a.bataev at hotmail.com
          Reporter: huberjn at ornl.gov
                CC: a335pate at uwaterloo.ca, jdoerfert at anl.gov,
                    llvm-bugs at lists.llvm.org

The `default firstprivate` clause added in OpenMP 5.1 should list any
non-global variable without an explicit mapping in firstprivate. This doesn't
happen for a few cases where existing OpenMP clauses seem to change the
semantics of the variables and prevent them from being automatically declared
firstprivate as shown in (https://godbolt.org/z/6WYvEdhM8).

-- 
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/20210715/1a2a34b9/attachment.html>


More information about the llvm-bugs mailing list