gcc/libstdc++-v3
Mitsuru Kariya 4b47d65500 re PR libstdc++/58358 (search_n has a Complexity violation for random access iterator)
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.

Co-Authored-By: Chris Jefferson <chris@bubblescope.net>

From-SVN: r202510
2013-09-11 22:24:50 +00:00
..
config gnu-versioned-namespace.ver: Add thunk _ZTv0_n12_NS* like in gnu.ver. 2013-09-10 18:17:25 +02:00
doc Commit the vtable verification feature. 2013-08-06 20:38:59 -07:00
include re PR libstdc++/58358 (search_n has a Complexity violation for random access iterator) 2013-09-11 22:24:50 +00:00
libsupc++ Commit the vtable verification feature. 2013-08-06 20:38:59 -07:00
po Commit the vtable verification feature. 2013-08-06 20:38:59 -07:00
python re PR libstdc++/53477 (pretty printer fails with: Python Exception <type 'exceptions.IndexError'> list index out of range) 2013-08-20 19:20:42 +00:00
scripts Commit the vtable verification feature. 2013-08-06 20:38:59 -07:00
src compatibility.cc (_ZTIe): Use reinterpret_cast<const cast *> to avoid -Wcast-qual warnings. 2013-08-14 16:59:46 +02:00
testsuite re PR libstdc++/58358 (search_n has a Complexity violation for random access iterator) 2013-09-11 22:24:50 +00:00
acinclude.m4 Commit the vtable verification feature. 2013-08-06 20:38:59 -07:00
aclocal.m4
ChangeLog re PR libstdc++/58358 (search_n has a Complexity violation for random access iterator) 2013-09-11 22:24:50 +00:00
ChangeLog-1998
ChangeLog-1999
ChangeLog-2000
ChangeLog-2001
ChangeLog-2002
ChangeLog-2003
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007
ChangeLog-2008
ChangeLog-2009
ChangeLog-2010
ChangeLog-2011
ChangeLog-2012
config.h.in Commit the vtable verification feature. 2013-08-06 20:38:59 -07:00
configure Commit the vtable verification feature. 2013-08-06 20:38:59 -07:00
configure.ac Commit the vtable verification feature. 2013-08-06 20:38:59 -07:00
configure.host codecvt_members.cc: Fix typo. 2013-07-04 22:07:44 +01:00
crossconfig.m4
fragment.am Commit the vtable verification feature. 2013-08-06 20:38:59 -07:00
linkage.m4
Makefile.am
Makefile.in Commit the vtable verification feature. 2013-08-06 20:38:59 -07:00
README

file: libstdc++-v3/README

New users may wish to point their web browsers to the file
index.html in the 'doc/html' subdirectory.  It contains brief
building instructions and notes on how to configure the library in
interesting ways.