<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 - Assertion `idx < size()' failed in combineX86ShufflesRecursively with -O3 -march=skx"
href="https://bugs.llvm.org/show_bug.cgi?id=46178">46178</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Assertion `idx < size()' failed in combineX86ShufflesRecursively with -O3 -march=skx
</td>
</tr>
<tr>
<th>Product</th>
<td>new-bugs
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</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>new bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>Vsevolod.Livinskij@frtk.ru
</td>
</tr>
<tr>
<th>CC</th>
<td>htmldeveloper@gmail.com, llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>Error:
<span class="quote">>$ clang++ -O3 -march=skx -c func.cpp</span >
clang++: /llvm/include/llvm/ADT/SmallVector.h:176: T&
llvm::SmallVectorTemplateCommon<T, <template-parameter-1-2>
<span class="quote">>::operator[](llvm::SmallVectorTemplateCommon<T, <template-parameter-1-2>
>::size_type) [with T = int; <template-parameter-1-2> = void;</span >
llvm::SmallVectorTemplateCommon<T, <template-parameter-1-2> >::reference =
int&; llvm::SmallVectorTemplateCommon<T, <template-parameter-1-2> >::size_type
= long unsigned int]: Assertion `idx < size()' failed.
Reproducer:
extern short a[];
void b(long d, long e[][6][70]) {
for (int c = 0; c < 16; c += (int)d + 702798106)
a[c] = char(e[1][2][c]);
}
LLVM version:
clang version 11.0.0 (<a href="https://github.com/llvm/llvm-project.git">https://github.com/llvm/llvm-project.git</a>
16437992cac249f6fe1efd392d20e3469b47e39e)</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>