OSDN Git Service

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