2013-08-30 François Dumont <fdumont@gcc.gnu.org>
commitdc84fdc8469593faa45895d7e5bcb1f166d6af9c
authorfdumont <fdumont@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 30 Aug 2013 20:55:37 +0000 (30 20:55 +0000)
committerfdumont <fdumont@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 30 Aug 2013 20:55:37 +0000 (30 20:55 +0000)
treeabdc94081f8c6075d64ba9ed54dbdd2100f880e8
parent096d86ac43617dcf367ece0dabe3a65d844c2247
2013-08-30  François Dumont  <fdumont@gcc.gnu.org>

PR libstdc++/58148
* include/debug/functions.h (__foreign_iterator_aux4): Use
sequence const_pointer as common type to compare pointers. Add a
fallback overload in case pointers cannot be cast to sequence
const_pointer.
* testsuite/23_containers/vector/modifiers/insert/58148.cc: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202121 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/include/debug/functions.h
libstdc++-v3/testsuite/23_containers/vector/modifiers/insert/58148.cc [new file with mode: 0644]