Subject: [Boost-bugs] [Boost C++ Libraries] #12467: [regression] clang 3.9 and trunk fail to compile small_vector (ICE)
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-09-16 08:58:32
#12467: [regression] clang 3.9 and trunk fail to compile small_vector (ICE)
------------------------------+------------------------
Reporter: anonymous | Owner: igaztanaga
Type: Bugs | Status: new
Milestone: To Be Determined | Component: container
Version: Boost 1.61.0 | Severity: Regression
Keywords: |
------------------------------+------------------------
https://llvm.org/bugs/show_bug.cgi?id=29091
Minimal example:
#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;
}
Results in an internal compiler error.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/12467> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:20 UTC