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: unassignedb...@nondot.org
          Reporter: dimi...@andric.com
                CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to