https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109205

--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Jonathan Wakely from comment #3)
> Huh, but that causes a test to FAIL with -D_GLIBCXX_DEBUG
> 
> FAIL: 23_containers/vector/59829.cc (test for excess errors)
> 
> 
> /home/jwakely/src/gcc/build/x86_64-pc-linux-gnu/libstdc++-v3/include/bits/
> stl_vector.h:989: error: no match for 'operator<' in '((const
> std::__cxx1998::vector<int, Alloc<int> >*)this)->std::__cxx1998::vector<int,
> Alloc<int> >::<anonymous>.std::__cxx1998::_Vector_base<int, Alloc<int>
> >::_M_impl.std::__cxx1998::_Vector_base<int, Alloc<int>
> >::_Vector_impl::<anonymous>.std::__cxx1998::_Vector_base<int, Alloc<int>
> >::_Vector_impl_data::_M_finish < ((const std::__cxx1998::vector<int,
> Alloc<int> >*)this)->std::__cxx1998::vector<int, Alloc<int>
> >::<anonymous>.std::__cxx1998::_Vector_base<int, Alloc<int>
> >::_M_impl.std::__cxx1998::_Vector_base<int, Alloc<int>
> >::_Vector_impl::<anonymous>.std::__cxx1998::_Vector_base<int, Alloc<int>
> >::_Vector_impl_data::_M_start' (operand types are 'const
> std::__cxx1998::_Vector_base<int, Alloc<int> >::pointer' {aka 'const
> std::allocator_traits<Alloc<int> >::pointer'} and 'const
> std::__cxx1998::_Vector_base<int, Alloc<int> >::pointer' {aka 'const
> std::allocator_traits<Alloc<int> >::pointer'})

This was fixed by r14-1249-g8d2fa90a415676

Reply via email to