<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 - Default firstprivate clause not working on some variables"
href="https://bugs.llvm.org/show_bug.cgi?id=51106">51106</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Default firstprivate clause not working on some variables
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</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>OpenMP
</td>
</tr>
<tr>
<th>Assignee</th>
<td>a.bataev@hotmail.com
</td>
</tr>
<tr>
<th>Reporter</th>
<td>huberjn@ornl.gov
</td>
</tr>
<tr>
<th>CC</th>
<td>a335pate@uwaterloo.ca, jdoerfert@anl.gov, llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>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 (<a href="https://godbolt.org/z/6WYvEdhM8">https://godbolt.org/z/6WYvEdhM8</a>).</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>