gcc/libstdc++-v3/testsuite
Paolo Carlini 66143232bc re PR libstdc++/19495 (basic_string::_M_rep() can produce an unnaturally aligned pointer to _Rep)
2005-05-18  Paolo Carlini  <pcarlini@suse.de>
	    Nathan Myers  <ncm@cantrip.org>

	PR libstdc++/19495
	* include/bits/basic_string.h (_Raw_bytes_alloc): Rebind to
	size_type instead of char and rename to _Raw_alloc.
	* include/bits/basic_string.tcc (_Rep::_M_destroy, _Rep::_S_create):
	Use the above.
	* src/bitmap_allocator.cc: Add instantiation for size_type.
	* src/mt_allocator.cc: Likewise.
	* src/pool_allocator.cc: Likewise.
	* include/ext/array_allocator.h: Tweak slightly, avoid assuming
	the existence of an _Array::begin() and size() members.
	* testsuite/ext/array_allocator/2.cc: Tweak to use an allocator
	of size_type, instead of char, thus avoiding problems with
	rebinds, not treated correctly by array_allocator.

Co-Authored-By: Nathan Myers <ncm@cantrip.org>

From-SVN: r99933
2005-05-18 22:11:24 +00:00
..
17_intro locale_facets.tcc: Tweak to avoid warnings. 2003-09-23 20:03:30 +00:00
18_support numeric_limits.cc (dg-options): Add -mieee to options on sh*-*-*. 2005-05-13 00:23:28 +00:00
19_diagnostics locale_facets.tcc: Tweak to avoid warnings. 2003-09-23 20:03:30 +00:00
20_util binders.cc: Remove explicit instantiations for non-weak systems. 2005-03-16 11:24:36 +00:00
21_strings pod_char_traits.h (__gnu_cxx::character): Add char_type. 2005-04-15 02:06:26 +00:00
22_locale 2.cc: Adjust dg-require-namedlocale. 2005-05-18 17:26:48 +00:00
23_containers re PR libstdc++/18604 (Use of unqualified names conflict with names in global namespace) 2005-05-10 01:58:19 +00:00
24_iterators binders.cc: Remove explicit instantiations for non-weak systems. 2005-03-16 11:24:36 +00:00
25_algorithms re PR libstdc++/20577 (iter_swap doesn't work anymore with vector<bool>) 2005-03-21 22:16:15 +00:00
26_numerics * testsuite/26_numerics/cmath/c99_classification_macros_c.cc: Tweak. 2005-03-02 03:02:45 +00:00
27_io testsuite_hooks.cc: Remove try_named_locale. 2005-05-18 08:07:32 +00:00
backward testsuite_flags.in: Add "-D_GLIBCXX_ASSERT" to CXXFLAGS_save. 2004-03-04 23:29:44 +00:00
config default.exp: Update with comments. 2004-02-27 22:01:32 +00:00
data 9827.cc: New. 2005-01-23 23:35:20 +00:00
demangle re PR libstdc++/19946 (cris-elf testsuite failure: demangle/abi_examples/01.cc and 02) 2005-02-15 01:07:53 +01:00
ext re PR libstdc++/19495 (basic_string::_M_rep() can produce an unnaturally aligned pointer to _Rep) 2005-05-18 22:11:24 +00:00
lib testsuite_hooks.cc: Remove try_named_locale. 2005-05-18 08:07:32 +00:00
libstdc++-abi test.html: Update. 2005-04-07 04:16:26 +00:00
libstdc++-dg normal.exp: Read testsuite_files, if it exists. 2005-03-24 04:26:30 +00:00
performance testsuite_performance.h (time_counter::start): Clear. 2005-01-18 16:44:51 +00:00
thread binders.cc: Remove explicit instantiations for non-weak systems. 2005-03-16 11:24:36 +00:00
tr1 type_traits (is_convertible): Adjust according to the resolution of TR1 issue 3.20. 2005-04-28 22:35:09 +00:00
Makefile.am acinclude.m4: Remove testsuite_wchar_t and testsuite_thread. 2005-05-05 16:12:28 +00:00
Makefile.in acinclude.m4: Remove testsuite_wchar_t and testsuite_thread. 2005-05-05 16:12:28 +00:00
testsuite_abi.cc Makefile.am (noinst_PROGRAMS): Remove. 2005-04-01 20:20:22 +00:00
testsuite_abi.h Makefile.am (noinst_PROGRAMS): Remove. 2005-04-01 20:20:22 +00:00
testsuite_abi_check.cc test.html: Update. 2005-04-07 04:16:26 +00:00
testsuite_allocator.cc stl_construct.h (_Destroy): New three-argument overload that takes an allocator argument. 2004-07-28 16:37:20 +00:00
testsuite_allocator.h testsuite_allocator.h (check_delete): New. 2004-10-29 21:03:07 +00:00
testsuite_character.cc re PR libstdc++/21238 (conflicting "typedef __numpunct_cache<_CharT> __cache_type;" in std::numpunct<CharT> makes specialization impossible) 2005-04-29 18:50:00 +00:00
testsuite_character.h re PR libstdc++/21238 (conflicting "typedef __numpunct_cache<_CharT> __cache_type;" in std::numpunct<CharT> makes specialization impossible) 2005-04-29 18:50:00 +00:00
testsuite_hooks.cc testsuite_hooks.cc: Remove try_named_locale. 2005-05-18 08:07:32 +00:00
testsuite_hooks.h testsuite_hooks.cc: Remove try_named_locale. 2005-05-18 08:07:32 +00:00
testsuite_io.h 9561.cc: New. 2004-12-19 21:57:28 +00:00
testsuite_iterators.h testsuite_iterators.h: New. 2004-11-24 06:24:10 +00:00
testsuite_performance.h testsuite_performance.h (time_counter::start): Clear. 2005-01-18 16:44:51 +00:00
testsuite_tr1.h type_traits (has_trivial_copy, [...]): Adjust according to the resolution of TR1 issue 3.21. 2005-04-27 15:08:57 +00:00