r202510 - in /trunk/libstdc++-v3: ChangeLog inc...

paolo@gcc.gnu.org paolo@gcc.gnu.org
Wed Sep 11 22:24:00 GMT 2013


Author: paolo
Date: Wed Sep 11 22:24:50 2013
New Revision: 202510

URL: http://gcc.gnu.org/viewcvs?rev=202510&root=gcc&view=rev
Log:
2013-09-11  Mitsuru Kariya  <kariya_mitsuru@hotmail.com>
	    Chris Jefferson  <chris@bubblescope.net>

	PR libstdc++/58358
	* include/bits/stl_algo.h (search_n): Fix to guarantee a number
	of comparisons <= number of elements in the range.
	* testsuite/25_algorithms/search_n/58358.cc: New.
	* testsuite/25_algorithms/search_n/iterator.cc: Extend.

Added:
    trunk/libstdc++-v3/testsuite/25_algorithms/search_n/58358.cc
Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/bits/stl_algo.h
    trunk/libstdc++-v3/testsuite/25_algorithms/search_n/iterator.cc



More information about the Gcc-cvs mailing list