<html>
<head>
<base href="http://llvm.org/bugs/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Incorrect result in compiling "clang -O2" version 3.5, trunk 199677"
href="http://llvm.org/bugs/show_bug.cgi?id=18650">18650</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Incorrect result in compiling "clang -O2" version 3.5, trunk 199677
</td>
</tr>
<tr>
<th>Product</th>
<td>tools
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Windows NT
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>opt
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>mohammad.r.haghighat@intel.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvmbugs@cs.uiuc.edu
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=11966" name="attach_11966" title="Test sources including the C programs, inputs, and outputs">attachment 11966</a> <a href="attachment.cgi?id=11966&action=edit" title="Test sources including the C programs, inputs, and outputs">[details]</a></span>
Test sources including the C programs, inputs, and outputs
"clang" and "clang -O2" give different results on the attached tests. test
t27767 is the smallest of all.
clang t27767.c
./a.out < input.txt
res = 4294934640
clang -O2 t27767.c
./a.out < input.txt
res = 4294934639</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>