[llvm-bugs] [Bug 36007] New: After r320749, Assertion failed: (!NodePtr->isKnownSentinel()), function operator*, file include/llvm/ADT/ilist_iterator.h, line 140.

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Jan 18 11:15:55 PST 2018


https://bugs.llvm.org/show_bug.cgi?id=36007

            Bug ID: 36007
           Summary: After r320749, Assertion failed:
                    (!NodePtr->isKnownSentinel()), function operator*,
                    file include/llvm/ADT/ilist_iterator.h, line 140.
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: dimitry at andric.com
                CC: llvm-bugs at lists.llvm.org

As reported in https://bugs.freebsd.org/225275, 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 https://reviews.llvm.org/rL320749, 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();
  }
}

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180118/fbefb64c/attachment.html>


More information about the llvm-bugs mailing list