OSDN Git Service

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