http://llvm.org/bugs/show_bug.cgi?id=21891

            Bug ID: 21891
           Summary: Assertion failed: Depth <= MaxDepth && "Limit Search
                    Depth"
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

Created attachment 13522
  --> http://llvm.org/bugs/attachment.cgi?id=13522&action=edit
preprocessed source

When compiling the attached source file, Clang crashes with the error message:

Assertion failed: Depth <= MaxDepth && "Limit Search Depth", file
..\lib\Analysis\ValueTracking.cpp, line 747

The attached code is not a pathological case, but does actually compute
something useful (that is, the logarithm to base ten). Clang does not crash
when the __builtin_assume is removed.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to