OSDN Git Service

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