<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 under isLeftShiftResultUnrepresentable"
href="https://bugs.llvm.org/show_bug.cgi?id=38427">38427</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Crash under isLeftShiftResultUnrepresentable
</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>Linux
</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.c
int a;
void b() {
char c = d() - 5;
c == 0;
a -= c;
a == 3;
(long)a << 48;
}
$ ./clang-tidy -checks=-*,clang-analyzer* test.c -- -std=c99
PC: @ 0x55e508f35909 (unknown) llvm::APInt::isSingleWord()
@ 0x55e51723bca8 192 FailureSignalHandler()
@ 0x7f36b6d2e9a0 (unknown) (unknown)
@ 0x55e508f393df 32 llvm::APInt::countLeadingZeros()
@ 0x55e51108d060 192 isLeftShiftResultUnrepresentable()
@ 0x55e51108c29b 224 (anonymous
namespace)::UndefResultChecker::checkPostStmt()
@ 0x55e511676c62 192 (anonymous
namespace)::CheckStmtContext::runChecker()
@ 0x55e51166ee44 240 expandGraphWithCheckers<>()
@ 0x55e51166e62f 208
clang::ento::CheckerManager::runCheckersForStmt()
@ 0x55e5116c61b5 32
clang::ento::CheckerManager::runCheckersForPostStmt()
@ 0x55e5116fef3e 608
clang::ento::ExprEngine::VisitBinaryOperator()
@ 0x55e5116b5495 384 clang::ento::ExprEngine::Visit()
@ 0x55e5116af75a 192 clang::ento::ExprEngine::ProcessStmt()
@ 0x55e5116af2d9 160
clang::ento::ExprEngine::processCFGElement()
@ 0x55e5116f811a 160 clang::ento::CoreEngine::HandlePostStmt()
@ 0x55e5116f7284 160
clang::ento::CoreEngine::dispatchWorkItem()
@ 0x55e5116f6c6d 256 clang::ento::CoreEngine::ExecuteWorkList()
@ 0x55e511015328 160 clang::ento::ExprEngine::ExecuteWorkList()
@ 0x55e510fdca9b 192 (anonymous
namespace)::AnalysisConsumer::ActionExprEngine()
@ 0x55e510fdc3a6 192 (anonymous
namespace)::AnalysisConsumer::HandleCode()
@ 0x55e510fd6815 288 (anonymous
namespace)::AnalysisConsumer::HandleDeclsCallGraph()
@ 0x55e510fd5807 208 (anonymous
namespace)::AnalysisConsumer::runAnalysisOnTranslationUnit()
@ 0x55e510fd4696 48 (anonymous
namespace)::AnalysisConsumer::HandleTranslationUnit()
@ 0x55e511d258d8 128
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>