gcc/libstdc++-v3/testsuite
Paolo Carlini 95c9624ff5 re PR libstdc++/13650 (string::compare should not (always) use traits_type::length())
2004-01-13  Paolo Carlini  <pcarlini@suse.de>

	PR libstdc++/13650
	* include/bits/basic_string.tcc (compare(size_type, size_type,
	const _CharT*, size_type)): Implement correctly the resolution
	of DR 5: basically, s is a char array, -not- a C string.
	* include/bits/basic_string.h: Tweak some comments.
	* testsuite/21_strings/basic_string/compare/char/13650.cc: New.
	* testsuite/21_strings/basic_string/compare/wchar_t/13650.cc: New.

From-SVN: r75798
2004-01-13 11:12:38 +00:00
..
17_intro
18_support numeric_limits.cc: Add _GLIBCXX_ASSERT to dg-options in testcases that use VERIFY. 2003-12-22 21:05:22 +00:00
19_diagnostics
20_util re PR libstdc++/10378 ([library DR 402] cannot add object with inplace new into STL collections) 2003-12-01 15:34:07 +00:00
21_strings re PR libstdc++/13650 (string::compare should not (always) use traits_type::length()) 2004-01-13 11:12:38 +00:00
22_locale re PR libstdc++/13630 (Wrong type for locale::category) 2004-01-10 10:15:35 +00:00
23_containers [multiple changes] 2004-01-07 20:55:06 +00:00
24_iterators streambuf_iterator.h (ostreambuf_iterator): Remove non-standard throw specs. 2003-11-24 21:02:39 +00:00
25_algorithms [multiple changes] 2003-11-11 20:09:16 +00:00
26_numerics numeric_limits.cc: Add _GLIBCXX_ASSERT to dg-options in testcases that use VERIFY. 2003-12-22 21:05:22 +00:00
27_io 13582-2.cc: Use try_mkfifo. 2004-01-12 17:25:25 +00:00
backward numeric_limits.cc: Add _GLIBCXX_ASSERT to dg-options in testcases that use VERIFY. 2003-12-22 21:05:22 +00:00
config
data
demangle re PR libstdc++/13045 (Demangler does demangle floating values.) 2003-12-05 02:40:53 +00:00
ext acconfig.h: Add _GLIBCXX_USE_C99_MATH. 2003-12-29 19:26:16 +00:00
lib libstdc++.exp: Set LD_LIBRARY_PATH_32 for Solaris. 2004-01-12 21:47:44 +01:00
libstdc++-dg 5.cc: Don't use stdc++.h.gch. 2003-12-22 20:09:23 +00:00
performance allocator.cc: Demangle typeid(obj).name(). 2004-01-09 10:09:31 +00:00
thread
abi_check.cc
Makefile.am re PR libstdc++/11612 (abi_check not finding correct libgcc_s.so.1) 2003-12-10 21:43:10 +00:00
Makefile.in acconfig.h: Add _GLIBCXX_USE_C99_MATH. 2003-12-29 19:26:16 +00:00
printnow.c
testsuite_allocator.cc
testsuite_allocator.h
testsuite_character.h re PR libstdc++/12790 (basic_filebuf doesn't handle stateful encodings) 2003-11-04 05:27:41 +00:00
testsuite_hooks.cc testsuite_hooks.h (__gnu_test::try_mkfifo): Declare it. 2004-01-12 08:11:08 +00:00
testsuite_hooks.h testsuite_hooks.h (__gnu_test::try_mkfifo): Declare it. 2004-01-12 08:11:08 +00:00
testsuite_io.h basic_ios.h (basic_ios::setstate): Revert. 2003-12-02 02:48:51 +00:00
testsuite_performance.h container_benchmark.cc: Tweak outputs. 2003-12-17 10:16:03 +00:00