OSDN Git Service

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