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