<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Mapping is broken when object part is mapped together with unrelated parts"
   href="https://bugs.llvm.org/show_bug.cgi?id=51543">51543</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Mapping is broken when object part is mapped together with unrelated parts
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>OpenMP
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Runtime Library
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>jdoerfert@anl.gov
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>a.bataev@hotmail.com, george_rokos@hotmail.com, jdenny.ornl@gmail.com, llvm-bugs@lists.llvm.org, protze@itc.rwth-aachen.de
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=25173" name="attach_25173" title="reproducer">attachment 25173</a> <a href="attachment.cgi?id=25173&action=edit" title="reproducer">[details]</a></span>
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.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>