OSDN Git Service

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