<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/64876>64876</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Assertion failed: (isRepresentableByInt64() && "Too many bits for int64_t"), function getExtValue, file APSInt.h, line 99.
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
dcci
</td>
</tr>
</table>
<pre>
```
% cat red.cpp
#include <string>
int a { strncmp(0, 0, -511LL) }
```
```
% xcrun ./clang red.cpp
Assertion failed: (isRepresentableByInt64() && "Too many bits for int64_t"), function getExtValue, file APSInt.h, line 99.
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script.
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJzMks9q5EgMxp9GvogYW_7T9sGHTrobAjmEzbLXRa5S27VbXWWqyjPJ2w92EgbCnOY0YCz4ZMk_fRLHaCYnMkBzD80p4zXNPgxaKZONXr8N0BYfT3GC4gjUoOKEQXSulgU_1co4ZVctCNVDTMG4Carze9K4hIxwuMeYglO3BagrgB5wf901Zfn0BNQjHE4f3b788lcibiCvKqwOc6CLsuymL1DHGCUk4x1e2VjRUG1VnYl_yRIkiks8Wrl_e3SprYG6nYFaoBaB6G_v8cbuDUeTIl59QLN9928CIqB-Q7-uTu39J0nn1_QP21V23VjB4_PLo0v5vAnWOMG-z9-5np_Ox5czxnW8mc2Zcd3IFx8SJo9zSkuE6gh0AbpMJs3rmCt_A7pY--0z3C3B_ycqAV1MjKtEoAuy0_i5hjQLqsBxxpHV_ymw2tGWIEvwSmIUjdGv4V3eKjlGrwwn0bi5GlUwS8q_mJ_podJ91XMmQ9n21NZ9TWU2D1xUzF11Vax1S8RcUN0216YsmrKgljMzUEFV0VG5xbrMu7bvqboy1weudCFQF3JjY_NtvtyHKdsnG9q6O7SZ5VFs3K-UyMl33JPbLppTFobdk3GdItSFNTHFn12SSVaGP-8YsjXY4fe3vdvyIwAA__98cyTq">