<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:davide@freebsd.org" title="Davide Italiano <davide@freebsd.org>"> <span class="fn">Davide Italiano</span></a>
</span> changed
<a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - Assertion `loBit <= BitWidth && "loBit out of range"' failed with -O0 -march=skx."
href="https://bugs.llvm.org/show_bug.cgi?id=32282">bug 32282</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>FIXED
</td>
<td>---
</td>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>RESOLVED
</td>
<td>REOPENED
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - Assertion `loBit <= BitWidth && "loBit out of range"' failed with -O0 -march=skx."
href="https://bugs.llvm.org/show_bug.cgi?id=32282#c8">Comment # 8</a>
on <a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - Assertion `loBit <= BitWidth && "loBit out of range"' failed with -O0 -march=skx."
href="https://bugs.llvm.org/show_bug.cgi?id=32282">bug 32282</a>
from <span class="vcard"><a class="email" href="mailto:davide@freebsd.org" title="Davide Italiano <davide@freebsd.org>"> <span class="fn">Davide Italiano</span></a>
</span></b>
<pre>(In reply to Dmitry Babokin from <a href="show_bug.cgi?id=32282#c7">comment #7</a>)
<span class="quote">> clang rev308350, the fail is still there.
>
> > cat f.cpp
> int a;
> long b;
> struct {
> char c : 29;
> } d;
> void e() {
> d.c = ~0 + 483647 & (a < 0) + 2147483647 >> (b << ~0 + 24) + 8388639;
> }
>
> > clang++ -std=c++11 -w -O3 -march=skx -o f.o -c f.cpp
> clang-5.0:
> /home/dybaboki/llvm/llvm-trunk-20170718/include/llvm/ADT/APInt.h:1399: void
> llvm::APInt::setBits(unsigned int, unsigned int): Assertion `loBit <=
> BitWidth && "loBit out of range"' failed.
> <...></span >
This is definitely a different testcase, reopening and reducing now :)</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>