<html>
<head>
<base href="http://llvm.org/bugs/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:patrik.h.hagglund@ericsson.com" title="Patrik Hägglund <patrik.h.hagglund@ericsson.com>"> <span class="fn">Patrik Hägglund</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED INVALID - Use of unspecified value wrongly optimized to undefined behavior."
href="http://llvm.org/bugs/show_bug.cgi?id=16047">bug 16047</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;">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 - Use of unspecified value wrongly optimized to undefined behavior."
href="http://llvm.org/bugs/show_bug.cgi?id=16047#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED INVALID - Use of unspecified value wrongly optimized to undefined behavior."
href="http://llvm.org/bugs/show_bug.cgi?id=16047">bug 16047</a>
from <span class="vcard"><a class="email" href="mailto:patrik.h.hagglund@ericsson.com" title="Patrik Hägglund <patrik.h.hagglund@ericsson.com>"> <span class="fn">Patrik Hägglund</span></a>
</span></b>
<pre>The C standard defect report #451 is related to this issue. The committe have
now answered defect report #451,
<a href="http://www.open-std.org/jtc1/sc22/wg14/www/docs/dr_451.htm">http://www.open-std.org/jtc1/sc22/wg14/www/docs/dr_451.htm</a>, and is seems like
LLVM/Clang will (in a future revision of the standard) be safe, doing this kind
of optimizations. The answer suggests introducing a notion of "wobbly" values,
that I think this will apply in this case. Therefore, I close this issue for
now.</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>