[llvm-bugs] [Bug 51543] New: Mapping is broken when object part is mapped together with unrelated parts

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Aug 19 10:15:48 PDT 2021


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

            Bug ID: 51543
           Summary: Mapping is broken when object part is mapped together
                    with unrelated parts
           Product: OpenMP
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Runtime Library
          Assignee: unassignedbugs at nondot.org
          Reporter: jdoerfert at anl.gov
                CC: a.bataev at hotmail.com, george_rokos at hotmail.com,
                    jdenny.ornl at gmail.com, llvm-bugs at lists.llvm.org,
                    protze at itc.rwth-aachen.de

Created attachment 25173
  --> https://bugs.llvm.org/attachment.cgi?id=25173&action=edit
reproducer

I was playing around with an example and I fail to understand the behavior,
consequently I suspect a bug.

The test.cpp file attached shows 3 target regions. All execute 1 loop iteration
and write a value into an array of size 1.
Only, the middle one uses a member of the previously mapped object.
While that should not influence the array of size 1, IMHO, it seems to do for
some reason.


I see Broken: 0x0 but I would expect Broken: 0x7.

-- 
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/20210819/03e91eed/attachment.html>


More information about the llvm-bugs mailing list