OSDN Git Service

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