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 acinclude.m4 (GLIBCXX_ENABLE_PARALLEL): Remove ENABLE_PARALLEL. 2012-09-28 19:48:27 +00:00
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 rotation. 2013-01-03 10:47:48 +01:00
ChangeLog-1999 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
ChangeLog-2000 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
ChangeLog-2001 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
ChangeLog-2002 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
ChangeLog-2003 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
ChangeLog-2004 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
ChangeLog-2005 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
ChangeLog-2006 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
ChangeLog-2007 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
ChangeLog-2008 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
ChangeLog-2009 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
ChangeLog-2010 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
ChangeLog-2011 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
ChangeLog-2012 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
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 crossconfig.m4: Add support for cygwin x64 target. 2013-03-27 22:56:57 +01:00
fragment.am Commit the vtable verification feature. 2013-08-06 20:38:59 -07:00
linkage.m4 linkage.m4 (GLIBCXX_CHECK_STDLIB_DECL_AND_LINKAGE): New. 2013-02-11 12:50:13 -05:00
Makefile.am Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
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.