<html>
<head>
<base href="http://llvm.org/bugs/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:dhazeghi@yahoo.com" title="Dara Hazeghi <dhazeghi@yahoo.com>"> <span class="fn">Dara Hazeghi</span></a>
</span> changed
<a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED --- - nested loops produces wrong result at -O3"
href="http://llvm.org/bugs/show_bug.cgi?id=16166">bug 16166</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>RESOLVED
</td>
<td>REOPENED
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>INVALID
</td>
<td>---
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED --- - nested loops produces wrong result at -O3"
href="http://llvm.org/bugs/show_bug.cgi?id=16166#c4">Comment # 4</a>
on <a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED --- - nested loops produces wrong result at -O3"
href="http://llvm.org/bugs/show_bug.cgi?id=16166">bug 16166</a>
from <span class="vcard"><a class="email" href="mailto:dhazeghi@yahoo.com" title="Dara Hazeghi <dhazeghi@yahoo.com>"> <span class="fn">Dara Hazeghi</span></a>
</span></b>
<pre>I think I may have submitted the wrong testcase. This one still fails with
current trunk.
int printf (const char *, ...);
int a, b, c, d, g, h;
int **e;
int f;
void
fn1 ()
{
for (;; c++)
{
if (f)
for (; a;)
*e = 0;
for (; b; b--);
}
}
int
main ()
{
h = 22;
for (; h <= 53; h++)
{
d = 0;
for (; d > -3; d--)
if (g)
break;
}
printf ("%d\n", d);
return 0;
}</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>