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: unassignedb...@nondot.org
          Reporter: jdoerf...@anl.gov
                CC: a.bat...@hotmail.com, george_ro...@hotmail.com,
                    jdenny.o...@gmail.com, llvm-bugs@lists.llvm.org,
                    pro...@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to