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