<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:chengniansun@gmail.com" title="Chengnian Sun <chengniansun@gmail.com>"> <span class="fn">Chengnian Sun</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - wrong code at -O0 only in 32-bit mode on x86_64-linux-gnu"
href="https://bugs.llvm.org/show_bug.cgi?id=33246">bug 33246</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>FIXED
</td>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>NEW
</td>
<td>RESOLVED
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - wrong code at -O0 only in 32-bit mode on x86_64-linux-gnu"
href="https://bugs.llvm.org/show_bug.cgi?id=33246#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - wrong code at -O0 only in 32-bit mode on x86_64-linux-gnu"
href="https://bugs.llvm.org/show_bug.cgi?id=33246">bug 33246</a>
from <span class="vcard"><a class="email" href="mailto:chengniansun@gmail.com" title="Chengnian Sun <chengniansun@gmail.com>"> <span class="fn">Chengnian Sun</span></a>
</span></b>
<pre>I cannot reproduce this bug any more.
cnsun@cartesian:~/temp$ clang-trunk -m32 -O0 small.c ; ./a.out
0
0
0
0
0
0
0
0
cnsun@cartesian:~/temp$ clang-trunk -m32 -O1 small.c ; ./a.out
0
0
0
0
0
0
0
0
cnsun@cartesian:~/temp$ clang-trunk -v
clang version 6.0.0 (trunk 310181)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/4.8
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/4.8.4
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/4.9
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/4.9.2
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.8
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.8.4
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.9
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.9.2
Selected GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/4.9
Candidate multilib: .;@m64
Candidate multilib: 32;@m32
Candidate multilib: x32;@mx32
Selected multilib: .;@m64</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>