gcc/libstdc++-v3/testsuite
Paolo Carlini 1c917b030e re PR libstdc++/31401 (string find behaves strange when searching from npos)
2007-03-30  Paolo Carlini  <pcarlini@suse.de>

	PR libstdc++/31401
	* include/bits/basic_string.tcc (find(const _CharT*, size_type,
	size_type)): Avoid unsigned overflow.
	* testsuite/21_strings/basic_string/find/char/4.cc: New.
	* testsuite/21_strings/basic_string/find/wchar_t/4.cc: Likewise.

From-SVN: r123361
2007-03-30 17:10:50 +00:00
..
17_intro types_std_c++0x.cc: Use -std=gnu++0x instead of -std=c++0x for testing. 2007-03-16 19:44:00 +00:00
18_support types_std_c++0x.cc: Use -std=gnu++0x instead of -std=c++0x for testing. 2007-03-16 19:44:00 +00:00
19_diagnostics macros.cc: Include the right header. 2007-02-25 12:26:16 +00:00
20_util types_std_c++0x.cc: Use -std=gnu++0x instead of -std=c++0x for testing. 2007-03-16 19:44:00 +00:00
21_strings re PR libstdc++/31401 (string find behaves strange when searching from npos) 2007-03-30 17:10:50 +00:00
22_locale libstdc++.exp (check_v3_target_fileio, [...]): New. 2007-03-14 11:37:55 +00:00
23_containers types_std_c++0x.cc: Use -std=gnu++0x instead of -std=c++0x for testing. 2007-03-16 19:44:00 +00:00
24_iterators
25_algorithms
26_numerics types_std_c++0x.cc: Use -std=gnu++0x instead of -std=c++0x for testing. 2007-03-16 19:44:00 +00:00
27_io fstream.tcc (basic_filebuf<>::underflow): Don't call codecvt::in at all if _M_ext_next >= _M_ext_end. 2007-03-27 15:51:41 +00:00
28_regex/headers/regex acinclude.m4 (GLIBCXX_ENABLE_CHEADERS): Add c_global. 2007-03-04 22:59:49 +00:00
abi
backward
config
data
ext libstdc++.exp (check_v3_target_fileio, [...]): New. 2007-03-14 11:37:55 +00:00
lib functions_std.cc: Without C99 support, _GLIBCXX_USE_WCHAR_T not defined, so dg-require-c-std. 2007-03-22 16:43:41 +00:00
libstdc++-abi
libstdc++-dg
performance 9661-1.cc: Include <cstdlib>. 2007-03-02 18:11:15 +00:00
thread 9661-1.cc: Include <cstdlib>. 2007-03-02 18:11:15 +00:00
tr1 functions_std.cc: Without C99 support, _GLIBCXX_USE_WCHAR_T not defined, so dg-require-c-std. 2007-03-22 16:43:41 +00:00
util PR libstdc++/28080 (partial) 2007-03-06 17:43:27 +00:00
Makefile.am
Makefile.in acinclude.m4 (GLIBCXX_ENABLE_CHEADERS): Add c_global. 2007-03-04 22:59:49 +00:00