* libsupc++/eh_globals.cc (__cxxabiv1::__cxa_get_globals):
[official-gcc.git] / libstdc++-v3 / ChangeLog
blobbb7ec9ce4318fe7257936d6becccaf7bf978e845
1 2006-11-13  Joseph Myers  <joseph@codesourcery.com>
3         * libsupc++/eh_globals.cc (__cxxabiv1::__cxa_get_globals):
4         Initialize propagatingExceptions if __ARM_EABI_UNWINDER__.
5         * libsupc++/eh_personality.cc (empty_exception_spec): Define
6         separately in __ARM_EABI_UNWINDER__ case.
8 2006-11-13  Joseph Myers  <joseph@codesourcery.com>
10         * libsupc++/typeinfo (__GXX_TYPEINFO_EQUALITY_INLINE): Define.
11         Use instead of __GXX_MERGED_TYPEINFO_NAMES to condition inline
12         definitions.
13         * libsupc++/tinfo.cc (operator==): Condition on
14         __GXX_TYPEINFO_EQUALITY_INLINE; check __GXX_MERGED_TYPEINFO_NAMES
15         to determine algorithm.
16         * libsupc++/tinfo2.cc (type_info::before): Likewise.
18 2006-11-12  Paolo Carlini  <pcarlini@suse.de>
20         * include/ext/bitmap_allocator.h: Uglify some names.
21         * include/ext/concurrence.h: Likewise.
22         * src/bitmap_allocator.cc: Likewise.
24 2006-11-11  Paolo Carlini  <pcarlini@suse.de>
26         PR libstdc++/29496
27         * include/debug/safe_base.h (_Safe_sequence_base::_M_get_mutex,
28         _Safe_iterator_base::_M_get_mutex, _M_attach_single, _M_detach_single):
29         New.
30         * src/debug.cc: Define the latter.
31         (_Safe_sequence_base::_M_detach_all, _M_detach_singular,
32         _M_revalidate_singular, _M_swap): Use the mutex.
33         (_Safe_iterator_base::_M_attach, _M_detach): Adjust, forward to the
34         *_single version.
35         * include/debug/safe_iterator.h (_Safe_iterator<>::_M_attach_single,
36         _M_invalidate_single): New.
37         * include/debug/safe_iterator.tcc: Define.
38         (_Safe_iterator<>::_M_invalidate): Adjust, forward to
39         _M_invalidate_single.
40         * include/debug/safe_sequence.h (_Safe_sequence<>::_M_invalidate_if,
41         _M_transfer_iter): Use the mutex, adjust, forward to the *_single
42         versions of _M_invalidate and _M_attach.
43         * config/abi/pre/gnu.ver (_Safe_sequence_base::_M_get_mutex,
44         _Safe_iterator_base::_M_get_mutex, _M_attach_single, _M_detach_single):
45         Add @GLIBCXX_3.4.10; adjust.
46         * configure.ac (libtool_VERSION): To 6:10:0.
47         * testsuite/util/testsuite_abi.cc (check_version): Add GLIBCXX_3.4.10.
48         * configure: Regenerate.
50 2006-11-10  Jakub Jelinek  <jakub@redhat.com>
52         * config/locale/gnu/c_locale.cc (__convert_to_v): Prefer
53         strtold_l over __strtold_l if available.
55 2006-11-07  Benjamin Kosnik  <bkoz@redhat.com>
57         PR libstdc++/29722
58         * include/ext/concurrence.h (concurrence_lock_error): New.
59         (concurrence_unlock_error): New.
60         (__throw_concurrence_lock_error): New.
61         (__throw_concurrence_unlock_error): New.
62         (__mutex): Use functions.
63         (__recursive_mutex): Same.
64         * testsuite/abi/cxx_runtime_only_linkage.cc: New.
66         * include/ext/pb_ds/exception.hpp: Keep exception classes defined
67         even when -fno-exceptions is passed, consistent with other usage.
68         
69 2006-11-07  Benjamin Kosnik  <bkoz@redhat.com>
71         * include/ext/pb_ds/exception.hpp (pb_ds): Modify for -fno-exceptions.
72         (__throw_container_error): New. Conditionalize based on __EXCEPTIONS.
73         (__throw_insert_error): New.
74         (__throw_join_error): New.
75         (__throw_resize_error): New.
76         * include/ext/pb_ds/detail/resize_policy/
77         hash_prime_size_policy_imp.hpp: Use them.
78         * include/ext/pb_ds/detail/resize_policy/
79         hash_exponential_size_policy_imp.hpp: Same.
80         * include/ext/pb_ds/detail/resize_policy/
81         hash_load_check_resize_trigger_imp.hpp: Same.
82         * include/ext/pb_ds/detail/resize_policy/
83         hash_standard_resize_policy_imp.hpp: Same.
84         * include/ext/pb_ds/detail/cc_hash_table_map_/resize_fn_imps.hpp
85         * include/ext/pb_ds/detail/cc_hash_table_map_/
86         constructor_destructor_fn_imps.hpp: Same.
87         * include/ext/pb_ds/detail/pat_trie_/insert_join_fn_imps.hpp
88         * include/ext/pb_ds/detail/pat_trie_/split_join_branch_bag.hpp
89         * include/ext/pb_ds/detail/pat_trie_/
90         constructors_destructor_fn_imps.hpp: Same.
91         * include/ext/pb_ds/detail/bin_search_tree_/
92         constructors_destructor_fn_imps.hpp: Same.
93         * include/ext/pb_ds/detail/bin_search_tree_/
94         split_join_fn_imps.hpp: Same.
95         * include/ext/pb_ds/detail/gp_hash_table_map_/
96         insert_no_store_hash_fn_imps.hpp: Same.
97         * include/ext/pb_ds/detail/gp_hash_table_map_/
98         resize_store_hash_fn_imps.hpp: Same.
99         * include/ext/pb_ds/detail/gp_hash_table_map_/
100         insert_store_hash_fn_imps.hpp: Same.
101         * include/ext/pb_ds/detail/gp_hash_table_map_/resize_fn_imps.hpp: Same.
102         * include/ext/pb_ds/detail/gp_hash_table_map_/
103         constructor_destructor_fn_imps.hpp: Same.
104         * include/ext/pb_ds/detail/gp_hash_table_map_/
105         resize_no_store_hash_fn_imps.hpp: Same.
106         * include/ext/pb_ds/detail/binary_heap_/
107         constructors_destructor_fn_imps.hpp: Same.
108         * include/ext/pb_ds/detail/binary_heap_/split_join_fn_imps.hpp: Same.
109         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
110         constructors_destructor_fn_imps.hpp: Same.
111         * include/ext/pb_ds/detail/ov_tree_map_/split_join_fn_imps.hpp: Same.
112         * include/ext/pb_ds/detail/list_update_map_/
113         constructor_destructor_fn_imps.hpp: Same.
114         * include/ext/pb_ds/exception.hpp: Same.        
115         * src/functexcept.cc: Qualify abort with std.
117 2006-11-07  Benjamin Kosnik  <bkoz@redhat.com>
119         * include/ext/pb_ds/exception.hpp: Add translation support to
120         exception strings.
121         * include/ext/concurrence.h: Same.
122         * include/tr1/array: Same.
124 2006-11-05  Paolo Carlini  <pcarlini@suse.de>
126         * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 45.
127         * docs/html/ext/lwg-closed.html: Add.
128         * docs/html/ext/howto.html: Adjust.
130 2006-10-30  Paolo Carlini  <pcarlini@suse.de>
132         * include/tr1/utility (tuple_size<std::pair<> >::value): Provide
133         definition.
135 2006-10-30  Paolo Carlini  <pcarlini@suse.de>
137         * include/tr1/tuple_iterate.h (tuple_size<tuple<> >::value): Provide
138         definition.
139         * include/tr1/functional (is_bind_expression<>::value,
140         is_placeholder<>::value, + various partial specializations): Likewise.
141         * include/tr1/array (tuple_size<array<> >::value): Likewise.
143 2006-10-30  Paolo Carlini  <pcarlini@suse.de>
145         * testsuite/tr1/6_containers/array/capacity/max_size.cc: Actually
146         do test max_size().
148 2006-10-30  Joseph Myers  <joseph@codesourcery.com>
150         * testsuite/config/default.exp (${tool}_target_compile): Use
151         v3_target_compile.
153 2006-10-29  Paolo Carlini  <pcarlini@suse.de>
155         * src/debug.cc (_Safe_sequence_base::_M_revalidate_singular): Fix
156         pasto, advance __iter only once per iteration.
158 2006-10-29  Paolo Carlini  <pcarlini@suse.de>
159         
160         PR libstdc++/29520
161         * include/tr1/random (geometric_distribution<>::
162         operator()(_UniformRandomNumberGenerator&)): Only declare.
163         * include/tr1/random.tcc (geometric_distribution<>::
164         operator()(_UniformRandomNumberGenerator&),
165         poisson_distribution<>::operator()(_UniformRandomNumberGenerator&),
166         binomial_distribution<>::operator()(_UniformRandomNumberGenerator&)):
167         Reject candidate floating point values not convertible to the
168         result_type.
170 2006-10-28  Paolo Carlini  <pcarlini@suse.de>
171         
172         * include/tr1/array (array<>::_M_at): New.
173         (array<>::at): Fix off-by-one bug, use the above.
174         * testsuite/tr1/6_containers/array/element_access/
175         at_out_of_range.cc: Adjust.
177         * include/tr1/array (class array<>): Remove non-conforming default
178         for the second parameter.
179         * include/ext/array_allocator.h: Adjust.
181         * include/tr1/array (array<>::front, array<>::back): Do not return
182         a reference to memory not belonging to the array when _Nm == 0.
184 2006-10-17  Paolo Carlini  <pcarlini@suse.de>
186         * include/bits/locale_facets.tcc (money_get<>::__do_get(iter_type,
187         iter_type, bool, ios_base&, ios_base::iostate&, double&),
188         money_get<>::do_get(iter_type, iter_type, bool, ios_base&,
189         ios_base::iostate&, long double&), money_get<>::do_get(iter_type,
190         iter_type, bool, ios_base&, ios_base::iostate&, string_type&)): Tidy.
192 2006-10-17  Paolo Carlini  <pcarlini@suse.de>
194         PR libstdc++/26020
195         * include/bits/stl_iterator_base_funcs.h (advance): Convert
196         distance parameter to iterator_traits<>::difference_type.
197         * testsuite/24_iterators/26020.cc: New.
199 2006-10-17  Benjamin Kosnik  <bkoz@redhat.com>
201         * include/tr1/random.tcc: Fixup long line.
203 2006-10-17  Benjamin Kosnik  <bkoz@redhat.com>
205         PR libstdc++/28514 
206         * include/bits/cpp_type_traits.h (__detail): Uglify namespace.
207         * include/ext/rope: Remove global-scope anonymous namespace, use
208         nested __detail. Fixup resulting formatting issues.
209         * include/ext/ropeimpl.h: Same.
210         * include/tr1/hashtable_policy.h: Remove anonymous namespace
211         nesting for __detail.
212         * include/tr1/random: Revert anonymous namespace to nested
213         __detail namespace.
214         * include/tr1/random.tcc: Same.
215         * src/ext-inst.cc: Fixups for above.
217 2006-10-16  Douglas Gregor  <doug.gregor@gmail.com>
219         * include/Makefile.am (tr1_headers): Add new tuple_defs.h.
220         * include/Makefile.in (tr1_headers): Regenerate.
221         * include/tr1/tuple (tuple): Move declaration to tuple_defs.h.
222         (get): Ditto.
223         (operator==): Ditto.
224         (operator<): Ditto.
225         (operator!=): Ditto.
226         (operator>): Ditto.
227         (operator<=): Ditto.
228         (operator>=): Ditto.
229         (__stripped_tuple_type): Ditto.
230         Include tuple.defs.h
231         * include/tr1/tuple_iterate.h (tuple): Use
232         _GLIBCXX_TUPLE_ALL_TEMPLATE_PARAMS_UNNAMED macro instead of 10
233         "typename"s.
234         (tuple_element): Use _GLIBCXX_TUPLE_ALL_TEMPLATE_PARAMS and
235         _GLIBCXX_TYPLE_ALL_TEMPLATE_ARGS instead of 10
236         parameters/arguments.
237         * include/tr1/tuple_defs.h: New header, contains declarations and
238         definitions for the tuple template with all arguments.
239         * include/tr1/repeat.h (_GLIBCXX_TUPLE_ALL_TEMPLATE_PARAMS): New.
240         (_GLIBCXX_TUPLE_ALL_TEMPLATE_PARAMS_UNNAMED): New.
241         (_GLIBCXX_TUPLE_ALL_TEMPLATE_ARGS): New.
242         (_GLIBCXX_TEMPLATE_PARAMS_NULL_CLASS): New.
243         (_GLIBCXX_TEMPLATE_ARGS_STRIPPED): New.
244         * scripts/gen_includers.pl: Update.
245         * scripts/gen_includers2.pl: New.       
247 2006-10-16  Benjamin Kosnik  <bkoz@redhat.com>
249         PR libstdc++/29095 continued
250         * testsuite/lib/libstdc++.exp (v3_target_compile_as_c): Additions
251         so that testing not in the build directory works for the "C"
252         target language.
254 2006-10-16  Jakub Jelinek  <jakub@redhat.com>
256         * include/bits/basic_string.tcc (_Rep::_S_create): Call
257         _M_set_sharable() for backwards compatibility.
259 2006-10-15  Paolo Carlini  <pcarlini@suse.de>
261         * include/bits/istream.tcc (getline(basic_istream<>&,
262         basic_string<>&)): Move...
263         * include/bits/basic_string.h: ... here.
264         (operator<<(basic_ostream<>&, const basic_string<>&)): Mark inline.
266 2006-10-15  Geoffrey Keating  <geoffk@apple.com>
268         * scripts/make_exports.pl: Use -_ rather than --strip-underscores
269         or --strip-underscore.
271 2006-10-14  Geoffrey Keating  <geoffk@apple.com>
273         * aclocal.m4: Regenerate.
274         * configure: Regenerate with released autoconf-2.59.
276 2006-10-14  Paolo Carlini  <pcarlini@suse.de>
278         * docs/html/faq/index.html: Update.
279         * docs/html/faq/index.txt: Regenerate.
281 2006-10-14  Paolo Carlini  <pcarlini@suse.de>
283         * include/bits/ostream.tcc (operator<<(basic_ostream<>&,
284         const char*)): Further fix for throwing widen.
286 2006-10-14  Paolo Carlini  <pcarlini@suse.de>
288         * include/bits/ostream.tcc (operator<<(basic_ostream<>&,
289         const char*)): Fix thinko in change for libstdc++/28277,
290         avoid memory leaks.
292 2006-10-13  Paolo Carlini  <pcarlini@suse.de>
294         * include/bits/istream.tcc (operator>>(__istream_type&
295         (*)(__istream_type&)), operator>>(__ios_type& (*)(__ios_type&)),
296         operator>>(ios_base& (*)(ios_base&))): Move...
297         * include/std/std_istream.h: ... here.
298         (operator>>(basic_istream<char,>&, unsigned char&),
299         operator>>(basic_istream<char,>&, signed char&),
300         operator>>(basic_istream<char,>&, unsigned char*),
301         operator>>(basic_istream<char,>&, signed char*)): Mark inline.
302         * include/bits/ostream.tcc (operator<<(__ostream_type&
303         (*)(__ostream_type&)), operator<<(__ios_type& (*)(__ios_type&)),
304         operator<<(ios_base& (*)(ios_base&))): Move...
305         * include/std/std_ostream.h: ... here.
306         (operator<<(basic_ostream<>&, _CharT),
307         operator<<(basic_ostream<>&, char),
308         operator<<(basic_ostream<char,>&, char),
309         operator<<(basic_ostream<char,>&, signed char),
310         operator<<(basic_ostream<char,>&, unsigned char),
311         operator<<(basic_ostream<>&, const _CharT*),
312         operator<<(basic_ostream<char,>&, const char*),
313         operator<<(basic_ostream<char,>&, const signed char*),
314         operator<<(basic_ostream<char,>&, const unsigned char*),
315         endl(basic_ostream<>&), ends(basic_ostream<>&),
316         flush(basic_ostream<>&)): Mark inline.
318 2006-10-13  Paolo Carlini  <pcarlini@suse.de>
320         PR libstdc++/28277 (partial: ostream bits 2)
321         * include/std/std_ostream.h (basic_ostream<>::_M_insert(const
322         char_type*, streamsize)): New.
323         (basic_ostream<>::_M_write(char_type, streamsize)): Likewise.
324         (operator<<(basic_ostream<>&, _CharT), operator<<(basic_ostream<>&,
325         char), operator<<(basic_ostream<>&, const _CharT*),
326         operator<<(basic_ostream<>&, const char*)): Use the latter.
327         * include/bits/ostream.tcc (basic_ostream<>::_M_insert(const
328         char_type*, streamsize)): Define.
329         (operator<<(basic_ostream<>&, const char*)): Use the latter.
330         (operator<<(basic_ostream<>&, _CharT), operator<<(basic_ostream<>&,
331         char), operator<<(basic_ostream<>&, const _CharT*),
332         operator<<(basic_ostream<>&, const char*),
333         operator<<(basic_ostream<>&, const basic_string<>&)): Remove.
334         * include/bits/basic_string.h (operator<<(basic_ostream<>&,
335         const basic_string<>&)): Use the latter, implement DR 586.
336         * config/abi/pre/gnu.ver: Adjust, export the new _M_insert.
337         * docs/html/ext/howto.html: Add an entry for DR 586.
338         * testsuite/21_strings/basic_string/inserters_extractors/char/
339         28277.cc: New.
340         * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/
341         28277.cc: Likewise.
342         * testsuite/27_io/basic_ostream/inserters_character/char/
343         28277-3.cc: Likewise.
344         * testsuite/27_io/basic_ostream/inserters_character/char/
345         28277-4.cc: Likewise.
346         * testsuite/27_io/basic_ostream/inserters_character/wchar_t/
347         28277-2.cc: Likewise.
348         * testsuite/27_io/basic_ostream/inserters_character/wchar_t/
349         28277-3.cc: Likewise.
350         * testsuite/27_io/basic_ostream/inserters_character/wchar_t/
351         28277-4.cc: Likewise.
353 2006-10-11  Paolo Carlini  <pcarlini@suse.de>
355         * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 44.
357 2006-10-11  Benjamin Kosnik  <bkoz@redhat.com>
359         PR libstdc++/29426
360         * libsupc++/guard.cc (get_static_mutex): New. 
361         (mutex_wrapper::mutex_wrapper): Use it to get properly initialized
362         recursive mutex without ordering issues.
364         * src/locale_init.cc (__get_locale_mutex): No need to
365         uglify. Change to get_locale_mutex.
366         
367 2006-10-11  Paolo Carlini  <pcarlini@suse.de>
369         * testsuite/22_locale/num_put/put/char/11.cc: New.
370         * testsuite/22_locale/num_put/put/wchar_t/11.cc: Likewise.
372 2006-10-10  Benjamin Kosnik  <bkoz@redhat.com>
374         * testsuite/lib/libstdc++.exp (v3-build_support): Link
375         libtestc++.a, not a bunch of object files.
377 2006-10-09  Benjamin Kosnik  <bkoz@redhat.com>
379         PR libstdc++/29118
380         * src/locale_init.cc (__get_locale_mutex): New. 
381         (locale::locale): Use it.
382         (locale::global): Use it.       
384 2006-10-09  Benjamin Kosnik  <bkoz@redhat.com>
386         PR libstdc++/29095
387         * libsupc++/cxxabi.h (__cxa_cdtor_type): Explicit "C" linkage.
388         * config/cpu/arm/cxxabi_tweaks.h: Same.
389         * config/cpu/generic/cxxabi_tweaks.h: Same.
390         * testsuite/abi: Add.
391         * testsuite/abi/header_cxxabi.cc: New.
392         * testsuite/demangle: Move...
393         * testsuite/abi/demangle: ...here.
394         * testsuite/libstdc++-dg/conformance.exp: Adjust testsuite file
395         calculation.
396         * scripts/create_testsuite_files: Same.
397         * testsuite/lib/libstdc++.exp (v3_target_compile_as_c): New.
398         (libstdc++-dg-test): Use it.
399         
400 2006-10-09  Paolo Carlini  <pcarlini@suse.de>
402         PR libstdc++/28277 (partial: __add_grouping)
403         * include/bits/locale_facets.tcc (__add_grouping<>(_CharT*, _CharT,
404         const char*, size_t, const _CharT*, const _CharT*)): Rewrite in
405         non-recursive form.
407 2006-10-09  Paolo Carlini  <pcarlini@suse.de>
409         PR libstdc++/28277 (partial: money_put bits)
410         * include/bits/locale_facets.tcc (money_put<>::_M_insert(iter_type,
411         ios_base&, char_type, const string_type&)): Avoid __builtin_alloca
412         with no limit, do the work in place.
414         * include/bits/locale_facets.tcc (money_put<>::do_put(iter_type,
415         bool, ios_base&, char_type, long double)): Avoid unnecessary
416         __builtin_alloca, do the work in place.
418 2006-10-09  Benjamin Kosnik  <bkoz@redhat.com>
420         * src/globals_io.cc (_GLIBCXX_once): Remove, unused.
421         (_GLIBCXX_mutex): Same.
422         (_GLIBCXX_mutex_addres): Same.
423         (_GLIBCXX_mutex_init): Same.
424         (_GLIBCXX_mutex_address_init): Same.
426 2006-10-07  Paolo Carlini  <pcarlini@suse.de>
428         PR libstdc++/28277 (partial: money_get bits)
429         * include/bits/locale_facets.tcc (money_get<>::do_get(iter_type,
430         iter_type, bool, ios_base&, ios_base::iostate&, string_type&)):
431         Avoid __builtin_alloca with no limit, do the work in place.
433 2006-10-07  Ion Gaztanaga  <igaztanaga@gmail.com>
434             Paolo Carlini  <pcarlini@suse.de>
436         * include/bits/stl_tree.h (_Rb_tree<>::erase(const _Key&)): Don't
437         call std::distance unnecessarily.
439 2006-10-06  Paolo Carlini  <pcarlini@suse.de>
441         PR libstdc++/29368
442         * include/bits/basic_string.h: Adjust rfind documentation.
443         * include/ext/vstring.h: Likewise.
445 2006-10-06  Paolo Carlini  <pcarlini@suse.de>
447         PR libstdc++/29354
448         * include/bits/sstream.tcc (basic_stringbuf<>::seekpos(pos_type,
449         ios_base::openmode)): Allow for seek to pos_type(off_type(0))
450         when the stream is empty.
451         * testsuite/27_io/basic_stringbuf/seekpos/char/29354.cc: New.
452         * testsuite/27_io/basic_stringbuf/seekpos/wchar_t/29354.cc: New.
454 2006-10-04  Benjamin Kosnik  <bkoz@redhat.com>
455             Mike Stump  <mrs@apple.com>
456         
457         * testsuite/27_io/ios_base/storage/2.cc: Fail on Darwin 8.[0-4].* only.
458         * testsuite/23_containers/vector/resize/1.cc: Same.
460 2006-10-04  Benjamin Kosnik  <bkoz@redhat.com>
462         * testsuite/util/performance/priority_queue/mem_usage/
463         pop_test.hpp: Correct typo.
464         * testsuite/util/performance/assoc/mem_usage/
465         multimap_insert_test.hpp: Same.
466         * testsuite/util/performance/assoc/mem_usage/erase_test.hpp: Same.
468 2006-10-03  Benjamin Kosnik  <bkoz@redhat.com>
470         * testsuite/util/testsuite_allocator.h (allocation_tracker): To
471         tracker_allocator_counter.
472         (allocation_tracker::allocationTotal): To get_allocation_count.
473         (allocation_tracker::deallocationTotal): To get_deallocation_count.
474         (allocation_tracker::constructCount): To get_construct_count.
475         (allocation_tracker::destructCount): To get_destruct_count.     
476         (allocation_tracker::resetCounts): To reset.
477         (tracker_alloc): To tracker_allocator.
478         * testsuite/util/performance/mem: Remove.
479         * testsuite/util/performance/mem/mem_track_allocator_base.hpp: Remove.
480         * testsuite/util/performance/mem/mem_track_allocator.hpp: Remove.
481         * testsuite/27_io/basic_stringbuf/4.cc: Adjust for new names
482         or includes.
483         * testsuite/ext/hash_set/check_construct_destroy.cc: Same.
484         * testsuite/ext/slist/check_construct_destroy.cc: Same.
485         * testsuite/performance/ext/pb_ds/
486         hash_random_int_erase_mem_usage.cc: Same.
487         * testsuite/performance/ext/pb_ds/multimap_text_insert_mem_usage.hpp
488         * testsuite/performance/ext/pb_ds/
489         priority_queue_text_pop_mem_usage.cc: Same.
490         * testsuite/23_containers/vector/capacity/2.cc: Same.
491         * testsuite/23_containers/vector/cons/4.cc: Same.
492         * testsuite/23_containers/vector/check_construct_destroy.cc: Same.
493         * testsuite/23_containers/deque/cons/2.cc: Same.
494         * testsuite/23_containers/deque/check_construct_destroy.cc: Same.
495         * testsuite/23_containers/list/check_construct_destroy.cc: Same.
496         * testsuite/23_containers/set/check_construct_destroy.cc: Same.
497         * testsuite/util/testsuite_allocator.h
498         * testsuite/util/performance/priority_queue/mem_usage/pop_test.hpp
499         * testsuite/util/performance/assoc/mem_usage/multimap_insert_test.hpp
500         * testsuite/util/performance/assoc/mem_usage/erase_test.hpp
501         * testsuite/util/testsuite_allocator.cc: Same.
502         
503 2006-10-03  Benjamin Kosnik  <bkoz@redhat.com>
505         * testsuite/util/native_type/priority_queue/native_pq_tag.hpp: Remove.
506         * testsuite/util/statistic/sample_var.hpp: Rename to...
507         * testsuite/util/statistic/sample_variance.hpp: ... this.
508         * testsuite/util/statistic/res_recorder.hpp: Rename to...
509         * testsuite/util/statistic/result_recorder.hpp: ... this.
510         * testsuite/util/statistic/sample_mean.hpp: Format.
511         * testsuite/util/statistic/sample_mean_confidence_checker.hpp: Same.
512         * testsuite/util/regression/trait/priority_queue/trait.hpp: Same.
513         * testsuite/util/regression/trait/erase_if_fn.hpp: Same.
514         * testsuite/util/regression/trait/assoc/trait.hpp: Same.
515         * testsuite/util/native_type/priority_queue/
516         native_priority_queue.hpp: Same.
517         * testsuite/util/native_type/assoc/native_tree_tag.hpp: Same.
518         * testsuite/util/native_type/assoc/native_hash_tag.hpp: Same.
519         * testsuite/util/native_type/assoc/native_hash_map.hpp: Same.
520         * testsuite/util/performance/priority_queue/timing/join_test.hpp: Same.
521         * testsuite/util/performance/priority_queue/timing/
522         modify_test.hpp: Same.
523         * testsuite/util/performance/assoc/timing/
524         subscript_insert_test.hpp: Same.
525         * testsuite/util/performance/time/timing_test_base.hpp: Same.
527 2006-10-02  Paolo Carlini  <pcarlini@suse.de>
529         * include/ext/rc_string_base.h (_M_compare<wchar_t>):
530         Protect with _GLIBCXX_USE_WCHAR_T.
531         * include/ext/sso_string_base.h (_M_compare<wchar_t>):
532         Likewise.
533         (__sso_string_base<>::_M_destroy): Inline.
535 2006-10-02  Benjamin Kosnik  <bkoz@redhat.com>
537         * include/ext/pb_ds/detail/basic_types.hpp (comp_hash_): Remove,
538         format. 
539         * include/ext/pb_ds/detail/types_traits.hpp
540         (types_traits::comp_hash): Use pair typedef.    
541         * include/ext/pb_ds/detail/hash_fn/ranged_probe_fn.hpp: Same.
542         * include/ext/pb_ds/detail/hash_fn/ranged_hash_fn.hpp: Same.
544 2006-10-01  Paolo Carlini  <pcarlini@suse.de>
546         * include/tr1/random (xor_combine<>::_M_initialize_max_aux): New.
547         (xor_combine<>::operator()()): Tweak per N2079.
548         * include/tr1/random.tcc (xor_combine<>::_M_initialize_max_aux):
549         Define.
550         (xor_combine<>::_M_initialize_max): Use it.
551         * testsuite/tr1/5_numerical_facilities/random/xor_combine/
552         cons/default.cc: Adjust.
553         * docs/html/ext/tr1.html: Adjust.
555 2006-10-01  Paolo Carlini  <pcarlini@suse.de>
557         * include/ext/type_traits.h: Avoid _T, badname for some targets;
558         also avoid plain T.
560 2006-10-01  Paolo Carlini  <pcarlini@suse.de>
562         * config/io/basic_file_stdio.cc: As an extension, and
563         consistently with C facilities, allow for in|out|app and
564         in|out|app|binary openmodes.
565         * testsuite/27_io/basic_filebuf/open/char/4.cc: New.
567 2006-09-30  Benjamin Kosnik  <bkoz@redhat.com>
569         * include/ext/pb_ds/detail/types_traits.hpp (store_extra_false_type):
570         To false_type.
571         (store_extra_true_type): To true_type.
572         (no_throw_copies_true_type): To true_type.
573         (no_throw_copies_false_type): To false_type.
574         * include/ext/pb_ds/detail/cc_hash_table_map_/
575         insert_no_store_hash_fn_imps.hpp: Same.
576         * include/ext/pb_ds/detail/cc_hash_table_map_/
577         resize_store_hash_fn_imps.hpp: Same.
578         * include/ext/pb_ds/detail/cc_hash_table_map_/
579         insert_store_hash_fn_imps.hpp: Same.
580         * include/ext/pb_ds/detail/cc_hash_table_map_/
581         entry_list_fn_imps.hpp: Same.
582         * include/ext/pb_ds/detail/cc_hash_table_map_/
583         debug_no_store_hash_fn_imps.hpp: Same.
584         * include/ext/pb_ds/detail/cc_hash_table_map_/cc_ht_map_.hpp: Same.
585         * include/ext/pb_ds/detail/cc_hash_table_map_/
586         debug_store_hash_fn_imps.hpp: Same.
587         * include/ext/pb_ds/detail/cc_hash_table_map_/
588         resize_no_store_hash_fn_imps.hpp: Same.
589         * include/ext/pb_ds/detail/gp_hash_table_map_/
590         insert_no_store_hash_fn_imps.hpp: Same.
591         * include/ext/pb_ds/detail/gp_hash_table_map_/
592         resize_store_hash_fn_imps.hpp: Same.
593         * include/ext/pb_ds/detail/gp_hash_table_map_/gp_ht_map_.hpp: Same.
594         * include/ext/pb_ds/detail/gp_hash_table_map_/
595         insert_store_hash_fn_imps.hpp: Same.
596         * include/ext/pb_ds/detail/gp_hash_table_map_/
597         find_no_store_hash_fn_imps.hpp: Same.
598         * include/ext/pb_ds/detail/gp_hash_table_map_/
599         debug_no_store_hash_fn_imps.hpp: Same.
600         * include/ext/pb_ds/detail/gp_hash_table_map_/
601         debug_store_hash_fn_imps.hpp: Same.
602         * include/ext/pb_ds/detail/gp_hash_table_map_/
603         resize_no_store_hash_fn_imps.hpp: Same.
604         * include/ext/pb_ds/detail/list_update_map_/lu_map_.hpp: Same.
606 2006-09-29  Benjamin Kosnik  <bkoz@redhat.com>
608         * include/ext/pb_ds/detail/cc_hash_table_map_/
609         constructor_destructor_no_store_hash_fn_imps.hpp: Formating fixes.
610         * include/ext/pb_ds/detail/basic_tree_policy/
611         null_node_metadata.hpp: Same.
612         * include/ext/pb_ds/detail/binary_heap_/const_point_iterator.hpp: Same.
613         * include/ext/pb_ds/detail/basic_types.hpp: Same.
614         * include/ext/pb_ds/detail/list_update_policy/
615         mtf_lu_policy_imp.hpp: Same.
616         * include/ext/pb_ds/detail/list_update_policy/
617         counter_lu_metadata.hpp: Same.
618         * include/ext/pb_ds/detail/list_update_policy/
619         sample_update_policy.hpp: Same.
620         * include/ext/pb_ds/detail/list_update_policy/
621         counter_lu_policy_imp.hpp: Same.
622         * include/ext/pb_ds/list_update_policy.hpp: Same.       
624 2006-09-29  Benjamin Kosnik  <bkoz@redhat.com>
625             Howard Hinnant  <hhinnant@apple.com>
626             Paolo Carlini  <pcarlini@suse.de>
628         * include/ext/type_traits.h (__remove_unsigned): Fix up for signed
629         char, bool, wchar_t, and floating point types.
630         (__add_unsigned): Same. 
631         * testsuite/ext/type_traits: New.
632         * testsuite/ext/type_traits.cc: Move...
633         * testsuite/ext/type_traits/numeric_traits.cc: ...here. 
634         * testsuite/ext/type_traits/add_unsigned_floating_neg.cc: New.
635         * testsuite/ext/type_traits/add_unsigned_integer_neg.cc: New.
636         * testsuite/ext/type_traits/remove_unsigned_floating_neg.cc: New.
637         * testsuite/ext/type_traits/remove_unsigned_integer_neg.cc: New.
638         * testsuite/ext/type_traits/add_unsigned.cc: New.
639         * testsuite/ext/type_traits/remove_unsigned.cc: New.
640         
641 2006-09-29  Joseph S. Myers  <joseph@codesourcery.com>
643         * acinclude.m4 (enable_symvers): Default to no if unable to link.
644         * configure: Regenerate.
646 2006-09-28  Paolo Carlini  <pcarlini@suse.de>
648         * include/bits/stl_uninitialized.h
649         (__uninitialized_fill_n_a(_ForwardIterator, _Size, const _Tp&,
650         allocator<>)): Inline.
652 2006-09-28  Benjamin Kosnik  <bkoz@redhat.com>
654         * include/ext/pb_ds/detail/cc_hash_table_map_/
655         erase_store_hash_fn_imps.hpp: Formatting fixes.
656         * include/ext/pb_ds/detail/cc_hash_table_map_/
657         constructor_destructor_no_store_hash_fn_imps.hpp: Same.
658         * include/ext/pb_ds/detail/cc_hash_table_map_/cmp_fn_imps.hpp: Same.
659         * include/ext/pb_ds/detail/cc_hash_table_map_/
660         insert_no_store_hash_fn_imps.hpp: Same.
661         * include/ext/pb_ds/detail/cc_hash_table_map_/find_fn_imps.hpp: Same.
662         * include/ext/pb_ds/detail/cc_hash_table_map_/
663         policy_access_fn_imps.hpp: Same.
664         * include/ext/pb_ds/detail/cc_hash_table_map_/
665         resize_store_hash_fn_imps.hpp: Same.
666         * include/ext/pb_ds/detail/cc_hash_table_map_/
667         constructor_destructor_store_hash_fn_imps.hpp: Same.
668         * include/ext/pb_ds/detail/cc_hash_table_map_/
669         insert_store_hash_fn_imps.hpp: Same.
670         * include/ext/pb_ds/detail/cc_hash_table_map_/info_fn_imps.hpp: Same.
671         * include/ext/pb_ds/detail/cc_hash_table_map_/
672         entry_list_fn_imps.hpp: Same.
673         * include/ext/pb_ds/detail/cc_hash_table_map_/trace_fn_imps.hpp: Same.
674         * include/ext/pb_ds/detail/cc_hash_table_map_/
675         find_store_hash_fn_imps.hpp: Same.
676         * include/ext/pb_ds/detail/cc_hash_table_map_/erase_fn_imps.hpp: Same.
677         * include/ext/pb_ds/detail/cc_hash_table_map_/
678         debug_no_store_hash_fn_imps.hpp: Same.
679         * include/ext/pb_ds/detail/cc_hash_table_map_/resize_fn_imps.hpp: Same.
680         * include/ext/pb_ds/detail/cc_hash_table_map_/
681         constructor_destructor_fn_imps.hpp: Same.
682         * include/ext/pb_ds/detail/cc_hash_table_map_/
683         cond_key_dtor_entry_dealtor.hpp: Same.
684         * include/ext/pb_ds/detail/cc_hash_table_map_/
685         debug_store_hash_fn_imps.hpp: Same.
686         * include/ext/pb_ds/detail/cc_hash_table_map_/
687         erase_no_store_hash_fn_imps.hpp: Same.
688         * include/ext/pb_ds/detail/cc_hash_table_map_/size_fn_imps.hpp: Same.
689         * include/ext/pb_ds/detail/cc_hash_table_map_/
690         iterators_fn_imps.hpp: Same.
691         * include/ext/pb_ds/detail/cc_hash_table_map_/
692         resize_no_store_hash_fn_imps.hpp: Same.
693         * include/ext/pb_ds/detail/pat_trie_/find_fn_imps.hpp: Same.
694         * include/ext/pb_ds/detail/pat_trie_/policy_access_fn_imps.hpp: Same.
695         * include/ext/pb_ds/detail/pat_trie_/child_iterator.hpp: Same.
696         * include/ext/pb_ds/detail/pat_trie_/update_fn_imps.hpp: Same.
697         * include/ext/pb_ds/detail/pat_trie_/split_join_branch_bag.hpp: Same.
698         * include/ext/pb_ds/detail/pat_trie_/head.hpp: Same.
699         * include/ext/pb_ds/detail/pat_trie_/info_fn_imps.hpp: Same.
700         * include/ext/pb_ds/detail/pat_trie_/cond_dtor_entry_dealtor.hpp: Same.
701         * include/ext/pb_ds/detail/pat_trie_/pat_trie_.hpp: Same.
702         * include/ext/pb_ds/detail/pat_trie_/leaf.hpp: Same.
703         * include/ext/pb_ds/detail/pat_trie_/trace_fn_imps.hpp: Same.
704         * include/ext/pb_ds/detail/pat_trie_/erase_fn_imps.hpp: Same.
705         * include/ext/pb_ds/detail/pat_trie_/node_base.hpp: Same.
706         * include/ext/pb_ds/detail/pat_trie_/node_iterators.hpp: Same.
707         * include/ext/pb_ds/detail/pat_trie_/point_iterators.hpp: Same.
708         * include/ext/pb_ds/detail/pat_trie_/iterators_fn_imps.hpp: Same.
709         * include/ext/pb_ds/detail/gp_hash_table_map_/
710         erase_store_hash_fn_imps.hpp: Same.
711         * include/ext/pb_ds/detail/gp_hash_table_map_/
712         constructor_destructor_no_store_hash_fn_imps.hpp: Same.
713         * include/ext/pb_ds/detail/gp_hash_table_map_/
714         insert_no_store_hash_fn_imps.hpp: Same.
715         * include/ext/pb_ds/detail/gp_hash_table_map_/
716         policy_access_fn_imps.hpp: Same.
717         * include/ext/pb_ds/detail/gp_hash_table_map_/
718         resize_store_hash_fn_imps.hpp: Same.
719         * include/ext/pb_ds/detail/gp_hash_table_map_/gp_ht_map_.hpp: Same.
720         * include/ext/pb_ds/detail/gp_hash_table_map_/
721         constructor_destructor_store_hash_fn_imps.hpp: Same.
722         * include/ext/pb_ds/detail/gp_hash_table_map_/
723         insert_store_hash_fn_imps.hpp: Same.
724         * include/ext/pb_ds/detail/gp_hash_table_map_/
725         iterator_fn_imps.hpp: Same.
726         * include/ext/pb_ds/detail/gp_hash_table_map_/
727         info_fn_imps.hpp: Same.
728         * include/ext/pb_ds/detail/gp_hash_table_map_/
729         find_no_store_hash_fn_imps.hpp: Same.
730         * include/ext/pb_ds/detail/gp_hash_table_map_/
731         find_store_hash_fn_imps.hpp: Same.
732         * include/ext/pb_ds/detail/gp_hash_table_map_/
733         debug_no_store_hash_fn_imps.hpp: Same.
734         * include/ext/pb_ds/detail/gp_hash_table_map_/resize_fn_imps.hpp: Same.
735         * include/ext/pb_ds/detail/gp_hash_table_map_/
736         constructor_destructor_fn_imps.hpp: Same.
737         * include/ext/pb_ds/detail/gp_hash_table_map_/
738         erase_no_store_hash_fn_imps.hpp: Same.
739         * include/ext/pb_ds/detail/gp_hash_table_map_/
740         resize_no_store_hash_fn_imps.hpp: Same.
741         * include/ext/pb_ds/detail/binomial_heap_/binomial_heap_.hpp: Same.
742         * include/ext/pb_ds/detail/ov_tree_map_/erase_fn_imps.hpp: Same.
743         * include/ext/pb_ds/detail/ov_tree_map_/
744         policy_access_fn_imps.hpp: Same.
745         * include/ext/pb_ds/detail/ov_tree_map_/insert_fn_imps.hpp: Same.
746         * include/ext/pb_ds/detail/ov_tree_map_/ov_tree_map_.hpp: Same.
747         * include/ext/pb_ds/detail/ov_tree_map_/debug_fn_imps.hpp: Same.
748         * include/ext/pb_ds/detail/ov_tree_map_/node_iterators.hpp: Same.
749         * include/ext/pb_ds/detail/ov_tree_map_/split_join_fn_imps.hpp: Same.
750         * include/ext/pb_ds/detail/ov_tree_map_/info_fn_imps.hpp: Same.
751         * include/ext/pb_ds/detail/ov_tree_map_/iterators_fn_imps.hpp: Same.
752         * include/ext/pb_ds/detail/splay_tree_/erase_fn_imps.hpp: Same.
753         * include/ext/pb_ds/detail/splay_tree_/find_fn_imps.hpp: Same.
754         * include/ext/pb_ds/detail/splay_tree_/insert_fn_imps.hpp: Same.
755         * include/ext/pb_ds/detail/splay_tree_/
756         constructors_destructor_fn_imps.hpp: Same.
757         * include/ext/pb_ds/detail/splay_tree_/debug_fn_imps.hpp: Same.
758         * include/ext/pb_ds/detail/splay_tree_/splay_fn_imps.hpp: Same.
759         * include/ext/pb_ds/detail/splay_tree_/node.hpp: Same.
760         * include/ext/pb_ds/detail/splay_tree_/split_join_fn_imps.hpp: Same.
761         * include/ext/pb_ds/detail/splay_tree_/splay_tree_.hpp: Same.
762         * include/ext/pb_ds/detail/splay_tree_/traits.hpp: Same.
763         * include/ext/pb_ds/detail/list_update_map_/trace_fn_imps.hpp: Same.
764         * include/ext/pb_ds/detail/list_update_map_/erase_fn_imps.hpp: Same.
765         * include/ext/pb_ds/detail/list_update_map_/
766         entry_metadata_base.hpp: Same.
767         * include/ext/pb_ds/detail/list_update_map_/find_fn_imps.hpp: Same.
768         * include/ext/pb_ds/detail/list_update_map_/lu_map_.hpp: Same.
769         * include/ext/pb_ds/detail/list_update_map_/insert_fn_imps.hpp: Same.
770         * include/ext/pb_ds/detail/list_update_map_/info_fn_imps.hpp: Same.
771         * include/ext/pb_ds/detail/list_update_map_/
772         iterators_fn_imps.hpp: Same.
773         * include/ext/pb_ds/detail/rb_tree_map_/erase_fn_imps.hpp: Same.
774         * include/ext/pb_ds/detail/rb_tree_map_/insert_fn_imps.hpp: Same.
775         * include/ext/pb_ds/detail/rb_tree_map_/
776         constructors_destructor_fn_imps.hpp: Same.
777         * include/ext/pb_ds/detail/rb_tree_map_/debug_fn_imps.hpp: Same.
778         * include/ext/pb_ds/detail/rb_tree_map_/rb_tree_.hpp: Same.
779         * include/ext/pb_ds/detail/rb_tree_map_/node.hpp: Same.
780         * include/ext/pb_ds/detail/rb_tree_map_/split_join_fn_imps.hpp: Same.
781         * include/ext/pb_ds/detail/rb_tree_map_/info_fn_imps.hpp: Same.
782         * include/ext/pb_ds/detail/rb_tree_map_/traits.hpp: Same.
784 2006-09-28  Paolo Carlini  <pcarlini@suse.de>
786         * include/tr1/boost_shared_ptr.h: Use __atomic_add_dispatch and
787         __exchange_and_add_dispatch everywhere.
789 2006-09-27  Benjamin Kosnik  <bkoz@redhat.com>
791         * include/ext/typelist.h (type_to_type): Remove.
792         * include/ext/throw_allocator.h (assert_allocatod): Remove.
793         (check_allocated(label)): New.
794         (print_to_string): Print numerical output correctly.
796         * testsuite/ext/pb_ds/example/hash_resize_neg.cc: Adjust line numbers.
798         * testsuite/util/regression/rand/priority_queue/detail/
799         operator_fn_imps.hpp: Set and clear label, throw
800         probability. Check only allocations of the marked label.
801         * testsuite/util/regression/rand/assoc/detail/
802         operator_fn_imps.hpp: Same.
804         * testsuite/performance/ext/pb_ds/text_find_timing.cc: Adjustments for
805         removal of type_to_type.
806         * testsuite/performance/ext/pb_ds/
807         hash_random_int_erase_mem_usage.cc: Same.
808         * testsuite/performance/ext/pb_ds/tree_text_insert_timing.cc: Same.
809         * testsuite/performance/ext/pb_ds/
810         priority_queue_text_push_timing.cc: Same.
811         * testsuite/performance/ext/pb_ds/
812         random_int_subscript_find_timing.cc: Same.
813         * testsuite/performance/ext/pb_ds/tree_split_join_timing.cc: Same.
814         * testsuite/performance/ext/pb_ds/random_int_find_timing.cc: Same.
815         * testsuite/performance/ext/pb_ds/
816         multimap_text_insert_mem_usage.hpp: Same.
817         * testsuite/performance/ext/pb_ds/
818         priority_queue_random_int_push_timing.cc: Same.
819         * testsuite/performance/ext/pb_ds/multimap_text_find_timing.hpp: Same.
820         * testsuite/performance/ext/pb_ds/
821         priority_queue_text_modify_timing.hpp: Same.
822         * testsuite/performance/ext/pb_ds/
823         tree_order_statistics_timing.cc: Same.
824         * testsuite/performance/ext/pb_ds/
825         priority_queue_text_push_pop_timing.cc: Same.
826         * testsuite/performance/ext/pb_ds/
827         priority_queue_text_join_timing.cc: Same.
828         * testsuite/performance/ext/pb_ds/
829         priority_queue_random_int_push_pop_timing.cc: Same.
830         * testsuite/performance/ext/pb_ds/
831         random_int_subscript_insert_timing.cc: Same.
832         * testsuite/performance/ext/pb_ds/tree_text_lor_find_timing.cc: Same.
833         * testsuite/performance/ext/pb_ds/
834         multimap_text_insert_timing.hpp: Same.
835         * testsuite/performance/ext/pb_ds/
836         priority_queue_text_pop_mem_usage.cc: Same.
837         * testsuite/performance/ext/pb_ds/
838         hash_zlob_random_int_find_timing.cc: Same. 
839         * testsuite/util/regression/trait/assoc/type_trait.hpp: Same.
840         * testsuite/util/regression/rand/priority_queue/
841         rand_regression_test.hpp: Same.
842         * testsuite/util/regression/rand/assoc/detail/
843         constructor_destructor_fn_imps.hpp: Same.
844         * testsuite/util/regression/rand/assoc/detail/insert_fn_imps.hpp: Same.
845         * testsuite/util/regression/rand/assoc/rand_regression_test.hpp: Same.
846         * testsuite/util/regression/rand/assoc/
847         container_rand_regression_test.hpp: Same.
848         * testsuite/util/regression/assoc/common_type.hpp: Same.
849         * testsuite/util/regression/basic_type.hpp: Same.
850         * testsuite/util/common_type/assoc/common_type.hpp: Same.
851         * testsuite/util/common_type/assoc/string_form.hpp: Same.
852         * testsuite/util/common_type/assoc/template_policy.hpp: Same.
853         * testsuite/util/common_type/assoc/native_set.hpp: Same.
854         * testsuite/util/performance/priority_queue/mem_usage/
855         pop_test.hpp: Same.
856         * testsuite/util/performance/priority_queue/timing/
857         push_pop_test.hpp: Same.
858         * testsuite/util/performance/priority_queue/timing/join_test.hpp: Same.
859         * testsuite/util/performance/priority_queue/timing/push_test.hpp: Same.
860         * testsuite/util/performance/priority_queue/timing/
861         modify_test.hpp: Same.
862         * testsuite/util/performance/assoc/mem_usage/
863         multimap_insert_test.hpp: Same.
864         * testsuite/util/performance/assoc/mem_usage/erase_test.hpp: Same.
865         * testsuite/util/performance/assoc/timing/
866         multimap_insert_test.hpp: Same.
867         * testsuite/util/performance/assoc/timing/
868         subscript_find_test.hpp: Same.
869         * testsuite/util/performance/assoc/timing/find_test.hpp: Same.
870         * testsuite/util/performance/assoc/timing/
871         subscript_insert_test.hpp: Same.
872         * testsuite/util/performance/assoc/timing/insert_test.hpp: Same.
873         * testsuite/util/performance/assoc/timing/
874         tree_order_statistics_test.hpp: Same.
875         * testsuite/util/performance/assoc/timing/multimap_find_test.hpp: Same.
876         * testsuite/util/performance/assoc/timing/
877         tree_split_join_test.hpp: Same.
878         * testsuite/util/performance/assoc/multimap_common_type.hpp: Same.
879         * testsuite/util/testsuite_common_types.h: Same.
881         * include/ext/pb_ds/detail/cc_hash_table_map_/
882         constructor_destructor_no_store_hash_fn_imps.hpp: Typedef
883         normalization, consistency in member names between cc and gp hash
884         tables, formatting fixes.
885         * include/ext/pb_ds/detail/cc_hash_table_map_/
886         erase_store_hash_fn_imps.hpp: Same.
887         * include/ext/pb_ds/detail/cc_hash_table_map_/
888         insert_no_store_hash_fn_imps.hpp: Same.
889         * include/ext/pb_ds/detail/cc_hash_table_map_/
890         constructor_destructor_store_hash_fn_imps.hpp: Same.
891         * include/ext/pb_ds/detail/cc_hash_table_map_/
892         insert_store_hash_fn_imps.hpp: Same.
893         * include/ext/pb_ds/detail/cc_hash_table_map_/debug_fn_imps.hpp: Same.
894         * include/ext/pb_ds/detail/cc_hash_table_map_/trace_fn_imps.hpp: Same.
895         * include/ext/pb_ds/detail/cc_hash_table_map_/erase_fn_imps.hpp: Same.
896         * include/ext/pb_ds/detail/cc_hash_table_map_/cc_ht_map_.hpp: Same.
897         * include/ext/pb_ds/detail/cc_hash_table_map_/resize_fn_imps.hpp: Same.
898         * include/ext/pb_ds/detail/cc_hash_table_map_/
899         constructor_destructor_fn_imps.hpp: Same.
900         * include/ext/pb_ds/detail/cc_hash_table_map_/
901         erase_no_store_hash_fn_imps.hpp: Same.
902         * include/ext/pb_ds/detail/gp_hash_table_map_/
903         constructor_destructor_no_store_hash_fn_imps.hpp: Same.
904         * include/ext/pb_ds/detail/gp_hash_table_map_/
905         erase_store_hash_fn_imps.hpp: Same.
906         * include/ext/pb_ds/detail/gp_hash_table_map_/
907         insert_no_store_hash_fn_imps.hpp: Same.
908         * include/ext/pb_ds/detail/gp_hash_table_map_/find_fn_imps.hpp: Same.
909         * include/ext/pb_ds/detail/gp_hash_table_map_/
910         constructor_destructor_store_hash_fn_imps.hpp: Same.
911         * include/ext/pb_ds/detail/gp_hash_table_map_/gp_ht_map_.hpp: Same.
912         * include/ext/pb_ds/detail/gp_hash_table_map_/
913         insert_store_hash_fn_imps.hpp: Same.
914         * include/ext/pb_ds/detail/gp_hash_table_map_/debug_fn_imps.hpp: Same.
915         * include/ext/pb_ds/detail/gp_hash_table_map_/trace_fn_imps.hpp: Same.
916         * include/ext/pb_ds/detail/gp_hash_table_map_/erase_fn_imps.hpp: Same.
917         * include/ext/pb_ds/detail/gp_hash_table_map_/resize_fn_imps.hpp: Same.
918         * include/ext/pb_ds/detail/gp_hash_table_map_/
919         constructor_destructor_fn_imps.hpp: Same.
920         * include/ext/pb_ds/detail/gp_hash_table_map_/
921         erase_no_store_hash_fn_imps.hpp: Same.
923         * include/ext/pb_ds/assoc_container.hpp: Formatting fixes.
924         * include/ext/pb_ds/detail/resize_policy/
925         hash_prime_size_policy_imp.hpp: Same.
926         * include/ext/pb_ds/detail/resize_policy/
927         hash_standard_resize_policy_imp.hpp: Same.
928         * include/ext/pb_ds/detail/types_traits.hpp: Same.
929         * include/ext/pb_ds/detail/constructors_destructor_fn_imps.hpp: Same.
930         * include/ext/pb_ds/detail/ov_tree_map_/ov_tree_map_.hpp: Same.
931         * include/ext/pb_ds/detail/hash_fn/ranged_probe_fn.hpp: Same.
932         * include/ext/pb_ds/detail/hash_fn/
933         direct_mod_range_hashing_imp.hpp: Same.
934         * include/ext/pb_ds/detail/hash_fn/mask_based_range_hashing.hpp: Same.
935         * include/ext/pb_ds/detail/hash_fn/
936         direct_mask_range_hashing_imp.hpp: Same.
937         
938 2006-09-27  Paolo Carlini  <pcarlini@suse.de>
940         PR libstdc++/29217
941         * src/localename.cc (locale::_Impl::_M_replace_categories)):
942         Compensate for the inconsistent numerical encodings of the
943         collate and time categories vs the corresponding names.
944         * testsuite/22_locale/locale/cons/29217.cc: New.
946         * testsuite/22_locale/locale/cons/2.cc: Enable and split
947         out the few ENC_TRAITS bits to...
948         * testsuite/22_locale/locale/cons/unicode/1.cc... here.
950 2006-09-25  Howard Hinnant  <hhinnant@apple.com>
952         PR libstdc++/29224
953         * include/tr1/functional_iterate.h: Avoid -Wshadow warnings.
955 2006-09-25  Paolo Carlini  <pcarlini@suse.de>
957         PR libstdc++/29179
958         * include/ext/mt_allocator.h (__pool_base): Adjust/extend
959         documentation in comments.
961 2006-09-24  Paolo Carlini  <pcarlini@suse.de>
963         * include/tr1/boost_shared_ptr.h (shared_ptr<>::shared_ptr(const
964         __shared_ptr<>&), shared_ptr(const __weak_ptr<>&),
965         shared_ptr(const __shared_ptr<>&, __static_cast_tag),
966         shared_ptr(const __shared_ptr<>&, __const_cast_tag),
967         shared_ptr(const __shared_ptr<>&, __dynamic_cast_tag),
968         weak_ptr<>::weak_ptr(const __shared_ptr<>&), weak_ptr(const
969         __weak_ptr<>&)): Remove.
970         (shared_ptr<>::shared_ptr(const shared_ptr<>&),
971         shared_ptr(const weak_ptr<>&), shared_ptr(const shared_ptr<>&,
972         __static_cast_tag), shared_ptr(const shared_ptr<>&,
973         __const_cast_tag), shared_ptr(const shared_ptr<>&,
974         __dynamic_cast_tag), static_pointer_cast(const shared_ptr<>&),
975         const_pointer_cast(const shared_ptr<>&), dynamic_pointer_cast(const
976         shared_ptr<>&), weak_ptr<>::weak_ptr(const shared_ptr<>&),
977         weak_ptr(const weak_ptr<>&), weak_ptr<>::lock(), 
978         __enable_shared_from_this_helper(const __shared_count<>&, const
979         enable_shared_from_this<>*, const _Tp2*)): Add. 
980         (class enable_shared_from_this): Add.
981         * testsuite/tr1/2_general_utilities/memory/enable_shared_from_this/
982         1.cc: New.
983         * testsuite/tr1/2_general_utilities/memory/shared_ptr/casts/1.cc:
984         Likewise.
985         * testsuite/tr1/2_general_utilities/memory/weak_ptr/lock/1.cc:
986         Likewise.
988         * include/tr1/boost_shared_ptr.h: Further formatting and
989         uglification fixes.
991 2006-09-22  Paolo Carlini  <pcarlini@suse.de>
993         PR libstdc++/29134 (vector<bool> bits)
994         * include/bits/stl_bvector.h (vector<bool>::max_size):
995         Use allocator' max_size.
996         * testsuite/23_containers/vector/bool/capacity/29134.cc: New.
998         * testsuite/23_containers/deque/capacity/29134-2.cc: Minor tweak.
999         * testsuite/23_containers/vector/capacity/29134-2.cc: Likewise.
1001 2006-09-22  Paolo Carlini  <pcarlini@suse.de>
1003         * include/tr1/type_traits (add_reference): Robustify vs
1004         reference to void.
1005         * testsuite/tr1/4_metaprogramming/reference_modifications/
1006         add_reference.cc: Add test.
1008         * include/tr1/memory: include <tr1/type_traits>.
1009         * include/tr1/boost_shared_ptr.h (__shared_ptr<>::operator*):
1010         Use add_reference instead.
1011         * testsuite/tr1/2_general_utilities/memory/enable_shared_from_this/
1012         explicit_instantiation/1.cc: New.
1013         * testsuite/tr1/2_general_utilities/memory/shared_ptr/
1014         explicit_instantiation/1.cc: Likewise.
1015         * testsuite/tr1/2_general_utilities/memory/weak_ptr/
1016         explicit_instantiation/1.cc: Likewise.
1018         * testsuite/util/testsuite_tr1.h: Tweak; avoid empty enum.
1020         * include/tr1/type_traits_fwd.h: Spelling fix.
1022         * include/tr1/boost_shared_ptr.h: Obvious stylistic fixes.
1024 2006-09-22  Paolo Carlini  <pcarlini@suse.de>
1026         * include/tr1/boost_shared_ptr.h: Trivial formatting fixes.
1028 2006-09-21  Benjamin Kosnik  <bkoz@redhat.com>
1030         * include/ext/type_traits.h (__numeric_traits_integer): New.
1031         (__numeric_traits_floating): New.
1032         (__numeric_traits): Use them.
1033         * testsuite/ext/type_traits.cc: New.
1034         
1035 2006-09-21  Paolo Carlini  <pcarlini@suse.de>
1037         * include/ext/hash_map: Remove forward declaration of equality
1038         operator, not needed for friendship of all its instances.
1039         * include/ext/hash_set: Likewise.
1040         * include/bits/stl_set.h: Likewise for equality operator and
1041         operator less.
1042         * include/bits/stl_multiset.h: Likewise.
1043         * include/bits/stl_multimap.h: Likewise.
1044         * include/bits/stl_queue.h: Likewise.
1045         * include/bits/stl_stack.h: Likewise.
1046         * include/bits/streambuf_iterator.h: Likewise for copy.
1047         * include/std/std_streambuf.h: Likewise for __copy_aux and find.
1048         * include/tr1/boost_shared_ptr.h: Likewise for get_deleter.
1049         * include/tr1/random: Likewise, remove all forward declarations
1050         of inserters and extractors.
1052 2006-09-21  Paolo Carlini  <pcarlini@suse.de>
1054         * include/ext/sso_string_base.h (__sso_string_base<>::_M_max_size(),
1055         _M_destroy, _M_create): Use _M_get_allocator.
1057 2006-09-21  Ben Elliston  <bje@au.ibm.com>
1059         * crossconfig.m4 (GLIBCXX_CROSSCONFIG): Remove invocations of
1060         GLIBCXX_CHECK_COMPILER_FEATURES.
1061         * configure.ac: Always invoke GLIBCXX_CHECK_COMPILER_FEATURES.
1062         Remove invocations elsewhere.
1063         * configure: Regenerate.
1065 2006-09-21  Paolo Carlini  <pcarlini@suse.de>
1067         PR libstdc++/29134 (ext/vstring bits)
1068         * include/ext/sso_string_base.h (__sso_string_base<>::_S_max_size):
1069         Remove.
1070         (__sso_string_base<>::_M_max_size): Use allocator' max_size.
1071         (__sso_string_base<>::_M_create): Adjust.
1072         * include/ext/vstring.h: Minor comment tweak.
1073         * testsuite/ext/vstring/capacity/29134.cc: New.
1075 2006-09-20  Paolo Carlini  <pcarlini@suse.de>
1077         PR libstdc++/29134
1078         * include/bits/stl_list.h (list<>::max_size): Forward to allocator'
1079         max_size.
1080         * include/bits/stl_vector.h (vector<>::max_size): Likewise.
1081         * include/bits/stl_deque.h (deque<>::max_size): Likewise.
1082         * include/bits/stl_tree.h (_Rb_tree<>::max_size): Likewise.
1083         * include/tr1/hashtable (_Hashtable<>::max_size): Likewise.
1084         * testsuite/23_containers/vector/capacity/29134.cc: Add.
1085         * testsuite/23_containers/deque/capacity/29134.cc: Likewise.
1086         * testsuite/23_containers/list/capacity/29134.cc: Likewise.
1087         * testsuite/23_containers/set/capacity/29134.cc: Likewise.
1088         * testsuite/23_containers/map/capacity/29134.cc: Likewise.
1089         * testsuite/23_containers/multiset/capacity/29134.cc: Likewise.
1090         * testsuite/23_containers/multimap/capacity/29134.cc: Likewise. 
1091         * testsuite/tr1/6_containers/unordered/capacity/29134-set.cc: Likewise.
1092         * testsuite/tr1/6_containers/unordered/capacity/29134-map.cc: Likewise.
1093         * testsuite/tr1/6_containers/unordered/capacity/29134-multiset.cc:
1094         Likewise.
1095         * testsuite/tr1/6_containers/unordered/capacity/29134-multimap.cc:
1096         Likewise.
1098         * include/bits/deque.tcc (deque<>::_M_new_elements_at_front,
1099         deque<>::_M_new_elements_at_back): Check for length errors.
1100         * testsuite/23_containers/deque/capacity/29134-2.cc: New.
1101         * testsuite/23_containers/vector/capacity/29134-2.cc: Likewise.
1103         * include/tr1/hashtable (_Hashtable<>::_M_get_Value_allocator): Add.
1104         (_Hashtable<>::_M_allocate_node, _M_deallocate_node): Use it.
1105         * testsuite/tr1/6_containers/unordered/instantiate/set.cc: Add test.
1106         * testsuite/tr1/6_containers/unordered/instantiate/map.cc: Likewise.
1107         * testsuite/tr1/6_containers/unordered/instantiate/multiset.cc:
1108         Likewise.
1109         * testsuite/tr1/6_containers/unordered/instantiate/multimap.cc:
1110         Likewise.
1112 2006-09-20  Benjamin Kosnik  <bkoz@redhat.com>
1114         * include/ext/pb_ds/detail/
1115         typelist_assoc_container.hpp: Remove, unused.
1116         * include/ext/pb_ds/detail/typelist/
1117         typelist_assoc_container_find.hpp: Same.
1118         * include/ext/pb_ds/detail/typelist: Remove.    
1119         * include/ext/pb_ds/detail/typelist.hpp: Merge...
1120         * include/ext/pb_ds/detail/typelist/typelist_flatten.hpp: Same.
1121         * include/ext/pb_ds/detail/typelist/typelist_contains.hpp: Same.
1122         * include/ext/pb_ds/detail/typelist/typelist_typelist_append.hpp: Same.
1123         * include/ext/pb_ds/detail/typelist/typelist_apply.hpp: Same.
1124         * include/ext/pb_ds/detail/typelist/typelist_filter.hpp: Same.
1125         * include/ext/pb_ds/detail/typelist/typelist_append.hpp: Same.
1126         * include/ext/pb_ds/detail/typelist/typelist_at_index.hpp: Same.
1127         * include/ext/pb_ds/detail/typelist/typelist_transform.hpp: Same.
1128         * include/ext/typelist.h: ... into this.
1129         * include/Makefile.am: Subtractions.
1130         * include/Makefile.in: Regenerate.
1132         * include/ext/pb_ds/assoc_container.hpp: Fixups for new includes,
1133         namespaces, and names.  
1134         * include/ext/pb_ds/detail/resize_policy/sample_size_policy.hpp: Same.
1135         * include/ext/pb_ds/detail/resize_policy/
1136         hash_prime_size_policy_imp.hpp: Same.
1137         * include/ext/pb_ds/detail/resize_policy/
1138         cc_hash_max_collision_check_resize_trigger_imp.hpp: Same.
1139         * include/ext/pb_ds/detail/resize_policy/
1140         sample_resize_policy.hpp: Same.
1141         * include/ext/pb_ds/detail/resize_policy/
1142         sample_resize_trigger.hpp: Same.
1143         * include/ext/pb_ds/detail/resize_policy/
1144         hash_exponential_size_policy_imp.hpp: Same.
1145         * include/ext/pb_ds/detail/resize_policy/
1146         hash_load_check_resize_trigger_size_base.hpp: Same.
1147         * include/ext/pb_ds/detail/resize_policy/
1148         hash_load_check_resize_trigger_imp.hpp: Same.
1149         * include/ext/pb_ds/detail/resize_policy/
1150         hash_standard_resize_policy_imp.hpp: Same.
1151         * include/ext/pb_ds/detail/container_base_dispatch.hpp: Same.
1152         * testsuite/performance/ext/pb_ds/text_find_timing.cc
1153         * testsuite/performance/ext/pb_ds/hash_random_int_erase_mem_usage.cc
1154         * testsuite/performance/ext/pb_ds/tree_text_insert_timing.cc
1155         * testsuite/performance/ext/pb_ds/priority_queue_text_push_timing.cc
1156         * testsuite/performance/ext/pb_ds/random_int_subscript_find_timing.cc
1157         * testsuite/performance/ext/pb_ds/tree_split_join_timing.cc
1158         * testsuite/performance/ext/pb_ds/random_int_find_timing.cc
1159         * testsuite/performance/ext/pb_ds/
1160         multimap_text_insert_mem_usage.hpp: Same.
1161         * testsuite/performance/ext/pb_ds/
1162         priority_queue_random_int_push_timing.cc
1163         * testsuite/performance/ext/pb_ds/multimap_text_find_timing.hpp: Same.
1164         * testsuite/performance/ext/pb_ds/
1165         priority_queue_text_modify_timing.hpp: Same.
1166         * testsuite/performance/ext/pb_ds/tree_order_statistics_timing.cc
1167         * testsuite/performance/ext/pb_ds/
1168         priority_queue_text_push_pop_timing.cc
1169         * testsuite/performance/ext/pb_ds/priority_queue_text_join_timing.cc
1170         * testsuite/performance/ext/pb_ds/
1171         priority_queue_random_int_push_pop_timing.cc
1172         * testsuite/performance/ext/pb_ds/random_int_subscript_insert_timing.cc
1173         * testsuite/performance/ext/pb_ds/tree_text_lor_find_timing.cc
1174         * testsuite/performance/ext/pb_ds/
1175         multimap_text_insert_timing.hpp: Same.
1176         * testsuite/performance/ext/pb_ds/priority_queue_text_pop_mem_usage.cc
1177         * testsuite/performance/ext/pb_ds/hash_zlob_random_int_find_timing.cc
1178         * testsuite/performance/23_containers/find/map.cc
1179         * testsuite/performance/23_containers/create/map.cc
1180         * testsuite/performance/23_containers/insert_erase/associative.cc
1181         * testsuite/performance/23_containers/insert/sequence.cc
1182         * testsuite/performance/23_containers/insert/associative.cc
1183         * testsuite/performance/23_containers/create_from_sorted/set.cc
1184         * testsuite/performance/23_containers/index/map.cc
1185         * testsuite/performance/23_containers/insert_from_sorted/set.cc
1186         * testsuite/performance/23_containers/create_sort/list.cc
1187         * testsuite/performance/23_containers/sort_search/list.cc
1188         * testsuite/performance/23_containers/producer_consumer/sequence.cc
1189         * testsuite/performance/23_containers/producer_consumer/associative.cc
1190         * testsuite/util/regression/trait/assoc/type_trait.hpp: Same.
1191         * testsuite/util/regression/rand/priority_queue/
1192         rand_regression_test.hpp: Same.
1193         * testsuite/util/regression/rand/assoc/rand_regression_test.hpp: Same.
1194         * testsuite/util/regression/assoc/common_type.hpp: Same.
1195         * testsuite/util/native_type/assoc/native_multimap.hpp: Same.
1196         * testsuite/util/native_type/assoc/native_tree_tag.hpp: Same.
1197         * testsuite/util/native_type/assoc/native_hash_multimap.hpp: Same.
1198         * testsuite/util/native_type/assoc/native_set.hpp: Same.
1199         * testsuite/util/native_type/assoc/native_map.hpp: Same.
1200         * testsuite/util/native_type/assoc/native_hash_set.hpp: Same.
1201         * testsuite/util/native_type/assoc/native_hash_map.hpp: Same.
1202         * testsuite/util/common_type/priority_queue/common_type.hpp: Same.
1203         * testsuite/util/common_type/assoc/common_type.hpp: Same.
1204         * testsuite/util/common_type/assoc/string_form.hpp: Same.
1205         * testsuite/util/common_type/assoc/template_policy.hpp: Same.
1206         * testsuite/util/performance/priority_queue/mem_usage/pop_test.hpp: 
1207         Same.
1208         * testsuite/util/performance/priority_queue/timing/push_pop_test.hpp: 
1209         Same.
1210         * testsuite/util/performance/priority_queue/timing/join_test.hpp: Same.
1211         * testsuite/util/performance/priority_queue/timing/push_test.hpp: Same.
1212         * testsuite/util/performance/priority_queue/timing/modify_test.hpp: 
1213         Same.
1214         * testsuite/util/performance/assoc/mem_usage/multimap_insert_test.hpp: 
1215         Same.
1216         * testsuite/util/performance/assoc/mem_usage/erase_test.hpp: Same.
1217         * testsuite/util/performance/assoc/timing/common_type.hpp: Same.
1218         * testsuite/util/performance/assoc/timing/multimap_insert_test.hpp: 
1219         Same.
1220         * testsuite/util/performance/assoc/timing/subscript_find_test.hpp: 
1221         Same.
1222         * testsuite/util/performance/assoc/timing/find_test.hpp: Same.
1223         * testsuite/util/performance/assoc/timing/subscript_insert_test.hpp: 
1224         Same.
1225         * testsuite/util/performance/assoc/timing/insert_test.hpp: Same.
1226         * testsuite/util/performance/assoc/timing/
1227         tree_order_statistics_test.hpp: Same.
1228         * testsuite/util/performance/assoc/timing/multimap_find_test.hpp: Same.
1229         * testsuite/util/performance/assoc/timing/tree_split_join_test.hpp: 
1230         Same.
1231         * testsuite/util/performance/assoc/multimap_common_type.hpp: Same.
1233         * testsuite/ext/pb_ds/example/hash_resize_neg.cc: Fixup line numbers.
1234         
1235 2006-09-19  Paolo Carlini  <pcarlini@suse.de>
1237         * include/tr1/hashtable_policy.h: Uglify all the names.
1238         * include/tr1/hashtable: Likewise.
1239         * include/tr1/unordered_map: Likewise.
1240         * include/tr1/unordered_set: Likewise.
1241         * include/tr1/functional: Uglify struct hash names.
1242         * include/tr1/cmath: Uglify namespace detail to __detail.
1244 2006-09-18  Benjamin Kosnik  <bkoz@redhat.com>
1246         * testsuite/util/regression/res_mng: Remove.
1247         * testsuite/util/regression/res_mng/dbg_ex_allocator_base.cc: Merge..
1248         * testsuite/util/regression/res_mng/forced_exception.hpp: Merge...
1249         * testsuite/util/regression/res_mng/dbg_ex_allocator_base.hpp: Merge..
1250         * testsuite/util/regression/res_mng/dbg_ex_allocator.hpp: Merge..
1251         * testsuite/util/testsuite_allocator.h (throw_allocator): Merge...
1252         * include/ext/throw_allocator.h (throw_allocator): ... into this.
1253         * src/throw_allocator.cc: ...and this.
1254         * include/Makefile.am (ext_headers): Add.
1255         * include/Makefile.in: Regenerate.      
1256         * src/Makefile.am (sources): New.
1257         * src/Makefile.in: Regenerate.
1258         * testsuite/lib/libstdc++.exp: Subtract dbg_ex_allocator_base.cc.
1260         * include/ext/pb_ds/detail/map_debug_base.hpp: Adjust
1261         includes, names, and namespaces.
1262         * testsuite/23_containers/list/modifiers/insert/25288.cc: Same.
1263         * testsuite/util/regression/rand/priority_queue/detail/
1264         erase_fn_imps.hpp: Same.
1265         * testsuite/util/regression/rand/priority_queue/detail/
1266         constructor_destructor_fn_imps.hpp: Same.
1267         * testsuite/util/regression/rand/priority_queue/detail/
1268         insert_fn_imps.hpp: Same.
1269         * testsuite/util/regression/rand/priority_queue/detail/
1270         modify_fn_imps.hpp: Same.
1271         * testsuite/util/regression/rand/priority_queue/detail/
1272         split_join_fn_imps.hpp: Same.
1273         * testsuite/util/regression/rand/priority_queue/detail/
1274         operator_fn_imps.hpp: Same.
1275         * testsuite/util/regression/rand/priority_queue/
1276         container_rand_regression_test.hpp: Same.
1277         * testsuite/util/regression/rand/assoc/detail/
1278         subscript_fn_imps.hpp: Same.
1279         * testsuite/util/regression/rand/assoc/detail/
1280         operator_fn_imps.hpp: Same.
1281         * testsuite/util/regression/rand/assoc/detail/erase_fn_imps.hpp: Same.
1282         * testsuite/util/regression/rand/assoc/detail/
1283         constructor_destructor_fn_imps.hpp
1284         * testsuite/util/regression/rand/assoc/detail/insert_fn_imps.hpp: Same.
1285         * testsuite/util/regression/rand/assoc/detail/
1286         split_join_fn_imps.hpp: Same.
1287         * testsuite/util/regression/rand/assoc/
1288         container_rand_regression_test.hpp: Same.
1289         * testsuite/util/regression/priority_queue/common_type.hpp: Same.
1290         * testsuite/util/regression/assoc/common_type.hpp: Same.
1291         * testsuite/util/regression/basic_type.hpp: Same.
1292         * testsuite/util/rng/twister_rand_gen.cc: Tweak.
1293         
1294 2006-09-18  Tom Tromey  <tromey@redhat.com>
1296         * configure: Rebuilt.
1298 2006-09-18  Paolo Carlini  <pcarlini@suse.de>
1300         * include/bits/locale_facets.tcc (_M_group_int): Remove
1301         redundant using-declaration.
1303 2006-09-18  Benjamin Kosnik  <bkoz@redhat.com>
1305         * include/ext/typelist.h (cond_type): Remove, use __conditional_type.
1307 2006-09-18  Benjamin Kosnik  <bkoz@redhat.com>
1308             Peter Doerfler  <gcc@pdoerfler.com>
1309             Paolo Carlini  <pcarlini@suse.de>
1310         
1311         * include/ext/type_traits.h: New. 
1312         (__conditional_type): New.
1313         (__numeric_traits): New.
1314         (__add_unsigned): New.
1315         (__remove_unsigned): New.
1316         (__enable_if): New.
1317         * include/Makefile.am: Add.
1318         * include/Makefile.in: Regenerate.
1319         * include/ext/pb_ds/detail/type_utils.hpp: Use ext include,
1320         remove duplicates.
1321         * include/tr1/hashtable_policy.h (IF): Use __conditional_type.
1322         (_Max_digits10): Same.
1323         (identity): Use _Identity.
1324         (extract1st): Use _Select1st.
1325         * include/tr1/random (_Select): Use __conditional_type.
1326         (_To_Unsigned_Type): Use __add_unsigned. Linebreak fixups.
1327         * include/bits/locale_facets.tcc (__to_unsigned_type): Remove, use
1328         __add_unsigned.
1329         * include/tr1/random.tcc: Fixups as above.
1330         * include/tr1/unordered_map: Same.
1331         * include/tr1/hashtable: Same.
1332         * include/tr1/unordered_set: Same.
1333         * include/ext/pb_ds/detail/gp_hash_table_map_/
1334         standard_policies.hpp: Same.
1335         * include/ext/pb_ds/detail/standard_policies.hpp: Same.
1336         * include/ext/pb_ds/detail/typelist/typelist_filter.hpp: Same.
1337         * include/ext/pb_ds/detail/binary_heap_/binary_heap_.hpp: Same.
1338         * include/ext/pb_ds/detail/type_utils.hpp: Same.
1339         * include/ext/pb_ds/trie_policy.hpp: Same.
1340         * docs/html/ext/pb_ds/string_trie_e_access_traits.html: Same.
1341         
1342         * include/bits/cpp_type_traits.h (__enable_if): Move to ext, make
1343         boolean argument first. 
1344         * include/bits/locale_facets.h: Fixups for __enable_if argument
1345         and namespace switch.
1346         * include/bits/stl_algobase.h: Same.
1347         * include/bits/stl_algo.h: Same.
1348         * include/bits/stl_iterator.h: Same.
1349         * include/bits/streambuf_iterator.h: Same.
1350         * include/debug/safe_iterator.h: Same.
1351         * include/tr1/hashtable_policy.h: Same.
1352         * include/tr1/cmath: Same.
1353         * include/tr1/functional: Same.
1354         * include/tr1/functional_iterate.h: Same.
1355         * include/std/std_streambuf.h: Same.
1356         * include/c_std/std_cmath.h: Same.
1357         * testsuite/util/testsuite_tr1.h: Same.
1358         * testsuite/util/performance/assoc/multimap_common_type.hpp: Same.
1359         
1360 2006-09-18  Paolo Carlini  <pcarlini@suse.de>
1362         PR libstdc++/29063
1363         * include/bits/valarray_array.h: Fix typo, undefine
1364         _DEFINE_ARRAY_FUNCTION.
1365         * include/std/std_valarray.h: Undefine _DEFINE_BINARY_OPERATOR.
1367 2006-09-14  Benjamin Kosnik  <bkoz@redhat.com>
1369         * include/bits/concurrence.h (__mutex::__mutex): Pass address of
1370         mutex to *_MUTEX_INIT_FUNCTION.
1371         
1372 2006-09-13  Benjamin Kosnik  <bkoz@redhat.com>  
1374         * include/bits/atomicity.h: Move to...
1375         * include/ext/atomicity.h: ...here.     
1376         * include/bits/concurrence.h: Move to...
1377         * include/ext/concurrence.h: ...here.
1378         * include/Makefile.am (ext_headers): Additions.
1379         (bits_headers): Subtractions.
1380         * include/Makefile.in: Regenerate.
1382         * include/ext/bitmap_allocator.h (_Mutex), __threads_enabled,
1383         _Lock, _Auto_Lock): Subsume into...
1384         * include/bits/concurrence.h (__mutex): ..this. Error check
1385         locking and unlocking.  
1386         (lock): Uglify to...
1387         (__scoped_lock): Use __mutex. 
1388         (__glibcxx_mutex_define_initialized): Remove.
1389         (__glibcxx_mutex_type): Remove.
1391         * include/tr1/boost_shared_ptr.h: Formating tweaks, adjustments.
1392         (_Lock_policy): Move from here...
1393         * include/ext/concurrence.h: ... to here.
1394         (__shared_ptr_default_lock_mode): To __default_lock_policy.
1395         (_S_lockfree): To _S_atomic.
1396         Document.
1398         * libsupc++/guard.cc (static_mutex): Subsume into and fixup for...
1399         * include/ext/concurrence.h (__recursive_mutex): ...this. Error
1400         check locking and unlocking.
1401         * libsupc++/eh_alloc.cc: Use __scoped_lock.
1403         * config/os/aix/atomicity.h: Fixups for include paths, mutex to
1404         __scoped_mutex change, removal of locking defines.
1405         * config/os/irix/atomicity.h: Same.
1406         * config/cpu/cris/atomicity.h: Same.
1407         * config/cpu/m68k/atomicity.h: Same.
1408         * config/cpu/hppa/atomicity.h: Same.
1409         * config/cpu/mips/atomicity.h: Same.
1410         * config/cpu/sparc/atomicity.h: Same.
1411         * config/cpu/i386/atomicity.h: Same.
1412         * config/cpu/i486/atomicity.h: Same.
1413         * config/cpu/sh/atomicity.h: Same.
1414         * config/cpu/generic/atomicity_mutex/atomicity.h: Same.
1415         * include/ext/pool_allocator.h: Same.
1416         * include/ext/bitmap_allocator.h: Same.
1417         * include/ext/rc_string_base.h: Same.
1418         * include/ext/mt_allocator.h: Same.
1419         * include/bits/locale_classes.h: Same.
1420         * include/bits/basic_string.h: Same.
1421         * include/bits/ios_base.h: Same.
1422         * include/tr1/memory: Same.
1423         * src/pool_allocator.cc: Same.
1424         * src/mt_allocator.cc: Same.
1425         * src/locale_init.cc: Same.
1426         * src/ios.cc: Same.
1427         * src/locale.cc: Same.
1428         * src/bitmap_allocator.cc: Same.
1429         * src/ios_init.cc: Same.
1430         * src/debug.cc: Same.
1431         
1432 2006-09-12  Benjamin Kosnik  <bkoz@redhat.com>
1434         * libsupc++/eh_globals.cc: Remove __gnu_internal.
1435         * config/io/basic_file_stdio.cc: Same.
1436         * config/abi/compatibility.h: Same.
1437         * config/cpu/generic/atomicity_mutex/atomicity.h: Same.
1438         * config/cpu/sh/atomicity.h: Same.
1439         
1440 2006-09-10  Paolo Carlini  <pcarlini@suse.de>
1442         * include/bits/stl_heap.h (sort_heap): Iterator post-decrement is
1443         only required to be convertible to the iterator type.
1445 2006-09-08  Paolo Carlini  <pcarlini@suse.de>
1447         * include/tr1/random.tcc (poisson_distribution<>::operator()):
1448         Avoid potential warnings when _IntType is unsigned.
1450 2006-09-08  Benjamin Kosnik  <bkoz@redhat.com>
1452         * include/debug/debug.h (_GLIBCXX_DEBUG_ONLY): New.
1453         * include/ext/bitmap_allocator.h (_BALLOC_SANITY_CHECK,
1454         _BALLOC_ASSERT): Remove. Use _GLIBCXX_DEBUG,
1455         _GLIBCXX_DEBUG_ASSERT.
1456         * include/ext/pb_ds/hash_policy.hpp (PB_DS_DBG_ASSERT): Convert to
1457         _GLIBCXX_DEBUG_ASSERT. Formatting corrections.
1458         (PB_DS_DBG_VERIFY): Remove, unused.
1459         (PB_DS_DBG_ONLY): Convert to _GLIBCXX_DEBUG blocks.
1460         * include/ext/pb_ds/detail/resize_policy/
1461         hash_load_check_resize_trigger_imp.hpp: Same.
1462         * include/ext/pb_ds/detail/binomial_heap_base_/erase_fn_imps.hpp: Same.
1463         * include/ext/pb_ds/detail/binomial_heap_base_/find_fn_imps.hpp: Same.
1464         * include/ext/pb_ds/detail/binomial_heap_base_/
1465         insert_fn_imps.hpp: Same.
1466         * include/ext/pb_ds/detail/binomial_heap_base_/
1467         binomial_heap_base_.hpp: Same.
1468         * include/ext/pb_ds/detail/binomial_heap_base_/
1469         constructors_destructor_fn_imps.hpp: Same.
1470         * include/ext/pb_ds/detail/binomial_heap_base_/debug_fn_imps.hpp: Same.
1471         * include/ext/pb_ds/detail/binomial_heap_base_/
1472         split_join_fn_imps.hpp: Same.
1473         * include/ext/pb_ds/detail/cc_hash_table_map_/
1474         constructor_destructor_no_store_hash_fn_imps.hpp: Same.
1475         * include/ext/pb_ds/detail/cc_hash_table_map_/
1476         erase_store_hash_fn_imps.hpp: Same.
1477         * include/ext/pb_ds/detail/cc_hash_table_map_/
1478         insert_no_store_hash_fn_imps.hpp: Same.
1479         * include/ext/pb_ds/detail/cc_hash_table_map_/cmp_fn_imps.hpp: Same.
1480         * include/ext/pb_ds/detail/cc_hash_table_map_/find_fn_imps.hpp: Same.
1481         * include/ext/pb_ds/detail/cc_hash_table_map_/
1482         constructor_destructor_store_hash_fn_imps.hpp: Same.
1483         * include/ext/pb_ds/detail/cc_hash_table_map_/
1484         insert_store_hash_fn_imps.hpp: Same.    
1485         * include/ext/pb_ds/detail/cc_hash_table_map_/debug_fn_imps.hpp: Same.
1486         * include/ext/pb_ds/detail/cc_hash_table_map_/erase_fn_imps.hpp: Same.
1487         * include/ext/pb_ds/detail/cc_hash_table_map_/
1488         debug_no_store_hash_fn_imps.hpp: Same.
1489         * include/ext/pb_ds/detail/cc_hash_table_map_/cc_ht_map_.hpp: Same.
1490         * include/ext/pb_ds/detail/cc_hash_table_map_/resize_fn_imps.hpp: Same.
1491         * include/ext/pb_ds/detail/cc_hash_table_map_/
1492         constructor_destructor_fn_imps.hpp: Same.
1493         * include/ext/pb_ds/detail/cc_hash_table_map_/
1494         debug_store_hash_fn_imps.hpp: Same.
1495         * include/ext/pb_ds/detail/cc_hash_table_map_/
1496         erase_no_store_hash_fn_imps.hpp: Same.
1497         * include/ext/pb_ds/detail/unordered_iterator/iterator.hpp: Same.
1498         * include/ext/pb_ds/detail/unordered_iterator/point_iterator.hpp: Same.
1499         * include/ext/pb_ds/detail/unordered_iterator/
1500         const_point_iterator.hpp: Same.
1501         * include/ext/pb_ds/detail/pat_trie_/r_erase_fn_imps.hpp: Same.
1502         * include/ext/pb_ds/detail/pat_trie_/find_fn_imps.hpp: Same.
1503         * include/ext/pb_ds/detail/pat_trie_/child_iterator.hpp: Same.
1504         * include/ext/pb_ds/detail/pat_trie_/insert_join_fn_imps.hpp: Same.
1505         * include/ext/pb_ds/detail/pat_trie_/split_join_branch_bag.hpp: Same.
1506         * include/ext/pb_ds/detail/pat_trie_/
1507         constructors_destructor_fn_imps.hpp: Same.
1508         * include/ext/pb_ds/detail/pat_trie_/debug_fn_imps.hpp: Same.
1509         * include/ext/pb_ds/detail/pat_trie_/head.hpp: Same.
1510         * include/ext/pb_ds/detail/pat_trie_/const_child_iterator.hpp: Same.
1511         * include/ext/pb_ds/detail/pat_trie_/split_fn_imps.hpp: Same.
1512         * include/ext/pb_ds/detail/pat_trie_/pat_trie_.hpp: Same.
1513         * include/ext/pb_ds/detail/pat_trie_/leaf.hpp: Same.
1514         * include/ext/pb_ds/detail/pat_trie_/rotate_fn_imps.hpp: Same.
1515         * include/ext/pb_ds/detail/pat_trie_/erase_fn_imps.hpp: Same.
1516         * include/ext/pb_ds/detail/pat_trie_/node_base.hpp: Same.
1517         * include/ext/pb_ds/detail/pat_trie_/synth_e_access_traits.hpp: Same.
1518         * include/ext/pb_ds/detail/pat_trie_/node_iterators.hpp: Same.
1519         * include/ext/pb_ds/detail/pat_trie_/internal_node.hpp: Same.
1520         * include/ext/pb_ds/detail/pat_trie_/point_iterators.hpp: Same.
1521         * include/ext/pb_ds/detail/bin_search_tree_/find_fn_imps.hpp: Same.
1522         * include/ext/pb_ds/detail/bin_search_tree_/r_erase_fn_imps.hpp: Same.
1523         * include/ext/pb_ds/detail/bin_search_tree_/
1524         constructors_destructor_fn_imps.hpp: Same.
1525         * include/ext/pb_ds/detail/bin_search_tree_/debug_fn_imps.hpp: Same.
1526         * include/ext/pb_ds/detail/bin_search_tree_/rotate_fn_imps.hpp: Same.
1527         * include/ext/pb_ds/detail/bin_search_tree_/erase_fn_imps.hpp: Same.
1528         * include/ext/pb_ds/detail/bin_search_tree_/bin_search_tree_.hpp: Same.
1529         * include/ext/pb_ds/detail/bin_search_tree_/insert_fn_imps.hpp: Same.
1530         * include/ext/pb_ds/detail/bin_search_tree_/
1531         split_join_fn_imps.hpp: Same.
1532         * include/ext/pb_ds/detail/bin_search_tree_/point_iterators.hpp: Same.
1533         * include/ext/pb_ds/detail/gp_hash_table_map_/
1534         constructor_destructor_no_store_hash_fn_imps.hpp: Same.
1535         * include/ext/pb_ds/detail/gp_hash_table_map_/
1536         erase_store_hash_fn_imps.hpp: Same.
1537         * include/ext/pb_ds/detail/gp_hash_table_map_/
1538         insert_no_store_hash_fn_imps.hpp: Same.
1539         * include/ext/pb_ds/detail/gp_hash_table_map_/
1540         resize_store_hash_fn_imps.hpp: Same.    
1541         * include/ext/pb_ds/detail/gp_hash_table_map_/find_fn_imps.hpp: Same.
1542         * include/ext/pb_ds/detail/gp_hash_table_map_/
1543         constructor_destructor_store_hash_fn_imps.hpp: Same.
1544         * include/ext/pb_ds/detail/gp_hash_table_map_/gp_ht_map_.hpp: Same.
1545         * include/ext/pb_ds/detail/gp_hash_table_map_/
1546         insert_store_hash_fn_imps.hpp: Same.    
1547         * include/ext/pb_ds/detail/gp_hash_table_map_/debug_fn_imps.hpp: Same.
1548         * include/ext/pb_ds/detail/gp_hash_table_map_/trace_fn_imps.hpp: Same.
1549         * include/ext/pb_ds/detail/gp_hash_table_map_/erase_fn_imps.hpp: Same.
1550         * include/ext/pb_ds/detail/gp_hash_table_map_/
1551         debug_no_store_hash_fn_imps.hpp: Same.
1552         * include/ext/pb_ds/detail/gp_hash_table_map_/resize_fn_imps.hpp: Same.
1553         * include/ext/pb_ds/detail/gp_hash_table_map_/
1554         constructor_destructor_fn_imps.hpp: Same.
1555         * include/ext/pb_ds/detail/gp_hash_table_map_/
1556         debug_store_hash_fn_imps.hpp: Same.
1557         * include/ext/pb_ds/detail/gp_hash_table_map_/
1558         erase_no_store_hash_fn_imps.hpp: Same.
1559         * include/ext/pb_ds/detail/gp_hash_table_map_/
1560         resize_no_store_hash_fn_imps.hpp: Same.
1561         * include/ext/pb_ds/detail/types_traits.hpp: Same.
1562         * include/ext/pb_ds/detail/binary_heap_/find_fn_imps.hpp: Same.
1563         * include/ext/pb_ds/detail/binary_heap_/const_iterator.hpp: Same.
1564         * include/ext/pb_ds/detail/binary_heap_/
1565         constructors_destructor_fn_imps.hpp: Same.      
1566         * include/ext/pb_ds/detail/binary_heap_/debug_fn_imps.hpp: Same.
1567         * include/ext/pb_ds/detail/binary_heap_/const_point_iterator.hpp: Same.
1568         * include/ext/pb_ds/detail/binary_heap_/erase_fn_imps.hpp: Same.
1569         * include/ext/pb_ds/detail/binary_heap_/insert_fn_imps.hpp: Same.
1570         * include/ext/pb_ds/detail/binary_heap_/binary_heap_.hpp: Same.
1571         * include/ext/pb_ds/detail/binary_heap_/resize_policy.hpp: Same.
1572         * include/ext/pb_ds/detail/binary_heap_/split_join_fn_imps.hpp: Same.
1573         * include/ext/pb_ds/detail/pairing_heap_/erase_fn_imps.hpp: Same.
1574         * include/ext/pb_ds/detail/pairing_heap_/find_fn_imps.hpp: Same.
1575         * include/ext/pb_ds/detail/pairing_heap_/insert_fn_imps.hpp: Same.
1576         * include/ext/pb_ds/detail/pairing_heap_/
1577         constructors_destructor_fn_imps.hpp: Same.
1578         * include/ext/pb_ds/detail/pairing_heap_/debug_fn_imps.hpp: Same.
1579         * include/ext/pb_ds/detail/pairing_heap_/pairing_heap_.hpp: Same.
1580         * include/ext/pb_ds/detail/pairing_heap_/split_join_fn_imps.hpp: Same.
1581         * include/ext/pb_ds/detail/binomial_heap_/
1582         constructors_destructor_fn_imps.hpp: Same.
1583         * include/ext/pb_ds/detail/binomial_heap_/debug_fn_imps.hpp: Same.
1584         * include/ext/pb_ds/detail/binomial_heap_/binomial_heap_.hpp: Same.
1585         * include/ext/pb_ds/detail/eq_fn/hash_eq_fn.hpp: Same.
1586         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
1587         erase_fn_imps.hpp: Same.
1588         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
1589         left_child_next_sibling_heap_.hpp: Same.
1590         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
1591         const_iterator.hpp: Same.       
1592         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
1593         insert_fn_imps.hpp: Same.       
1594         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
1595         constructors_destructor_fn_imps.hpp: Same.
1596         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
1597         debug_fn_imps.hpp: Same.
1598         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
1599         const_point_iterator.hpp: Same.
1600         * include/ext/pb_ds/detail/thin_heap_/erase_fn_imps.hpp: Same.
1601         * include/ext/pb_ds/detail/thin_heap_/find_fn_imps.hpp: Same.
1602         * include/ext/pb_ds/detail/thin_heap_/thin_heap_.hpp: Same.
1603         * include/ext/pb_ds/detail/thin_heap_/insert_fn_imps.hpp: Same.
1604         * include/ext/pb_ds/detail/thin_heap_/
1605         constructors_destructor_fn_imps.hpp: Same.
1606         * include/ext/pb_ds/detail/thin_heap_/debug_fn_imps.hpp: Same.
1607         * include/ext/pb_ds/detail/thin_heap_/split_join_fn_imps.hpp: Same.
1608         * include/ext/pb_ds/detail/ov_tree_map_/erase_fn_imps.hpp: Same.
1609         * include/ext/pb_ds/detail/ov_tree_map_/cond_dtor.hpp: Same.
1610         * include/ext/pb_ds/detail/ov_tree_map_/ov_tree_map_.hpp: Same.
1611         * include/ext/pb_ds/detail/ov_tree_map_/
1612         constructors_destructor_fn_imps.hpp: Same.      
1613         * include/ext/pb_ds/detail/ov_tree_map_/debug_fn_imps.hpp: Same.
1614         * include/ext/pb_ds/detail/ov_tree_map_/node_iterators.hpp: Same.
1615         * include/ext/pb_ds/detail/ov_tree_map_/split_join_fn_imps.hpp: Same.
1616         * include/ext/pb_ds/detail/ov_tree_map_/info_fn_imps.hpp: Same.
1617         * include/ext/pb_ds/detail/map_debug_base.hpp: Same.
1618         * include/ext/pb_ds/detail/hash_fn/ranged_probe_fn.hpp: Same.
1619         * include/ext/pb_ds/detail/hash_fn/probe_fn_base.hpp: Same.
1620         * include/ext/pb_ds/detail/hash_fn/ranged_hash_fn.hpp: Same.
1621         * include/ext/pb_ds/detail/splay_tree_/erase_fn_imps.hpp: Same.
1622         * include/ext/pb_ds/detail/splay_tree_/find_fn_imps.hpp: Same.
1623         * include/ext/pb_ds/detail/splay_tree_/insert_fn_imps.hpp: Same.
1624         * include/ext/pb_ds/detail/splay_tree_/
1625         constructors_destructor_fn_imps.hpp: Same.
1626         * include/ext/pb_ds/detail/splay_tree_/debug_fn_imps.hpp: Same.
1627         * include/ext/pb_ds/detail/splay_tree_/splay_fn_imps.hpp: Same.
1628         * include/ext/pb_ds/detail/splay_tree_/split_join_fn_imps.hpp: Same.
1629         * include/ext/pb_ds/detail/splay_tree_/splay_tree_.hpp: Same.
1630         * include/ext/pb_ds/detail/list_update_map_/erase_fn_imps.hpp: Same.
1631         * include/ext/pb_ds/detail/list_update_map_/find_fn_imps.hpp: Same.
1632         * include/ext/pb_ds/detail/list_update_map_/lu_map_.hpp: Same.
1633         * include/ext/pb_ds/detail/list_update_map_/
1634         constructor_destructor_fn_imps.hpp: Same.
1635         * include/ext/pb_ds/detail/list_update_map_/insert_fn_imps.hpp: Same.
1636         * include/ext/pb_ds/detail/list_update_map_/debug_fn_imps.hpp: Same.
1637         * include/ext/pb_ds/detail/list_update_map_/
1638         iterators_fn_imps.hpp: Same.
1639         * include/ext/pb_ds/detail/rc_binomial_heap_/erase_fn_imps.hpp: Same.
1640         * include/ext/pb_ds/detail/rc_binomial_heap_/
1641         rc_binomial_heap_.hpp: Same.
1642         * include/ext/pb_ds/detail/rc_binomial_heap_/insert_fn_imps.hpp: Same.
1643         * include/ext/pb_ds/detail/rc_binomial_heap_/
1644         constructors_destructor_fn_imps.hpp: Same.
1645         * include/ext/pb_ds/detail/rc_binomial_heap_/debug_fn_imps.hpp: Same.
1646         * include/ext/pb_ds/detail/rc_binomial_heap_/rc.hpp: Same.
1647         * include/ext/pb_ds/detail/rc_binomial_heap_/
1648         split_join_fn_imps.hpp: Same.
1649         * include/ext/pb_ds/detail/rb_tree_map_/erase_fn_imps.hpp: Same.
1650         * include/ext/pb_ds/detail/rb_tree_map_/insert_fn_imps.hpp: Same.
1651         * include/ext/pb_ds/detail/rb_tree_map_/
1652         constructors_destructor_fn_imps.hpp: Same.      
1653         * include/ext/pb_ds/detail/rb_tree_map_/debug_fn_imps.hpp: Same.
1654         * include/ext/pb_ds/detail/rb_tree_map_/rb_tree_.hpp: Same.
1655         * include/ext/pb_ds/detail/rb_tree_map_/split_join_fn_imps.hpp: Same.
1656         * testsuite/util/regression/res_mng/forced_exception.hpp: Same.
1657         * testsuite/util/regression/res_mng/dbg_ex_allocator_base.hpp: Same.
1658         * testsuite/util/regression/res_mng/dbg_ex_allocator.hpp: Same.
1659         * testsuite/util/rng/twister_rand_gen.cc
1660         * testsuite/util/native_type/assoc/native_multimap.hpp: Same.
1661         * testsuite/util/native_type/assoc/native_hash_multimap.hpp: Same.
1663 2006-09-05  Paolo Carlini  <pcarlini@suse.de>
1665         * include/bits/basic_string.tcc (find(const _CharT*, size_type,
1666         size_type)): Robustify.
1667         * include/ext/vstring.tcc (find(const _CharT*, size_type,
1668         size_type)): Likewise.
1670 2006-09-05  Paolo Carlini  <pcarlini@suse.de>
1672         * include/bits/basic_string.tcc (find(const _CharT*, size_type,
1673         size_type)): Reimplement in terms of traits::eq and traits::compare.
1674         * include/ext/vstring.tcc (find(const _CharT*, size_type,
1675         size_type)): Likewise.
1676         * src/string-inst.cc: Remove unneded std::search instantiation.
1678 2006-09-04  Benjamin Kosnik  <bkoz@redhat.com>
1680         PR c++/28871
1681         * include/ext/bitmap_allocator.h: Add comment for end of anonymous
1682         namespace.
1683         * include/ext/rope: Same.
1684         * include/bits/cpp_type_traits.h: Same.
1685         * include/tr1/tuple: Same.
1686         * include/tr1/functional_iterate.h: Same.
1688         * include/bits/cpp_type_traits.h: Revert anonymous namespace
1689         change, use nested detail instead.
1691         * testsuite/lib/libstdc++.exp (libstdc++_init): PCHFLAGS revert to
1692         stdc++.h.
1693         
1694 2006-09-04  Paolo Carlini  <pcarlini@suse.de>
1696         * src/mt_allocator.cc (__pool<true>::_M_reclaim_block): Do
1697         not name a variable __used, badname on BSD.
1699 2006-09-02  Paolo Carlini  <pcarlini@suse.de>
1700             Richard Guenther  <rguenther@suse.de>
1702         PR libstdc++/24469
1703         * src/mt_allocator.cc (__pool<true>::_M_reserve_block,
1704         __pool<true>::_M_reclaim_block): Fix the logic to avoid
1705         races, exploit atomic counters stored in second part of
1706         the memory pointed by _M_used.
1707         (__pool<true>::_M_initialize): Adjust _M_used allocation.
1708         * include/ext/mt_allocator.h (__pool<true>::_Bin_record):
1709         Update comment.
1711 2006-08-31  Benjamin Kosnik  <bkoz@redhat.com>
1713         PR libstdc++/28671 continued
1714         * acinclude.m4 (GLIBCXX_ENABLE_ATOMIC_BUILTINS): Don't use
1715         CXXFLAGS when checking for atomic builtins.
1716         * configure: Regenerate.
1717         * include/bits/atomicity.h: Revert.
1718         
1719 2006-08-31  Richard Guenther  <rguenther@suse.de>
1721         * include/ext/mt_allocator.h: Remove volatile qualifiers
1722         from data members and corresponding locals and function
1723         signatures.
1725 2006-08-31  Paolo Carlini  <pcarlini@suse.de>
1727         * config/abi/pre/gnu.ver: Correct atomic helper function signature
1728         for case where _Atomic_word is long.
1730 2006-08-31  Benjamin Kosnik  <bkoz@redhat.com>
1732         PR libstdc++/28671
1733         * include/bits/atomicity.h (__exchange_and_add): Declare only.
1734         (__atomic_add): Same.
1735         * config/cpu/generic/atomicity_builtins/atomicity.h: Remove comment.
1736         
1737 2006-08-30  Benjamin Kosnik  <bkoz@redhat.com>
1738             Richard Guenther  <rguenther@suse.de>
1739         
1740         * config/abi/pre/gnu.ver: Spell out exact signatures for atomic
1741         access functions.
1743         * include/bits/atomicity.h (__atomic_add_dispatch): Remove
1744         volatile qualification for _Atomic_word argument.
1745         (__atomic_add_single): Same.
1746         (__exchange_and_add_dispatch): Same.
1747         (__exchange_and_add_single): Same.
1748         
1749 2006-08-29  Paolo Carlini  <pcarlini@suse.de>
1751         * include/tr1/random (subtract_with_carry_01<>::_M_initialize_npows):
1752         New.
1753         (subtract_with_carry_01<>::subtract_with_carry_01(),
1754         subtract_with_carry_01<>::subtract_with_carry_01(unsigned long),
1755         subtract_with_carry_01<>::subtract_with_carry_01(_Gen&)): Use it.
1756         * include/tr1/random.tcc: Define.
1758         * include/tr1/random (xor_combine<>::_M_initialize_max()): New.
1759         (xor_combine<>::xor_combine(), xor_combine<>::xor_combine(const
1760         base1_type&, const base2_type&), xor_combine<>::xor_combine(unsigned
1761         long), xor_combine<>::xor_combine(_Gen&)): Use it.
1762         (xor_combine<>::min, xor_combine<>::max): Adjust.
1763         * include/tr1/random.tcc: Define.
1765 2006-08-29  Benjamin Kosnik  <bkoz@redhat.com>
1767         * acinclude.m4(glibcxx_PCHFLAGS): Set to stdtr1c++.h.
1768         * configure: Regenerate.
1769         
1770         * scripts/check_compile: Output current compile line.
1771         
1772 2006-08-28  Benjamin Kosnik  <bkoz@redhat.com>
1774         PR libstdc++/23773 partial
1775         * docs/html/abi.html: Update.
1777 2006-08-28  Roger Sayle  <roger@eyesopen.com>
1778             Paolo Carlini  <pcarlini@suse.de>
1780         * include/bits/stl_algo.h (__heap_select, __introselect): New.
1781         (nth_element): New implementation.
1782         (partial_copy): Use __heap_select.
1783         * testsuite/performance/25_algorithms/nth_element_worst_case.cc: New.
1785 2006-08-28  Paolo Carlini  <pcarlini@suse.de>
1786             Roger Sayle  <roger@eyesopen.com>
1788         * testsuite/25_algorithms/nth_element/2.cc: New.
1790 2006-08-27  Paolo Carlini  <pcarlini@suse.de>
1792         PR libstdc++/28830
1793         * testsuite/tr1/2_general_utilities/memory/shared_ptr/thread/
1794         lockfree_weaktoshared.cc: Rename to...
1795         * testsuite/tr1/2_general_utilities/memory/shared_ptr/thread/
1796         default_weaktoshared.cc: ... this; test the default base class.
1797         * testsuite/tr1/2_general_utilities/memory/shared_ptr/thread/
1798         mutex_weaktoshared.cc: Run like the other thread tests.
1800 2006-08-25  Paolo Carlini  <pcarlini@suse.de>
1802         * docs/html/ext/tr1.html: Update.
1804 2006-08-25  Paolo Carlini  <pcarlini@suse.de>
1806         * include/tr1/random (bernoulli_distribution::operator()): Fix
1807         wrt generators returning integers.
1808         (uniform_int<>::_M_call): Add.
1809         (uniform_int<>::operator()): Use it.
1811         * include/tr1/random (_Adaptor<>::min, _Adaptor<>::max): Add.
1812         (_Adaptor<>::operator()): Allow for nonzero _M_g.min().
1814         * include/tr1/random.tcc (linear_congruential<>::min, max):
1815         Move inline...
1816         (__mod): Move ...
1817         * include/tr1/random: ... here.
1818         (struct _Mod): Declare.
1820         * include/tr1/random (struct _To_Unsigned_Type): Only declare,
1821         move...
1822         * include/tr1/random.tcc: ... here.
1824 2006-08-22  Phillip Jordan  <phillip.m.jordan@gmail.com>
1826         *include/tr1/boost_shared_ptr.h: Added locking policy to
1827         tr1::shared_ptr<> and related classes.
1828         * testsuite/tr1/2_general_utilities/memory/shared_ptr/thread: New.
1829         * testsuite/tr1/2_general_utilities/memory/shared_ptr/thread/
1830         lockfree_weaktoshared.cc: New.
1831         * testsuite/tr1/2_general_utilities/memory/shared_ptr/thread/
1832         mutex_weaktoshared.cc: New.
1833         *testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/
1834         shared_ptr_neg.cc: Modify.
1835         
1836 2006-08-22  Paolo Carlini  <pcarlini@suse.de>
1838         * include/tr1/random.tcc (subtract_with_carry_01<>::
1839         seed(_Gen&, false_type)): Fix _M_carry initialization.
1840         
1841         * testsuite/tr1/5_numerical_facilities/random/
1842         subtract_with_carry/cons/default.cc: Qualify 1 as 1UL.
1843         * testsuite/tr1/5_numerical_facilities/random/
1844         subtract_with_carry/cons/gen1.cc: Likewise.
1846 2006-08-22  Paolo Carlini  <pcarlini@suse.de>
1848         * include/tr1/random (class subtract_with_carry_01<>): Add.
1849         * include/tr1/random.tcc (subtract_with_carry_01<>::
1850         seed(unsigned long), subtract_with_carry_01<>::
1851         seed(_Gen&, false_type), subtract_with_carry_01<>::
1852         operator(), operator<<(std::basic_ostream<>&, const
1853         subtract_with_carry_01<>&), operator>>(std::basic_istream<>&,
1854         subtract_with_carry_01<>&)): Define.
1855         * testsuite/tr1/5_numerical_facilities/random/ranlux3_01.cc:
1856         New.
1857         * testsuite/tr1/5_numerical_facilities/random/ranlux4_01.cc:
1858         Likewise.
1859         * testsuite/tr1/5_numerical_facilities/random/
1860         subtract_with_carry_01/cons/seed1.cc: Likewise.
1861         * testsuite/tr1/5_numerical_facilities/random/
1862         subtract_with_carry_01/cons/seed2.cc: Likewise.
1863         * testsuite/tr1/5_numerical_facilities/random/
1864         subtract_with_carry_01/cons/default.cc: Likewise.
1865         * testsuite/tr1/5_numerical_facilities/random/
1866         subtract_with_carry_01/cons/gen1.cc: Likewise.
1867         * testsuite/tr1/5_numerical_facilities/random/
1868         subtract_with_carry_01/requirements/typedefs.cc: Likewise.
1869         * testsuite/tr1/5_numerical_facilities/random/
1870         subtract_with_carry_01/operators/equal.cc: Likewise.
1871         * testsuite/tr1/5_numerical_facilities/random/
1872         subtract_with_carry_01/operators/not_equal.cc: Likewise.
1873         * testsuite/tr1/5_numerical_facilities/random/
1874         subtract_with_carry_01/operators/serialize.cc: Likewise.
1876         * docs/html/ext/howto.html: Add two implemented TR1 issues.
1878         * include/tr1/random.tcc (struct _To_Unsigned_Type<>): Move...
1879         * include/tr1/random: ... here.
1880         (class subtract_with_carry<>): Use it everywhere.
1882         * testsuite/tr1/5_numerical_facilities/random/
1883         subtract_with_carry/cons/seed1.cc: Qualify 1 as 1UL.
1884         * testsuite/tr1/5_numerical_facilities/random/
1885         subtract_with_carry/cons/seed2.cc: Likewise.
1886         * testsuite/tr1/5_numerical_facilities/random/
1887         subtract_with_carry/cons/default.cc: Likewise.
1888         * testsuite/tr1/5_numerical_facilities/random/
1889         subtract_with_carry/cons/gen1.cc: Likewise.
1890         * testsuite/tr1/5_numerical_facilities/random/
1891         subtract_with_carry/requirements/typedefs.cc: Likewise.
1892         * testsuite/tr1/5_numerical_facilities/random/
1893         subtract_with_carry/operators/equal.cc: Likewise.
1894         * testsuite/tr1/5_numerical_facilities/random/
1895         subtract_with_carry/operators/not_equal.cc: Likewise.
1896         * testsuite/tr1/5_numerical_facilities/random/
1897         subtract_with_carry/operators/serialize.cc: Likewise.
1899         * include/tr1/random (class binomial_distribution<>): Reorder the
1900         data members to save space.
1902 2006-08-20  Paolo Carlini  <pcarlini@suse.de>
1904         * include/tr1/random (gamma_distribution<>::_M_initialize,
1905         gamma_distribution<>::_M_l_d): Add.
1906         (gamma_distribution<>::gamma_distribution(const result_type&),
1907         operator>>(std::basic_istream<>&, gamma_distribution&)): Use it.
1908         include/tr1/random.tcc (gamma_distribution<>::_M_initialize):
1909         Define.
1910         (gamma_distribution<>::operator()): Adjust.
1912         * include/tr1/random (geometric_distribution<>::_M_initialize): Add.
1913         (geometric_distribution<>::geometric_distribution(const _RealType&),
1914         operator>>(std::basic_istream<>&, geometric_distribution&)): Use it.
1916 2006-08-18  Paolo Carlini  <pcarlini@suse.de>
1918         * include/tr1/random (class binomial_distribution<>): Add.
1919         * include/tr1/random.tcc (binomial_distribution<>::operator(),
1920         operator<<(std::basic_ostream<>&, const binomial_distribution<>&),
1921         operator>>(std::basic_istream<>&, binomial_distribution<>&,
1922         binomial_distribution<>::_M_waiting(), binomial_distribution<>::
1923         _M_initialize()): Define.
1924         * testsuite/tr1/5_numerical_facilities/random/binomial_distribution/
1925         requirements/typedefs.cc: New.
1927         * include/tr1/random (geometric_distribution<>::
1928         geometric_distribution(const _RealType&)): Fix DEBUG_ASSERT
1929         limits.
1931         * include/tr1/random (poisson_distribution): Add normal_distribution
1932         member, adjust consistently; minor tweaks and rearrangements of the
1933         arithmetic.
1934         (operator>>(std::basic_istream<>&, poisson_distribution<>&)): Move
1935         out of line.
1936         * include/tr1/random.tcc: Adjust.
1938         * include/tr1/random.tcc (normal_distribution<>::operator()): Minor
1939         tweaks.
1941 2006-08-18  Paolo Carlini  <pcarlini@suse.de>
1943         PR libstdc++/28765
1944         * include/ext/rc_string_base.h (_M_clear): New.
1945         * include/ext/sso_string_base.h (_M_clear): Likewise.
1946         * include/ext/vstring.h (clear): Use it.
1948 2006-08-15  Paolo Carlini  <pcarlini@suse.de>
1950         * include/tr1/random (poisson_distribution<>::_M_initialize): Add.
1951         (poisson_distribution<>::poisson_distribution(const _RealType&):
1952         Use it.
1953         (operator>>(std::basic_istream<>&, poisson_distribution<>&)):
1954         Likewise.
1955         (poisson_distribution<>::_M_large): Remove.
1956         * include/tr1/random.tcc (poisson_distribution<>::_M_initialize):
1957         Define.
1958         (operator<<(std::basic_ostream<>&, const poisson_distribution<>&)):
1959         Do not output the constants.
1961         * include/tr1/random (operator>>(std::basic_istream<>&,
1962         gamma_distribution&)): Minor tweak.
1963         
1964         * include/tr1/random.tcc (poisson_distribution<>::operator()):
1965         Minor tweak.
1967         * include/tr1/random: Consistently, all data members private.
1969 2006-08-15  Paolo Carlini  <pcarlini@suse.de>
1971         * include/tr1/random.tcc (mersenne_twister<>::operator()): Revert
1972         last change (per gcc-patches/2006-08/msg00484.html).
1974 2006-08-14  Paolo Carlini  <pcarlini@suse.de>
1976         * include/tr1/random (class poisson_distribution<>): Add.
1977         * include/tr1/random.tcc (poisson_distribution<>::operator(),
1978         operator<<(std::basic_ostream<>&, const poisson_distribution<>&),
1979         operator>>(std::basic_istream<>&, poisson_distribution<>&,
1980         poisson_distribution<>::poisson_distribution(const _RealType&)):
1981         Define.
1982         * testsuite/tr1/5_numerical_facilities/random/poisson_distribution/
1983         requirements/typedefs.cc: New.
1985         * include/tr1/random.tcc (mersenne_twister<>::operator()): Tweak
1986         a bit for efficiency.
1987         
1988         * include/tr1/random.tcc (operator<<(std::basic_ostream<>&,
1989         const normal_distribution<>&), operator>>(std::basic_istream<>&,
1990         normal_distribution<>&)): Do not output _M_saved unnecessarily.
1992         * include/tr1/random: Trivial formatting fixes.
1993         * include/tr1/cmath: Likewise.
1995 2006-08-11  Paolo Carlini  <pcarlini@suse.de>
1997         * include/bits/stl_bvector.h (__fill_bvector(_Bit_iterator,
1998         _Bit_iterator, bool)): New.
1999         (fill(_Bit_iterator, _Bit_iterator, const bool&)): Use it.
2001 2006-08-10  Paolo Carlini  <pcarlini@suse.de>
2003         * include/tr1/random.tcc (gamma_distribution<>::operator()): Fixes
2004         from the Errata of Devroye's book.
2006 2006-08-10  Paolo Carlini  <pcarlini@suse.de>
2008         * include/bits/stl_bvector.h (_Bit_iterator_base::_M_incr(ptrdiff_t)):
2009         Tidy a bit, thus reducing generated code size.
2011 2006-08-09  Paolo Carlini  <pcarlini@suse.de>
2013         * include/bits/stl_bvector.h (vector<bool>::_M_copy_aligned): New.
2014         (vector<bool>::vector(const vector&), operator=(const vector&),
2015         reserve(size_type), _M_fill_insert(iterator, size_type, bool),
2016         _M_insert_range(iterator, _ForwardIterator, _ForwardIterator,
2017         std::forward_iterator_tag), _M_insert_aux(iterator, bool)): Use it.
2018         * testsuite/performance/23_containers/copy_construct/
2019         vector_bool.cc: New.
2021         * testsuite/23_containers/vector/bool/cons/1.cc: New.
2022         * testsuite/23_containers/vector/bool/cons/2.cc: Likewise.
2024         * include/bits/stl_bvector.h (vector<bool>::_M_fill): Remove.
2025         (fill(_Bit_iterator, _Bit_iterator, const bool&)): New.
2026         (vector<bool>::_M_fill_insert(iterator, size_type, bool)): Adjust.
2028         * include/bits/stl_bvector.h (_M_initialize_range(_InputIterator,
2029         _InputIterator, std::input_iterator_tag)): Remove redundant
2030         assignments.
2032         * include/bits/stl_algo.h (find(istreambuf_iterator<>,
2033         istreambuf_iterator<>, _CharT)): Adjust signature.
2034         * include/bits/streambuf_iterator.h: Likewise.
2035         * include/std/std_streambuf.h: Likewise.        
2037 2006-08-09  Paolo Carlini  <pcarlini@suse.de>
2039         * include/bits/stl_algobase.h (fill(const _Deque_iterator<>&,
2040         const _Deque_iterator<>&, const _Tp&)): Move...
2041         * include/bits/deque.tcc: ... here.
2042         * include/bits/stl_deque.h: Declare.
2044 2006-08-06  Paolo Carlini  <pcarlini@suse.de>
2046         PR libstdc++/16611
2047         * include/bits/stl_bvector.h (vector<bool>::operator[],
2048         vector<bool>::operator[] const): Do not use iterator::operator+,
2049         hand code.
2051 2006-08-05  Paolo Carlini  <pcarlini@suse.de>
2053         PR libstdc++/28587
2054         * include/bits/stl_bvector.h (vector<bool>::_M_fill): New.
2055         (vector<bool>::_M_fill_insert): Use it.
2056         * testsuite/performance/23_containers/resize/vector_bool.cc: New.
2057         
2058         * testsuite/23_containers/vector/bool/modifiers/insert/1.cc: New.
2059         * testsuite/23_containers/vector/bool/capacity/1.cc: Likewise.
2061 2006-08-04  Paolo Carlini  <pcarlini@suse.de>
2063         * include/bits/stl_queue.h (priority_queue<>::push,
2064         priority_queue<>::pop): Remove try/catch, just follow the
2065         letter of the Standard.
2067 2006-08-03  Paolo Carlini  <pcarlini@suse.de>
2069         * include/bits/stl_queue.h: Trivial formatting fixes.
2070         * include/bits/stl_stack.h: Likewise.
2072 2006-08-01  Ed Smith-Rowland  <3dw4rd@verizon.net>
2074         * docs/html/ext/tr1.html: Update.
2076 2006-07-31  Paolo Carlini  <pcarlini@suse.de>
2078         * include/bits/locale_facets.tcc (num_put<>::_M_insert_float):
2079         Find the decimal point in cs, instead of ws; tidy.
2081 2006-07-30  Roger Sayle  <roger@eyesopen.com>
2083         * include/ext/codevt_specializations.h (__iconv_adaptor): Use
2084         identifier _Tp instead of _T in template argument to avoid conflict.
2086 2006-07-30  Paolo Carlini  <pcarlini@suse.de>
2088         * include/bits/stl_algo.h (stable_sort): Uglify the buf variable.
2089         * include/bits/stl_tempbuf.h (_Temporary_buffer<>::
2090         _M_initialize_buffer): Uglify the val parameter.
2092 2006-07-27  Benjamin Kosnik  <bkoz@wells.artheist.org>
2094         PR libstdc++/19664 round 3      
2095         * include/Makefile.am (tr1_headers): Add hashtable_policy.h.
2096         * include/Makefile.in: Regenerate.
2097         * include/tr1/hashtable: Move policy classes into...
2098         * include/tr1/hashtable_policy.h: ... this. New.
2099         
2100         * src/globals_locale.cc: Move contents....
2101         * src/locale_init.cc: ... to here, put in anonymous namespace.
2102         * src/Makefile.am: Remove globals_locale.cc.
2103         * src/Makefile.in: Regenerate.
2105         * src/locale.cc: Convert __gnu_internal to anonymous namespace.
2106         * src/debug.cc: Same.
2107         * src/ext-inst.cc: Same.
2108         * src/mt_allocator.cc: Same.
2109         * src/pool_allocator.cc: Same.
2110         
2111         * include/tr1/random: Convert std::tr1::_Private to anonymous
2112         namespace.
2113         * include/tr1/random.tcc: Same.
2115         * include/tr1/hashtable: Move ::Internal to std::tr1::detail and
2116         enclose bits that can actually be internal in in anonymous
2117         namespace.
2118         * include/tr1/unordered_set: Adjust explicit qualifications for
2119         namespace changes.
2120         * include/tr1/unordered_map: Same.
2122         * include/tr1/cmath: Convert __gnu_internal to nested detail namespace.
2124         * include/bits/cpp_type_traits.h: Move __type_type into anonymous
2125         namespace.
2126         
2127         * include/ext/rope: Change _Rope_constants to anonymous namespace.
2128         * include/ext/ropeimpl.h: Same.
2129         * src/ext-inst.cc: Same.
2131 2006-07-24  Paolo Carlini  <pcarlini@suse.de>
2133         * include/tr1/cinttypes: Simply protect everything with
2134         _GLIBCXX_USE_C99_INTTYPES_TR1.
2135         * include/tr1/cfenv: Likewise with _GLIBCXX_USE_C99_FENV_TR1.
2136         * include/tr1/cstdint: Likewise with _GLIBCXX_USE_C99_STDINT_TR1.
2138 2006-07-21  Benjamin Kosnik  <bkoz@redhat.com>
2140         * include/tr1/random: Make include guards consistent.
2141         * include/tr1/unordered_map: Same.
2142         * include/tr1/hashtable: Same.
2143         * include/tr1/unordered_set: Same.
2145 2006-07-21  Steve Ellcey  <sje@cup.hp.com>
2147         PR target/26792
2148         * configure.ac: Use GCC_CHECK_UNWIND_GETIPINFO to
2149         define HAVE_GETIPINFO.
2150         * aclocal.m4: Add include of ../config/unwind_ipinfo.m4.
2151         * config.h.in: Regenerate.
2152         * configure: Regenerate.
2153         * Makefile.in: Regenerate.
2154         * libmath/Makefile.in: Regenerate.
2155         * include/Makefile.in: Regenerate.
2156         * src/Makefile.in: Regenerate.
2157         * libsupc++/Makefile.in: Regenerate.
2158         * testsuite/Makefile.in: Regenerate.
2159         * po/Makefile.in: Regenerate.
2160         * libsupc++/eh_personality.cc: Check HAVE_GETIPINFO.
2162 2006-07-21  Jason Merrill  <jason@redhat.com>
2164         PR libstdc++/19664 round 2      
2165         * libsupc++/eh_personality.cc: Wrap extern "C" function
2166         definitions in namespace __cxxabiv1.
2168 2006-07-21  David Daney  <ddaney@avtrex.com>
2170         PR libgcj/28426
2171         * acinclude.m4: Added a comment.
2173 2006-07-20  Benjamin Kosnik  <bkoz@redhat.com>
2174             Jakub Jelinek  <jakub@redhat.com>
2175         
2176         PR libstdc++/19664 round 1
2177         * acinclude.m4 (GLIBCXX_ENABLE_VISIBILITY): Check it.
2178         * configure.ac: Use it.
2179         * configure: Regenerate.
2180         * docs/html/configopts.html: Document it.
2181         * include/Makefile.am: Slip in to c++config.
2182         * include/Makefile.in: Regenerate.
2183         * include/bits/c++config (_GLIBCXX_VISIBILITY): New.
2184         (_GLIBCXX_BEGIN_NAMESPACE): Use it.
2185         (_GLIBCXX_END_NAMESPACE): Use it.
2186         (_GLIBCXX_BEGIN_NESTED_NAMESPACE): Use it.
2187         (_GLIBCXX_END_NESTED_NAMESPACE): Use it.                
2188         * src/debug.cc: Mark __gnu_internal namespace with hidden
2189         visibility attribute.
2190         * src/ext-inst.cc: Same.
2191         * src/globals_io.cc: Same.
2192         * src/globals_locale.cc: Same.
2193         * src/ios_init.cc: Same.
2194         * src/locale.cc: Same.
2195         * src/mt_allocator.cc: Same.
2196         * src/pool_allocator.cc: Same.
2198 2006-07-16  Paolo Carlini  <pcarlini@suse.de>
2200         PR libstdc++/28277 (partial: valarray bits)
2201         * include/std/std_valarray.h (valarray<>::shift(int),
2202         valarray<>::cshift(int)): Avoid __builtin_alloca with no limit,
2203         do the work in place.
2204         * testsuite/26_numerics/valarray/28277.cc: New.
2206 2006-07-15  Paolo Carlini  <pcarlini@suse.de>
2208         PR libstdc++/28277 (partial: ostream bits 1)
2209         * include/bits/ostream.tcc (operator<<(basic_ostream<_CharT>&,
2210         const char*)): Avoid __builtin_alloca with no limit in the
2211         widening.
2212         * testsuite/27_io/basic_ostream/inserters_character/wchar_t/
2213         28277-1.cc: New.
2215 2006-07-14  Benjamin Kosnik  <bkoz@redhat.com>
2217         * acinclude.m4 (GLIBCXX_ENABLE_ATOMIC_BUILTINS): New.
2218         * configure.ac: Use it.
2219         * configure: Regenerated.
2220         * config.h.in: Regenerated.
2221         * configure.host: Simplify.
2222         * include/bits/atomicity.h: Adjust macros.
2223         * config/cpu/generic/atomicity.h: Move...
2224         * config/cpu/generic/atomicity_mutex: New.
2225         * config/cpu/generic/atomicity_mutex/atomicity.h: ...here.
2226         * config/cpu/generic/atomic_builtins: Rename...
2227         * config/cpu/generic/atomicity_builtins: ...to this.
2228         * config/cpu/generic/atomicity_builtins/atomicity.h: Moved.
2229         * config/cpu/mips/atomicity.h: Comment MIPS II requirement.
2231         * scripts/testsuite_flags.in: Make --cxxflags reflect CXXFLAGS.
2232         
2233 2006-07-14  Paolo Carlini  <pcarlini@suse.de>
2235         * include/tr1/random (minstd_rand0, minstd_rand, ranlux3, ranlux4):
2236         Use unsigned long as implementation-defined type.
2238 2006-07-14  Paolo Carlini  <pcarlini@suse.de>
2240         * include/tr1/random.tcc (struct _To_Unsigned_Type): Add.
2241         (subtract_with_carry<>::seed(_Gen&, false_type)): Use an
2242         unsigned type in the loop, fix factor multiplier, take g
2243         invocations modulo 2^32.
2245         * include/tr1/random.tcc (subtract_with_carry<>::
2246         seed(unsigned long)): Fix value == 0 special case.
2248         * include/tr1/random (struct _Shift): Fix for large shifts.
2250 2006-07-13  Paolo Carlini  <pcarlini@suse.de>
2252         * testsuite/performance/21_strings/string_copy_cons_and_dest.cc: New.
2254 2006-07-13  Benjamin Kosnik  <bkoz@redhat.com>
2256         * include/Makefile.am (pch*_output_anchor): Add.
2257         (pch*_output): Use.
2258         (CLEANFILES): Use.
2259         * include/Makefile.in: Regenerate.
2260         
2261         * scripts/check_performance: Be verbose on compile error.
2263 2006-07-12  Benjamin Kosnik  <bkoz@redhat.com>
2265         * include/Makefile.am: Revert last change.
2266         * include/Makefile.in: Same.
2268 2006-07-12  Benjamin Kosnik  <bkoz@redhat.com>
2270         * include/Makefile.am (pch_output): Don't precompile extc++.h.
2271         (pch_output_dirs): Same.
2272         * include/Makefile.in: Regenerate.
2274         * testsuite/lib/libstdc++.exp: Test PCH with stdtr1c++.h.
2275         
2276 2006-07-11  Paolo Carlini  <pcarlini@suse.de>
2278         * include/ext/codecvt_specializations.h: Fix typo in commit
2279         for libstdc++/28290.
2281 2006-07-11  Paolo Carlini  <pcarlini@suse.de>
2283         * include/bits/locale_facets.tcc (collate<>::do_transform(
2284         const _CharT*, const _CharT*)): Simplify previous fix for
2285         libstdc++/28277, always allocate memory dynamically.
2287 2006-07-11  Paolo Carlini  <pcarlini@suse.de>
2289         PR libstdc++/28344
2290         * include/tr1/random (gamma_distribution<>::
2291         gamma_distribution(const result_type&)): Don't use __alpha as
2292         parameter name, a predefined macro on Alpha systems.
2294 2006-07-11  Paolo Carlini  <pcarlini@suse.de>
2296         PR libstdc++/28290
2297         * include/ext/codecvt_specializations.h: Fix, adding missing
2298         includes and guards.
2300 2006-07-11  Paolo Carlini  <pcarlini@suse.de>
2302         PR libstdc++/28277 (partial: collate bits)
2303         * include/bits/locale_facets.tcc (collate<>::do_transform(
2304         const _CharT*, const _CharT*)): Avoid __builtin_alloca with no
2305         limit; also avoid multiple calls (in a loop).
2306         * testsuite/22_locale/collate/transform/char/28277.cc: New.
2307         * testsuite/22_locale/collate/transform/wchar_t/28277.cc: Likewise.
2309 2006-07-10  Mike Stump  <mrs@apple.com>
2311         * libsupc++/eh_globals.cc (~__eh_globals_init): Unset _M_init.
2313 2006-07-10  Benjamin Kosnik  <bkoz@redhat.com>
2315         PR libstdc++/15448
2316         * include/Makefile.am: Clean up pch rules.
2317         * include/Makefile.in: Regenerate.
2319 2006-07-09  Paolo Carlini  <pcarlini@suse.de>
2321         * include/bits/locale_facets.tcc (__int_to_char<>(_CharT*,
2322         long, const _CharT*, ios_base::fmtflags), __int_to_char<>(_CharT*,
2323         unsigned long, const _CharT*, ios_base::fmtflags),
2324         __int_to_char<>(_CharT*, long long, const _CharT*, ios_base::fmtflags),
2325         __int_to_char<>(_CharT*, unsigned long long, const _CharT*,
2326         ios_base::fmtflags)): Remove.
2327         (__int_to_char<>(_CharT*, _ValueT, const _CharT*, ios_base::fmtflags,
2328         bool)): Adjust.
2329         (num_put<>::_M_insert_int(_OutIter, ios_base&, _CharT, _ValueT)):
2330         Likewise.
2332 2006-07-06  Paolo Carlini  <pcarlini@suse.de>
2334         * include/tr1/random (class gamma_distribution<>): Add.
2335         * include/tr1/random.tcc (gamma_distribution<>::operator(),
2336         operator<<(std::basic_ostream<>&, const gamma_distribution<>&)):
2337         Define.
2338         * testsuite/tr1/5_numerical_facilities/random/gamma_distribution/
2339         requirements/typedefs.cc: New.
2341 2006-07-06  Benjamin Kosnik  <bkoz@redhat.com>
2343         * testsuite/util/regression/trait/assoc/trait.hpp: Format.
2344         * testsuite/util/regression/rand/priority_queue/
2345         rand_regression_test.hpp: Same.
2346         * testsuite/util/regression/rand/assoc/rand_regression_test.hpp: Same.
2347         * testsuite/util/regression/rand/
2348         assoc/container_rand_regression_test.hpp: Same.
2349         * testsuite/util/regression/priority_queue/common_type.hpp: Same.
2350         * testsuite/util/regression/assoc/common_type.hpp: Same.
2351         * testsuite/util/regression/basic_type.hpp: Same.
2353 2006-07-05  Benjamin Kosnik  <bkoz@redhat.com>  
2355         * include/Makefile.am (pch_output): New.
2356         (clean-local): Use it.
2357         * include/Makefile.in: Regenerate.
2359 2006-07-04  Paolo Carlini  <pcarlini@suse.de>
2361         * include/tr1/random (_Adaptor<>::operator()()): Cast 1 to
2362         result_type.
2363         (variate_generator<>::operator()(),
2364         variate_generator<>::operator()(_Tp)): Inline.
2366         * include/tr1/random: Minor cosmetic changes.
2368 2006-07-03  Paolo Carlini  <pcarlini@suse.de>
2370         * include/ext/rc_string_base.h (__rc_string_base::_S_max_size):
2371         Adjust, take into account rounding in _M_create.
2372         (__rc_string_base::_M_create): Add early _S_max_size check.
2374 2006-07-03  Ian Lance Taylor  <ian@airs.com>
2375             Paolo Carlini  <pcarlini@suse.de>
2377         * include/ext/rc_string_base.h (__rc_string_base::_S_max_size):
2378         Increase by a factor of two.
2379         * include/ext/sso_string_base.h (__sso_string_base::_S_max_size):
2380         Likewise.
2382 2006-07-03  Paolo Carlini  <pcarlini@suse.de>
2384         * include/ext/sso_string_base.h (__sso_string_base::_M_create): Never
2385         allocate a string bigger than _S_max_size.
2387 2006-06-29  Benjamin Kosnik  <bkoz@redhat.com>
2389         * include/Makefile.am (pch1_input, pch1_output_builddir,
2390         pch1_outputj_installdir, pch1_source): Move from pch_*.
2391         (pch2_input, pch2_output_builddir,
2392         pch2_output_installdir, pch2_source): Clone for ext.
2393         (pch3_input, pch3_output_builddir,
2394         pch3_output_installdir, pch3_source): Clone for tr1.
2395         (install-pch): Same.
2396         * include/Makefile.in: Regenerate.
2398         * include/precompiled: New directory.
2399         * include/stdc++.h: Move...
2400         * include/precompiled/stdc++.h: ... here.               
2401         * include/precompiled/stdtr1c++.h: New.
2402         * include/precompiled/extc++.h: New.
2404         * testsuite/lib/libstdc++.exp (libstdc++_init): Set PCH_CXXFLAGS
2405         to -include bits/stdtr1c++.h.
2407 2006-06-29  Benjamin Kosnik  <bkoz@redhat.com>
2409         * testsuite/lib/libstdc++.exp (v3_target_compile): Set timeout to
2410         600.
2412 2006-06-27  Benjamin Kosnik  <bkoz@redhat.com>
2414         * testsuite/util/regression/rand/priority_queue/
2415         rand_regression_test.hpp: Revert.
2417 2006-06-27  Benjamin Kosnik  <bkoz@redhat.com>
2419         * include/ext/typelist.h (typelist_append): To append_typelist. 
2420         (typelist): To node.
2421         Enclose in namespace typelist.
2422         * testsuite/util/testsuite_common_types.h: Adjust names, namespaces.
2423         * testsuite/performance/23_containers/find/map.cc: Same.
2424         * testsuite/performance/23_containers/create/map.cc: Same.
2425         * testsuite/performance/23_containers/insert_erase/associative.cc: 
2426         Same.
2427         * testsuite/performance/23_containers/insert/sequence.cc: Same.
2428         * testsuite/performance/23_containers/insert/associative.cc: Same.
2429         * testsuite/performance/23_containers/create_from_sorted/set.cc: Same.
2430         * testsuite/performance/23_containers/index/map.cc: Same.
2431         * testsuite/performance/23_containers/insert_from_sorted/set.cc: Same.
2432         * testsuite/performance/23_containers/create_sort/list.cc: Same.
2433         * testsuite/performance/23_containers/sort_search/list.cc: Same.
2434         * testsuite/performance/23_containers/producer_consumer/sequence.cc: 
2435         Same.
2436         * testsuite/performance/23_containers/producer_consumer/associative.cc:
2437         Same.
2439 2006-06-26  Benjamin Kosnik  <bkoz@redhat.com>
2441         * testsuite/ext/pb_ds/regression/trie_no_data_map_rand.cc:
2442         Reduce iterations by half.
2443         * testsuite/ext/pb_ds/regression/hash_data_map_rand.cc: Same.
2444         * testsuite/ext/pb_ds/regression/hash_no_data_map_rand.cc: Same.
2445         * testsuite/ext/pb_ds/regression/list_update_data_map_rand.cc: Same.
2446         * testsuite/ext/pb_ds/regression/list_update_no_data_map_rand.cc: Same.
2447         * testsuite/ext/pb_ds/regression/priority_queue_rand.cc: Same.
2448         * testsuite/ext/pb_ds/regression/tree_data_map_rand.cc: Same.
2449         * testsuite/ext/pb_ds/regression/tree_no_data_map_rand.cc: Same.
2450         * testsuite/ext/pb_ds/regression/trie_data_map_rand.cc: Same.
2452         * testsuite/util/regression/rand/assoc/rand_regression_test.hpp:
2453         Set probability of compare from 1 to 0.25.
2454         * testsuite/util/regression/rand/priority_queue/
2455         rand_regression_test.hpp: Same.
2457 2006-06-25  Paolo Carlini  <pcarlini@suse.de>
2459         * include/tr1/random (operator<<(std::basic_ostream<>&,
2460         const linear_congruential<>&), operator>>(std::basic_istream<>&,
2461         linear_congruential<>&), operator<<(std::basic_ostream<>&,
2462         const mersenne_twister<>&), operator>>(std::basic_istream<>&,
2463         mersenne_twister<>&), operator<<(std::basic_ostream<>&,
2464         const subtract_with_carry<>&), operator>>(std::basic_istream<>&,
2465         subtract_with_carry<>&), operator<<(std::basic_ostream<>&,
2466         const discard_block<>&), operator>>(std::basic_istream<>&,
2467         discard_block<>&), operator<<(std::basic_ostream<>&,
2468         const xor_combine<>&), operator>>(std::basic_istream<>&,
2469         xor_combine<>&), operator<<(std::basic_ostream<>&,
2470         const uniform_int<>&), operator>>(std::basic_istream<>&,
2471         uniform_int<>&), operator<<(std::basic_ostream<>&,
2472         const bernoulli_distribution&), operator<<(std::basic_ostream<>&,
2473         const geometric_distribution<>&), operator<<(std::basic_ostream<>&,
2474         const uniform_real<>&), operator>>(std::basic_istream<>&,
2475         uniform_real<>&), operator<<(std::basic_ostream<>&,
2476         const exponential_distribution<>&), operator<<(std::basic_ostream<>&,
2477         const normal_distribution<>&), operator>>(std::basic_istream<>&,
2478         normal_distribution<>&)): Redo per TR1 specs; move out of line...
2479         * include/tr1/random.tcc: ... here.
2481 2006-06-24  Paolo Carlini  <pcarlini@suse.de>
2483         * include/tr1/random (class normal_distribution<>): Add.
2484         * include/tr1/random.tcc (normal_distribution<>::operator()): Define.
2485         
2486         * include/tr1/random.tcc (struct _Max): Remove, "inline" in the
2487         only user, mersenne_twister<>::max().
2489         * include/tr1/random.tcc (struct _Shift): Move...
2490         * include/tr1/random: ... here.
2492         * include/tr1/random.tcc (linear_congruential<>::
2493         linear_congruential(unsigned long), linear_congruential<>::
2494         linear_congruential(_Gen&), mersenne_twister<>::max())): Move inline...
2495         * include/tr1/random: ... here.
2497         * include/tr1/random (exponential_distribution<>::
2498         exponential_distribution(const result_type&)): Add missing
2499         _GLIBCXX_DEBUG_ASSERT.
2501         * testsuite/tr1/5_numerical_facilities/random/
2502         exponential_distribution/requirements/typedefs.cc: New.
2503         * testsuite/tr1/5_numerical_facilities/random/
2504         normal_distribution/requirements/typedefs.cc: Likewise.
2505         * testsuite/tr1/5_numerical_facilities/random/
2506         bernoulli_distribution/requirements/typedefs.cc: Likewise.
2507         * testsuite/tr1/5_numerical_facilities/random/
2508         geometric_distribution/requirements/typedefs.cc: Likewise.
2510 2006-06-23  Benjamin Kosnik  <bkoz@redhat.com>
2512         PR libstdc++/27984
2513         * testsuite/lib/libstdc++.exp (libstdc++_init): Adjust
2514         testing includes.
2515         * docs/html/test.html: Adjust for testsuite changes.
2516         
2517 2006-06-22  Jonathan Lennox  <lennox@cs.columbia.edu>
2518             Paolo Carlini  <pcarlini@suse.de>
2520         * include/ext/pb_ds/detail/resize_policy/
2521         hash_prime_size_policy_imp.hpp: Cast to size_t instead.
2523 2006-06-22  Ami Tavory  <atavory@gmail.com>
2525         * include/ext/pb_ds/detail/resize_policy/
2526         hash_prime_size_policy_imp.hpp: Fix for 64-bit machines.
2528 2006-06-21  Paolo Carlini  <pcarlini@suse.de>
2530         * include/bits/postypes.h (operator==(const fpos<>&, const fpos<>&),
2531         operator!=(const fpos<>&, const fpos<>&)): Add.
2532         * testsuite/27_io/fpos/mbstate_t/6.cc: New.
2534 2006-06-21  Mark Mitchell  <mark@codesourcery.com>
2536         * acinclude.m4 (GLIBCXX_EXPORT_INSTALL_INFO): When
2537         cross-compiling, put headers in $prefix/$target/include/c++.
2538         * configure: Regenerated.
2540 2006-06-20  Paolo Carlini  <pcarlini@suse.de>
2542         * include/tr1/random.tcc (struct _Private::_Mod_w<>,
2543         _Private::__mod_w<>): Remove.
2544         (struct _Private::_Shift<>): New.
2545         (struct _Private::_Max_w<>): Rename to _Max, use the latter.
2546         (mersenne_twister<>::seed(unsigned long), seed(_Gen&, false_type),
2547         max()): Adjust.
2549 2006-06-20  Vladimir Prus  <vladimir@codesourcery.com>
2551         * libsupc++/eh_arm.cc (__cxa_begin_cleanup): Always return 'true'.
2553 2006-06-19  Paolo Carlini  <pcarlini@suse.de>
2555         * include/tr1/random (xor_combine<>::operator<<): Fix typo.
2556         
2557         * include/tr1/random (bernoulli_distribution::min(),
2558         bernoulli_distribution::max(), geometric_distribution<>::min(),
2559         geometric_distribution<>::max()): Remove.
2561         * include/tr1/random (geometric_distribution<>::operator()):
2562         Simplify formula.
2564         * include/tr1/random: Minor cosmetic changes.
2566         * testsuite/tr1/5_numerical_facilities/random/discard_block/
2567         operators/equal.cc: New.
2568         * testsuite/tr1/5_numerical_facilities/random/discard_block/
2569         operators/not_equal.cc: Likewise.
2570         * testsuite/tr1/5_numerical_facilities/random/discard_block/
2571         operators/serialize.cc: Likewise.
2572         * testsuite/tr1/5_numerical_facilities/random/xor_combine/
2573         operators/equal.cc: Likewise.
2574         * testsuite/tr1/5_numerical_facilities/random/xor_combine/
2575         operators/not_equal.cc: Likewise.
2576         * testsuite/tr1/5_numerical_facilities/random/xor_combine/
2577         operators/serialize.cc: Likewise.
2579 2006-06-17  Ami Tavory  <atavory@gmail.com>
2580             Paolo Carlini  <pcarlini@suse.de>
2582         * testsuite/util/rng/twister_rand_gen.cc: Adapt to simply use
2583         tr1::mt19937.
2584         * testsuite/util/rng/twister_rand_gen.hpp: Likewise.
2586 2006-06-16  Paolo Carlini  <pcarlini@suse.de>
2588         * include/tr1/random (uniform_real<>::uniform_real(_RealType,
2589         _RealType)): Implement.
2590         (uniform_real<>::min()): Likewise.
2591         (uniform_real<>::max()): Likewise.
2592         (uniform_real<>::reset()): Likewise.
2594         * include/tr1/random (class uniform_real<>): Minor cosmetic tweaks.
2596 2006-06-16  Paolo Carlini  <pcarlini@suse.de>
2598         * include/bits/locale_facets.tcc (time_get<>::_M_extract_via_format):
2599         Ignore the value of the __err argument.
2600         (time_get<>::do_get_weekday): Likewise.
2601         (time_get<>::do_get_monthname): Likewise.
2602         * testsuite/22_locale/time_get/get_year/wchar_t/5.cc: New.
2603         * testsuite/22_locale/time_get/get_year/char/5.cc: Likewise.
2604         * testsuite/22_locale/time_get/get_monthname/wchar_t/5.cc: Likewise.
2605         * testsuite/22_locale/time_get/get_monthname/char/5.cc: Likewise.
2606         * testsuite/22_locale/time_get/get_weekday/wchar_t/5.cc: Likewise.
2607         * testsuite/22_locale/time_get/get_weekday/char/5.cc: Likewise.
2608         * testsuite/22_locale/time_get/get_date/wchar_t/5.cc: Likewise.
2609         * testsuite/22_locale/time_get/get_date/char/5.cc: Likewise.
2610         * testsuite/22_locale/time_get/get_time/wchar_t/5.cc: Likewise.
2611         * testsuite/22_locale/time_get/get_time/char/5.cc: Likewise.
2613 2006-06-15  Benjamin Kosnik  <bkoz@redhat.com>
2615         * include/ext/pb_ds/detail/type_utils.hpp (numeric_traits): Add,
2616         const expression interface to std::numeric_limits::min and max
2617         functions.
2618         * include/ext/pb_ds/trie_policy.hpp (string_trie_e_access_traits):
2619         Use it.
2621         * include/ext/pb_ds/detail/resize_policy/
2622         hash_load_check_resize_trigger_imp.hpp: Format.
2623         * include/ext/pb_ds/detail/pat_trie_/internal_node.hpp: Same.
2625 2006-06-15  Paolo Carlini  <pcarlini@suse.de>
2627         * include/tr1/random.tcc (mersenne_twister<>::operator()()):
2628         Reload the last position of the _M_x vector too.
2630 2006-06-15  Paolo Carlini  <pcarlini@suse.de>
2632         * include/tr1/random (class xor_combine): Fix result_type typedef.
2633         * testsuite/tr1/5_numerical_facilities/random/xor_combine/
2634         cons/default.cc: New.
2635         * testsuite/tr1/5_numerical_facilities/random/xor_combine/
2636         requirements/typedefs.cc: Tweak.
2638         * include/tr1/random: Minor cosmetic changes.
2640 2006-06-14  Ami Tavory  <atavory@gmail.com>
2641             Benjamin Kosnik  <bkoz@redhat.com>
2643         * include/ext/pb_assoc: Delete.
2644         * include/ext/pb_ds: Add.
2645         * docs/html/ext/pb_assoc: Delete.
2646         * docs/html/ext/pb_ds: Add.
2647         * testsuite/ext/pb_assoc: Delete.
2648         * testsuite/ext/pb_ds: Add.
2649         * testsuite/performance/ext: Add.
2650         * testsuite/performance/ext/pb_ds: Add. 
2652         * testsuite/util/regression: New.
2653         * testsuite/util/rng: New.
2654         * testsuite/util/native_type: New.
2655         * testsuite/util/common_type: New.
2656         * testsuite/util/performance: New.
2657         * testsuite/util/hash_fn: New.
2658         * testsuite/util/io: New.
2659         * testsuite/util/statistic: New.
2661         * scripts/make_graph.py: New.
2662         * scripts/make_graphs.py: New.
2663         * testsuite/data/thirty_years_among_the_dead_preproc.txt: Add.
2664         * testsuite/data/make_graph_htmls.xml: Add.
2665         * testsuite/data/make_graph_test_infos.xml: Add.        
2667         * testsuite/lib/libstdc++.exp (v3-build_support): Add in new
2668         object files for regression testing.
2669         * docs/html/documentation.html: Adjust links.
2670         * include/Makefile.am (install-headers): Update for new sources,
2671         directories.
2672         * include/Makefine.in: Regenerate.
2673         * scripts/testsuite_flags.in: Adjust to testsuite/util path.
2674         * scripts/check_performance: Simplify, adjust for new testsuite output.
2675         * testsuite/Makefile.am (check-performance): Adjust.
2676         (doc-performance): New.
2677         * testsuite/Makefile.in: Regenerate.
2679         * include/ext/pb_ds: New.
2680         * include/ext/pb_ds/assoc_container.hpp: Same.
2681         * include/ext/pb_ds/detail: New.
2682         * include/ext/pb_ds/detail/binomial_heap_base_: New.
2683         * include/ext/pb_ds/detail/binomial_heap_base_/erase_fn_imps.hpp: Same.
2684         * include/ext/pb_ds/detail/binomial_heap_base_/find_fn_imps.hpp: Same.
2685         * include/ext/pb_ds/detail/binomial_heap_base_/insert_fn_imps.hpp: Same.
2686         * include/ext/pb_ds/detail/binomial_heap_base_/binomial_heap_base_.hpp: Same.
2687         * include/ext/pb_ds/detail/binomial_heap_base_/debug_fn_imps.hpp: Same.
2688         * include/ext/pb_ds/detail/binomial_heap_base_/constructors_destructor_fn_imps.hpp: Same.
2689         * include/ext/pb_ds/detail/binomial_heap_base_/split_join_fn_imps.hpp: Same.
2690         * include/ext/pb_ds/detail/resize_policy: New.
2691         * include/ext/pb_ds/detail/resize_policy/sample_size_policy.hpp: Same.
2692         * include/ext/pb_ds/detail/resize_policy/hash_prime_size_policy_imp.hpp: Same.
2693         * include/ext/pb_ds/detail/resize_policy/cc_hash_max_collision_check_resize_trigger_imp.hpp: Same.
2694         * include/ext/pb_ds/detail/resize_policy/sample_resize_policy.hpp: Same.
2695         * include/ext/pb_ds/detail/resize_policy/sample_resize_trigger.hpp: Same.
2696         * include/ext/pb_ds/detail/resize_policy/hash_load_check_resize_trigger_size_base.hpp: Same.
2697         * include/ext/pb_ds/detail/resize_policy/hash_exponential_size_policy_imp.hpp: Same.
2698         * include/ext/pb_ds/detail/resize_policy/hash_load_check_resize_trigger_imp.hpp: Same.
2699         * include/ext/pb_ds/detail/resize_policy/hash_standard_resize_policy_imp.hpp: Same.
2700         * include/ext/pb_ds/detail/container_base_dispatch.hpp: Same.
2701         * include/ext/pb_ds/detail/cc_hash_table_map_: New.
2702         * include/ext/pb_ds/detail/cc_hash_table_map_/constructor_destructor_no_store_hash_fn_imps.hpp: Same.
2703         * include/ext/pb_ds/detail/cc_hash_table_map_/erase_store_hash_fn_imps.hpp: Same.
2704         * include/ext/pb_ds/detail/cc_hash_table_map_/cmp_fn_imps.hpp: Same.
2705         * include/ext/pb_ds/detail/cc_hash_table_map_/insert_no_store_hash_fn_imps.hpp: Same.
2706         * include/ext/pb_ds/detail/cc_hash_table_map_/resize_store_hash_fn_imps.hpp: Same.
2707         * include/ext/pb_ds/detail/cc_hash_table_map_/policy_access_fn_imps.hpp: Same.
2708         * include/ext/pb_ds/detail/cc_hash_table_map_/find_fn_imps.hpp: Same.
2709         * include/ext/pb_ds/detail/cc_hash_table_map_/constructor_destructor_store_hash_fn_imps.hpp: Same.
2710         * include/ext/pb_ds/detail/cc_hash_table_map_/insert_store_hash_fn_imps.hpp: Same.
2711         * include/ext/pb_ds/detail/cc_hash_table_map_/debug_fn_imps.hpp: Same.
2712         * include/ext/pb_ds/detail/cc_hash_table_map_/info_fn_imps.hpp: Same.
2713         * include/ext/pb_ds/detail/cc_hash_table_map_/entry_list_fn_imps.hpp: Same.
2714         * include/ext/pb_ds/detail/cc_hash_table_map_/trace_fn_imps.hpp: Same.
2715         * include/ext/pb_ds/detail/cc_hash_table_map_/find_store_hash_fn_imps.hpp: Same.
2716         * include/ext/pb_ds/detail/cc_hash_table_map_/erase_fn_imps.hpp: Same.
2717         * include/ext/pb_ds/detail/cc_hash_table_map_/resize_fn_imps.hpp: Same.
2718         * include/ext/pb_ds/detail/cc_hash_table_map_/cc_ht_map_.hpp: Same.
2719         * include/ext/pb_ds/detail/cc_hash_table_map_/debug_no_store_hash_fn_imps.hpp: Same.
2720         * include/ext/pb_ds/detail/cc_hash_table_map_/constructor_destructor_fn_imps.hpp: Same.
2721         * include/ext/pb_ds/detail/cc_hash_table_map_/cond_key_dtor_entry_dealtor.hpp: Same.
2722         * include/ext/pb_ds/detail/cc_hash_table_map_/insert_fn_imps.hpp: Same.
2723         * include/ext/pb_ds/detail/cc_hash_table_map_/debug_store_hash_fn_imps.hpp: Same.
2724         * include/ext/pb_ds/detail/cc_hash_table_map_/erase_no_store_hash_fn_imps.hpp: Same.
2725         * include/ext/pb_ds/detail/cc_hash_table_map_/size_fn_imps.hpp: Same.
2726         * include/ext/pb_ds/detail/cc_hash_table_map_/standard_policies.hpp: Same.
2727         * include/ext/pb_ds/detail/cc_hash_table_map_/iterators_fn_imps.hpp: Same.
2728         * include/ext/pb_ds/detail/cc_hash_table_map_/resize_no_store_hash_fn_imps.hpp: Same.
2729         * include/ext/pb_ds/detail/typelist_assoc_container.hpp: Same.
2730         * include/ext/pb_ds/detail/tree_trace_base.hpp: Same.
2731         * include/ext/pb_ds/detail/unordered_iterator: New.
2732         * include/ext/pb_ds/detail/unordered_iterator/iterator.hpp: Same.
2733         * include/ext/pb_ds/detail/unordered_iterator/const_iterator.hpp: Same.
2734         * include/ext/pb_ds/detail/unordered_iterator/point_iterator.hpp: Same.
2735         * include/ext/pb_ds/detail/unordered_iterator/const_point_iterator.hpp: Same.
2736         * include/ext/pb_ds/detail/typelist.hpp: Same.
2737         * include/ext/pb_ds/detail/pat_trie_: New.
2738         * include/ext/pb_ds/detail/pat_trie_/r_erase_fn_imps.hpp: Same.
2739         * include/ext/pb_ds/detail/pat_trie_/policy_access_fn_imps.hpp: Same.
2740         * include/ext/pb_ds/detail/pat_trie_/find_fn_imps.hpp: Same.
2741         * include/ext/pb_ds/detail/pat_trie_/child_iterator.hpp: Same.
2742         * include/ext/pb_ds/detail/pat_trie_/update_fn_imps.hpp: Same.
2743         * include/ext/pb_ds/detail/pat_trie_/insert_join_fn_imps.hpp: Same.
2744         * include/ext/pb_ds/detail/pat_trie_/split_join_branch_bag.hpp: Same.
2745         * include/ext/pb_ds/detail/pat_trie_/constructors_destructor_fn_imps.hpp: Same.
2746         * include/ext/pb_ds/detail/pat_trie_/debug_fn_imps.hpp: Same.
2747         * include/ext/pb_ds/detail/pat_trie_/head.hpp: Same.
2748         * include/ext/pb_ds/detail/pat_trie_/const_child_iterator.hpp: Same.
2749         * include/ext/pb_ds/detail/pat_trie_/split_fn_imps.hpp: Same.
2750         * include/ext/pb_ds/detail/pat_trie_/traits.hpp: Same.
2751         * include/ext/pb_ds/detail/pat_trie_/cond_dtor_entry_dealtor.hpp: Same.
2752         * include/ext/pb_ds/detail/pat_trie_/pat_trie_.hpp: Same.
2753         * include/ext/pb_ds/detail/pat_trie_/info_fn_imps.hpp: Same.
2754         * include/ext/pb_ds/detail/pat_trie_/leaf.hpp: Same.
2755         * include/ext/pb_ds/detail/pat_trie_/trace_fn_imps.hpp: Same.
2756         * include/ext/pb_ds/detail/pat_trie_/rotate_fn_imps.hpp: Same.
2757         * include/ext/pb_ds/detail/pat_trie_/erase_fn_imps.hpp: Same.
2758         * include/ext/pb_ds/detail/pat_trie_/node_base.hpp: Same.
2759         * include/ext/pb_ds/detail/pat_trie_/node_metadata_base.hpp: Same.
2760         * include/ext/pb_ds/detail/pat_trie_/synth_e_access_traits.hpp: Same.
2761         * include/ext/pb_ds/detail/pat_trie_/node_iterators.hpp: Same.
2762         * include/ext/pb_ds/detail/pat_trie_/internal_node.hpp: Same.
2763         * include/ext/pb_ds/detail/pat_trie_/point_iterators.hpp: Same.
2764         * include/ext/pb_ds/detail/pat_trie_/iterators_fn_imps.hpp: Same.
2765         * include/ext/pb_ds/detail/bin_search_tree_: New.
2766         * include/ext/pb_ds/detail/bin_search_tree_/policy_access_fn_imps.hpp: Same.
2767         * include/ext/pb_ds/detail/bin_search_tree_/find_fn_imps.hpp: Same.
2768         * include/ext/pb_ds/detail/bin_search_tree_/r_erase_fn_imps.hpp: Same.
2769         * include/ext/pb_ds/detail/bin_search_tree_/constructors_destructor_fn_imps.hpp: Same.
2770         * include/ext/pb_ds/detail/bin_search_tree_/debug_fn_imps.hpp: Same.
2771         * include/ext/pb_ds/detail/bin_search_tree_/cond_dtor_entry_dealtor.hpp: Same.
2772         * include/ext/pb_ds/detail/bin_search_tree_/traits.hpp: Same.
2773         * include/ext/pb_ds/detail/bin_search_tree_/info_fn_imps.hpp: Same.
2774         * include/ext/pb_ds/detail/bin_search_tree_/rotate_fn_imps.hpp: Same.
2775         * include/ext/pb_ds/detail/bin_search_tree_/erase_fn_imps.hpp: Same.
2776         * include/ext/pb_ds/detail/bin_search_tree_/bin_search_tree_.hpp: Same.
2777         * include/ext/pb_ds/detail/bin_search_tree_/cond_key_dtor_entry_dealtor.hpp: Same.
2778         * include/ext/pb_ds/detail/bin_search_tree_/insert_fn_imps.hpp: Same.
2779         * include/ext/pb_ds/detail/bin_search_tree_/node_iterators.hpp: Same.
2780         * include/ext/pb_ds/detail/bin_search_tree_/point_iterators.hpp: Same.
2781         * include/ext/pb_ds/detail/bin_search_tree_/split_join_fn_imps.hpp: Same.
2782         * include/ext/pb_ds/detail/bin_search_tree_/iterators_fn_imps.hpp: Same.
2783         * include/ext/pb_ds/detail/gp_hash_table_map_: New.
2784         * include/ext/pb_ds/detail/gp_hash_table_map_/constructor_destructor_no_store_hash_fn_imps.hpp: Same.
2785         * include/ext/pb_ds/detail/gp_hash_table_map_/erase_store_hash_fn_imps.hpp: Same.
2786         * include/ext/pb_ds/detail/gp_hash_table_map_/insert_no_store_hash_fn_imps.hpp: Same.
2787         * include/ext/pb_ds/detail/gp_hash_table_map_/resize_store_hash_fn_imps.hpp: Same.
2788         * include/ext/pb_ds/detail/gp_hash_table_map_/policy_access_fn_imps.hpp: Same.
2789         * include/ext/pb_ds/detail/gp_hash_table_map_/find_fn_imps.hpp: Same.
2790         * include/ext/pb_ds/detail/gp_hash_table_map_/gp_ht_map_.hpp: Same.
2791         * include/ext/pb_ds/detail/gp_hash_table_map_/constructor_destructor_store_hash_fn_imps.hpp: Same.
2792         * include/ext/pb_ds/detail/gp_hash_table_map_/insert_store_hash_fn_imps.hpp: Same.
2793         * include/ext/pb_ds/detail/gp_hash_table_map_/debug_fn_imps.hpp: Same.
2794         * include/ext/pb_ds/detail/gp_hash_table_map_/iterator_fn_imps.hpp: Same.
2795         * include/ext/pb_ds/detail/gp_hash_table_map_/info_fn_imps.hpp: Same.
2796         * include/ext/pb_ds/detail/gp_hash_table_map_/find_no_store_hash_fn_imps.hpp: Same.
2797         * include/ext/pb_ds/detail/gp_hash_table_map_/trace_fn_imps.hpp: Same.
2798         * include/ext/pb_ds/detail/gp_hash_table_map_/erase_fn_imps.hpp: Same.
2799         * include/ext/pb_ds/detail/gp_hash_table_map_/find_store_hash_fn_imps.hpp: Same.
2800         * include/ext/pb_ds/detail/gp_hash_table_map_/resize_fn_imps.hpp: Same.
2801         * include/ext/pb_ds/detail/gp_hash_table_map_/debug_no_store_hash_fn_imps.hpp: Same.
2802         * include/ext/pb_ds/detail/gp_hash_table_map_/constructor_destructor_fn_imps.hpp: Same.
2803         * include/ext/pb_ds/detail/gp_hash_table_map_/insert_fn_imps.hpp: Same.
2804         * include/ext/pb_ds/detail/gp_hash_table_map_/debug_store_hash_fn_imps.hpp: Same.
2805         * include/ext/pb_ds/detail/gp_hash_table_map_/erase_no_store_hash_fn_imps.hpp: Same.
2806         * include/ext/pb_ds/detail/gp_hash_table_map_/standard_policies.hpp: Same.
2807         * include/ext/pb_ds/detail/gp_hash_table_map_/resize_no_store_hash_fn_imps.hpp: Same.
2808         * include/ext/pb_ds/detail/standard_policies.hpp: Same.
2809         * include/ext/pb_ds/detail/typelist: New.
2810         * include/ext/pb_ds/detail/typelist/typelist_flatten.hpp: Same.
2811         * include/ext/pb_ds/detail/typelist/typelist_contains.hpp: Same.
2812         * include/ext/pb_ds/detail/typelist/typelist_typelist_append.hpp: Same.
2813         * include/ext/pb_ds/detail/typelist/typelist_apply.hpp: Same.
2814         * include/ext/pb_ds/detail/typelist/typelist_filter.hpp: Same.
2815         * include/ext/pb_ds/detail/typelist/typelist_append.hpp: Same.
2816         * include/ext/pb_ds/detail/typelist/typelist_assoc_container_find.hpp: Same.
2817         * include/ext/pb_ds/detail/typelist/typelist_transform.hpp: Same.
2818         * include/ext/pb_ds/detail/typelist/typelist_at_index.hpp: Same.
2819         * include/ext/pb_ds/detail/tree_policy: New.
2820         * include/ext/pb_ds/detail/tree_policy/order_statistics_imp.hpp: Same.
2821         * include/ext/pb_ds/detail/tree_policy/node_metadata_selector.hpp: Same.
2822         * include/ext/pb_ds/detail/tree_policy/null_node_update_imp.hpp: Same.
2823         * include/ext/pb_ds/detail/tree_policy/sample_tree_node_update.hpp: Same.
2824         * include/ext/pb_ds/detail/basic_tree_policy: New.
2825         * include/ext/pb_ds/detail/basic_tree_policy/basic_tree_policy_base.hpp: Same.
2826         * include/ext/pb_ds/detail/basic_tree_policy/null_node_metadata.hpp: Same.
2827         * include/ext/pb_ds/detail/basic_tree_policy/traits.hpp: Same.
2828         * include/ext/pb_ds/detail/types_traits.hpp: Same.
2829         * include/ext/pb_ds/detail/binary_heap_: New.
2830         * include/ext/pb_ds/detail/binary_heap_/policy_access_fn_imps.hpp: Same.
2831         * include/ext/pb_ds/detail/binary_heap_/find_fn_imps.hpp: Same.
2832         * include/ext/pb_ds/detail/binary_heap_/const_iterator.hpp: Same.
2833         * include/ext/pb_ds/detail/binary_heap_/entry_cmp.hpp: Same.
2834         * include/ext/pb_ds/detail/binary_heap_/constructors_destructor_fn_imps.hpp: Same.
2835         * include/ext/pb_ds/detail/binary_heap_/debug_fn_imps.hpp: Same.
2836         * include/ext/pb_ds/detail/binary_heap_/info_fn_imps.hpp: Same.
2837         * include/ext/pb_ds/detail/binary_heap_/const_point_iterator.hpp: Same.
2838         * include/ext/pb_ds/detail/binary_heap_/trace_fn_imps.hpp: Same.
2839         * include/ext/pb_ds/detail/binary_heap_/erase_fn_imps.hpp: Same.
2840         * include/ext/pb_ds/detail/binary_heap_/entry_pred.hpp: Same.
2841         * include/ext/pb_ds/detail/binary_heap_/insert_fn_imps.hpp: Same.
2842         * include/ext/pb_ds/detail/binary_heap_/resize_policy.hpp: Same.
2843         * include/ext/pb_ds/detail/binary_heap_/binary_heap_.hpp: Same.
2844         * include/ext/pb_ds/detail/binary_heap_/split_join_fn_imps.hpp: Same.
2845         * include/ext/pb_ds/detail/binary_heap_/iterators_fn_imps.hpp: Same.
2846         * include/ext/pb_ds/detail/trie_policy: New.
2847         * include/ext/pb_ds/detail/trie_policy/string_trie_e_access_traits_imp.hpp: Same.
2848         * include/ext/pb_ds/detail/trie_policy/order_statistics_imp.hpp: Same.
2849         * include/ext/pb_ds/detail/trie_policy/sample_trie_node_update.hpp: Same.
2850         * include/ext/pb_ds/detail/trie_policy/trie_policy_base.hpp: Same.
2851         * include/ext/pb_ds/detail/trie_policy/prefix_search_node_update_imp.hpp: Same.
2852         * include/ext/pb_ds/detail/trie_policy/sample_trie_e_access_traits.hpp: Same.
2853         * include/ext/pb_ds/detail/trie_policy/node_metadata_selector.hpp: Same.
2854         * include/ext/pb_ds/detail/trie_policy/null_node_update_imp.hpp: Same.
2855         * include/ext/pb_ds/detail/cond_dealtor.hpp: Same.
2856         * include/ext/pb_ds/detail/priority_queue_base_dispatch.hpp: Same.
2857         * include/ext/pb_ds/detail/pairing_heap_: Name.
2858         * include/ext/pb_ds/detail/pairing_heap_/erase_fn_imps.hpp: Same.
2859         * include/ext/pb_ds/detail/pairing_heap_/find_fn_imps.hpp: Same.
2860         * include/ext/pb_ds/detail/pairing_heap_/insert_fn_imps.hpp: Same.
2861         * include/ext/pb_ds/detail/pairing_heap_/debug_fn_imps.hpp: Same.
2862         * include/ext/pb_ds/detail/pairing_heap_/constructors_destructor_fn_imps.hpp: Same.
2863         * include/ext/pb_ds/detail/pairing_heap_/pairing_heap_.hpp: Same.
2864         * include/ext/pb_ds/detail/pairing_heap_/split_join_fn_imps.hpp: Same.
2865         * include/ext/pb_ds/detail/binomial_heap_: New.
2866         * include/ext/pb_ds/detail/binomial_heap_/debug_fn_imps.hpp: Same.
2867         * include/ext/pb_ds/detail/binomial_heap_/constructors_destructor_fn_imps.hpp: Same.
2868         * include/ext/pb_ds/detail/binomial_heap_/binomial_heap_.hpp: Same.
2869         * include/ext/pb_ds/detail/constructors_destructor_fn_imps.hpp: Same.
2870         * include/ext/pb_ds/detail/type_utils.hpp: Same.
2871         * include/ext/pb_ds/detail/eq_fn: New.
2872         * include/ext/pb_ds/detail/eq_fn/hash_eq_fn.hpp: Same.
2873         * include/ext/pb_ds/detail/eq_fn/eq_by_less.hpp: Same.
2874         * include/ext/pb_ds/detail/basic_types.hpp: Same.
2875         * include/ext/pb_ds/detail/list_update_policy: New.
2876         * include/ext/pb_ds/detail/list_update_policy/mtf_lu_policy_imp.hpp: Same.
2877         * include/ext/pb_ds/detail/list_update_policy/counter_lu_metadata.hpp: Same.
2878         * include/ext/pb_ds/detail/list_update_policy/sample_update_policy.hpp: Same.
2879         * include/ext/pb_ds/detail/list_update_policy/counter_lu_policy_imp.hpp: Same.
2880         * include/ext/pb_ds/detail/thin_heap_: New.
2881         * include/ext/pb_ds/detail/thin_heap_/trace_fn_imps.hpp: Same.
2882         * include/ext/pb_ds/detail/thin_heap_/erase_fn_imps.hpp: Same.
2883         * include/ext/pb_ds/detail/thin_heap_/find_fn_imps.hpp: Same.
2884         * include/ext/pb_ds/detail/thin_heap_/thin_heap_.hpp: Same.
2885         * include/ext/pb_ds/detail/thin_heap_/insert_fn_imps.hpp: Same.
2886         * include/ext/pb_ds/detail/thin_heap_/debug_fn_imps.hpp: Same.
2887         * include/ext/pb_ds/detail/thin_heap_/constructors_destructor_fn_imps.hpp: Same.
2888         * include/ext/pb_ds/detail/thin_heap_/split_join_fn_imps.hpp: Same.
2889         * include/ext/pb_ds/detail/left_child_next_sibling_heap_: New.
2890         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/trace_fn_imps.hpp: Same.
2891         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/erase_fn_imps.hpp: Same.
2892         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/null_metadata.hpp: Same.
2893         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/policy_access_fn_imps.hpp: Same.
2894         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/left_child_next_sibling_heap_.hpp: Same.
2895         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/insert_fn_imps.hpp: Same.
2896         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/const_iterator.hpp: Same.
2897         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/debug_fn_imps.hpp: Same.
2898         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/constructors_destructor_fn_imps.hpp: Same.
2899         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/node.hpp: Same.
2900         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/info_fn_imps.hpp: Same.
2901         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/iterators_fn_imps.hpp: Same.
2902         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/const_point_iterator.hpp: Same.
2903         * include/ext/pb_ds/detail/ov_tree_map_: New.
2904         * include/ext/pb_ds/detail/ov_tree_map_/erase_fn_imps.hpp: Same.
2905         * include/ext/pb_ds/detail/ov_tree_map_/policy_access_fn_imps.hpp: Same.
2906         * include/ext/pb_ds/detail/ov_tree_map_/cond_dtor.hpp: Same.
2907         * include/ext/pb_ds/detail/ov_tree_map_/insert_fn_imps.hpp: Same.
2908         * include/ext/pb_ds/detail/ov_tree_map_/ov_tree_map_.hpp: Same.
2909         * include/ext/pb_ds/detail/ov_tree_map_/node_iterators.hpp: Same.
2910         * include/ext/pb_ds/detail/ov_tree_map_/debug_fn_imps.hpp: Same.
2911         * include/ext/pb_ds/detail/ov_tree_map_/constructors_destructor_fn_imps.hpp: Same.
2912         * include/ext/pb_ds/detail/ov_tree_map_/split_join_fn_imps.hpp: Same.
2913         * include/ext/pb_ds/detail/ov_tree_map_/traits.hpp: Same.
2914         * include/ext/pb_ds/detail/ov_tree_map_/info_fn_imps.hpp: Same.
2915         * include/ext/pb_ds/detail/ov_tree_map_/iterators_fn_imps.hpp: Same.
2916         * include/ext/pb_ds/detail/map_debug_base.hpp: Same.
2917         * include/ext/pb_ds/detail/hash_fn: New.
2918         * include/ext/pb_ds/detail/hash_fn/linear_probe_fn_imp.hpp: Same.
2919         * include/ext/pb_ds/detail/hash_fn/mod_based_range_hashing.hpp: Same.
2920         * include/ext/pb_ds/detail/hash_fn/ranged_probe_fn.hpp: Same.
2921         * include/ext/pb_ds/detail/hash_fn/sample_probe_fn.hpp: Same.
2922         * include/ext/pb_ds/detail/hash_fn/direct_mod_range_hashing_imp.hpp: Same.
2923         * include/ext/pb_ds/detail/hash_fn/sample_ranged_probe_fn.hpp: Same.
2924         * include/ext/pb_ds/detail/hash_fn/quadratic_probe_fn_imp.hpp: Same.
2925         * include/ext/pb_ds/detail/hash_fn/sample_range_hashing.hpp: Same.
2926         * include/ext/pb_ds/detail/hash_fn/probe_fn_base.hpp: Same.
2927         * include/ext/pb_ds/detail/hash_fn/ranged_hash_fn.hpp: Same.
2928         * include/ext/pb_ds/detail/hash_fn/mask_based_range_hashing.hpp: Same.
2929         * include/ext/pb_ds/detail/hash_fn/sample_ranged_hash_fn.hpp: Same.
2930         * include/ext/pb_ds/detail/hash_fn/direct_mask_range_hashing_imp.hpp: Same.
2931         * include/ext/pb_ds/detail/splay_tree_: New.
2932         * include/ext/pb_ds/detail/splay_tree_/erase_fn_imps.hpp: Same.
2933         * include/ext/pb_ds/detail/splay_tree_/find_fn_imps.hpp: Same.
2934         * include/ext/pb_ds/detail/splay_tree_/insert_fn_imps.hpp: Same.
2935         * include/ext/pb_ds/detail/splay_tree_/debug_fn_imps.hpp: Same.
2936         * include/ext/pb_ds/detail/splay_tree_/constructors_destructor_fn_imps.hpp: Same.
2937         * include/ext/pb_ds/detail/splay_tree_/splay_fn_imps.hpp: Same.
2938         * include/ext/pb_ds/detail/splay_tree_/node.hpp: Same.
2939         * include/ext/pb_ds/detail/splay_tree_/split_join_fn_imps.hpp: Same.
2940         * include/ext/pb_ds/detail/splay_tree_/splay_tree_.hpp: Same.
2941         * include/ext/pb_ds/detail/splay_tree_/traits.hpp: Same.
2942         * include/ext/pb_ds/detail/splay_tree_/info_fn_imps.hpp: Same.
2943         * include/ext/pb_ds/detail/list_update_map_: New.
2944         * include/ext/pb_ds/detail/list_update_map_/trace_fn_imps.hpp: Same.
2945         * include/ext/pb_ds/detail/list_update_map_/erase_fn_imps.hpp: Same.
2946         * include/ext/pb_ds/detail/list_update_map_/find_fn_imps.hpp: Same.
2947         * include/ext/pb_ds/detail/list_update_map_/entry_metadata_base.hpp: Same.
2948         * include/ext/pb_ds/detail/list_update_map_/lu_map_.hpp: Same.
2949         * include/ext/pb_ds/detail/list_update_map_/constructor_destructor_fn_imps.hpp: Same.
2950         * include/ext/pb_ds/detail/list_update_map_/insert_fn_imps.hpp: Same.
2951         * include/ext/pb_ds/detail/list_update_map_/debug_fn_imps.hpp: Same.
2952         * include/ext/pb_ds/detail/list_update_map_/info_fn_imps.hpp: Same.
2953         * include/ext/pb_ds/detail/list_update_map_/iterators_fn_imps.hpp: Same.
2954         * include/ext/pb_ds/detail/rc_binomial_heap_: New.
2955         * include/ext/pb_ds/detail/rc_binomial_heap_/trace_fn_imps.hpp: Same.
2956         * include/ext/pb_ds/detail/rc_binomial_heap_/erase_fn_imps.hpp: Same.
2957         * include/ext/pb_ds/detail/rc_binomial_heap_/rc_binomial_heap_.hpp: Same.
2958         * include/ext/pb_ds/detail/rc_binomial_heap_/insert_fn_imps.hpp: Same.
2959         * include/ext/pb_ds/detail/rc_binomial_heap_/debug_fn_imps.hpp: Same.
2960         * include/ext/pb_ds/detail/rc_binomial_heap_/constructors_destructor_fn_imps.hpp: Same.
2961         * include/ext/pb_ds/detail/rc_binomial_heap_/rc.hpp: Same.
2962         * include/ext/pb_ds/detail/rc_binomial_heap_/split_join_fn_imps.hpp: Same.
2963         * include/ext/pb_ds/detail/rb_tree_map_: New.
2964         * include/ext/pb_ds/detail/rb_tree_map_/erase_fn_imps.hpp: Same.
2965         * include/ext/pb_ds/detail/rb_tree_map_/find_fn_imps.hpp: Same.
2966         * include/ext/pb_ds/detail/rb_tree_map_/insert_fn_imps.hpp: Same.
2967         * include/ext/pb_ds/detail/rb_tree_map_/rb_tree_.hpp: Same.
2968         * include/ext/pb_ds/detail/rb_tree_map_/debug_fn_imps.hpp: Same.
2969         * include/ext/pb_ds/detail/rb_tree_map_/constructors_destructor_fn_imps.hpp: Same.
2970         * include/ext/pb_ds/detail/rb_tree_map_/node.hpp: Same.
2971         * include/ext/pb_ds/detail/rb_tree_map_/split_join_fn_imps.hpp: Same.
2972         * include/ext/pb_ds/detail/rb_tree_map_/traits.hpp: Same.
2973         * include/ext/pb_ds/detail/rb_tree_map_/info_fn_imps.hpp: Same.
2974         * include/ext/pb_ds/list_update_policy.hpp: Same.
2975         * include/ext/pb_ds/exception.hpp: Same.
2976         * include/ext/pb_ds/tree_policy.hpp: Same.
2977         * include/ext/pb_ds/tag_and_trait.hpp: Same.
2978         * include/ext/pb_ds/hash_policy.hpp: Same.
2979         * include/ext/pb_ds/trie_policy.hpp: Same.
2980         * include/ext/pb_ds/priority_queue.hpp: Same.
2982         * docs/html/ext/pb_ds: New.
2983         * docs/html/ext/pb_ds/container_tag.html: Same.
2984         * docs/html/ext/pb_ds/trivial_iterator_tag.html: Same.
2985         * docs/html/ext/pb_ds/tree_text_lor_find_timing_test_local.png
2986         * docs/html/ext/pb_ds/sample_trie_e_access_traits.html: Same.
2987         * docs/html/ext/pb_ds/gp_hash_table.html: Same.
2988         * docs/html/ext/pb_ds/priority_queue_tag_cd.svg
2989         * docs/html/ext/pb_ds/container_cd.svg
2990         * docs/html/ext/pb_ds/linear_probe_fn.html: Same.
2991         * docs/html/ext/pb_ds/hash_random_int_erase_mem_usage_test_local.png
2992         * docs/html/ext/pb_ds/quadratic_probe_fn.html: Same.
2993         * docs/html/ext/pb_ds/assoc_regression_tests.html: Same.
2994         * docs/html/ext/pb_ds/tree_tag.html: Same.
2995         * docs/html/ext/pb_ds/hash_random_int_erase_mem_usage_test.html: Same.
2996         * docs/html/ext/pb_ds/interface.html: Same.
2997         * docs/html/ext/pb_ds/hash_zlob_random_int_find_timing_test_msvc.png
2998         * docs/html/ext/pb_ds/hash_random_int_subscript_find_timing_test.html: Same.
2999         * docs/html/ext/pb_ds/lu_based_containers.html: Same.
3000         * docs/html/ext/pb_ds/embedded_lists_3.png
3001         * docs/html/ext/pb_ds/tree_text_find_find_timing_test.html: Same.
3002         * docs/html/ext/pb_ds/multimap_text_insert_mem_usage_test_small_s2p_hash_local.png
3003         * docs/html/ext/pb_ds/assoc_performance_tests.html: Same.
3004         * docs/html/ext/pb_ds/list_update.html: Same.
3005         * docs/html/ext/pb_ds/priority_queue_random_int_push_pop_timing_test_gcc.png
3006         * docs/html/ext/pb_ds/tree_text_insert_timing_test_pat_trie_local.png
3007         * docs/html/ext/pb_ds/point_iterators_range_ops_1.png
3008         * docs/html/ext/pb_ds/gp_hash_random_int_subscript_timing_test_insert_msvc.png
3009         * docs/html/ext/pb_ds/hash_zlob_random_int_find_timing_test_gcc.png
3010         * docs/html/ext/pb_ds/text_find_timing_test_tree_like_msvc.png
3011         * docs/html/ext/pb_ds/multimap_text_insert_mem_usage_test_small_s2p_tree_local.png
3012         * docs/html/ext/pb_ds/priority_queue_text_modify_down_timing_test_local.png
3013         * docs/html/ext/pb_ds/tree_text_insert_timing_test_pat_trie_msvc.png
3014         * docs/html/ext/pb_ds/priority_queue_text_modify_down_timing_test.html: Same.
3015         * docs/html/ext/pb_ds/move_to_front_lu_policy.html: Same.
3016         * docs/html/ext/pb_ds/multimap_text_find_timing_test_large_s2p_hash_gcc.png
3017         * docs/html/ext/pb_ds/hash_random_int_find_find_timing_test.html: Same.
3018         * docs/html/ext/pb_ds/string_trie_e_access_traits.html: Same.
3019         * docs/html/ext/pb_ds/prerequisites.html: Same.
3020         * docs/html/ext/pb_ds/gp_hash_tag.html: Same.
3021         * docs/html/ext/pb_ds/priority_queue_tag_cd.png
3022         * docs/html/ext/pb_ds/container_cd.png
3023         * docs/html/ext/pb_ds/priority_queue_text_join_timing_test_gcc.png
3024         * docs/html/ext/pb_ds/container_base.html: Same.
3025         * docs/html/ext/pb_ds/multimap_text_insert_timing_test_small_s2p_hash_msvc.png
3026         * docs/html/ext/pb_ds/tree_random_int_find_find_timing_test.html: Same.
3027         * docs/html/ext/pb_ds/binary_priority_queue_random_int_push_timing_test_msvc.png
3028         * docs/html/ext/pb_ds/gp_hash_random_int_subscript_timing_test_find_local.png
3029         * docs/html/ext/pb_ds/gp_hash_random_int_subscript_timing_test_find_gcc.png
3030         * docs/html/ext/pb_ds/priority_queue_text_push_pop_timing_test_msvc.png
3031         * docs/html/ext/pb_ds/random_int_find_find_timing_test_tree_msvc.png
3032         * docs/html/ext/pb_ds/text_find_timing_test_hash_local.png
3033         * docs/html/ext/pb_ds/tree_text_insert_timing_test_node_tree_msvc.png
3034         * docs/html/ext/pb_ds/ov_tree_tag.html: Same.
3035         * docs/html/ext/pb_ds/multimap_text_insert_timing_test_small_s2p_hash_local.png
3036         * docs/html/ext/pb_ds/multimap_text_insert_timing_test_large_s2p_hash_msvc.png
3037         * docs/html/ext/pb_ds/priority_queue_text_pop_mem_usage_test_msvc.png
3038         * docs/html/ext/pb_ds/priority_queue_text_modify_down_timing_test_pairing_thin_msvc.png
3039         * docs/html/ext/pb_ds/list_update_tag.html: Same.
3040         * docs/html/ext/pb_ds/balls_and_bins.png
3041         * docs/html/ext/pb_ds/multimap_text_insert_timing_test_small_s2p_tree_local.png
3042         * docs/html/ext/pb_ds/disclaimer.html: Same.
3043         * docs/html/ext/pb_ds/insert_error.html: Same.
3044         * docs/html/ext/pb_ds/multimap_text_find_timing_test_small_s2p_hash_gcc.png
3045         * docs/html/ext/pb_ds/ccgp_hash_random_int_subscript_timing_test_insert_gcc.png
3046         * docs/html/ext/pb_ds/examples.html: Same.
3047         * docs/html/ext/pb_ds/multimap_text_insert_timing_test_small.html: Same.
3048         * docs/html/ext/pb_ds/pairing_priority_queue_text_push_pop_timing_test_gcc.png
3049         * docs/html/ext/pb_ds/sample_probe_fn.html: Same.
3050         * docs/html/ext/pb_ds/multimap_text_insert_mem_usage_test_large_s2p_hash_local.png
3051         * docs/html/ext/pb_ds/priority_queue_text_push_timing_test.html: Same.
3052         * docs/html/ext/pb_ds/priority_queue_random_int_push_timing_test_gcc.png
3053         * docs/html/ext/pb_ds/null_mapped_type.html: Same.
3054         * docs/html/ext/pb_ds/binary_priority_queue_random_int_push_timing_test_gcc.png
3055         * docs/html/ext/pb_ds/tree_order_statistics_timing_test_gcc.png
3056         * docs/html/ext/pb_ds/associative_container_tag.html: Same.
3057         * docs/html/ext/pb_ds/multimap_text_insert_mem_usage_test_large_s2p_tree_local.png
3058         * docs/html/ext/pb_ds/design.html: Same.
3059         * docs/html/ext/pb_ds/cc_hash_max_collision_check_resize_trigger.html: Same.
3060         * docs/html/ext/pb_ds/pairing_heap_tag.html: Same.
3061         * docs/html/ext/pb_ds/tree_text_lor_find_timing_test_gcc.png
3062         * docs/html/ext/pb_ds/references.html: Same.
3063         * docs/html/ext/pb_ds/tree_order_statistics_timing_test_msvc.png
3064         * docs/html/ext/pb_ds/hash_load_check_resize_trigger.html: Same.
3065         * docs/html/ext/pb_ds/priority_queue_text_pop_mem_usage_test_gcc.png
3066         * docs/html/ext/pb_ds/priority_queue_text_modify_down_timing_test_pairing_thin_gcc.png
3067         * docs/html/ext/pb_ds/hash_random_int_erase_mem_usage_test_gcc.png
3068         * docs/html/ext/pb_ds/pq_different_underlying_dss.png
3069         * docs/html/ext/pb_ds/insert_resize_sequence_diagram1.png
3070         * docs/html/ext/pb_ds/pq_regression_tests.html: Same.
3071         * docs/html/ext/pb_ds/sample_tree_node_update.html: Same.
3072         * docs/html/ext/pb_ds/invalidation_guarantee_erase.png
3073         * docs/html/ext/pb_ds/basic_invalidation_guarantee.html: Same.
3074         * docs/html/ext/pb_ds/multimap_text_insert_timing_test_large_s2p_hash_local.png
3075         * docs/html/ext/pb_ds/multimap_text_insert_timing_test_large_s2p_hash_gcc.png
3076         * docs/html/ext/pb_ds/hash_zlob_random_int_find_timing_test_local.png
3077         * docs/html/ext/pb_ds/point_iterators_range_ops_2.png
3078         * docs/html/ext/pb_ds/null_probe_fn.html: Same.
3079         * docs/html/ext/pb_ds/hash_prime_size_policy.html: Same.
3080         * docs/html/ext/pb_ds/multimap_text_insert_mem_usage_test_small_s2p_hash_msvc.png
3081         * docs/html/ext/pb_ds/priority_queue_text_modify_down_timing_test_gcc.png
3082         * docs/html/ext/pb_ds/multimap_text_insert_timing_test_large_s2p_tree_local.png
3083         * docs/html/ext/pb_ds/binary_priority_queue_random_int_push_timing_test_local.png
3084         * docs/html/ext/pb_ds/multimap_text_insert_mem_usage_test_large_s2p_hash_msvc.png
3085         * docs/html/ext/pb_ds/multimap_text_insert_mem_usage_test_large_s2p_tree_gcc.png
3086         * docs/html/ext/pb_ds/multimap_text_find_timing_test_large.html: Same.
3087         * docs/html/ext/pb_ds/sample_resize_policy.html: Same.
3088         * docs/html/ext/pb_ds/binomial_heap_tag.html: Same.
3089         * docs/html/ext/pb_ds/priority_queue_text_pop_mem_usage_test_local.png
3090         * docs/html/ext/pb_ds/priority_queue_text_modify_down_timing_test_pairing_thin_local.png
3091         * docs/html/ext/pb_ds/tree_text_lor_find_find_timing_test.html: Same.
3092         * docs/html/ext/pb_ds/priority_queue_text_join_timing_test_msvc.png
3093         * docs/html/ext/pb_ds/trie_based_containers.html: Same.
3094         * docs/html/ext/pb_ds/cc_hash_random_int_subscript_timing_test_insert_gcc.png
3095         * docs/html/ext/pb_ds/tree_split_join_timing_test_local.png
3096         * docs/html/ext/pb_ds/text_find_timing_test_hash_gcc.png
3097         * docs/html/ext/pb_ds/motivation.html: Same.
3098         * docs/html/ext/pb_ds/multimap_text_insert_timing_test_small_s2p_tree_msvc.png
3099         * docs/html/ext/pb_ds/tree_split_join_timing_test_gcc.png
3100         * docs/html/ext/pb_ds/tree.html: Same.
3101         * docs/html/ext/pb_ds/multimap_text_insert_timing_test_small_s2p_hash_gcc.png
3102         * docs/html/ext/pb_ds/cc_hash_random_int_subscript_timing_test_insert_msvc.png
3103         * docs/html/ext/pb_ds/invalidation_guarantee_cd.png
3104         * docs/html/ext/pb_ds/tutorial.html: Same.
3105         * docs/html/ext/pb_ds/null_trie_node_update.html: Same.
3106         * docs/html/ext/pb_ds/priority_queue_text_modify_up_timing_test_gcc.png
3107         * docs/html/ext/pb_ds/multimap_text_insert_timing_test_large_s2p_tree_msvc.png
3108         * docs/html/ext/pb_ds/ccgp_hash_random_int_subscript_timing_test_insert_local.png
3109         * docs/html/ext/pb_ds/point_iterators_cd.png
3110         * docs/html/ext/pb_ds/multimap_text_find_timing_test_small_s2p_hash_local.png
3111         * docs/html/ext/pb_ds/priority_queue_random_int_push_pop_timing_test_local.png
3112         * docs/html/ext/pb_ds/rb_tree_tag.html: Same.
3113         * docs/html/ext/pb_ds/cc_hash_random_int_subscript_timing_test_find_msvc.png
3114         * docs/html/ext/pb_ds/pairing_priority_queue_text_push_timing_test_msvc.png
3115         * docs/html/ext/pb_ds/tree_text_insert_timing_test_pat_trie_gcc.png
3116         * docs/html/ext/pb_ds/exceptions.html: Same.
3117         * docs/html/ext/pb_ds/priority_queue_text_modify_up_timing_test_msvc.png
3118         * docs/html/ext/pb_ds/multimap_text_find_timing_test_small_s2p_tree_local.png
3119         * docs/html/ext/pb_ds/hash_policy_cd.png
3120         * docs/html/ext/pb_ds/multimap_text_insert_mem_usage_test_small_s2p_tree_gcc.png
3121         * docs/html/ext/pb_ds/multimap_text_insert_mem_usage_test_small.html: Same.
3122         * docs/html/ext/pb_ds/ds_gen.html: Same.
3123         * docs/html/ext/pb_ds/hash_exponential_size_policy.html: Same.
3124         * docs/html/ext/pb_ds/gp_hash_random_int_subscript_timing_test_insert_local.png
3125         * docs/html/ext/pb_ds/hash_random_int_erase_mem_usage_test_msvc.png
3126         * docs/html/ext/pb_ds/index.html: Same.
3127         * docs/html/ext/pb_ds/binary_heap_tag.html: Same.
3128         * docs/html/ext/pb_ds/basic_hash_tag.html: Same.
3129         * docs/html/ext/pb_ds/trie_order_statistics_node_update.html: Same.
3130         * docs/html/ext/pb_ds/sample_resize_trigger.html: Same.
3131         * docs/html/ext/pb_ds/priority_queue_text_push_timing_test_local.png
3132         * docs/html/ext/pb_ds/hash_text_find_find_timing_test.html: Same.
3133         * docs/html/ext/pb_ds/tree_text_insert_timing_test.html: Same.
3134         * docs/html/ext/pb_ds/trie_tag.html: Same.
3135         * docs/html/ext/pb_ds/cc_hash_random_int_subscript_timing_test_find_local.png
3136         * docs/html/ext/pb_ds/pq_tests.html: Same.
3137         * docs/html/ext/pb_ds/insert_resize_sequence_diagram2.png
3138         * docs/html/ext/pb_ds/node_invariant_invalidations.png
3139         * docs/html/ext/pb_ds/priority_queue_text_modify_down_timing_test_msvc.png
3140         * docs/html/ext/pb_ds/resize_policy_cd.png
3141         * docs/html/ext/pb_ds/embedded_lists_1.png
3142         * docs/html/ext/pb_ds/hash_ranged_hash_range_hashing_fns.png
3143         * docs/html/ext/pb_ds/null_lu_metadata.html: Same.
3144         * docs/html/ext/pb_ds/tree_order_statistics_timing_test.html: Same.
3145         * docs/html/ext/pb_ds/trie_prefix_search_node_update.html: Same.
3146         * docs/html/ext/pb_ds/hash_range_hashing_seq_diagram.png
3147         * docs/html/ext/pb_ds/point_invalidation_guarantee.html: Same.
3148         * docs/html/ext/pb_ds/direct_mod_range_hashing.html: Same.
3149         * docs/html/ext/pb_ds/tree_text_insert_timing_test_vector_tree_local.png
3150         * docs/html/ext/pb_ds/priority_queue_random_int_push_pop_timing_test_msvc.png
3151         * docs/html/ext/pb_ds/misc.html: Same.
3152         * docs/html/ext/pb_ds/multimap_text_find_timing_test_large_s2p_hash_local.png
3153         * docs/html/ext/pb_ds/counter_lu_policy.html: Same.
3154         * docs/html/ext/pb_ds/different_underlying_dss.png
3155         * docs/html/ext/pb_ds/restoring_node_invariants.png
3156         * docs/html/ext/pb_ds/multimap_text_insert_timing_test_large.html: Same.
3157         * docs/html/ext/pb_ds/pairing_priority_queue_text_push_timing_test_local.png
3158         * docs/html/ext/pb_ds/sample_update_policy.html: Same.
3159         * docs/html/ext/pb_ds/pairing_priority_queue_text_push_timing_test_gcc.png
3160         * docs/html/ext/pb_ds/tree_order_statistics_timing_test_local.png
3161         * docs/html/ext/pb_ds/multimap_text_insert_mem_usage_test_small_s2p_tree_msvc.png
3162         * docs/html/ext/pb_ds/simple_list.png
3163         * docs/html/ext/pb_ds/text_find_timing_test_hash_msvc.png
3164         * docs/html/ext/pb_ds/assoc_examples.html: Same.
3165         * docs/html/ext/pb_ds/priority_queue_text_push_pop_timing_test_local.png
3166         * docs/html/ext/pb_ds/hash_based_containers.html: Same.
3167         * docs/html/ext/pb_ds/text_find_timing_test_tree_like_local.png
3168         * docs/html/ext/pb_ds/multimap_text_find_timing_test_large_s2p_tree_local.png
3169         * docs/html/ext/pb_ds/multimap_text_find_timing_test_large_s2p_tree_gcc.png
3170         * docs/html/ext/pb_ds/tree_node_iterator.html: Same.
3171         * docs/html/ext/pb_ds/priority_queue_text_modify_up_timing_test_pairing_thin_msvc.png
3172         * docs/html/ext/pb_ds/trie_node_iterator.html: Same.
3173         * docs/html/ext/pb_ds/tree_based_containers.html: Same.
3174         * docs/html/ext/pb_ds/hash_random_int_subscript_insert_timing_test.html: Same.
3175         * docs/html/ext/pb_ds/multimap_text_insert_mem_usage_test_large_s2p_tree_msvc.png
3176         * docs/html/ext/pb_ds/ccgp_hash_random_int_subscript_timing_test_insert_msvc.png
3177         * docs/html/ext/pb_ds/multimap_text_find_timing_test_small_s2p_hash_msvc.png
3178         * docs/html/ext/pb_ds/priority_queue_text_push_timing_test_gcc.png
3179         * docs/html/ext/pb_ds/rationale_null_node_updator.png
3180         * docs/html/ext/pb_ds/priority_queue_text_modify_up_timing_test_pairing_thin_local.png
3181         * docs/html/ext/pb_ds/lu.png
3182         * docs/html/ext/pb_ds/assoc_container_traits.html: Same.
3183         * docs/html/ext/pb_ds/gp_hash_random_int_find_timing_test_msvc.png
3184         * docs/html/ext/pb_ds/assoc_design.html: Same.
3185         * docs/html/ext/pb_ds/splay_tree_tag.html: Same.
3186         * docs/html/ext/pb_ds/cc_hash_random_int_subscript_timing_test_find_gcc.png
3187         * docs/html/ext/pb_ds/priority_queue_random_int_push_timing_test.html: Same.
3188         * docs/html/ext/pb_ds/assoc_container_tag_cd.svg
3189         * docs/html/ext/pb_ds/resize_error.html: Same.
3190         * docs/html/ext/pb_ds/multimap_text_find_timing_test_large_s2p_hash_msvc.png
3191         * docs/html/ext/pb_ds/tree_text_insert_timing_test_node_tree_gcc.png
3192         * docs/html/ext/pb_ds/priority_queue_text_join_timing_test.html: Same.
3193         * docs/html/ext/pb_ds/basic_tree_assoc_container_const_node_iterator.html: Same.
3194         * docs/html/ext/pb_ds/gp_hash_random_int_find_timing_test_gcc.png
3195         * docs/html/ext/pb_ds/trie_const_node_iterator.html: Same.
3196         * docs/html/ext/pb_ds/hash_zlob_random_int_find_find_timing_test.html: Same.
3197         * docs/html/ext/pb_ds/multimap_text_find_timing_test_small_s2p_tree_gcc.png
3198         * docs/html/ext/pb_ds/sample_size_policy.html: Same.
3199         * docs/html/ext/pb_ds/tree_text_insert_timing_test_vector_tree_gcc.png
3200         * docs/html/ext/pb_ds/cc_hash_table.html: Same.
3201         * docs/html/ext/pb_ds/node_invariants.png
3202         * docs/html/ext/pb_ds/tree_split_join_timing_test_msvc.png
3203         * docs/html/ext/pb_ds/priority_queue_text_modify_up_timing_test.html: Same.
3204         * docs/html/ext/pb_ds/tree_order_statistics_node_update.html: Same.
3205         * docs/html/ext/pb_ds/cc_hash_random_int_find_timing_test_msvc.png
3206         * docs/html/ext/pb_ds/cc_hash_random_int_subscript_timing_test_insert_local.png
3207         * docs/html/ext/pb_ds/priority_queue.html: Same.
3208         * docs/html/ext/pb_ds/assoc_tests.html: Same.
3209         * docs/html/ext/pb_ds/assoc_container_tag_cd.png
3210         * docs/html/ext/pb_ds/basic_hash_table.html: Same.
3211         * docs/html/ext/pb_ds/basic_tree_tag.html: Same.
3212         * docs/html/ext/pb_ds/tree_split_join_timing_test.html: Same.
3213         * docs/html/ext/pb_ds/priority_queue_text_modify_up_timing_test_local.png
3214         * docs/html/ext/pb_ds/insert_resize_sequence_diagram3.png
3215         * docs/html/ext/pb_ds/embedded_lists_2.png
3216         * docs/html/ext/pb_ds/random_int_find_find_timing_test_tree_local.png
3217         * docs/html/ext/pb_ds/sample_ranged_probe_fn.html: Same.
3218         * docs/html/ext/pb_ds/random_int_find_find_timing_test_tree_gcc.png
3219         * docs/html/ext/pb_ds/sample_trie_node_update.html: Same.
3220         * docs/html/ext/pb_ds/introduction.html: Same.
3221         * docs/html/ext/pb_ds/pq_performance_tests.html: Same.
3222         * docs/html/ext/pb_ds/pat_trie.png
3223         * docs/html/ext/pb_ds/range_invalidation_guarantee.html: Same.
3224         * docs/html/ext/pb_ds/contact.html: Same.
3225         * docs/html/ext/pb_ds/sample_range_hashing.html: Same.
3226         * docs/html/ext/pb_ds/priority_queue_random_int_push_timing_test_local.png
3227         * docs/html/ext/pb_ds/multimap_text_insert_mem_usage_test_large_s2p_hash_gcc.png
3228         * docs/html/ext/pb_ds/update_seq_diagram.png
3229         * docs/html/ext/pb_ds/multimap_text_insert_timing_test_large_s2p_tree_gcc.png
3230         * docs/html/ext/pb_ds/direct_mask_range_hashing.html: Same.
3231         * docs/html/ext/pb_ds/tests.html: Same.
3232         * docs/html/ext/pb_ds/cc_hash_random_int_find_timing_test_gcc.png
3233         * docs/html/ext/pb_ds/tree_node_updator_policy_cd.png
3234         * docs/html/ext/pb_ds/text_find_timing_test_tree_like_gcc.png
3235         * docs/html/ext/pb_ds/multimap_text_insert_mem_usage_test_large.html: Same.
3236         * docs/html/ext/pb_ds/trie_node_updator_policy_cd.png
3237         * docs/html/ext/pb_ds/priority_queue_random_int_push_timing_test_msvc.png
3238         * docs/html/ext/pb_ds/concepts.html: Same.
3239         * docs/html/ext/pb_ds/pq_examples.html: Same.
3240         * docs/html/ext/pb_ds/priority_queue_tag.html: Same.
3241         * docs/html/ext/pb_ds/priority_queue_random_int_push_pop_timing_test.html: Same.
3242         * docs/html/ext/pb_ds/update_policy_cd.png
3243         * docs/html/ext/pb_ds/thin_heap_tag.html: Same.
3244         * docs/html/ext/pb_ds/pairing_priority_queue_text_push_pop_timing_test_msvc.png
3245         * docs/html/ext/pb_ds/basic_tree.html: Same.
3246         * docs/html/ext/pb_ds/null_hash_fn.html: Same.
3247         * docs/html/ext/pb_ds/null_tree_node_update.html: Same.
3248         * docs/html/ext/pb_ds/priority_queue_text_modify_up_timing_test_pairing_thin_gcc.png
3249         * docs/html/ext/pb_ds/trie.html: Same.
3250         * docs/html/ext/pb_ds/multimap_text_find_timing_test_small_s2p_tree_msvc.png
3251         * docs/html/ext/pb_ds/rc_binomial_heap_tag.html: Same.
3252         * docs/html/ext/pb_ds/priority_queue_text_push_timing_test_msvc.png
3253         * docs/html/ext/pb_ds/pq_container_traits.html: Same.
3254         * docs/html/ext/pb_ds/pq_design.html: Same.
3255         * docs/html/ext/pb_ds/checked_by_tidy.gif
3256         * docs/html/ext/pb_ds/tree_text_insert_timing_test_node_tree_local.png
3257         * docs/html/ext/pb_ds/multimap_text_insert_mem_usage_test_small_s2p_hash_gcc.png
3258         * docs/html/ext/pb_ds/priority_queue_text_push_pop_timing_test.html: Same.
3259         * docs/html/ext/pb_ds/multimap_text_insert_timing_test_small_s2p_tree_gcc.png
3260         * docs/html/ext/pb_ds/pairing_priority_queue_text_push_pop_timing_test_local.png
3261         * docs/html/ext/pb_ds/acks.html: Same.
3262         * docs/html/ext/pb_ds/gp_hash_random_int_find_timing_test_local.png
3263         * docs/html/ext/pb_ds/cc_hash_tag.html: Same.
3264         * docs/html/ext/pb_ds/sample_ranged_hash_fn.html: Same.
3265         * docs/html/ext/pb_ds/multimap_text_find_timing_test_large_s2p_tree_msvc.png
3266         * docs/html/ext/pb_ds/priority_queue_text_pop_mem_usage_test.html: Same.
3267         * docs/html/ext/pb_ds/multimap_text_find_timing_test_small.html: Same.
3268         * docs/html/ext/pb_ds/tree_text_lor_find_timing_test_msvc.png
3269         * docs/html/ext/pb_ds/hash_range_hashing_seq_diagram2.png
3270         * docs/html/ext/pb_ds/gp_hash_random_int_subscript_timing_test_find_msvc.png
3271         * docs/html/ext/pb_ds/PythonPoweredSmall.gif
3272         * docs/html/ext/pb_ds/cc_hash_random_int_find_timing_test_local.png
3273         * docs/html/ext/pb_ds/pat_trie_tag.html: Same.
3274         * docs/html/ext/pb_ds/hash_standard_resize_policy.html: Same.
3275         * docs/html/ext/pb_ds/tree_text_insert_timing_test_vector_tree_msvc.png
3276         * docs/html/ext/pb_ds/gp_hash_random_int_subscript_timing_test_insert_gcc.png
3277         * docs/html/ext/pb_ds/join_error.html: Same.
3278         * docs/html/ext/pb_ds/priority_queue_text_push_pop_timing_test_gcc.png
3279         * docs/html/ext/pb_ds/priority_queue_text_join_timing_test_local.png
3281         * testsuite/ext/pb_ds: New.
3282         * testsuite/ext/pb_ds/regression: New.
3283         * testsuite/ext/pb_ds/regression/trie_data_map_rand.cc: Same.
3284         * testsuite/ext/pb_ds/regression/hash_data_map_rand.cc: Same.
3285         * testsuite/ext/pb_ds/regression/associative_containers.cc: Same.
3286         * testsuite/ext/pb_ds/regression/list_update_no_data_map_rand.cc: Same.
3287         * testsuite/ext/pb_ds/regression/tree_no_data_map_rand.cc: Same.
3288         * testsuite/ext/pb_ds/regression/list_update_data_map_rand.cc: Same.
3289         * testsuite/ext/pb_ds/regression/priority_queues.cc: Same.
3290         * testsuite/ext/pb_ds/regression/hash_no_data_map_rand.cc: Same.
3291         * testsuite/ext/pb_ds/regression/priority_queue_rand.cc: Same.
3292         * testsuite/ext/pb_ds/regression/trie_no_data_map_rand.cc: Same.
3293         * testsuite/ext/pb_ds/regression/tree_data_map_rand.cc: Same.
3294         * testsuite/ext/pb_ds/example: New.
3295         * testsuite/ext/pb_ds/example/hash_shift_mask.cc: Same.
3296         * testsuite/ext/pb_ds/example/basic_set.cc: Same.
3297         * testsuite/ext/pb_ds/example/hash_illegal_resize.cc: Same.
3298         * testsuite/ext/pb_ds/example/hash_resize_neg.cc: Same.
3299         * testsuite/ext/pb_ds/example/store_hash.cc: Same.
3300         * testsuite/ext/pb_ds/example/assoc_container_traits.cc: Same.
3301         * testsuite/ext/pb_ds/example/hash_load_set_change.cc: Same.
3302         * testsuite/ext/pb_ds/example/ranged_hash.cc: Same.
3303         * testsuite/ext/pb_ds/example/hash_resize.cc: Same.
3304         * testsuite/ext/pb_ds/example/tree_order_statistics.cc: Same.
3305         * testsuite/ext/pb_ds/example/trie_prefix_search.cc: Same.
3306         * testsuite/ext/pb_ds/example/basic_multiset.cc: Same.
3307         * testsuite/ext/pb_ds/example/priority_queue_xref.cc: Same.
3308         * testsuite/ext/pb_ds/example/hash_find_neg.cc: Same.
3309         * testsuite/ext/pb_ds/example/erase_if.cc: Same.
3310         * testsuite/ext/pb_ds/example/priority_queue_container_traits.cc: Same.
3311         * testsuite/ext/pb_ds/example/tree_join.cc: Same.
3312         * testsuite/ext/pb_ds/example/basic_map.cc: Same.
3313         * testsuite/ext/pb_ds/example/trie_split.cc: Same.
3314         * testsuite/ext/pb_ds/example/priority_queue_split_join.cc: Same.
3315         * testsuite/ext/pb_ds/example/priority_queue_dijkstra.cc: Same.
3316         * testsuite/ext/pb_ds/example/priority_queue_erase_if.cc: Same.
3317         * testsuite/ext/pb_ds/example/hash_mod.cc: Same.
3318         * testsuite/ext/pb_ds/example/tree_order_statistics_join.cc: Same.
3319         * testsuite/ext/pb_ds/example/trie_dna.cc: Same.
3320         * testsuite/ext/pb_ds/example/hash_initial_size.cc: Same.
3321         * testsuite/ext/pb_ds/example/basic_priority_queue.cc: Same.
3322         * testsuite/ext/pb_ds/example/tree_intervals.cc: Same.
3323         * testsuite/ext/pb_ds/example/basic_multimap.cc: Same.
3324         * testsuite/performance/ext: New.
3325         * testsuite/performance/ext/pb_ds: New.
3326         * testsuite/performance/ext/pb_ds/multimap_text_find_timing_small.cc: Same.
3327         * testsuite/performance/ext/pb_ds/text_find_timing.cc: Same.
3328         * testsuite/performance/ext/pb_ds/hash_random_int_erase_mem_usage.cc: Same.
3329         * testsuite/performance/ext/pb_ds/tree_text_insert_timing.cc: Same.
3330         * testsuite/performance/ext/pb_ds/priority_queue_text_modify_down_timing.cc: Same.
3331         * testsuite/performance/ext/pb_ds/random_int_subscript_find_timing.cc: Same.
3332         * testsuite/performance/ext/pb_ds/priority_queue_text_push_timing.cc: Same.
3333         * testsuite/performance/ext/pb_ds/tree_split_join_timing.cc: Same.
3334         * testsuite/performance/ext/pb_ds/random_int_find_timing.cc: Same.
3335         * testsuite/performance/ext/pb_ds/multimap_text_insert_timing_large.cc: Same.
3336         * testsuite/performance/ext/pb_ds/multimap_text_insert_mem_usage.hpp: Same.
3337         * testsuite/performance/ext/pb_ds/priority_queue_random_int_push_timing.cc: Same.
3338         * testsuite/performance/ext/pb_ds/multimap_text_find_timing.hpp: Same.
3339         * testsuite/performance/ext/pb_ds/priority_queue_text_modify_timing.hpp: Same.
3340         * testsuite/performance/ext/pb_ds/tree_order_statistics_timing.cc: Same.
3341         * testsuite/performance/ext/pb_ds/priority_queue_text_modify_up_timing.cc: Same.
3342         * testsuite/performance/ext/pb_ds/multimap_text_insert_mem_usage_large.cc: Same.
3343         * testsuite/performance/ext/pb_ds/priority_queue_text_push_pop_timing.cc: Same.
3344         * testsuite/performance/ext/pb_ds/multimap_text_find_timing_large.cc: Same.
3345         * testsuite/performance/ext/pb_ds/priority_queue_text_join_timing.cc: Same.
3346         * testsuite/performance/ext/pb_ds/multimap_text_insert_timing_small.cc: Same.
3347         * testsuite/performance/ext/pb_ds/priority_queue_random_int_push_pop_timing.cc: Same.
3348         * testsuite/performance/ext/pb_ds/random_int_subscript_insert_timing.cc: Same.
3349         * testsuite/performance/ext/pb_ds/tree_text_lor_find_timing.cc: Same.
3350         * testsuite/performance/ext/pb_ds/priority_queue_text_pop_mem_usage.cc: Same.
3351         * testsuite/performance/ext/pb_ds/multimap_text_insert_timing.hpp: Same.
3352         * testsuite/performance/ext/pb_ds/hash_zlob_random_int_find_timing.cc: Same.
3353         * testsuite/performance/ext/pb_ds/multimap_text_insert_mem_usage_small.cc: Same.
3354         * testsuite/data/make_graph_test_infos.xml: Same.
3355         * testsuite/data/thirty_years_among_the_dead_preproc.txt: New.
3356         * testsuite/data/make_graph_htmls.xml: Same.
3357         * testsuite/util/regression: New.
3358         * testsuite/util/regression/trait: New.
3359         * testsuite/util/regression/trait/priority_queue: New.
3360         * testsuite/util/regression/trait/priority_queue/trait.hpp: Same.
3361         * testsuite/util/regression/trait/erase_if_fn.hpp: Same.
3362         * testsuite/util/regression/trait/assoc: New.
3363         * testsuite/util/regression/trait/assoc/native_type_trait.hpp: Same.
3364         * testsuite/util/regression/trait/assoc/node_update_trait.hpp: Same.
3365         * testsuite/util/regression/trait/assoc/get_set_load_trait.hpp: Same.
3366         * testsuite/util/regression/trait/assoc/get_set_loads_trait.hpp: Same.
3367         * testsuite/util/regression/trait/assoc/trait.hpp: Same.
3368         * testsuite/util/regression/trait/assoc/type_trait.hpp: Same.
3369         * testsuite/util/regression/trait/assoc/resize_trait.hpp: Same.
3370         * testsuite/util/regression/trait/assoc/to_string.hpp: Same.
3371         * testsuite/util/regression/rand: New.
3372         * testsuite/util/regression/rand/priority_queue: New.
3373         * testsuite/util/regression/rand/priority_queue/detail: New.
3374         * testsuite/util/regression/rand/priority_queue/detail/erase_fn_imps.hpp: Same.
3375         * testsuite/util/regression/rand/priority_queue/detail/cmp_fn_imps.hpp: Same.
3376         * testsuite/util/regression/rand/priority_queue/detail/policy_access_fn_imps.hpp: Same.
3377         * testsuite/util/regression/rand/priority_queue/detail/defs_fn_imps.hpp: Same.
3378         * testsuite/util/regression/rand/priority_queue/detail/it_conversion_fn_imps.hpp: Same.
3379         * testsuite/util/regression/rand/priority_queue/detail/constructor_destructor_fn_imps.hpp: Same.
3380         * testsuite/util/regression/rand/priority_queue/detail/diagnostic_fn_imps.hpp: Same.
3381         * testsuite/util/regression/rand/priority_queue/detail/insert_fn_imps.hpp: Same.
3382         * testsuite/util/regression/rand/priority_queue/detail/clear_fn_imps.hpp: Same.
3383         * testsuite/util/regression/rand/priority_queue/detail/modify_fn_imps.hpp: Same.
3384         * testsuite/util/regression/rand/priority_queue/detail/split_join_fn_imps.hpp: Same.
3385         * testsuite/util/regression/rand/priority_queue/detail/operator_fn_imps.hpp: Same.
3386         * testsuite/util/regression/rand/priority_queue/rand_regression_test.hpp: Same.
3387         * testsuite/util/regression/rand/priority_queue/container_rand_regression_test.hpp: Same.
3388         * testsuite/util/regression/rand/io: New.
3389         * testsuite/util/regression/rand/io/priority_queue: New.
3390         * testsuite/util/regression/rand/io/priority_queue/xml_formatter.hpp: Same.
3391         * testsuite/util/regression/rand/io/assoc: New.
3392         * testsuite/util/regression/rand/io/assoc/xml_formatter.hpp: Same.
3393         * testsuite/util/regression/rand/io/xml_formatter.hpp: Same.
3394         * testsuite/util/regression/rand/assoc: New.
3395         * testsuite/util/regression/rand/assoc/detail: New.
3396         * testsuite/util/regression/rand/assoc/detail/subscript_fn_imps.hpp: Same.
3397         * testsuite/util/regression/rand/assoc/detail/cmp_fn_imps.hpp: Same.
3398         * testsuite/util/regression/rand/assoc/detail/policy_access_fn_imps.hpp: Same.
3399         * testsuite/util/regression/rand/assoc/detail/defs_fn_imps.hpp: Same.
3400         * testsuite/util/regression/rand/assoc/detail/it_conversion_fn_imps.hpp: Same.
3401         * testsuite/util/regression/rand/assoc/detail/diagnostic_fn_imps.hpp: Same.
3402         * testsuite/util/regression/rand/assoc/detail/clear_fn_imps.hpp: Same.
3403         * testsuite/util/regression/rand/assoc/detail/get_set_load_fn_imps.hpp: Same.
3404         * testsuite/util/regression/rand/assoc/detail/operator_fn_imps.hpp: Same.
3405         * testsuite/util/regression/rand/assoc/detail/erase_fn_imps.hpp: Same.
3406         * testsuite/util/regression/rand/assoc/detail/resize_fn_imps.hpp: Same.
3407         * testsuite/util/regression/rand/assoc/detail/constructor_destructor_fn_imps.hpp: Same.
3408         * testsuite/util/regression/rand/assoc/detail/insert_fn_imps.hpp: Same.
3409         * testsuite/util/regression/rand/assoc/detail/split_join_fn_imps.hpp: Same.
3410         * testsuite/util/regression/rand/assoc/detail/get_set_loads_fn_imps.hpp: Same.
3411         * testsuite/util/regression/rand/assoc/rand_regression_test.hpp: Same.
3412         * testsuite/util/regression/rand/assoc/container_rand_regression_test.hpp: Same.
3413         * testsuite/util/regression/priority_queue: New.
3414         * testsuite/util/regression/priority_queue/common_type.hpp: Same.
3415         * testsuite/util/regression/basic_type.hpp: Same.
3416         * testsuite/util/regression/assoc: New.
3417         * testsuite/util/regression/assoc/common_type.hpp: Same.
3418         * testsuite/util/regression/res_mng: New.
3419         * testsuite/util/regression/res_mng/forced_exception.hpp: Same.
3420         * testsuite/util/regression/res_mng/dbg_ex_allocator_base.cc: Same.
3421         * testsuite/util/regression/res_mng/dbg_ex_allocator_base.hpp: Same.
3422         * testsuite/util/regression/res_mng/dbg_ex_allocator.hpp: Same.
3423         * testsuite/util/rng: New.
3424         * testsuite/util/rng/twister_rand_gen.cc: Same.
3425         * testsuite/util/rng/twister_rand_gen.hpp: Same.
3426         * testsuite/util/native_type: New.
3427         * testsuite/util/native_type/priority_queue: New.
3428         * testsuite/util/native_type/priority_queue/native_priority_queue.hpp: Same.
3429         * testsuite/util/native_type/priority_queue/native_pq_tag.hpp: Same.
3430         * testsuite/util/native_type/assoc: New.
3431         * testsuite/util/native_type/assoc/native_multimap.hpp: Same.
3432         * testsuite/util/native_type/assoc/native_tree_tag.hpp: Same.
3433         * testsuite/util/native_type/assoc/native_set.hpp: Same.
3434         * testsuite/util/native_type/assoc/native_hash_multimap.hpp: Same.
3435         * testsuite/util/native_type/assoc/native_map.hpp: Same.
3436         * testsuite/util/native_type/assoc/native_hash_tag.hpp: Same.
3437         * testsuite/util/native_type/assoc/native_hash_set.hpp: Same.
3438         * testsuite/util/native_type/assoc/native_hash_map.hpp: Same.
3439         * testsuite/util/common_type: New.
3440         * testsuite/util/common_type/priority_queue
3441         * testsuite/util/common_type/priority_queue/common_type.hpp: Same.
3442         * testsuite/util/common_type/priority_queue/string_form.hpp: Same.
3443         * testsuite/util/common_type/priority_queue/detail
3444         * testsuite/util/common_type/priority_queue/detail/ds_string_form.hpp: Same.
3445         * testsuite/util/common_type/assoc: New.
3446         * testsuite/util/common_type/assoc/common_type.hpp: Same.
3447         * testsuite/util/common_type/assoc/string_form.hpp: Same.
3448         * testsuite/util/common_type/assoc/template_policy.hpp: Same.
3449         * testsuite/util/common_type/assoc/detail: New.
3450         * testsuite/util/common_type/assoc/detail/resize_policy_string_form.hpp: Same.
3451         * testsuite/util/common_type/assoc/detail/trigger_policy_string_form.hpp: Same.
3452         * testsuite/util/common_type/assoc/detail/ds_string_form.hpp: Same.
3453         * testsuite/util/common_type/assoc/detail/comb_hash_fn_string_form.hpp: Same.
3454         * testsuite/util/common_type/assoc/detail/size_policy_string_form.hpp: Same.
3455         * testsuite/util/common_type/assoc/detail/probe_fn_string_form.hpp: Same.
3456         * testsuite/util/common_type/assoc/detail/tree_supports_order_statistics.hpp: Same.
3457         * testsuite/util/common_type/assoc/detail/trie_supports_prefix_search.hpp: Same.
3458         * testsuite/util/common_type/assoc/detail/list_update_policy_string_form.hpp: Same.
3459         * testsuite/util/common_type/assoc/detail/trie_supports_order_statistics.hpp: Same.
3460         * testsuite/util/common_type/assoc/detail/store_hash_string_form.hpp: Same.
3461         * testsuite/util/common_type/assoc/native_set.hpp: Same.
3462         * testsuite/util/performance: New.
3463         * testsuite/util/performance/priority_queue: New.
3464         * testsuite/util/performance/priority_queue/mem_usage: New.
3465         * testsuite/util/performance/priority_queue/mem_usage/pop_test.hpp: Same.
3466         * testsuite/util/performance/priority_queue/timing: New.
3467         * testsuite/util/performance/priority_queue/timing/push_pop_test.hpp: Same.
3468         * testsuite/util/performance/priority_queue/timing/push_test.hpp: Same.
3469         * testsuite/util/performance/priority_queue/timing/join_test.hpp: Same.
3470         * testsuite/util/performance/priority_queue/timing/modify_test.hpp: Same.
3471         * testsuite/util/performance/io: New.
3472         * testsuite/util/performance/io/xml_formatter.hpp: Same.
3473         * testsuite/util/performance/assoc: New.
3474         * testsuite/util/performance/assoc/mem_usage: New.
3475         * testsuite/util/performance/assoc/mem_usage/multimap_insert_test.hpp: Same.
3476         * testsuite/util/performance/assoc/mem_usage/erase_test.hpp: Same.
3477         * testsuite/util/performance/assoc/multimap_common_type.hpp: Same.
3478         * testsuite/util/performance/assoc/timing: New.
3479         * testsuite/util/performance/assoc/timing/common_type.hpp: Same.
3480         * testsuite/util/performance/assoc/timing/multimap_insert_test.hpp: Same.
3481         * testsuite/util/performance/assoc/timing/subscript_find_test.hpp: Same.
3482         * testsuite/util/performance/assoc/timing/find_test.hpp: Same.
3483         * testsuite/util/performance/assoc/timing/subscript_insert_test.hpp: Same.
3484         * testsuite/util/performance/assoc/timing/insert_test.hpp: Same.
3485         * testsuite/util/performance/assoc/timing/tree_order_statistics_test.hpp: Same.
3486         * testsuite/util/performance/assoc/timing/multimap_find_test.hpp: Same.
3487         * testsuite/util/performance/assoc/timing/tree_split_join_test.hpp: Same.
3488         * testsuite/util/performance/time: New.
3489         * testsuite/util/performance/time/elapsed_timer.cc: Same.
3490         * testsuite/util/performance/time/elapsed_timer.hpp: Same.
3491         * testsuite/util/performance/time/timing_test_base.hpp: Same.
3492         * testsuite/util/performance/mem: New.
3493         * testsuite/util/performance/mem/mem_track_allocator_base.hpp: Same.
3494         * testsuite/util/performance/mem/mem_track_allocator.hpp: Same.
3495         * testsuite/util/hash_fn: New.
3496         * testsuite/util/hash_fn/limit_string_hash_fn.hpp: Same.
3497         * testsuite/util/hash_fn/string_ranged_hash_fn.hpp: Same.
3498         * testsuite/util/hash_fn/string_hash_fn.hpp: Same.
3499         * testsuite/util/hash_fn/string_ranged_probe_fn.hpp: Same.
3500         * testsuite/util/hash_fn/dna_str_limit.hpp: Same.
3501         * testsuite/util/io: New.
3502         * testsuite/util/io/prog_bar.cc: Same.
3503         * testsuite/util/io/prog_bar.hpp: Same.
3504         * testsuite/util/io/text_populate.hpp: Same.
3505         * testsuite/util/io/xml.hpp: Same.
3506         * testsuite/util/io/illegal_input_error.hpp: Same.
3507         * testsuite/util/io/xml_test_formatter.hpp: Same.
3508         * testsuite/util/io/verified_cmd_line_input.cc: Same.
3509         * testsuite/util/io/verified_cmd_line_input.hpp: Same.
3510         * testsuite/util/statistic: New.
3511         * testsuite/util/statistic/sample_var.hpp: Same.
3512         * testsuite/util/statistic/res_recorder.hpp: Same.
3513         * testsuite/util/statistic/sample_mean.hpp: Same.
3514         * testsuite/util/statistic/sample_mean_confidence_checker.hpp: Same.
3515         
3516 2006-06-12  Paolo Carlini  <pcarlini@suse.de>
3518         PR libstdc++/26970
3519         * config/locale/gnu/c_locale.h (__convert_from_v<>): Change to
3520         variadic function, instead of template function.
3521         * config/locale/generic/c_locale.h (__convert_from_v<>): Likewise.
3522         * include/bits/locale_facets.tcc (num_put<>::_M_insert_float):
3523         Adjust.
3524         (money_put<>::do_put(long double)): Likewise.
3525         * src/locale-misc-inst.cc: Remove.
3526         * src/Makefile.am: Adjust.
3527         * src/Makefile.in: Regenerate.
3529 2006-06-09  Paolo Carlini  <pcarlini@suse.de>
3531         * include/tr1/random (random_device::random_device(const
3532         std::string& = "/dev/urandom")): Open in binary mode.
3534         * include/tr1/random (random_device::random_device(const
3535         std::string& = "rand")): Use mersenne_twister.
3536         (random_device::_M_strtoul): New.
3537         (random_device::operator()()): Update.
3539         * include/tr1/random: Minor stylistic changes, consistently
3540         qualify with std::.
3542 2006-06-09  Paolo Carlini  <pcarlini@suse.de>
3544         * acinclude.m4 ([GLIBCXX_CHECK_RANDOM_TR1]): New, check for
3545         the availability of "/dev/random" and "/dev/urandom".
3546         * configure.ac: Use it.
3547         * include/tr1/random (random_device): Implement, a fall-back for
3548         systems not providing "/dev/random" and "/dev/urandom" included.
3549         * testsuite/tr1/5_numerical_facilities/random/random_device/
3550         cons/default.cc: New.
3551         * testsuite/tr1/5_numerical_facilities/random/random_device/
3552         cons/token.cc: Likewise.
3553         * testsuite/tr1/5_numerical_facilities/random/random_device/
3554         requirements/typedefs.cc: Likewise.
3555         * config.h.in: Regenerate.
3556         * configure: Likewise.
3558         * testsuite/tr1/5_numerical_facilities/random/mersenne_twister/
3559         cons/gen1.cc: Minor tweak, add bool test.
3561 2006-06-06  Benjamin Kosnik  <bkoz@redhat.com>
3563         * testsuite/util: New directory.
3564         * testsuite/testsuite_hooks.cc: Move to util sub-directory.
3565         * testsuite/testsuite_abi_check.cc: Same.
3566         * testsuite/testsuite_abi.cc: Same.
3567         * testsuite/testsuite_tr1.h: Same.
3568         * testsuite/testsuite_io.h: Same.
3569         * testsuite/testsuite_iterators.h: Same.
3570         * testsuite/testsuite_allocator.cc: Same.
3571         * testsuite/testsuite_allocator.h: Same.
3572         * testsuite/testsuite_hooks.h: Same.
3573         * testsuite/testsuite_character.cc: Same.
3574         * testsuite/testsuite_abi.h: Same.
3575         * testsuite/testsuite_character.h: Same.
3576         * testsuite/testsuite_visualization.h: Same.
3577         * testsuite/testsuite_performance.h: Same.
3578         * testsuite/testsuite_shared.cc: Same.
3579         * testsuite/testsuite_common_types.h: Same.
3581         * testsuite/lib/libstdc++.exp (v3-build_support): Adjust paths.
3582         * testsuite/libstdc++-abi/abi.exp: Same.
3583         * testsuite/libstdc++-dg/conformance.exp: Remove any files in the
3584         utilities subdirectory from the list of test cases.
3585         
3586         * scripts/testsuite_flags.in (build-includes): Adjust path for
3587         testsuite includes.
3588         * scripts/create_testsuite_files (dlist): Don't let utility files
3589         creep into the testsuite_files list.
3590         
3591 2006-06-06  Paolo Carlini  <pcarlini@suse.de>
3593         * include/tr1/random (mersenne_twister<>::operator==,
3594         operator!=, operator<<, operator>>): Implement.
3595         * testsuite/tr1/5_numerical_facilities/random/mersenne_twister/
3596         operators/equal.cc: New.        
3597         * testsuite/tr1/5_numerical_facilities/random/mersenne_twister/
3598         operators/not_equal.cc: Likewise.
3599         * testsuite/tr1/5_numerical_facilities/random/mersenne_twister/
3600         operators/serialize.cc: Likewise.
3602         * include/tr1/random (subtract_with_carry<>::operator==): Fix,
3603         compare the whole state; use std::equal.
3605         * include/tr1/random: Minor formatting and style changes.
3607 2006-06-06  Benjamin Kosnik  <bkoz@redhat.com>
3609         * testsuite/tr1/5_numerical_facilies: Move to...
3610         * testsuite/tr1/5_numerical_facilities: ...this.        
3612 2006-06-06  Paolo Carlini  <pcarlini@suse.de>
3614         * include/tr1/random: Trivial uglification fixes.
3615         * include/tr1/random.tcc: Likewise.
3617         * include/tr1/random (subtract_with_carry<>::
3618         subtract_with_carry(_IntType)): Fix parameter type to unsigned long.
3619         (subtract_with_carry<>::seed(_IntType)): Likewise.
3620         * include/tr1/random.tcc (subtract_with_carry<>::seed(_IntType)):
3621         Adjust.
3623 2006-06-05  Paolo Carlini  <pcarlini@suse.de>
3625         * include/tr1/random (mersenne_twister<>::seed()): Fix per
3626         tr1/5.1.4.2, p8.
3627         * include/tr1/random.tcc (mod_w): Add.
3628         (mersenne_twister<>::seed(unsigned long)): Fix per tr1/5.1.4.2, p9.
3629         (mersenne_twister<>::seed(Gen&, false_type)): Adjust to use mod_w.
3630         * testsuite/tr1/5_numerical_facilies/random/mt19937.cc: Fix
3631         expected result per tr1/5.1.5, p2.
3632         * testsuite/tr1/5_numerical_facilies/random/mersenne_twister/
3633         cons/default.cc: Adjust.
3635         * include/tr1/random (exponential_distribution<>::operator()()): Fix.
3637 2006-06-05  Paolo Carlini  <pcarlini@suse.de>
3639         * include/tr1/random.tcc (Max::value()): Cast 1 to Tp(1) and
3640         adjust shift count to w; rename as Max_w.
3641         (struct Mod_w): New.
3642         (mersenne_twister<>::seed(Gen&, false_type): Use the latter.
3643         (mersenne_twister<>::operator()()): Fix ~0ul to ~_UInt().
3644         * testsuite/tr1/5_numerical_facilies/random/mersenne_twister/
3645         cons/default.cc: Fix ~0ul to 2^32-1.
3646         * testsuite/tr1/5_numerical_facilies/random/mersenne_twister/
3647         cons/gen1.cc: Likewise.
3649 2006-06-05  Stephen M. Webb  <stephen.webb@bregmasoft.com>
3651         * include/tr1/random: New.
3652         * include/tr1/random.tcc: Likewise.
3653         * include/Makefile.am: Add.
3654         * testsuite/tr1/5_numerical_facilies/random/ranlux3.cc: New.
3655         * testsuite/tr1/5_numerical_facilies/random/ranlux4.cc: Likewise.
3656         * testsuite/tr1/5_numerical_facilies/random/mt19937.cc: Likewise.
3657         * testsuite/tr1/5_numerical_facilies/random/variate_generator/
3658         requirements/typedefs.cc: Likewise.
3659         * testsuite/tr1/5_numerical_facilies/random/subtract_with_carry/
3660         cons/seed1.cc: Likewise.
3661         * testsuite/tr1/5_numerical_facilies/random/subtract_with_carry/
3662         cons/seed2.cc: Likewise.
3663         * testsuite/tr1/5_numerical_facilies/random/subtract_with_carry/
3664         cons/default.cc: Likewise.
3665         * testsuite/tr1/5_numerical_facilies/random/subtract_with_carry/
3666         cons/gen1.cc: Likewise.
3667         * testsuite/tr1/5_numerical_facilies/random/subtract_with_carry/
3668         requirements/typedefs.cc: Likewise.
3669         * testsuite/tr1/5_numerical_facilies/random/subtract_with_carry/
3670         operators/equal.cc: Likewise.
3671         * testsuite/tr1/5_numerical_facilies/random/subtract_with_carry/
3672         operators/not_equal.cc: Likewise.
3673         * testsuite/tr1/5_numerical_facilies/random/subtract_with_carry/
3674         operators/serialize.cc: Likewise.
3675         * testsuite/tr1/5_numerical_facilies/random/uniform_real/
3676         requirements/typedefs.cc: Likewise.
3677         * testsuite/tr1/5_numerical_facilies/random/discard_block/
3678         requirements/requirements.cc: Likewise.
3679         * testsuite/tr1/5_numerical_facilies/random/linear_congruential/
3680         cons/seed1.cc: Likewise.
3681         * testsuite/tr1/5_numerical_facilies/random/linear_congruential/
3682         cons/seed2.cc: Likewise.
3683         * testsuite/tr1/5_numerical_facilies/random/linear_congruential/
3684         cons/default.cc: Likewise.
3685         * testsuite/tr1/5_numerical_facilies/random/linear_congruential/
3686         cons/gen1.cc: Likewise.
3687         * testsuite/tr1/5_numerical_facilies/random/linear_congruential/
3688         requirements/non_uint_neg.cc: Likewise.
3689         * testsuite/tr1/5_numerical_facilies/random/linear_congruential/
3690         requirements/typedefs.cc: Likewise.
3691         * testsuite/tr1/5_numerical_facilies/random/linear_congruential/
3692         operators/equal.cc: Likewise.
3693         * testsuite/tr1/5_numerical_facilies/random/linear_congruential/
3694         operators/not_equal.cc: Likewise.
3695         * testsuite/tr1/5_numerical_facilies/random/linear_congruential/
3696         operators/serialize.cc: Likewise.
3697         * testsuite/tr1/5_numerical_facilies/random/xor_combine/
3698         requirements/typedefs.cc: Likewise.
3699         * testsuite/tr1/5_numerical_facilies/random/minstd_rand.cc: Likewise.
3700         * testsuite/tr1/5_numerical_facilies/random/minstd_rand0.cc: Likewise.
3701         * testsuite/tr1/5_numerical_facilies/random/uniform_int/
3702         cons/range.cc: Likewise.
3703         * testsuite/tr1/5_numerical_facilies/random/uniform_int/
3704         cons/default.cc: Likewise.
3705         * testsuite/tr1/5_numerical_facilies/random/uniform_int/
3706         cons/range_neg.cc: Likewise.
3707         * testsuite/tr1/5_numerical_facilies/random/uniform_int/
3708         requirements/typedefs.cc: Likewise.
3709         * testsuite/tr1/5_numerical_facilies/random/mersenne_twister/
3710         cons/seed1.cc: Likewise.
3711         * testsuite/tr1/5_numerical_facilies/random/mersenne_twister/
3712         cons/seed2.cc: Likewise.
3713         * testsuite/tr1/5_numerical_facilies/random/mersenne_twister/
3714         cons/default.cc: Likewise.
3715         * testsuite/tr1/5_numerical_facilies/random/mersenne_twister/
3716         cons/gen1.cc: Likewise.
3717         * testsuite/tr1/5_numerical_facilies/random/mersenne_twister/
3718         requirements/typedefs.cc: Likewise.
3719         * include/Makefile.in: Regenerate.
3720         * testsuite/tr1/headers.cc: Update.
3722 2006-06-04  Paolo Carlini  <pcarlini@suse.de>
3724         PR libstdc++/27867
3725         * include/bits/valarray_before.h (struct _BinClos<_Oper, _ValArray,
3726         _ValArray, _Tp, _Tp>): Fix value_type typedef.
3727         * testsuite/26_numerics/valarray/27867.cc: New.
3729 2006-05-29  Paolo Carlini  <pcarlini@suse.de>
3731         PR libstdc++/24692
3732         * include/bits/atomicity.h (__exchange_and_add_multi,
3733         __atomic_add_multi): New, depending on _GLIBCXX_ATOMIC_BUILTINS,
3734         inline the atomic builtins.
3735         (__exchange_and_add_dispatch, __atomic_add_dispatch): Adjust.
3736         * configure.ac: Define _GLIBCXX_ATOMIC_BUILTINS when the atomic
3737         builtins are available.
3738         * configure: Regenerate.
3739         * config.h.in: Likewise.
3741 2006-05-27  Paolo Carlini  <pcarlini@suse.de>
3743         * configure.host: If the CPU provides atomic builtins select
3744         generic/atomic_builtins/atomicity.h.
3745         * config/cpu/generic/atomic_builtins/atomicity.h: Add.
3746         * config/cpu/powerpc/atomicity.h: Remove.
3747         * config/cpu/ia64/atomicity.h: Likewise.
3748         * config/cpu/alpha/atomicity.h: Likewise.
3749         * config/cpu/s390/atomicity.h: Likewise.
3751 2006-05-26  Carlos O'Donell  <carlos@codesourcery.com>
3753         * Makefile.am: Add install-html target. Add install-html to .PHONY
3754         * Makefile.in: Regenerate.
3756 2006-05-24  Paolo Carlini  <pcarlini@suse.de>
3758         PR libstdc++/24704
3759         * include/bits/atomicity.h (__exchange_and_add_single,
3760         __atomic_add_single): New, single thread versions of the atomic
3761         functions.
3762         (__exchange_and_add_dispatch, __atomic_add_dispatch): New,
3763         depending on __GTHREADS and __gthread_active_p() dispatch either
3764         to the above or to the existing atomic functions.
3765         * include/ext/pool_allocator.h: Update callers.
3766         * include/ext/rc_string_base.h: Likewise.
3767         * include/bits/locale_classes.h: Likewise.
3768         * include/bits/basic_string.h: Likewise.
3769         * include/bits/ios_base.h: Likewise.
3770         * include/tr1/boost_shared_ptr.h: Likewise.
3771         * src/ios.cc: Likewise.
3772         * src/locale.cc: Likewise.
3773         * src/ios_init.cc: Likewise.
3775 2006-05-23  Paolo Carlini  <pcarlini@suse.de>
3777         * testsuite/testsuite_shared.cc: Fix --enable-threads=single build.
3779 2006-05-19  Paolo Carlini  <pcarlini@suse.de>
3781         * testsuite/27_io/objects/wchar_t/9661-1.cc: Avoid leaking the
3782         semaphores if a VERIFY fails.
3783         * testsuite/27_io/objects/wchar_t/7.cc: Likewise.
3784         * testsuite/27_io/objects/char/9661-1.cc: Likewise.
3785         * testsuite/27_io/objects/char/7.cc: Likewise.
3786         * testsuite/27_io/basic_filebuf/seekoff/char/26777.cc: Likewise.
3787         * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc: Likewise.
3788         * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
3789         * testsuite/27_io/basic_filebuf/close/char/4879.cc: Likewise.
3790         * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise.
3791         * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise.
3793 2006-05-17  Paolo Carlini  <pcarlini@suse.de>
3795         * include/tr1/hashtable (hashtable<>::m_find): Remove; update callers.
3797         * include/tr1/hashtable (map_base<>::operator[]): Move out of line.
3799         * include/tr1/hashtable (hashtable<>::m_insert(const value_type&,
3800         std::tr1::false_type)): Avoid memory leak risk for new_node.
3802 2006-05-15  Paolo Carlini  <pcarlini@suse.de>
3804         * include/tr1/hashtable (hashtable<>::m_find, m_insert_bucket): Add.
3805         (hashtable<>::find, m_insert(const value_type&, std::tr1::true_type),
3806         map_base<>::operator[]): Use the above.
3807         * testsuite/performance/23_containers/insert/unordered_map_array.cc:
3808         New.    
3810         * include/tr1/hashtable (hashtable<>::find_node,
3811         insert(const value_type&, ...), erase_node): Rename to m_*, adjust
3812         callers.
3813         * include/tr1/hashtable: Minor cosmetic changes.
3815 2006-05-13  Peter Doerfler  <gcc@pdoerfler.com>
3817         * include/tr1/hashtable (identity<>::operator(),
3818         extract1st<>::operator()): Return by const ref.
3820 2006-05-10  Steve Ellcey  <sje@cup.hp.com>
3822         * testsuite/lib/libstdc++.exp (check_v3_target_cxa_atexit):
3823         Move to gcc subdir.
3824         * testsuite/lib/dg-options.exp (dg-require-iconv): Remove.
3825         (dg-require-cxa-atexit): Move to gcc subdir.
3827 2006-05-10  Paolo Carlini  <pcarlini@suse.de>
3828             Peter Doerfler  <gcc@pdoerfler.com>
3830         * include/tr1/hashtable (hashtable_iterator<>::hashtable_iterator(),
3831         hashtable_const_iterator<>::hashtable_const_iterator(),
3832         node_iterator<>::node_iterator(),
3833         node_const_iterator<>::node_const_iterator()): Add.
3834         (node_iterator<>::node_iterator(hash_node<>*),
3835         node_const_iterator<>::node_const_iterator(hash_node<>*)): Tweak,
3836         remove default.
3837         * testsuite/tr1/6_containers/unordered/hashtable/
3838         iterators_default_constructor.c: New.
3840 2006-05-10  Marc Glisse  <marc.glisse@normalesup.org>
3842         * include/ext/pool_allocator.h: Add missing std:: qualifications.
3843         * include/ext/mt_allocator.h: Likewise.
3844         * include/ext/pb_assoc/detail/resize_policy/
3845         hash_load_check_resize_trigger_imp.hpp: Likewise.
3846         * include/ext/pb_assoc/detail/resize_policy/
3847         hash_standard_resize_policy_imp.hpp: Likewise.
3848         * include/ext/pb_assoc/detail/lu_policy/
3849         counter_lu_metadata_imp.hpp: Likewise.
3850         * include/ext/pb_assoc/detail/map_debug_base.hpp: Likewise.
3851         * libsupc++/eh_alloc.cc: Typo: memcpy -> memset.
3853 2006-05-07  Paolo Carlini  <pcarlini@suse.de>
3855         * include/tr1/type_traits (integral_constant<>::value): Define.
3856         * testsuite/tr1/4_metaprogramming/helper_classes/static_definition.cc:
3857         New.
3859 2006-05-04  Douglas Gregor  <dgregor@cs.indiana.edu>
3861         PR libstdc++/27404
3862         * include/ext/rope (_Rope_const_iterator<>::operator*() const,
3863         _Rope_iterator<>::operator*() const): Add.
3865 2006-05-01  Paolo Carlini  <pcarlini@suse.de>
3867         * acinclude.m4 (GLIBCXX_ENABLE_WCHAR_T): Always check the
3868         presence of wctype.h, for use in GLIBCXX_ENABLE_C99.
3869         * configure: Regenerate.
3871 2006-04-29  Paolo Carlini  <pcarlini@suse.de>
3873         * include/bits/locale_facets.tcc (num_get<>::_M_extract_float):
3874         Special case main parsing loop for !_M_allocated (i.e., "C" locale).
3875         (num_get<>::_M_extract_int): Likewise.
3876         * include/bits/locale_facets.h (num_get<>::_M_find): New.
3878 2006-04-27  Benjamin Kosnik  <bkoz@redhat.com>
3880         * docs/html/17_intro/TODO: Update.
3881         
3882 2006-04-26  Benjamin Kosnik  <bkoz@redhat.com>
3884         PR libstdc++/26875
3885         * include/ext/array_allocator.h (array_allocator): _M_used, new
3886         data member.  
3887         * testsuite/ext/array_allocator/26875.cc: New.
3888         
3889 2006-04-26  Shantonu Sen  <ssen@opendarwin.org>
3891         PR libstdc++/26513
3892         * scripts/make_exports.pl: Use $ENV{NM_FOR_TARGET}, if present.
3894 2006-04-23  Marc Glisse  <marc.glisse@normalesup.org>
3896         PR libstdc++/27199
3897         * ext/pool_allocator.h: Add using declarations for size_t, ptrdiff_t.
3898         * ext/bitmap_allocator.h: Likewise; qualify with std::.
3899         * ext/new_allocator.h: Likewise.
3900         * ext/malloc_allocator.h: Likewise.
3901         * ext/array_allocator.h: Likewise.
3902         * ext/mt_allocator.h: Likewise.
3903         * ext/functional: Likewise for size_t.
3904         * ext/debug_allocator.h: Likewise.
3905         * bits/char_traits.h: Qualify with std:: size_t.
3906         * debug/hash_multimap.h: Likewise.
3908 2006-04-23  Paolo Carlini  <pcarlini@suse.de>
3910         * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 42.
3912 2006-04-19  Paolo Carlini  <pcarlini@suse.de>
3914         PR libstdc++/26424
3915         * include/tr1/hashtable (X<>::primes): Extend for 64-bit machines.
3916         (X<>::n_primes): Adjust.
3917         (prime_rehash_policy::next_bkt, bkt_for_elements, need_rehash): Adjust.
3919 2006-04-18  Paolo Carlini  <pcarlini@suse.de>
3921         * docs/html/faq/index.html ([5.5]): Adjust to mention function
3922         objects and reference_wrapper; minor tweaks.
3923         * docs/html/faq/index.txt: Regenerate.
3925 2006-04-16  Paolo Carlini  <pcarlini@suse.de>
3927         PR libstdc++/6702 (again)
3928         * acinclude.m4 (GLIBCXX_ENABLE_C99): Don't check non-C99
3929         wchar_t functions...
3930         (GLIBCXX_ENABLE_WCHAR_T): ... do that here.
3931         * configure.ac: Adjust order of checks.
3932         * configure: Regenerate.
3934 2006-04-14  Douglas Gregor  <dgregor@cs.indiana.edu>
3936         PR libstdc++/27162
3937         * include/bits/stl_algo.h (__search_n(,,,, _BinaryPredicate,
3938         std::forward_iterator_tag)): Use __binary_pred, not ==.
3940 2006-04-10  Matthias Klose  <doko@debian.org>
3942         * testsuite/lib/libstdc++.exp (libstdc++_init): Recognize multilib
3943         directory names containing underscores.
3945 2006-04-10  Paolo Carlini  <pcarlini@suse.de>
3947         DR 538, [Ready]
3948         * include/bits/stl_algo.h (__unique_copy(,,, input_iterator_tag,
3949         output_iterator_tag), and predicated counterpart): Revert to the
3950         algorithm pre-DR 241, i.e., value_type of InputIterator is now
3951         required to be Assignable too.
3952         * testsuite/25_algorithms/unique_copy/3.cc: Remove.
3953         * docs/html/ext/howto.html: Add an entry for DR 538.
3955 2006-03-29  Benjamin Kosnik  <bkoz@redhat.com>
3957         * testsuite/data/sgetn.txt: Correct copyright holder.
3958         * testsuite/data/wistream_extractor_other-1.tst: Same.
3959         * testsuite/data/wistream_extractor_other-2.tst: Same.
3960         * testsuite/data/istream_extractor_other-1.txt: Same.
3961         * testsuite/data/filebuf_virtuals-1.txt: Same.
3962         * testsuite/data/wostream_inserter_other-1.tst: Same.
3963         * testsuite/data/wostream_inserter_other-2.tst: Same.
3964         * testsuite/data/ostream_inserter_other-1.tst: Same.
3965         * testsuite/data/ostream_inserter_other-2.tst: Same.
3966         * testsuite/data/wistream_extractor_other-1.txt: Same.
3967         * testsuite/data/istream_extractor_other-1.tst: Same.
3968         * testsuite/data/istream_extractor_other-2.tst: Same.
3969         * testsuite/data/filebuf_virtuals-1.tst: Same.
3970         * testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc: Adjust test
3971         conditions.
3972         * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: Same.
3973         * testsuite/27_io/basic_filebuf/sgetn/char/2-in.cc: Same.
3974         * testsuite/27_io/basic_filebuf/sgetn/char/2-io.cc: Same.
3976 2006-03-28  Paolo Carlini  <pcarlini@suse.de>
3978         * include/ext/vstring.h (operator[]): Allow s[s.size()] in
3979         debug mode, but not pedantic mode.
3981 2006-03-24  Mark Mitchell  <mark@codesourcery.com>
3982             Joseph S. Myers  <joseph@codesourcery.com>
3984         PR libstdc++/20448
3985         PR libstdc++/20451
3986         * scripts/testsuite_flags.in (--cxxflags): Don't define LOCALEDIR.
3987         * testsuite/lib/libstdc++.exp (libstdc++_init): Always define
3988         LOCALEDIR to ".".
3989         (v3-build_support): Build MO files.
3991 2006-03-22  Paolo Carlini  <pcarlini@suse.de>
3993         PR libstdc++/26777
3994         * include/bits/fstream.tcc (basic_filebuf<>::_M_seek): Check
3995         the return value of _M_file.seekoff.
3996         * testsuite/27_io/basic_filebuf/seekoff/char/26777.cc: New.
3998 2006-03-21  Paolo Carlini  <pcarlini@suse.de>
4000         PR libstdc++/25482
4001         * include/bits/stl_algobase.h (__copy_aux(_CharT*, _CharT*,
4002         ostreambuf_iterator<_CharT>), __copy_aux(const _CharT*, const _CharT*,
4003         ostreambuf_iterator<_CharT>), __copy_aux(istreambuf_iterator<_CharT>,
4004         istreambuf_iterator<_CharT>, _CharT*), copy(istreambuf_iterator<_CharT>,
4005         istreambuf_iterator<_CharT>, ostreambuf_iterator<_CharT>)): Declare.
4006         * include/bits/stl_algo.h (find(istreambuf_iterator<_CharT>,
4007         istreambuf_iterator<_CharT>, _CharT)): Likewise.
4008         * include/bits/streambuf_iterator.h (copy(istreambuf_iterator<_CharT>,
4009         istreambuf_iterator<_CharT>, ostreambuf_iterator<_CharT>),
4010         __copy_aux(_CharT*, _CharT*, ostreambuf_iterator<_CharT>),
4011         __copy_aux(const _CharT*, const _CharT*, ostreambuf_iterator<_CharT>),
4012         __copy_aux(istreambuf_iterator<_CharT>, istreambuf_iterator<_CharT>,
4013         _CharT*), find(istreambuf_iterator<_CharT>, istreambuf_iterator<_CharT>,
4014         _CharT)): Define.
4015         (class istreambuf_iterator<>, class ostreambuf_iterator<>): Declare
4016         friends.
4017         * include/std/std_streambuf.h (class basic_streambuf<>): Likewise.
4018         * include/bits/cpp_type_traits.h (struct __is_char<>): Add.
4019         * testsuite/25_algorithms/copy/streambuf_iterators/char/1.cc: New.
4020         * testsuite/25_algorithms/copy/streambuf_iterators/char/2.cc: New.
4021         * testsuite/25_algorithms/copy/streambuf_iterators/char/3.cc: New.
4022         * testsuite/25_algorithms/copy/streambuf_iterators/char/4.cc: New.
4023         * testsuite/25_algorithms/copy/streambuf_iterators/wchar_t/1.cc: New.
4024         * testsuite/25_algorithms/copy/streambuf_iterators/wchar_t/2.cc: New.
4025         * testsuite/25_algorithms/copy/streambuf_iterators/wchar_t/3.cc: New.
4026         * testsuite/25_algorithms/copy/streambuf_iterators/wchar_t/4.cc: New.
4027         * testsuite/25_algorithms/find/istreambuf_iterators/char/1.cc: New.
4028         * testsuite/25_algorithms/find/istreambuf_iterators/char/2.cc: New.
4029         * testsuite/25_algorithms/find/istreambuf_iterators/wchar_t/1.cc: New.
4030         * testsuite/25_algorithms/find/istreambuf_iterators/wchar_t/2.cc: New.
4031         * testsuite/performance/25_algorithms/copy_streambuf_iterators.cc: New.
4032         * testsuite/performance/25_algorithms/find_istreambuf_iterators.cc: New.
4034 006-03-13  Paolo Carlini  <pcarlini@suse.de>
4036         * include/bits/postypes.h (fpos<>::operator==, operator!=): Remove,
4037         exploit conversion to streamoff.
4038         * testsuite/27_io/fpos/mbstate_t/5.cc: New.
4040 2006-03-12  Howard Hinnant  <hhinnant@apple.com>
4042         * testsuite/27_io/basic_filebuf/underflow/char/10097.cc:
4043         Fix race condition.
4044         * testsuite/27_io/objects/char/9661-1.cc: Likewise.
4045         * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise.
4047 2006-03-10  Paolo Carlini  <pcarlini@suse.de>
4049         * include/tr1/cmath: Add atan2 and pow bits; add using declarations.    
4050         * include/tr1/math.h: Add using declarations.
4051         * include/tr1/complex: Add using declarations.
4052         * testsuite/tr1/8_c_compatibility/cmath/functions.cc: Fully
4053         qualify calls.
4054         * testsuite/tr1/8_c_compatibility/cmath/overloads.cc: Likewise;
4055         add atan2 and pow bits.
4056         * testsuite/tr1/8_c_compatibility/complex/overloads_float.cc: Likewise.
4057         * testsuite/tr1/8_c_compatibility/complex/overloads_int.cc: Likewise;
4058         adjust polar bits.
4060         * acinclude.m4 ([GLIBCXX_CHECK_C99_TR1]): Add checks for double_t
4061         and float_t typedefs.
4062         * include/tr1/cmath: Add double_t and float_t.
4063         * testsuite/tr1/8_c_compatibility/cmath/types.cc: New.
4065         * include/tr1/ctgmath: New.
4066         * include/tr1/tgmath.h: Likewise.
4067         * include/Makefile.am: Add.
4068         * testsuite/tr1/headers.cc: Update.
4070         * include/Makefile.in: Regenerate.
4071         * configure: Likewise.
4073         * docs/html/ext/tr1.html: Update.
4075 2006-03-08  Paolo Carlini  <pcarlini@suse.de>
4077         Implement the resolution of DR 455, [DR].
4078         * src/ios_init.cc (ios_base::Init::Init()): Do it.
4079         * testsuite/27_io/objects/char/dr455.cc: New.
4080         * testsuite/27_io/objects/wchar_t/dr455.cc: Likewise.
4081         * docs/html/ext/howto.html: Add an entry for DR 455.
4083 2006-03-07  Paolo Carlini  <pcarlini@suse.de>
4085         * include/tr1/cmath: Add C99 overloads.
4086         * include/tr1/common.h (struct __promote_3): Add.
4087         * testsuite/tr1/8_c_compatibility/cmath/overloads.cc: New.
4089         * testsuite/tr1/8_c_compatibility/cmath/functions.cc: Tweak.
4090         * testsuite/tr1/8_c_compatibility/complex/overloads_float.cc: Likewise.
4092 2006-03-06  Paolo Carlini  <pcarlini@suse.de>
4094         PR target/26532
4095         * config/io/c_io_stdio.h (struct __ios_flags): Remove.
4096         * include/bits/ios_base.h: Adjust consistently.
4097         (ios_base::_S_local_word_size): Change to an anonymous enum.
4098         * src/ios.cc: Do not define static const data of __ios_flags,
4099         likewise for ios_base::_S_local_word_size.      
4100         * include/bits/locale_classes.h (locale::_S_categories_size):
4101         Change to an anonymous enum.
4102         * src/locale.cc: Don't define.
4104 2006-03-03  Paolo Carlini  <pcarlini@suse.de>
4106         PR libstdc++/26526
4107         * config/abi/pre/gnu.ver (__copy_streambufs, 64-bit version): Add
4108         @GLIBCXX_3.4.8; move existing symbols @GLIBCXX_3.4.8 to 3.4.9.
4109         * configure.ac (libtool_VERSION): To 6:9:0.
4110         * testsuite/testsuite_abi.cc (check_version): Add GLIBCXX_3.4.9.
4111         * configure: Regenerate.
4113 2006-03-02  Paolo Carlini  <pcarlini@suse.de>
4115         * config/abi/pre/gnu.ver: Adjust __copy_streambufs_eof export
4116         vs 64-bit arches.
4118 2006-03-01  Paolo Carlini  <pcarlini@suse.de>
4120         * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 41.
4122 2006-02-27  Jakub Jelinek  <jakub@redhat.com>
4124         PR other/26208
4125         * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Use
4126         _Unwind_GetIPInfo instead of _Unwind_GetIP.
4128 2006-02-27  Paolo Carlini  <pcarlini@suse.de>
4130         PR libstdc++/14866
4131         * testsuite/27_io/ios_base/sync_with_stdio/1.cc: Redirect
4132         stderr instead.
4134 2006-02-26  Paolo Carlini  <pcarlini@suse.de>
4136         * include/tr1/cmath: Add templates (8.16.3).    
4137         * include/tr1/cstdbool: New.
4138         * include/tr1/stdbool.h: Likewise.
4139         * include/Makefile.am: Add.
4140         * testsuite/tr1/8_c_compatibility/cmath/templates.cc: New.
4141         * testsuite/tr1/headers.cc: Update.
4142         * acinclude.m4 ([GLIBCXX_CHECK_C99_TR1]): Add <stdbool.h> check.
4143         * docs/html/ext/tr1.html: Update.
4144         * include/Makefile.in: Regenerate.
4145         * config.h.in: Likewise.
4146         * configure: Likewise.
4148 2006-02-24  Paolo Carlini  <pcarlini@suse.de>
4150         * include/tr1/array (array<>::swap, assign): Implement.
4151         * include/tr1/array (operator==, operator!=, operator<,
4152         operator>, operator>=, operator<=, swap, get): Inline.
4153         * testsuite/tr1/6_containers/array/requirements/member_swap.cc: New.
4154         * testsuite/tr1/6_containers/array/requirements/assign.cc: Likewise.
4155         * testsuite/tr1/6_containers/array/specialized_algorithms/swap.cc:
4156         Likewise.
4158 2006-02-23  Benjamin Kosnik  <bkoz@redhat.com>
4160         * testsuite/22_locale/codecvt/in/wchar_t/1.cc (test01): Change int
4161         to size_t. Use explicit static_cast for casts.
4162         * testsuite/22_locale/codecvt/in/wchar_t/6.cc (test06): Same.
4163         * testsuite/22_locale/codecvt/in/wchar_t/5.cc (test05): Same.
4164         * testsuite/ext/stdio_sync_filebuf/wchar_t/1.cc (test01): Same.
4165         
4166 2006-02-22  Paolo Carlini  <pcarlini@suse.de>
4168         * docs/html/ext/pb_assoc/
4169         basic_tree_assoc_cntnr_const_node_iterator.html:Fix links
4170         * docs/html/ext/pb_assoc/basic_tree_assoc_cntnr_node_iterator.html:
4171         Likewise.
4172         * docs/html/ext/pb_assoc/hash_based_containers.html: Likewise.
4173         * docs/html/ext/pb_assoc/hash_standard_resize_policy.html: Likewise.
4174         * docs/html/ext/pb_assoc/interface.html: Likewise..
4175         * docs/html/ext/pb_assoc/list_updates.html: Likewise.
4176         * docs/html/ext/pb_assoc/lu_based_containers.html: Likewise.
4177         * docs/html/ext/pb_assoc/resize_policies.html: Likewise.
4178         * docs/html/ext/pb_assoc/sample_probe_fn.html: Likewise.
4179         * docs/html/ext/pb_assoc/sample_range_hashing.html: Likewise.
4180         * docs/html/ext/pb_assoc/sample_ranged_hash_fn.html: Likewise.
4181         * docs/html/ext/pb_assoc/sample_ranged_probe_fn.html: Likewise.
4182         * docs/html/ext/pb_assoc/sample_resize_policy.html: Likewise.
4183         * docs/html/ext/pb_assoc/tree_assoc_cntnr_const_node_iterator.html:
4184         Likewise.
4185         * docs/html/ext/pb_assoc/tree_assoc_cntnr_node_iterator.html: Likewise.
4187 2006-02-22  Paolo Carlini  <pcarlini@suse.de>
4189         PR libstdc++/26132
4190         * include/tr1/hashtable (hashtable<>::rehash): Define.
4191         * testsuite/tr1/6_containers/unordered/hashtable/26132.cc: New.
4193         * include/tr1/hashtable: Trivial formatting and stylistic fixes.
4195         * testsuite/tr1/headers.cc: remove <tr1/hashtable>, not a tr1 header,
4196         only an implementation detail.
4198 2006-02-22  Paolo Carlini  <pcarlini@suse.de>
4200         * include/debug/list (splice): Remove splice_alloc check, redundant
4201         after implementing the splice bits of N1599.
4203 2006-02-21  Benjamin Kosnik  <bkoz@redhat.com>
4205         * include/c_std/cmath.tcc: Use _GLIBCXX_BEGIN_NAMESPACE,
4206         _GLIBCXX_END_NAMESPACE.
4208 2006-02-21  Benjamin Kosnik  <bkoz@redhat.com>
4210         * include/bits/c++config: Simplify debug namespaces.
4211         * include/ext/hash_set: Specialize insert_iterator after norm,
4212         debug containers have been (optionally) declared. Use nested
4213         namespaces.     
4214         * include/ext/hash_map: Same.
4215         * include/debug/hash_map.h (insert): Add specialization for value
4216         pointer types.
4217         * include/debug/hash_set.h (insert): Same.
4218         * include/debug/hash_multimap.h: Change __gnu_debug_def to __debug.
4219         * include/debug/set.h: Same.
4220         * include/debug/bitset: Same.
4221         * include/debug/multiset.h: Same.
4222         * include/debug/hash_multiset.h: Same.
4223         * include/debug/vector: Same.
4224         * include/debug/map.h: Same.
4225         * include/debug/deque: Same.
4226         * include/debug/list: Same.
4227         * include/debug/multimap.h. Same.
4228         * include/debug/macros.h: Use __gnu_debug.
4229         * include/debug/debug.h: Same.
4230         * include/debug/formatter.h: Same.
4231         * include/debug/safe_sequence.h: Same.
4232         * include/debug/functions.h: Same.
4233         * include/debug/safe_base.h: Same.
4234         * include/debug/safe_iterator.h: Same.
4235         * include/debug/safe_iterator.tcc: Same.
4236         (_M_invalidate): Adjust compare order.
4237         * include/debug/string: Change std::__gnu_debug to __gnu_debug.
4238         * include/ext/hashtable.h: Formatting fixes.
4239         * include/bits/stl_map.h: Formatting fixes.             
4240         * src/compatibility.cc: Adjust compatibility symbols for old debug
4241         mode model.     
4242         * src/debug_list.cc: Tweak.
4243         * src/debug.cc: Adjust namespaces.
4244         * docs/html/debug_mode.html: Adjust namespace names.
4245         * testsuite/25_algorithms/heap/heap.cc: Restore _GLIBCXX_DEBUG
4246         macro guards, as count values differ when in debug mode.        
4247         * testsuite/23_containers/vector/26412.cc: Move to...
4248         * testsuite/23_containers/vector/26412-1.cc: ... here.
4249         * testsuite/23_containers/vector/26412-2.cc: Add.
4251         * include/ext/pb_assoc/detail/standard_policies.hpp
4252         (PB_ASSOC_HASH_NAMESPACE): Remove, use __gnu_cxx::hash_map and
4253         std::equal_to.
4255         * configure.ac (libtool_VERSION): To 6:8:0.
4256         * configure: Regenerate.
4257         * config/abi/pre/gnu.ver: Revert to exporting __gnu_debug symbols.
4258         (GLIBCXX_3.4.8): New.
4259         * testsuite/testsuite_abi.cc: Add GLIBCXX_3.4.8 to known versions.
4260         
4261 2006-02-21  Paolo Carlini  <pcarlini@suse.de>
4263         * include/tr1/hashtable: Trivial formatting fixes.
4265 2006-02-20  Paolo Carlini  <pcarlini@suse.de>
4267         Revert recent commit for libstdc++/26211, now suspended waiting for
4268         DR 342 (reopened) to reach a new resolution.
4269         * include/bits/istream.tcc (basic_istream<>::tellg, seekg(pos_type),
4270         seekg(off_type, ios_base::seekdir)): Remove sentry.
4271         * testsuite/27_io/basic_istream/seekg/char/26211.cc: Remove.
4272         * testsuite/27_io/basic_istream/seekg/wchar_t/26211.cc: Likewise.
4273         * testsuite/27_io/basic_istream/tellg/char/26211.cc: Likewise.
4274         * testsuite/27_io/basic_istream/tellg/wchar_t/26211.cc: Likewise.
4275         * testsuite/27_io/basic_istream/seekg/char/8348-1.cc: Revert changes.
4276         * testsuite/27_io/basic_istream/seekg/wchar_t/8348-1.cc: Likewise.
4277         * testsuite/27_io/basic_istream/seekg/char/8348-2.cc: Likewise.
4278         * testsuite/27_io/basic_istream/seekg/wchar_t/8348-1.cc: Likewise.
4279         * testsuite/27_io/basic_istream/tellg/char/8348.cc: Likewise.
4280         * testsuite/27_io/basic_istream/tellg/wchar_t/8348.cc: Likewise.
4282 2006-02-19  Paolo Carlini  <pcarlini@suse.de>
4284         * include/std/std_sstream.h (basic_stringbuf<>::setbuf): Simply
4285         clear the internal _M_string, adjust _M_sync call.
4286         * include/bits/sstream.tcc (basic_stringbuf<>::_M_sync): Adjust
4287         consistently for calls from setbuf.
4289 2006-02-17  Paolo Carlini  <pcarlini@suse.de>
4290             Howard Hinnant  <hhinnant@apple.com>
4292         PR libstdc++/26250
4293         * include/bits/sstream.tcc (basic_stringbuf<>::overflow): Tweak
4294         to leave epgtr() just past the new write position, as per the
4295         relevant bits of 27.7.1.3/8 (not changed by DR 432).
4296         * testsuite/27_io/basic_stringbuf/overflow/char/26250.cc: New.
4297         * testsuite/27_io/basic_stringbuf/overflow/wchar_t/26250.cc: Same.
4299         * docs/html/ext/howto.html: Add entries for DR 169 and DR 432.
4301         * include/std/std_sstream.h (basic_stringbuf<>::_M_sync): Move out
4302         of line...
4303         * include/bits/sstream.tcc: ... here.
4305 2006-02-16  Joseph S. Myers  <joseph@codesourcery.com>
4307         PR libstdc++/14939
4308         * config/os/uclibc/ctype_base.h, config/os/uclibc/ctype_inline.h,
4309         config/os/uclibc/ctype_noninline.h, config/os/uclibc/os_defines.h:
4310         New.
4311         * acinclude.m4 (GLIBCXX_CONFIGURE): Test whether using uClibc.
4312         * configure.host: Use os/uclibc for uClibc.
4313         * crossconfig.m4 (*-linux*): Use link tests.  Don't hardcode
4314         presence of math functions.
4315         * configure: Regenerate.
4317 2006-02-12  Paolo Carlini  <pcarlini@suse.de>
4319         PR libstdc++/26211
4320         * include/bits/istream.tcc (basic_istream<>::tellg, seekg(pos_type),
4321         seekg(off_type, ios_base::seekdir)): Construct a sentry, as per
4322         27.6.1.3/1.
4323         * testsuite/27_io/basic_istream/seekg/char/26211.cc: New.
4324         * testsuite/27_io/basic_istream/seekg/wchar_t/26211.cc: Likewise.
4325         * testsuite/27_io/basic_istream/tellg/char/26211.cc: Likewise.
4326         * testsuite/27_io/basic_istream/tellg/wchar_t/26211.cc: Likewise.
4327         * testsuite/27_io/basic_istream/seekg/char/8348-1.cc: Adjust.
4328         * testsuite/27_io/basic_istream/seekg/wchar_t/8348-1.cc: Likewise.
4329         * testsuite/27_io/basic_istream/seekg/char/8348-2.cc: Likewise.
4330         * testsuite/27_io/basic_istream/seekg/wchar_t/8348-1.cc: Likewise.
4331         * testsuite/27_io/basic_istream/tellg/char/8348.cc: Likewise.
4332         * testsuite/27_io/basic_istream/tellg/wchar_t/8348.cc: Likewise.
4334 2006-02-10  Paolo Carlini  <pcarlini@suse.de>
4336         PR libstdc++/26181
4337         * include/bits/streambuf.tcc (__copy_streambufs_eof): New, like
4338         the existing __copy_streambufs but reporting eof in input.
4339         (__copy_streambufs): Just use the latter.
4340         * src/streambuf.cc (__copy_streambufs_eof): Adjust specializations
4341         of __copy_streambufs.
4342         * include/bits/istream.tcc (operator>>(__streambuf_type*)): Use
4343         __copy_streambufs_eof instead.
4344         * include/std/std_streambuf.h: Adjust.
4345         * src/streambuf-inst.cc: Adjust.
4346         * config/abi/pre/gnu.ver: Export the new symbols.
4347         * testsuite/27_io/basic_istream/extractors_other/char/26181.cc: New.
4348         * testsuite/27_io/basic_istream/extractors_other/wchar_t/26181.cc:
4349         Likewise.
4350         * testsuite/27_io/basic_istream/extractors_other/char/1.cc: Adjust.
4351         * testsuite/27_io/basic_istream/extractors_other/wchar_t/1.cc:
4352         Likewise.
4354 2006-02-08  Benjamin Kosnik  <bkoz@redhat.com>
4356         PR libstdc++/26142
4357         * include/debug/debug.h: Move debug alias inside namespace std,
4358         same with namespace __gnu_cxx. Add top-level __gnu_debug
4359         namespace.      
4360         * include/debug/hash_multimap.h: Nest within __gnu_cxx, not
4361         std. Also, change nesting namespace name from __gnu_debug_def to
4362         __gnu_debug.    
4363         * include/debug/hash_map.h: Same.
4364         * include/debug/hash_multiset.h: Same.
4365         * include/debug/hash_set.h: Same.
4366         * docs/html/debug.html: Same.
4367         * testsuite/23_containers/vector/26412.cc: New.
4368         * testsuite/23_containers/vector/invalidation/1.cc:  Correct
4369         qualifications for debug namespace change.
4370         * testsuite/23_containers/vector/invalidation/2.cc: Same.
4371         * testsuite/23_containers/vector/invalidation/3.cc: Same.
4372         * testsuite/23_containers/vector/invalidation/4.cc: Same.
4373         * testsuite/23_containers/deque/invalidation/1.cc: Same.
4374         * testsuite/23_containers/deque/invalidation/2.cc: Same.
4375         * testsuite/23_containers/deque/invalidation/3.cc: Same.
4376         * testsuite/23_containers/deque/invalidation/4.cc: Same.
4377         * testsuite/23_containers/multiset/invalidation/1.cc: Same.
4378         * testsuite/23_containers/multiset/invalidation/2.cc: Same.
4379         * testsuite/23_containers/multimap/invalidation/1.cc: Same.
4380         * testsuite/23_containers/multimap/invalidation/2.cc: Same.
4381         * testsuite/23_containers/bitset/invalidation/1.cc: Same.
4382         * testsuite/23_containers/bitset/cons/16020.cc: Same.
4383         * testsuite/23_containers/bitset/operations/13838.cc: Same.
4384         * testsuite/23_containers/list/invalidation/1.cc: Same.
4385         * testsuite/23_containers/list/invalidation/2.cc: Same.
4386         * testsuite/23_containers/list/invalidation/3.cc: Same.
4387         * testsuite/23_containers/list/invalidation/4.cc: Same.
4388         * testsuite/23_containers/set/invalidation/1.cc: Same.
4389         * testsuite/23_containers/set/invalidation/2.cc: Same.
4390         * testsuite/23_containers/map/invalidation/1.cc: Same.
4391         * testsuite/23_containers/map/invalidation/2.cc: Same.
4392         * testsuite/23_containers/map/modifiers/insert/16813.cc: Same.
4393         * testsuite/21_strings/basic_string/2.cc: Same.
4395 2006-02-08  Paolo Carlini  <pcarlini@suse.de>
4397         PR libstdc++/26133  (DR 241, [WP])
4398         * include/bits/stl_algo.h (__unique_copy(,,, forward_iterator_tag,
4399         output_iterator_tag), __unique_copy(,,, input_iterator_tag,
4400         output_iterator_tag), __unique_copy(,,, input_iterator_tag,
4401         forward_iterator_tag), and predicated counterparts): Add.
4402         (__unique_copy(,,, output_iterator_tag), __unique_copy(,,,
4403         forward_iterator_tag), and predicated counterparts): Remove.
4404         (unique_copy): Adjust, dispatch to the three helpers above.
4405         * testsuite/25_algorithms/unique_copy/2.cc: New.
4406         * testsuite/25_algorithms/unique_copy/26133.cc: Likewise.
4407         * testsuite/25_algorithms/unique_copy/3.cc: Likewise.   
4408         * docs/html/ext/howto.html: Add an entry for DR 241.
4410         * testsuite/25_algorithms/unique_copy/1.cc: Minor cosmetic changes.
4412 2006-02-07  Jakub Jelinek  <jakub@redhat.com>
4413             Benjamin Kosnik  <bkoz@redhat.com>
4415         * configure.ac (_GLIBCXX_LONG_DOUBLE_COMPAT): New check.
4416         If true, set also port_specific_symbol_files and create
4417         as_symver_specs.
4418         (GLIBCXX_LDBL_COMPAT): New GLIBCXX_CONDITIONAL.
4419         * configure: Rebuilt.
4420         * config.h.in: Rebuilt.
4421         * config/os/gnu-linux/ldbl-extra.ver: New file.
4422         * config/abi/pre/gnu.ver: Make sure no __float128 symbols are
4423         exported.
4424         * include/bits/c++config (_GLIBCXX_LONG_DOUBLE_COMPAT,
4425         _GLIBCXX_LDBL_NAMESPACE, _GLIBCXX_BEGIN_LDBL_NAMESPACE,
4426         _GLIBCXX_END_LDBL_NAMESPACE): Define.
4427         * include/bits/localefwd.h: Use them to conditionally scope facets.
4428         * include/bits/locale_facets.h: Surround std::{money,num}_{get,put}
4429         with _GLIBCXX_BEGIN_LDBL_NAMESPACE and _GLIBCXX_END_LDBL_NAMESPACE.
4430         Surround std::{money,num}_{get,put}
4431         with _GLIBCXX_BEGIN_LDBL_NAMESPACE and _GLIBCXX_END_LDBL_NAMESPACE.
4432         [_GLIBCXX_LONG_DOUBLE_COMPAT] (std::money_get): Add __do_get method.
4433         [_GLIBCXX_LONG_DOUBLE_COMPAT] (std::money_put): Add __do_put method.
4434         [_GLIBCXX_LONG_DOUBLE_COMPAT] (std::num_get): Add __do_get method.
4435         [_GLIBCXX_LONG_DOUBLE_COMPAT] (std::num_put): Add __do_put method.
4436         * include/bits/locale_facets.tcc: Surround std::{money,num}_{get,put}
4437         with _GLIBCXX_BEGIN_LDBL_NAMESPACE and _GLIBCXX_END_LDBL_NAMESPACE.
4438         (std::money_get::__do_get, std::money_put::__do_put,
4439         std::num_get::__do_get, std::num_put::__do_put): New
4440         specializations.
4441         * include/Makefile.am: Conditionally define
4442         _GLIBCXX_LONG_DOUBLE_COMPAT in c++config.
4443         * include/Makefile.in: Regenerate.
4444         * src/locale.cc [_GLIBCXX_LONG_DOUBLE_COMPAT] (_GLIBCXX_LOC_ID,
4445         _GLIBCXX_SYNC_ID): Define, use them.
4446         * src/compatibility-ldbl.cc: New file.
4447         * src/complex_io.cc [_GLIBCXX_LONG_DOUBLE_COMPAT]: Add compatibility
4448         symbols.
4449         * src/limits.cc [_GLIBCXX_LONG_DOUBLE_COMPAT]: Likewise.
4450         * src/locale.cc [_GLIBCXX_LONG_DOUBLE_COMPAT]: Likewise.
4451         * src/locale-inst.cc [_GLIBCXX_LONG_DOUBLE_COMPAT]: Likewise.   
4452         * src/locale-misc-inst.cc [_GLIBCXX_LONG_DOUBLE_COMPAT]: Likewise.
4453         * src/istream-inst.cc [_GLIBCXX_LONG_DOUBLE_COMPAT]: Likewise.
4454         * src/ostream-inst.cc [_GLIBCXX_LONG_DOUBLE_COMPAT]: Likewise.
4455         * src/locale.cc [_GLIBCXX_LONG_DOUBLE_COMPAT]: Likewise.
4456         * src/wlocale-inst.cc [_GLIBCXX_LONG_DOUBLE_COMPAT]: Likewise.
4457         * src/compatibility.cc [_GLIBCXX_LONG_DOUBLE_COMPAT]: Likewise.
4458         * config/locale/generic/c_locale.cc [_GLIBCXX_LONG_DOUBLE_COMPAT]:
4459         Likewise.
4460         * config/locale/gnu/c_locale.cc [_GLIBCXX_LONG_DOUBLE_COMPAT]:
4461         Likewise.
4462         * src/Makefile.am (libstdc++-symbol.ver): Append instead of
4463         insert in the middle if port specific symbol file requests it.
4464         (ldbl_compat_sources): New variable.
4465         (sources): Use it.
4466         (compatibility-ldbl.lo, compatibility-ldbl.o): New rules.
4467         * src/Makefile.in: Rebuilt.
4468         * testsuite/testsuite_abi.cc: Recognize GLIBCXX_LDBL_3.4,
4469         GLIBCXX_LDBL_3.4.7, CXXABI_LDBL_1.3.    
4471 2006-02-07  Paolo Carlini  <pcarlini@suse.de>   
4473         * include/tr1/hashtable: Trivial formatting fixes.
4475 2006-02-07  Paolo Carlini  <pcarlini@suse.de>
4476             Zak Kipling  <zak@transversal.com>
4478         PR libstdc++/26127
4479         * include/tr1/hashtable (hashtable<>::key_equal): Define.
4480         (hashtable<>::bucket, rehash_base<>::max_load_factor): Fix.
4481         * testsuite/tr1/6_containers/unordered/hashtable/26127.cc: New.
4483 2006-02-07  Paolo Carlini  <pcarlini@suse.de>
4485         * include/tr1/cmath: New.
4486         * include/tr1/cstdlib: Likewise.
4487         * include/tr1/ctime: Likewise.
4488         * include/tr1/math.h: Likewise. 
4489         * include/tr1/stdlib.h: Likewise.
4490         * include/Makefile.am: Add.
4491         * acinclude.m4 ([GLIBCXX_CHECK_C99_TR1]): Add <math.h> checks.
4492         * testsuite/tr1/8_c_compatibility/cmath/functions.cc: New.
4493         * testsuite/tr1/8_c_compatibility/cstdlib/functions.cc: Likewise.
4494         * testsuite/tr1/8_c_compatibility/cstdlib/types.cc: Likewise.
4495         * testsuite/tr1/headers.cc: Update.     
4497         * include/tr1/cinttypes: Do not provide abs and div, conflicting
4498         with the above overloads for _Longlong types.
4499         * include/tr1/inttypes.h: Adjust.
4500         * testsuite/tr1/8_c_compatibility/cinttypes/functions.cc: Adjust.
4502         * docs/html/ext/tr1.html: Update.
4503         
4504         * testsuite/tr1/8_c_compatibility/cwchar/functions.cc: Tweak.
4506         * include/Makefile.in: Regenerate.
4507         * config.h.in: Likewise.
4508         * configure: Likewise.
4510 2006-02-07  Mark Mitchell  <mark@codesourcery.com>
4512         * testsuite/testsuite_tr1.h (test_property): New function.
4513         * testsuite/tr1/4_metaprogramming/type_properties/extent/extent.cc 
4514         (test01) 
4516 2006-02-05  Paolo Carlini  <pcarlini@suse.de>
4518         * include/tr1/cstdio: New.
4519         * include/tr1/stdio.h: Likewise.
4520         * include/Makefile.am: Add.
4521         * testsuite/tr1/8_c_compatibility/cstdio/functions.cc: New.
4522         * testsuite/tr1/headers.cc: Update.     
4523         * docs/html/ext/tr1.html: Update.
4525         * include/tr1/cwchar: Simplify, use _GLIBCXX_USE_C99, consistently
4526         with the facilities in std::.
4527         * include/tr1/cwctype: Likewise.
4528         * testsuite/tr1/8_c_compatibility/cwchar/functions.cc: Tweak.
4529         * testsuite/tr1/8_c_compatibility/cwctype/functions.cc: Likewise.
4530         * acinclude.m4 ([GLIBCXX_CHECK_C99_TR1]): Remove <wchar.h> and
4531         <wctype.h> checks.
4533         * include/Makefile.in: Regenerate.
4534         * config.h.in: Likewise.
4535         * configure: Likewise.
4537 2006-02-04  Paolo Carlini  <pcarlini@suse.de>
4539         * testsuite/tr1/8_c_compatibility/cwchar/functions.cc: Fix.
4541 2006-02-04  Paolo Carlini  <pcarlini@suse.de>
4543         * testsuite/27_io/basic_stringbuf/in_avail/char/21955.cc: Avoid
4544         warning on string constant.
4546 2006-02-03  Paolo Carlini  <pcarlini@suse.de>
4548         * include/tr1/cwchar: New.
4549         * include/tr1/cwctype: Likewise.
4550         * include/tr1/wchar.h: Likewise.
4551         * include/tr1/wctype.h: Likewise.
4552         * include/Makefile.am: Add.
4553         * testsuite/tr1/8_c_compatibility/cwchar/functions.cc: New.
4554         * testsuite/tr1/8_c_compatibility/cwctype/functions.cc: Likewise.
4555         * testsuite/tr1/headers.cc: Update.
4556         * acinclude.m4 ([GLIBCXX_CHECK_C99_TR1]): Add <wchar.h> and
4557         <wctype.h> checks.
4558         * docs/html/ext/tr1.html: Update.
4559         * include/Makefile.in: Regenerate.
4560         * config.h.in: Likewise.
4561         * configure: Likewise.
4563         * testsuite/tr1/8_c_compatibility/cctype/functions.cc: Cosmetic tweak.
4565 2006-02-02  Paolo Carlini  <pcarlini@suse.de>
4567         * include/tr1/cfloat: New.
4568         * include/tr1/climits: Likewise.                
4569         * include/tr1/cstdarg: Likewise.
4570         * include/tr1/ctype.h: Likewise.
4571         * include/tr1/fenv.h: Likewise.
4572         * include/tr1/float.h: Likewise.
4573         * include/tr1/inttypes.h: Likewise.
4574         * include/tr1/limits.h: Likewise.
4575         * include/tr1/stdint.h: Likewise.
4576         * include/tr1/stdarg.h: Likewise.
4577         * include/Makefile.am: Add.
4578         * include/Makefile.in: Regenerate.
4579         * docs/html/ext/tr1.html: Update.
4580         * testsuite/tr1/headers.cc: New.
4582         * include/tr1/cctype: Include <cctype> instead.
4584 2006-01-31  Paolo Carlini  <pcarlini@suse.de>
4586         PR libstdc++/21554
4587         * include/tr1/array (array<>::_M_instance): Maximally align.
4588         * testsuite/ext/array_allocator/2.cc: Do not xfail for powerpc.
4590 2006-01-31  Ed Smith-Rowland  <3dw4rd@verizon.net>
4592         * docs/html/faq/index.html ([1.0]): Replace references to CVS
4593         with appropriate references to SVN.
4594         ([1.3]): Likewise.
4595         ([1.4]): Likewise.
4596         ([2.3]): Likewise.
4597         * docs/html/faq/index.txt: Regenerated.
4599 2006-01-30  Gabriel Dos Reis  <gdr@integrable-solutions.net>
4601         * include/bits/valarray_array.h (__valarray_default_construct):
4602         Replace use __is_fundamental with __is_pod.
4603         (__valarray_fill_construct): Likewise.
4604         (__valarray_copy_construct): Likewise.
4605         (__valarray_destroy_elements): Likewise.
4606         (__valarray_copy): Likewise.
4608 2006-01-30  Paolo Carlini  <pcarlini@suse.de>
4610         * acinclude.m4 ([GLIBCXX_CHECK_C99_TR1]): Do the <inttypes.h>
4611         checks only if the <stdint.h> checks are successful.
4612         * configure: Regenerate.
4614 2006-01-30  Paolo Carlini  <pcarlini@suse.de>
4616         * include/tr1/cinttypes: New.
4617         * include/Makefile.am: Add.
4618         * testsuite/tr1/8_c_compatibility/cinttypes/functions: New.     
4619         * testsuite/tr1/8_c_compatibility/cinttypes/types: Likewise.
4620         * acinclude.m4 ([GLIBCXX_CHECK_C99_TR1]): Add <inttypes.h> checks.
4621         * docs/html/ext/tr1.html: Update.
4622         * include/Makefile.in: Regenerate.
4623         * config.h.in: Likewise.
4624         * configure: Likewise.
4626         * testsuite/tr1/8_c_compatibility/cfenv/functions.cc: Cosmetic tweak.
4627         * testsuite/tr1/8_c_compatibility/cfenv/types.cc: Likewise.
4629         * testsuite/tr1/8_c_compatibility/cstdint/types.cc: Fix, check in
4630         std::tr1.
4632 2006-01-29  Paolo Carlini  <pcarlini@suse.de>
4634         * include/tr1/cstdint: New.
4635         * include/Makefile.am: Add.
4636         * testsuite/tr1/8_c_compatibility/cstdint/types: New.
4637         * acinclude.m4 ([GLIBCXX_CHECK_C99_TR1]): Add <stdint.h> checks.
4638         * docs/html/ext/tr1.html: Update.
4639         * include/Makefile.in: Regenerate.
4640         * config.h.in: Likewise.
4641         * configure: Likewise.
4643         * testsuite/tr1/8_c_compatibility/cfenv/types.cc: Cosmetic tweak.
4645 2006-01-29  Paolo Carlini  <pcarlini@suse.de>
4647         PR libstdc++/26006
4648         * acinclude.m4 ([GLIBCXX_CHECK_C99_TR1]): Tighten <ctype.h> and
4649         <fenv.h> checks.
4650         * configure: Regenerate.
4652 2006-01-26  Paolo Carlini  <pcarlini@suse.de>
4654         * include/std/std_bitset.h (bitset<>::_M_copy_to_string):
4655         Call the internal _Unchecked_set(size_t) instead of set.
4657 2006-01-26  Paolo Carlini  <pcarlini@suse.de>
4659         * docs/html/install.html ([Tools you will need beforehand]):
4660         Clarify that the de_DE locale is used by configure; clarify
4661         that missing localedata leads to skipped tests, not fails.
4663 2006-01-26  Paolo Carlini  <pcarlini@suse.de>
4665         * include/tr1/cfenv: New.
4666         * include/Makefile.am: Add.
4667         * testsuite/tr1/8_c_compatibility/cfenv/functions.cc: New.
4668         * testsuite/tr1/8_c_compatibility/cfenv/types.cc: Likewise.
4669         * acinclude.m4 ([GLIBCXX_CHECK_C99_TR1]): Add <fenv.h> checks.
4670         * docs/html/ext/tr1.html: Update; add note.
4671         * include/Makefile.in: Regenerate.
4672         * config.h.in: Likewise.
4673         * configure: Likewise.  
4675         * testsuite/tr1/8_c_compatibility/complex/functions.cc: Tweak.
4676         * testsuite/tr1/8_c_compatibility/cctype/functions.cc: Likewise.
4678         * docs/html/faq/index.html: Fix link to tr1.html text; fix
4679         formatting.
4681 2006-01-25  Paolo Carlini  <pcarlini@suse.de>
4683         * include/tr1/cctype: New.
4684         * include/Makefile.am: Add.
4685         * testsuite/tr1/8_c_compatibility/cctype/functions.cc: New.
4686         * include/Makefile.in: Regenerate.
4688         * acinclude.m4 ([GLIBCXX_CHECK_C99_TR1]): New, check for C99
4689         support to TR1, Chapter 8.
4690         * configure.ac: Use it.
4691         * include/tr1/complex: Adjust.
4692         * config.h.in: Regenerate.
4693         * configure: Likewise.
4695 2006-01-25  Benjamin Kosnik  <bkoz@redhat.com>
4697         * docs/html/configopts.html: Tweak docs.
4699         * libsupc++/eh_personality.cc: Fix typos.
4701 2006-01-24  Paolo Carlini  <pcarlini@suse.de>
4703         PR libstdc++/25649
4704         * include/std/std_istream.h (operator>>(short&), operator>>(int&)):
4705         Move out of line...
4706         * include/bits/istream.tcc: ... here.
4707         * include/std/std_ostream.h (operator<<(short), operator<<(int)):
4708         Move out of line...
4709         * include/bits/ostream.tcc: ... here.
4711 2006-01-24  Ed Smith-Rowland  <3dw4rd@verizon.net>
4713         * docs/html/faq/index.html ([5.2]): Mention TR1 and point to
4714         paragraph [5.5], describing it.
4715         ([5.5]): New.
4716         * docs/html/ext/tr1.html: New.
4718 2006-01-20  Benjamin Kosnik  <bkoz@redhat.com>
4720         * acinclude.m4 (GLIBCXX_CHECK_LINKER_FEATURES): Verbose ld version
4721         reporting.  Disable --gc-sections for old binutils, by version.
4722         * configure: Regenerate.
4724 2006-01-20  Joseph S. Myers  <joseph@codesourcery.com>
4726         PR libstdc++/25524
4727         * include/Makefile.am: Install host-specific headers in multilib
4728         subdirectory.
4729         * include/Makefile.in: Regenerate.
4731 2006-01-19  Paolo Carlini  <pcarlini@suse.de>
4733         Implement list::splice (and merge) bits of N1599
4734         * include/bits/stl_list.h (list<>::_M_check_equal_allocators): New.
4735         (list<>::splice(iterator, list&), splice(iterator, list&, iterator),
4736         splice(iterator, list&, iterator, iterator)): Use it.
4737         * include/bits/list.tcc (list<>::merge(list&), merge(list&,
4738         _StrictWeakOrdering)): Likewise.
4739         * testsuite/23_containers/list/operators/5.cc: New.
4741 2006-01-19  H.J. Lu  <hongjiu.lu@intel.com>
4743         PR libstdc++/25797
4744         * acinclude.m4 (GLIBCXX_CHECK_LINKER_FEATURES): Remove -Werror
4745         from CFLAGS.  Check if linker really supports --gc-sections.
4746         * configure: Regenerated.
4748 2006-01-18  Paul Brook  <paul@codesourcery.com>
4750         * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Use std::abort.
4752 2006-01-18  Paolo Carlini  <pcarlini@suse.de>
4754         * include/bits/allocator.h: Include <bits/cpp_type_traits.h>.
4756 2006-01-18  Perry Smith  <pedz@easesoftware.net>
4758         PR libstdc++/25823
4759         PR libstdc++/25824
4760         * libsupc++/eh_alloc.cc: Fix return type of memset declaration.
4761         * libsupc++/eh_globals.cc: If !_GLIBCXX_HOSTED declare malloc and free.
4763 2006-01-18  Paolo Carlini  <pcarlini@suse.de>
4765         * include/ext/pb_assoc/detail/value_type_adapter/
4766         value_type_adapter.hpp: Include <tr1/type_traits>.
4767         * include/ext/pb_assoc/detail/value_type_adapter/
4768         it_value_type_traits.hpp (it_value_type_traits_<>::value_type_holder):
4769         Use tr1::aligned_storage and tr1::alignment_of.
4770         (it_value_type_traits_<>::buf_t): Remove.
4771         (it_value_type_traits_<>::make_valid, recast): Adjust.
4773 2006-01-16  Benjamin Kosnik  <bkoz@redhat.com>
4775         PR libstdc++/25797
4776         * acinclude.m4 (GLIBCXX_CHECK_LINKER_FEATURES): Add -Werror to
4777         CFLAGS for --gc-sections test.  Correct compile test.
4778         * configure: Regenerated.
4779         
4780 2006-01-15  Paolo Carlini  <pcarlini@suse.de>
4781             Gabriel Dos Reis  <gdr@integrable-solutions.net>
4783         PR libstdc++/25626
4784         * include/std/std_valarray.h (valarray(const slice_array<>&),
4785         valarray(const gslice_array<>&), valarray(const mask_array<>&),
4786         valarray(const indirect_array<>&), valarray(const _Expr<>&)):
4787         Forward to __valarray_copy_construct, not __valarray_copy.
4788         * include/bits/valarray_array.h
4789         (__valarray_copy_construct(_Array<>, _Array<>, _Array<>, size_t),
4790         __valarray_copy_construct(_Array<>, size_t, size_t, _Array<>)):
4791         New.
4793 2006-01-15  Paolo Carlini  <pcarlini@suse.de>
4795         * testsuite/tr1/8_c_compatibility/complex/overloads_int.cc:
4796         Fix norm test, use casts everywhere.
4798 2006-01-14  Paolo Carlini  <pcarlini@suse.de>
4800         * testsuite/testsuite_tr1.h: Add missing include; use std::__are_same.
4802 2006-01-14  Paolo Carlini  <pcarlini@suse.de>
4804         * testsuite/tr1/8_c_compatibility/complex/overloads_int.cc:
4805         Fix wrong test (don't pick by mistake the (const complex<>&, int)
4806         overload); add some.
4808 2006-01-13  Paolo Carlini  <pcarlini@suse.de>
4809             Howard Hinnant  <hhinnant@apple.com>
4811         * include/tr1/complex (arg, conj, imag, norm, polar, pow, real):
4812         Add, implementing TR1, 8.1.9.
4813         (__promote_2): New.
4814         * include/tr1/common.h: New, provides __promote, __promote_2.
4815         * include/Makefile.am: Add.
4816         * include/Makefile.in: Regenerate.
4817         * testsuite/testsuite_tr1.h (check_ret_type): New.
4818         * testsuite/tr1/8_c_compatibility/complex/overloads_int.cc: New.
4819         * testsuite/tr1/8_c_compatibility/complex/overloads_float.cc: New.
4821 2006-01-12  Benjamin Kosnik  <bkoz@redhat.com>
4823         * acinclude.m4(GLIBCXX_CHECK_LINKER_FEATURES): Enable
4824         --gc-sections in more cases.    
4825         * configure: Regenerate.
4826         * scripts/testsuite_flags.in: Remove SECTION_LDFLAGS.
4827         * scripts/testsuite_flags.in (cxxldflags): New.
4828         * testsuite/lib/libstdc++.exp (v3_target_compile): Add cxxldflags.
4829         (libstdc++_init ): Same.
4830                 
4831 2006-01-12  Jan Beulich  <jbeulich@novell.com>
4833         * crossconfig.m4: Add AC_DEFINE-s for HAVE_HYPOT, HAVE_ISINF, and
4834         HAVE_ISNAN for *-*-netware*.
4835         * configure: Refresh.
4837 2006-01-11  Benjamin Kosnik  <bkoz@redhat.com>
4839         * acinclude.m4(GLIBCXX_CHECK_LINKER_FEATURES): Use -Wl,-z,relro if
4840         possible.  
4841         * configure: Regenerate.
4843 2006-01-10  Paolo Carlini  <pcarlini@suse.de>
4845         * include/tr1/complex: New file, hosts the additions to header
4846         <complex> described in TR1, Chapter 8 [tr.c99].
4847         * include/Makefile.am: Add.
4848         * include/Makefile.in: Regenerate.
4849         * testsuite/tr1/8_c_compatibility/complex/functions.cc: New.
4851 2006-01-09  Paolo Carlini  <pcarlini@suse.de>
4853         PR libstdc++/25658
4854         * testsuite/23_containers/deque/cons/assign/1.cc: Divide
4855         sizes by 10.
4857 2006-01-08  Paolo Carlini  <pcarlini@suse.de>
4859         PR libstdc++/22102 (insert as close to hint as possible)
4860         * include/bits/stl_tree.h (_Rb_tree<>::_M_insert_lower,
4861         _M_insert_equal_lower): New.
4862         (_M_insert_equal(iterator, const _Val&),
4863         _M_insert_equal(const_iterator, const _Val&)): Use the above.
4864         * docs/html/ext/howto.html: Add an entry for DR 233.
4865         * testsuite/23_containers/multiset/modifiers/insert/22102.cc: New.
4866         * testsuite/23_containers/multimap/modifiers/insert/22102.cc: New.
4868         * testsuite/23_containers/set/insert/: Move...
4869         * testsuite/23_containers/set/modifiers/insert/: ...here.
4870         * testsuite/23_containers/map/insert/: Move...
4871         * testsuite/23_containers/map/modifiers/insert/: ...here.
4872         * testsuite/23_containers/multiset/insert/: Move...
4873         * testsuite/23_containers/multiset/modifiers/insert/: ...here.
4875 2006-01-06  Paolo Carlini  <pcarlini@suse.de>
4877         * include/bits/stl_tree.h (_Rb_tree<>::insert_unique): Rename
4878         to _M_insert_unique.
4879         (_Rb_tree<>::insert_equal): Rename to _M_insert_equal.
4880         * include/bits/stl_map.h (class map<>): Update callers.
4881         * include/bits/stl_set.h (class set<>): Likewise.
4882         * include/bits/stl_multimap.h (class multimap<>): Likewise.
4883         * include/bits/stl_multiset.h (class multiset<>): Likewise.
4885 2006-01-06  Paolo Carlini  <pcarlini@suse.de>
4887         * include/bits/stl_bvector.h (vector<bool>::erase(iterator,
4888         iterator)): Just use _M_erase_at_end.
4890 2006-01-06  Paolo Carlini  <pcarlini@suse.de>
4892         * include/bits/stl_bvector.h (class vector<bool>): Move all the
4893         helpers under protected access mode, consistently with the primary
4894         vector template.
4895         (vector<bool>::_M_erase_at_end): Add.
4896         (erase(iterator, iterator), clear, resize, _M_fill_assign,
4897         _M_assign_aux): Use it.
4898         * testsuite/23_containers/vector/bool/modifiers/erase/1.cc: New.
4900 2006-01-06  Paolo Carlini  <pcarlini@suse.de>
4902         Implement Option 3 of DR 431 for vector<bool>.
4903         * include/bits/stl_bvector.h (class _Bvector_base): Change to
4904         a struct, consistently with the primary vector template.
4905         (class vector<bool>): Adjust to protected inheritance, tidy
4906         typedefs.
4907         (_Bvector_base<>::_M_get_Bit_allocator): Add.
4908         (vector<bool>::vector(const vector&)): Use it.
4909         (_Bvector_base<>::get_allocator): Tidy.
4910         (vector<bool>::swap): Use __alloc_swap.
4911         * testsuite/23_containers/vector/bool/modifiers/swap/1.cc: New.
4912         * testsuite/23_containers/vector/bool/modifiers/swap/2.cc: New.
4914 2006-01-05  Paolo Carlini  <pcarlini@suse.de>
4915         
4916         * testsuite/testsuite_hooks.h (test_tm(unsigned)): Change to
4917         take all the tm members.
4918         * testsuite/testsuite_hooks.cc (test_tm): Adjust.
4919         * testsuite/22_locale/time_put/put/wchar_t/10.cc: Update.
4920         * testsuite/22_locale/time_put/put/wchar_t/1.cc: Likewise.
4921         * testsuite/22_locale/time_put/put/wchar_t/2.cc: Likewise.
4922         * testsuite/22_locale/time_put/put/wchar_t/3.cc: Likewise.
4923         * testsuite/22_locale/time_put/put/wchar_t/4.cc: Likewise.
4924         * testsuite/22_locale/time_put/put/wchar_t/5.cc: Likewise.
4925         * testsuite/22_locale/time_put/put/wchar_t/6.cc: Likewise.
4926         * testsuite/22_locale/time_put/put/wchar_t/7.cc: Likewise.
4927         * testsuite/22_locale/time_put/put/wchar_t/8.cc: Likewise.
4928         * testsuite/22_locale/time_put/put/wchar_t/9.cc: Likewise.
4929         * testsuite/22_locale/time_put/put/wchar_t/17038.cc: Likewise.
4930         * testsuite/22_locale/time_put/put/char/10.cc: Likewise.
4931         * testsuite/22_locale/time_put/put/char/1.cc: Likewise.
4932         * testsuite/22_locale/time_put/put/char/2.cc: Likewise.
4933         * testsuite/22_locale/time_put/put/char/3.cc: Likewise.
4934         * testsuite/22_locale/time_put/put/char/4.cc: Likewise.
4935         * testsuite/22_locale/time_put/put/char/5.cc: Likewise.
4936         * testsuite/22_locale/time_put/put/char/6.cc: Likewise.
4937         * testsuite/22_locale/time_put/put/char/7.cc: Likewise.
4938         * testsuite/22_locale/time_put/put/char/8.cc: Likewise.
4939         * testsuite/22_locale/time_put/put/char/9.cc: Likewise.
4940         * testsuite/22_locale/time_put/put/char/17038.cc: Likewise.
4941         * testsuite/22_locale/time_get/get_year/wchar_t/1.cc: Likewise.
4942         * testsuite/22_locale/time_get/get_year/wchar_t/3.cc: Likewise.
4943         * testsuite/22_locale/time_get/get_year/char/1.cc: Likewise.
4944         * testsuite/22_locale/time_get/get_year/char/3.cc: Likewise.
4945         * testsuite/22_locale/time_get/get_monthname/wchar_t/1.cc: Likewise.
4946         * testsuite/22_locale/time_get/get_monthname/wchar_t/2.cc: Likewise.
4947         * testsuite/22_locale/time_get/get_monthname/char/1.cc: Likewise.
4948         * testsuite/22_locale/time_get/get_monthname/char/2.cc: Likewise.
4949         * testsuite/22_locale/time_get/get_weekday/wchar_t/1.cc: Likewise.
4950         * testsuite/22_locale/time_get/get_weekday/wchar_t/2.cc: Likewise.
4951         * testsuite/22_locale/time_get/get_weekday/wchar_t/3.cc: Likewise.
4952         * testsuite/22_locale/time_get/get_weekday/char/1.cc: Likewise.
4953         * testsuite/22_locale/time_get/get_weekday/char/2.cc: Likewise.
4954         * testsuite/22_locale/time_get/get_weekday/char/3.cc: Likewise.
4955         * testsuite/22_locale/time_get/get_date/wchar_t/12750.cc: Likewise.
4956         * testsuite/22_locale/time_get/get_date/wchar_t/12750.cc: Likewise.
4957         * testsuite/22_locale/time_get/get_date/wchar_t/1.cc: Likewise.
4958         * testsuite/22_locale/time_get/get_date/wchar_t/2.cc: Likewise.
4959         * testsuite/22_locale/time_get/get_date/wchar_t/3.cc: Likewise.
4960         * testsuite/22_locale/time_get/get_date/char/12750.cc: Likewise.
4961         * testsuite/22_locale/time_get/get_date/char/12750.cc: Likewise.
4962         * testsuite/22_locale/time_get/get_date/char/1.cc: Likewise.
4963         * testsuite/22_locale/time_get/get_date/char/2.cc: Likewise.
4964         * testsuite/22_locale/time_get/get_date/char/3.cc: Likewise.
4965         * testsuite/22_locale/time_get/get_time/wchar_t/1.cc: Likewise.
4966         * testsuite/22_locale/time_get/get_time/wchar_t/2.cc: Likewise.
4967         * testsuite/22_locale/time_get/get_time/wchar_t/3.cc: Likewise.
4968         * testsuite/22_locale/time_get/get_time/wchar_t/4.cc: Likewise.
4969         * testsuite/22_locale/time_get/get_time/char/1.cc: Likewise.
4970         * testsuite/22_locale/time_get/get_time/char/2.cc: Likewise.
4971         * testsuite/22_locale/time_get/get_time/char/3.cc: Likewise.
4972         * testsuite/22_locale/time_get/get_time/char/4.cc: Likewise.
4974 2006-01-05  Paolo Carlini  <pcarlini@suse.de>
4975         
4976         * testsuite/testsuite_hooks.h (test_tm(unsigned)): New.
4977         * testsuite/testsuite_hooks.cc (test_tm(unsigned)): Define.
4978         * testsuite/22_locale/time_put/put/wchar_t/10.cc: Use it.
4979         * testsuite/22_locale/time_put/put/wchar_t/1.cc: Likewise.
4980         * testsuite/22_locale/time_put/put/wchar_t/2.cc: Likewise.
4981         * testsuite/22_locale/time_put/put/wchar_t/3.cc: Likewise.
4982         * testsuite/22_locale/time_put/put/wchar_t/4.cc: Likewise.
4983         * testsuite/22_locale/time_put/put/wchar_t/5.cc: Likewise.
4984         * testsuite/22_locale/time_put/put/wchar_t/6.cc: Likewise.
4985         * testsuite/22_locale/time_put/put/wchar_t/7.cc: Likewise.
4986         * testsuite/22_locale/time_put/put/wchar_t/8.cc: Likewise.
4987         * testsuite/22_locale/time_put/put/wchar_t/9.cc: Likewise.
4988         * testsuite/22_locale/time_put/put/wchar_t/17038.cc: Likewise.
4989         * testsuite/22_locale/time_put/put/char/10.cc: Likewise.
4990         * testsuite/22_locale/time_put/put/char/1.cc: Likewise.
4991         * testsuite/22_locale/time_put/put/char/2.cc: Likewise.
4992         * testsuite/22_locale/time_put/put/char/3.cc: Likewise.
4993         * testsuite/22_locale/time_put/put/char/4.cc: Likewise.
4994         * testsuite/22_locale/time_put/put/char/5.cc: Likewise.
4995         * testsuite/22_locale/time_put/put/char/6.cc: Likewise.
4996         * testsuite/22_locale/time_put/put/char/7.cc: Likewise.
4997         * testsuite/22_locale/time_put/put/char/8.cc: Likewise.
4998         * testsuite/22_locale/time_put/put/char/9.cc: Likewise.
4999         * testsuite/22_locale/time_put/put/char/17038.cc: Likewise.
5000         * testsuite/22_locale/time_get/get_year/wchar_t/1.cc: Likewise.
5001         * testsuite/22_locale/time_get/get_year/wchar_t/3.cc: Likewise.
5002         * testsuite/22_locale/time_get/get_year/char/1.cc: Likewise.
5003         * testsuite/22_locale/time_get/get_year/char/3.cc: Likewise.
5004         * testsuite/22_locale/time_get/get_monthname/wchar_t/1.cc: Likewise.
5005         * testsuite/22_locale/time_get/get_monthname/wchar_t/2.cc: Likewise.
5006         * testsuite/22_locale/time_get/get_monthname/char/1.cc: Likewise.
5007         * testsuite/22_locale/time_get/get_monthname/char/2.cc: Likewise.
5008         * testsuite/22_locale/time_get/get_weekday/wchar_t/1.cc: Likewise.
5009         * testsuite/22_locale/time_get/get_weekday/wchar_t/2.cc: Likewise.
5010         * testsuite/22_locale/time_get/get_weekday/wchar_t/3.cc: Likewise.
5011         * testsuite/22_locale/time_get/get_weekday/char/1.cc: Likewise.
5012         * testsuite/22_locale/time_get/get_weekday/char/2.cc: Likewise.
5013         * testsuite/22_locale/time_get/get_weekday/char/3.cc: Likewise.
5014         * testsuite/22_locale/time_get/get_date/wchar_t/12750.cc: Likewise.
5015         * testsuite/22_locale/time_get/get_date/wchar_t/12750.cc: Likewise.
5016         * testsuite/22_locale/time_get/get_date/wchar_t/1.cc: Likewise.
5017         * testsuite/22_locale/time_get/get_date/wchar_t/2.cc: Likewise.
5018         * testsuite/22_locale/time_get/get_date/wchar_t/3.cc: Likewise.
5019         * testsuite/22_locale/time_get/get_date/char/12750.cc: Likewise.
5020         * testsuite/22_locale/time_get/get_date/char/12750.cc: Likewise.
5021         * testsuite/22_locale/time_get/get_date/char/1.cc: Likewise.
5022         * testsuite/22_locale/time_get/get_date/char/2.cc: Likewise.
5023         * testsuite/22_locale/time_get/get_date/char/3.cc: Likewise.
5024         * testsuite/22_locale/time_get/get_time/wchar_t/1.cc: Likewise.
5025         * testsuite/22_locale/time_get/get_time/wchar_t/2.cc: Likewise.
5026         * testsuite/22_locale/time_get/get_time/wchar_t/3.cc: Likewise.
5027         * testsuite/22_locale/time_get/get_time/wchar_t/4.cc: Likewise.
5028         * testsuite/22_locale/time_get/get_time/char/1.cc: Likewise.
5029         * testsuite/22_locale/time_get/get_time/char/2.cc: Likewise.
5030         * testsuite/22_locale/time_get/get_time/char/3.cc: Likewise.
5031         * testsuite/22_locale/time_get/get_time/char/4.cc: Likewise.
5033 2006-01-04  Paolo Carlini  <pcarlini@suse.de>
5035         * include/ext/sso_string_base.h (__sso_string_base<>::_M_dataplus):
5036         Use _CharT_alloc_type as base class.
5037         (_M_get_allocator, _M_swap, _M_create, _M_destroy): Adjust.
5038         * include/ext/vstring.h (get_allocator): Tidy.
5040 2006-01-04  Paolo Carlini  <pcarlini@suse.de>
5042         Implement Option 3 of DR 431 for all the containers.
5043         * include/bits/allocator.h (struct __alloc_swap): Add, swaps
5044         allocators, optimized to nothing in case they are empty.
5045         * include/bits/stl_deque.h (deque<>::swap): Use it.
5046         * include/bits/stl_list.h (list<>::swap): Likewise.
5047         * include/bits/stl_tree.h (_Rb_tree<>::swap): Likewise.
5048         * include/bits/stl_vector.h (vector<>::swap): Likewise.
5049         * include/tr1/hashtable (hashtable<>::swap): Likewise.
5050         * include/ext/rc_string_base.h (__rc_string_base<>::_M_swap):
5051         Likewise.
5052         * include/ext/sso_string_base.h (__sso_string_base<>::_M_swap):
5053         Likewise.
5054         * include/ext/vstring_util.h (__vstring_utility<>::_Alloc_hider):
5055         Clean-up (now vstring uses the generic __alloc_swap facility).
5056         * include/tr1/unordered_map: Adjust includes.
5057         * include/tr1/unordered_set: Likewise.
5058         * docs/html/ext/howto.html: Add an entry for DR 431.
5059         * testsuite/23_containers/deque/modifiers/swap.cc: Move to...
5060         * testsuite/23_containers/deque/modifiers/swap/1.cc: ... here.          
5061         * testsuite/23_containers/deque/modifiers/swap/2.cc: New.
5062         * testsuite/23_containers/deque/modifiers/swap/3.cc: New.
5063         * testsuite/23_containers/list/modifiers/swap.cc: Move to...
5064         * testsuite/23_containers/list/modifiers/swap/1.cc: ... here.           
5065         * testsuite/23_containers/list/modifiers/swap/2.cc: New.
5066         * testsuite/23_containers/list/modifiers/swap/3.cc: New.
5067         * testsuite/23_containers/vector/modifiers/swap.cc: Move to...
5068         * testsuite/23_containers/vector/modifiers/swap/1.cc: ... here.         
5069         * testsuite/23_containers/vector/modifiers/swap/2.cc: New.
5070         * testsuite/23_containers/vector/modifiers/swap/3.cc: New.
5071         * testsuite/23_containers/set/modifiers/swap.cc: Move to...
5072         * testsuite/23_containers/set/modifiers/swap/1.cc: ... here.            
5073         * testsuite/23_containers/set/modifiers/swap/2.cc: New.
5074         * testsuite/23_containers/set/modifiers/swap/3.cc: New.
5075         * testsuite/23_containers/map/modifiers/swap.cc: Move to...
5076         * testsuite/23_containers/map/modifiers/swap/1.cc: ... here.            
5077         * testsuite/23_containers/map/modifiers/swap/2.cc: New.
5078         * testsuite/23_containers/map/modifiers/swap/3.cc: New.
5079         * testsuite/23_containers/multiset/modifiers/swap.cc: Move to...
5080         * testsuite/23_containers/multiset/modifiers/swap/1.cc: ... here.               
5081         * testsuite/23_containers/multiset/modifiers/swap/2.cc: New.
5082         * testsuite/23_containers/multiset/modifiers/swap/3.cc: New.
5083         * testsuite/23_containers/multimap/modifiers/swap.cc: Move to...
5084         * testsuite/23_containers/multimap/modifiers/swap/1.cc: ... here.               
5085         * testsuite/23_containers/multimap/modifiers/swap/2.cc: New.
5086         * testsuite/23_containers/multimap/modifiers/swap/3.cc: New.
5087         * testsuite/tr1/6_containers/unordered/swap/unordered_set/1.cc: New.    
5088         * testsuite/tr1/6_containers/unordered/swap/unordered_set/2.cc: New.
5089         * testsuite/tr1/6_containers/unordered/swap/unordered_map/1.cc: New.    
5090         * testsuite/tr1/6_containers/unordered/swap/unordered_map/2.cc: New.
5091         * testsuite/tr1/6_containers/unordered/swap/unordered_multiset/1.cc: New.       
5092         * testsuite/tr1/6_containers/unordered/swap/unordered_multiset/2.cc: New.
5093         * testsuite/tr1/6_containers/unordered/swap/unordered_multimap/1.cc: New.       
5094         * testsuite/tr1/6_containers/unordered/swap/unordered_multimap/2.cc: New.
5096 2006-01-03  Paolo Carlini  <pcarlini@suse.de>
5098         * include/bits/stl_list.h (_List_base<>::_M_get_Node_allocator): Add.
5099         (_M_get_Tp_allocator, get_allocator): Tidy.
5100         (list<>::list(const list&), insert(iterator, size_type, const
5101         value_type&), insert(iterator, _InputIterator, _InputIterator)):
5102         Use _M_get_Node_allocator.
5103         * include/bits/stl_tree.h (_Rb_tree<>::_M_get_Node_allocator()): Add.
5104         (_Rb_tree(const _Rb_tree<>&): Use it.
5105         * include/bits/stl_deque.h (_Deque_base<>::_M_get_map_allocator,
5106         get_allocator): Tidy.
5107         * include/bits/stl_vector.h (_Vector_base<>::get_allocator): Tidy.
5108         * testsuite/23_containers/map/operators/1_neg.cc: Adjust dg-error
5109         line numbers.
5110         * testsuite/23_containers/set/operators/1_neg.cc: Likewise.
5111         
5112         * testsuite/testsuite_allocator.h (uneq_allocator<>::swap): Fix.
5114         * testsuite/testsuite_allocator.h (class uneq_allocator): A simple
5115         non-empty testing allocator which can be endowed of a "personality"
5116         at construction time.
5118 2006-01-03  Paolo Carlini  <pcarlini@suse.de>
5120         * testsuite/27_io/basic_stringstream/str/char/1.cc: Initialize vars.
5121         * testsuite/27_io/basic_stringstream/str/wchar_t/1.cc: Likewise.
5122         * testsuite/27_io/basic_istringstream/str/char/1.cc: Likewise, tidy.
5123         * testsuite/27_io/basic_istringstream/str/wchar_t/1.cc: Likewise.
5125 2006-01-02  Mark Mitchell  <mark@codesourcery.com>
5127         * src/Makefile.am (LTLDFLAGS): New variable. 
5128         (CXXLINK): Use LTLDFLAGS.
5129         * src/Makefile.in: Regenerated.
5130         * libsupc++/Makefile.am (LTLDFLAGS): New variable. 
5131         (CXXLINK): Use LTLDFLAGS.
5132         * libsupc++/Makefile.in: Regenerated.
5134 2006-01-02  Paolo Carlini  <pcarlini@suse.de>
5136         PR libstdc++/24645
5137         * include/std/std_istream.h (basic_istream<>::_M_extract): New.
5138         (operator>>(bool&), operator>>(short&), operator>>(unsigned short&),
5139         operator>>(int&), operator>>(unsigned int&), operator>>(long&),
5140         operator>>(unsigned long&), operator>>(long long&), operator>>
5141         (unsigned long long&), operator>>(float&), operator>>(double&),
5142         operator>>(long double&), operator>>(void*&)): Use it.
5143         * include/bits/istream.tcc (basic_istream<>::_M_extract): Define.
5144         * include/std/std_ostream.h (basic_ostream<>::_M_insert): New.
5145         (operator<<(long), operator<<(unsigned long), operator<<(bool),
5146         operator<<(short), operator<<(unsigned short), operator<<(int),
5147         operator<<(unsigned int), operator<<(long long), operator<<
5148         (unsigned long long), operator<<(double), operator<<(float),
5149         operator<<(long double), operator<<(const void*): Use it.
5150         * include/bits/ostream.tcc (basic_ostream<>::_M_insert): Define.
5151         * src/istream-inst.cc: Add _M_extract instantiations.
5152         * src/ostream-inst.cc: Add _M_insert instantiations.
5153         * config/abi/pre/gnu.ver: Export the new symbols @GLIBCXX_3.4.7;
5154         detail existing @GLIBCXX_3.4 exports of basic_ostream, num_put,
5155         money_put, etc., symbols to avoid exporting _M_insert symbols
5156         @GLIBCXX_3.4.