https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110287
--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Jonathan Wakely from comment #3)
> @@ -946,7 +945,7 @@ _GLIBCXX_BEGIN_NAMESPACE_CONTAINER
> else
> {
> const size_type __len =
> - _M_check_len(size_type(1), "vector<bool>::_M_insert_aux");
> + _M_check_len_1("vector<bool>::_M_insert_aux");
> _Bit_pointer __q = this->_M_allocate(__len);
> iterator __start(std::__addressof(*__q), 0);
> iterator __i = _M_copy_aligned(begin(), __position, __start);
Oops, this hunk is for vector<bool> which is different. Ignore this part.