<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 - static assertion failed: Recycler allocation size is less than object size!"
href="https://bugs.llvm.org/show_bug.cgi?id=48259">48259</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>static assertion failed: Recycler allocation size is less than object size!
</td>
</tr>
<tr>
<th>Product</th>
<td>libraries
</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>release blocker
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>Common Code Generator Code
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>sylvestre@debian.org
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>recently started to fail on i386, built with gcc 8.
Started to fail after 2020 11 19 changeset 6c1c308c0e1 (excluding)
/SelectionDAGPrinter.cpp.o -c
"/build/llvm-toolchain-snapshot-12~++20201122115112+82c22f12481/llvm/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp"
In file included from
/build/llvm-toolchain-snapshot-12~++20201122115112+82c22f12481/llvm/include/llvm/CodeGen/MachineFunction.h:35,
from
/build/llvm-toolchain-snapshot-12~++20201122115112+82c22f12481/llvm/include/llvm/CodeGen/SelectionDAG.h:31,
from
/build/llvm-toolchain-snapshot-12~++20201122115112+82c22f12481/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp:13:
/build/llvm-toolchain-snapshot-12~++20201122115112+82c22f12481/llvm/include/llvm/Support/Recycler.h:
In instantiation of 'SubClass* llvm::Recycler<T, Size,
Align>::Allocate(AllocatorType&) [with SubClass = llvm::PseudoProbeSDNode;
AllocatorType = llvm::BumpPtrAllocatorImpl<>; T = llvm::SDNode; unsigned int
Size = 64; unsigned int Align = 4]':
/build/llvm-toolchain-snapshot-12~++20201122115112+82c22f12481/llvm/include/llvm/Support/RecyclingAllocator.h:43:75:
required from 'SubClass* llvm::RecyclingAllocator<AllocatorType, T, Size,
Align>::Allocate() [with SubClass = llvm::PseudoProbeSDNode; AllocatorType =
llvm::BumpPtrAllocatorImpl<>; T = llvm::SDNode; unsigned int Size = 64;
unsigned int Align = 4]'
/build/llvm-toolchain-snapshot-12~++20201122115112+82c22f12481/llvm/include/llvm/CodeGen/SelectionDAG.h:380:12:
required from 'SDNodeT* llvm::SelectionDAG::newSDNode(ArgTypes&& ...) [with
SDNodeT = llvm::PseudoProbeSDNode; ArgTypes = {const unsigned int&, unsigned
int, const llvm::DebugLoc&, const llvm::SDVTList&, long long unsigned int&,
long long unsigned int&, unsigned int&}]'
/build/llvm-toolchain-snapshot-12~++20201122115112+82c22f12481/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp:6906:72:
required from here
/build/llvm-toolchain-snapshot-12~++20201122115112+82c22f12481/llvm/include/llvm/Support/Recycler.h:86:36:
error: static assertion failed: Recycler allocation size is less than object
size!
static_assert(sizeof(SubClass) <= Size,
~~~~~~~~~~~~~~~~~^~~~~~~</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>