OSDN Git Service

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