<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:yaron.keren@gmail.com" title="Yaron Keren <yaron.keren@gmail.com>"> <span class="fn">Yaron Keren</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - clang-cl: Assertion failure: "Expected Loc to be at or after Start""
href="https://bugs.llvm.org/show_bug.cgi?id=20368">bug 20368</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;">CC</td>
<td>
</td>
<td>yaron.keren@gmail.com
</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 - clang-cl: Assertion failure: "Expected Loc to be at or after Start""
href="https://bugs.llvm.org/show_bug.cgi?id=20368#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - clang-cl: Assertion failure: "Expected Loc to be at or after Start""
href="https://bugs.llvm.org/show_bug.cgi?id=20368">bug 20368</a>
from <span class="vcard"><a class="email" href="mailto:yaron.keren@gmail.com" title="Yaron Keren <yaron.keren@gmail.com>"> <span class="fn">Yaron Keren</span></a>
</span></b>
<pre>works with trunk 25c8ffa223ecec8e0c4c3d3772886295bde0c0e9:
$ grep ASSERTIONS CMakeCache.txt
LLVM_ENABLE_ASSERTIONS:BOOL=ON
yaron@YARON:~/build$ cat test3.c
void t36() {
int arr[4];
__asm {
mov eax, 12[4 + arr]
mov eax, 4[64 + arr + (2*32)]
mov eax, 4[64 + arr - 2*32]
mov eax, [arr + 4]
mov eax, [arr + 4 + 32*2 - 4]
mov eax, [4 + arr]
mov eax, [4 + arr + 4]
mov eax, [64 + arr + (2*32)]
mov eax, [64 + arr - 2*32]
}
}
$ bin/clang-cl -c test3.c
$</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>