OSDN Git Service

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