<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:efriedma@codeaurora.org" title="Eli Friedman <efriedma@codeaurora.org>"> <span class="fn">Eli Friedman</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED INVALID - Compiler transforming loop into an infinite loop when optimizations are enabled after r316208"
href="https://bugs.llvm.org/show_bug.cgi?id=35087">bug 35087</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;">Resolution</td>
<td>---
</td>
<td>INVALID
</td>
</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>efriedma@codeaurora.org
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED INVALID - Compiler transforming loop into an infinite loop when optimizations are enabled after r316208"
href="https://bugs.llvm.org/show_bug.cgi?id=35087#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED INVALID - Compiler transforming loop into an infinite loop when optimizations are enabled after r316208"
href="https://bugs.llvm.org/show_bug.cgi?id=35087">bug 35087</a>
from <span class="vcard"><a class="email" href="mailto:efriedma@codeaurora.org" title="Eli Friedman <efriedma@codeaurora.org>"> <span class="fn">Eli Friedman</span></a>
</span></b>
<pre><span class="quote">> which is promoted to the next size up from `int` if it won't fit into an `int`.</span >
There is no such promotion. Integer promotion only affects expressions whose
type is narrower than "int".
See also [expr]p4: "If during the evaluation of an expression, the result is
not mathematically defined or not in the range of representable values for its
type, the behavior is undefined".</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>