<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 - polly: runtime errors in isl / imath.c (asan/ubsan)"
href="https://bugs.llvm.org/show_bug.cgi?id=33197">33197</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>polly: runtime errors in isl / imath.c (asan/ubsan)
</td>
</tr>
<tr>
<th>Product</th>
<td>Polly
</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>isl
</td>
</tr>
<tr>
<th>Assignee</th>
<td>polly-dev@googlegroups.com
</td>
</tr>
<tr>
<th>Reporter</th>
<td>matthias.krueger@famsik.de
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>polly @ 985ba6848ee4070befa2f55952efa0c47db5b997 /
git-svn-id: <a href="https://llvm.org/svn/llvm-project/polly/trunk@304075">https://llvm.org/svn/llvm-project/polly/trunk@304075</a>
91177308-0d34-0410-b5e6-96231b3b80d8
I was running the polly test-suit after compiling it with
asan+ubsan+Og+g+expensive-checks (tbh I don't think the expensive checks are
relevant here) resulting in 275 unexpected failures.
The failures boil down to these 3 runtime errors inside isl reported by UBSan:
llvm/tools/polly/lib/External/isl/imath/imath.c:1638:29: runtime error:
negation of -9223372036854775808 cannot be represented in type 'mp_small' (aka
'long'); cast to an unsigned type to negate this value to itself
llvm/tools/polly/lib/External/isl/imath/imath.c:2514:22: runtime error: left
shift of 1 by 31 places cannot be represented in type 'int'
llvm/tools/polly/lib/External/isl/imath/imath.c:2682:28: runtime error: left
shift of 1 by 31 places cannot be represented in type 'int'</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>