https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63500
--- Comment #7 from François Dumont <fdumont at gcc dot gnu.org> --- Author: fdumont Date: Wed Oct 15 20:40:31 2014 New Revision: 216286 URL: https://gcc.gnu.org/viewcvs?rev=216286&root=gcc&view=rev Log: 2014-10-15 François Dumont <fdum...@gcc.gnu.org> Jonathan Wakely <jwak...@redhat.com> PR libstdc++/63500 * include/debug/functions.h (__foreign_iterator_aux2): Do not check for foreign iterators if input iterators returns rvalue reference. * testsuite/23_containers/vector/63500.cc: New. Added: trunk/libstdc++-v3/testsuite/23_containers/vector/63500.cc Modified: trunk/libstdc++-v3/ChangeLog trunk/libstdc++-v3/include/debug/functions.h