[llvm-bugs] [Bug 29091] New: ICE when using boost::container::small_vector
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Aug 22 07:27:34 PDT 2016
https://llvm.org/bugs/show_bug.cgi?id=29091
Bug ID: 29091
Summary: ICE when using boost::container::small_vector
Product: clang
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: Frontend
Assignee: unassignedclangbugs at nondot.org
Reporter: gonzalobg88 at gmail.com
CC: llvm-bugs at lists.llvm.org
Classification: Unclassified
I get the following ICE when trying to compile the following code that uses
"boost::container::small_vector" (I can reproduce this with clang trunk for
Boost 1.58 and Boost 1.61):
#include <boost/container/small_vector.hpp>
#include <type_traits>
using boost::container::small_vector;
struct A : small_vector<int, 3> {
using vector_t = small_vector<int, 3>;
using vector_t::vector_t;
using vector_t::operator=;
};
template <typename P> inline void foo(P) {
small_vector<P, 3> pls;
pls.push_back(P{});
}
int main() {
foo(A{});
return 0;
}
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160822/ef48443a/attachment.html>
More information about the llvm-bugs
mailing list