<html>
<head>
<base href="https://llvm.org/bugs/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:richard-llvm@metafoo.co.uk" title="Richard Smith <richard-llvm@metafoo.co.uk>"> <span class="fn">Richard Smith</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed" title="RESOLVED INVALID - Compiler generating an unnecessary volatile load" href="https://urldefense.proofpoint.com/v2/url?u=https-3A__llvm.org_bugs_show-5Fbug.cgi-3Fid-3D24325&d=AwMBaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=pF93YEPyB-J_PERP4DUZOJDzFVX5ZQ57vQk33wu0vio&m=OrODPYqXkxGyPDm9Av_hBUp8VH0ay-bVlIt6iMvtWr8&s=hkH6c-IQemggoJ_SVz0D4Ef4uXw0HQ1XKuuc4USjzFc&e=">bug 24325</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>NEW
</td>
<td>RESOLVED
</td>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>richard-llvm@metafoo.co.uk
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>---
</td>
<td>INVALID
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed" title="RESOLVED INVALID - Compiler generating an unnecessary volatile load" href="https://urldefense.proofpoint.com/v2/url?u=https-3A__llvm.org_bugs_show-5Fbug.cgi-3Fid-3D24325-23c1&d=AwMBaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=pF93YEPyB-J_PERP4DUZOJDzFVX5ZQ57vQk33wu0vio&m=OrODPYqXkxGyPDm9Av_hBUp8VH0ay-bVlIt6iMvtWr8&s=HIQPy3XPr5vx-6Q2SFTLx60uoim6lRF_9ZjFa0VCJPs&e=">Comment # 1</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed" title="RESOLVED INVALID - Compiler generating an unnecessary volatile load" href="https://urldefense.proofpoint.com/v2/url?u=https-3A__llvm.org_bugs_show-5Fbug.cgi-3Fid-3D24325&d=AwMBaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=pF93YEPyB-J_PERP4DUZOJDzFVX5ZQ57vQk33wu0vio&m=OrODPYqXkxGyPDm9Av_hBUp8VH0ay-bVlIt6iMvtWr8&s=hkH6c-IQemggoJ_SVz0D4Ef4uXw0HQ1XKuuc4USjzFc&e=">bug 24325</a>
from <span class="vcard"><a class="email" href="mailto:richard-llvm@metafoo.co.uk" title="Richard Smith <richard-llvm@metafoo.co.uk>"> <span class="fn">Richard Smith</span></a>
</span></b>
<pre>Clang is correct; in C++11 onwards, an expression-statement is a
discarded-value expression, and if it has volatile type, an extra
lvalue-to-rvalue conversion is performed.</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>