<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 - Crash in clang::ento::SimpleConstraintManager::assumeInclusiveRange()"
href="https://bugs.llvm.org/show_bug.cgi?id=37204">37204</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Crash in clang::ento::SimpleConstraintManager::assumeInclusiveRange()
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</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>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>Static Analyzer
</td>
</tr>
<tr>
<th>Assignee</th>
<td>dcoughlin@apple.com
</td>
</tr>
<tr>
<th>Reporter</th>
<td>alexfh@google.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>$ cat test-clang__ento__SimpleConstraintManager__assumeInclusiveRange.c
a() {
switch (sizeof(char) == 1)
case sizeof(char):;
}
$ ./clang-tidy -checks=-*,clang-analyzer*
test-clang__ento__SimpleConstraintManager__assumeInclusiveRange.c --
assertion failed at llvm/include/llvm/ADT/APSInt.h:148 in bool
llvm::APSInt::operator>=(const llvm::APSInt &) const: IsUnsigned ==
RHS.IsUnsigned && "Signedness mismatch!"
@ 0x5604ab357a66 __assert_fail
@ 0x5604a913c0bd
clang::ento::SimpleConstraintManager::assumeInclusiveRange()
@ 0x5604a90a07b4
clang::ento::ConstraintManager::assumeInclusiveRangeDual()
@ 0x5604a9101660 clang::ento::ExprEngine::processSwitch()
@ 0x5604a911a100 clang::ento::CoreEngine::HandleBlockExit()
@ 0x5604a911902d clang::ento::CoreEngine::ExecuteWorkList()
@ 0x5604a8e46ddc (anonymous
namespace)::AnalysisConsumer::ActionExprEngine()
@ 0x5604a8e46956 (anonymous namespace)::AnalysisConsumer::HandleCode()
@ 0x5604a8e326c4 (anonymous
namespace)::AnalysisConsumer::HandleTranslationUnit()
@ 0x5604a93daa0c clang::MultiplexConsumer::HandleTranslationUnit()</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>