<html>
<head>
<base href="https://bugs.llvm.org/">
</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 - After r320749, Assertion failed: (!NodePtr->isKnownSentinel()), function operator*, file include/llvm/ADT/ilist_iterator.h, line 140."
href="https://bugs.llvm.org/show_bug.cgi?id=36007">36007</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>After r320749, Assertion failed: (!NodePtr->isKnownSentinel()), function operator*, file include/llvm/ADT/ilist_iterator.h, line 140.
</td>
</tr>
<tr>
<th>Product</th>
<td>new-bugs
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</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>new bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>dimitry@andric.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>As reported in <a href="https://bugs.freebsd.org/225275">https://bugs.freebsd.org/225275</a>, compiling the textproc/groonga
and www/nginx ports for armv6 asserts with:
Assertion failed: (!NodePtr->isKnownSentinel()), function operator*, file
include/llvm/ADT/ilist_iterator.h, line 140.
This regressed after <a href="https://reviews.llvm.org/rL320749">https://reviews.llvm.org/rL320749</a>, which is a fix for bug
34603.
Minimized test case:
/* clang -cc1 -triple armv6kz -S -target-cpu arm1176jzf-s -O2
ngx_inet-minimized.c */
int a;
int c() {
int b;
__asm("" : "+r"(b));
return b;
}
short d() {
switch (a) {
case 0:
return c();
case 1:
return 0;
default:
return 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>