OSDN Git Service

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