OSDN Git Service

2006-02-22 Paolo Carlini <pcarlini@suse.de>
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / ChangeLog
1 2006-02-22  Paolo Carlini  <pcarlini@suse.de>
2
3         PR libstdc++/26132
4         * include/tr1/hashtable (hashtable<>::rehash): Define.
5         * testsuite/tr1/6_containers/unordered/hashtable/26132.cc: New.
6
7         * include/tr1/hashtable: Trivial formatting and stylistic fixes.
8
9         * testsuite/tr1/headers.cc: remove <tr1/hashtable>, not a tr1 header,
10         only an implementation detail.
11
12 2006-02-22  Paolo Carlini  <pcarlini@suse.de>
13
14         * include/debug/list (splice): Remove splice_alloc check, redundant
15         after implementing the splice bits of N1599.
16
17 2006-02-21  Benjamin Kosnik  <bkoz@redhat.com>
18
19         * include/c_std/cmath.tcc: Use _GLIBCXX_BEGIN_NAMESPACE,
20         _GLIBCXX_END_NAMESPACE.
21
22 2006-02-21  Benjamin Kosnik  <bkoz@redhat.com>
23
24         * include/bits/c++config: Simplify debug namespaces.
25         * include/ext/hash_set: Specialize insert_iterator after norm,
26         debug containers have been (optionally) declared. Use nested
27         namespaces.     
28         * include/ext/hash_map: Same.
29         * include/debug/hash_map.h (insert): Add specialization for value
30         pointer types.
31         * include/debug/hash_set.h (insert): Same.
32         * include/debug/hash_multimap.h: Change __gnu_debug_def to __debug.
33         * include/debug/set.h: Same.
34         * include/debug/bitset: Same.
35         * include/debug/multiset.h: Same.
36         * include/debug/hash_multiset.h: Same.
37         * include/debug/vector: Same.
38         * include/debug/map.h: Same.
39         * include/debug/deque: Same.
40         * include/debug/list: Same.
41         * include/debug/multimap.h. Same.
42         * include/debug/macros.h: Use __gnu_debug.
43         * include/debug/debug.h: Same.
44         * include/debug/formatter.h: Same.
45         * include/debug/safe_sequence.h: Same.
46         * include/debug/functions.h: Same.
47         * include/debug/safe_base.h: Same.
48         * include/debug/safe_iterator.h: Same.
49         * include/debug/safe_iterator.tcc: Same.
50         (_M_invalidate): Adjust compare order.
51         * include/debug/string: Change std::__gnu_debug to __gnu_debug.
52         * include/ext/hashtable.h: Formatting fixes.
53         * include/bits/stl_map.h: Formatting fixes.             
54         * src/compatibility.cc: Adjust compatibility symbols for old debug
55         mode model.     
56         * src/debug_list.cc: Tweak.
57         * src/debug.cc: Adjust namespaces.
58         * docs/html/debug_mode.html: Adjust namespace names.
59         * testsuite/25_algorithms/heap/heap.cc: Restore _GLIBCXX_DEBUG
60         macro guards, as count values differ when in debug mode.        
61         * testsuite/23_containers/vector/26412.cc: Move to...
62         * testsuite/23_containers/vector/26412-1.cc: ... here.
63         * testsuite/23_containers/vector/26412-2.cc: Add.
64
65         * include/ext/pb_assoc/detail/standard_policies.hpp
66         (PB_ASSOC_HASH_NAMESPACE): Remove, use __gnu_cxx::hash_map and
67         std::equal_to.
68
69         * configure.ac (libtool_VERSION): To 6:8:0.
70         * configure: Regenerate.
71         * config/abi/pre/gnu.ver: Revert to exporting __gnu_debug symbols.
72         (GLIBCXX_3.4.8): New.
73         * testsuite/testsuite_abi.cc: Add GLIBCXX_3.4.8 to known versions.
74         
75 2006-02-21  Paolo Carlini  <pcarlini@suse.de>
76
77         * include/tr1/hashtable: Trivial formatting fixes.
78
79 2006-02-20  Paolo Carlini  <pcarlini@suse.de>
80
81         Revert recent commit for libstdc++/26211, now suspended waiting for
82         DR 342 (reopened) to reach a new resolution.
83         * include/bits/istream.tcc (basic_istream<>::tellg, seekg(pos_type),
84         seekg(off_type, ios_base::seekdir)): Remove sentry.
85         * testsuite/27_io/basic_istream/seekg/char/26211.cc: Remove.
86         * testsuite/27_io/basic_istream/seekg/wchar_t/26211.cc: Likewise.
87         * testsuite/27_io/basic_istream/tellg/char/26211.cc: Likewise.
88         * testsuite/27_io/basic_istream/tellg/wchar_t/26211.cc: Likewise.
89         * testsuite/27_io/basic_istream/seekg/char/8348-1.cc: Revert changes.
90         * testsuite/27_io/basic_istream/seekg/wchar_t/8348-1.cc: Likewise.
91         * testsuite/27_io/basic_istream/seekg/char/8348-2.cc: Likewise.
92         * testsuite/27_io/basic_istream/seekg/wchar_t/8348-1.cc: Likewise.
93         * testsuite/27_io/basic_istream/tellg/char/8348.cc: Likewise.
94         * testsuite/27_io/basic_istream/tellg/wchar_t/8348.cc: Likewise.
95
96 2006-02-19  Paolo Carlini  <pcarlini@suse.de>
97
98         * include/std/std_sstream.h (basic_stringbuf<>::setbuf): Simply
99         clear the internal _M_string, adjust _M_sync call.
100         * include/bits/sstream.tcc (basic_stringbuf<>::_M_sync): Adjust
101         consistently for calls from setbuf.
102
103 2006-02-17  Paolo Carlini  <pcarlini@suse.de>
104             Howard Hinnant  <hhinnant@apple.com>
105
106         PR libstdc++/26250
107         * include/bits/sstream.tcc (basic_stringbuf<>::overflow): Tweak
108         to leave epgtr() just past the new write position, as per the
109         relevant bits of 27.7.1.3/8 (not changed by DR 432).
110         * testsuite/27_io/basic_stringbuf/overflow/char/26250.cc: New.
111         * testsuite/27_io/basic_stringbuf/overflow/wchar_t/26250.cc: Same.
112
113         * docs/html/ext/howto.html: Add entries for DR 169 and DR 432.
114
115         * include/std/std_sstream.h (basic_stringbuf<>::_M_sync): Move out
116         of line...
117         * include/bits/sstream.tcc: ... here.
118
119 2006-02-16  Joseph S. Myers  <joseph@codesourcery.com>
120
121         PR libstdc++/14939
122         * config/os/uclibc/ctype_base.h, config/os/uclibc/ctype_inline.h,
123         config/os/uclibc/ctype_noninline.h, config/os/uclibc/os_defines.h:
124         New.
125         * acinclude.m4 (GLIBCXX_CONFIGURE): Test whether using uClibc.
126         * configure.host: Use os/uclibc for uClibc.
127         * crossconfig.m4 (*-linux*): Use link tests.  Don't hardcode
128         presence of math functions.
129         * configure: Regenerate.
130
131 2006-02-12  Paolo Carlini  <pcarlini@suse.de>
132
133         PR libstdc++/26211
134         * include/bits/istream.tcc (basic_istream<>::tellg, seekg(pos_type),
135         seekg(off_type, ios_base::seekdir)): Construct a sentry, as per
136         27.6.1.3/1.
137         * testsuite/27_io/basic_istream/seekg/char/26211.cc: New.
138         * testsuite/27_io/basic_istream/seekg/wchar_t/26211.cc: Likewise.
139         * testsuite/27_io/basic_istream/tellg/char/26211.cc: Likewise.
140         * testsuite/27_io/basic_istream/tellg/wchar_t/26211.cc: Likewise.
141         * testsuite/27_io/basic_istream/seekg/char/8348-1.cc: Adjust.
142         * testsuite/27_io/basic_istream/seekg/wchar_t/8348-1.cc: Likewise.
143         * testsuite/27_io/basic_istream/seekg/char/8348-2.cc: Likewise.
144         * testsuite/27_io/basic_istream/seekg/wchar_t/8348-1.cc: Likewise.
145         * testsuite/27_io/basic_istream/tellg/char/8348.cc: Likewise.
146         * testsuite/27_io/basic_istream/tellg/wchar_t/8348.cc: Likewise.
147
148 2006-02-10  Paolo Carlini  <pcarlini@suse.de>
149
150         PR libstdc++/26181
151         * include/bits/streambuf.tcc (__copy_streambufs_eof): New, like
152         the existing __copy_streambufs but reporting eof in input.
153         (__copy_streambufs): Just use the latter.
154         * src/streambuf.cc (__copy_streambufs_eof): Adjust specializations
155         of __copy_streambufs.
156         * include/bits/istream.tcc (operator>>(__streambuf_type*)): Use
157         __copy_streambufs_eof instead.
158         * include/std/std_streambuf.h: Adjust.
159         * src/streambuf-inst.cc: Adjust.
160         * config/abi/pre/gnu.ver: Export the new symbols.
161         * testsuite/27_io/basic_istream/extractors_other/char/26181.cc: New.
162         * testsuite/27_io/basic_istream/extractors_other/wchar_t/26181.cc:
163         Likewise.
164         * testsuite/27_io/basic_istream/extractors_other/char/1.cc: Adjust.
165         * testsuite/27_io/basic_istream/extractors_other/wchar_t/1.cc:
166         Likewise.
167
168 2006-02-08  Benjamin Kosnik  <bkoz@redhat.com>
169
170         PR libstdc++/26142
171         * include/debug/debug.h: Move debug alias inside namespace std,
172         same with namespace __gnu_cxx. Add top-level __gnu_debug
173         namespace.      
174         * include/debug/hash_multimap.h: Nest within __gnu_cxx, not
175         std. Also, change nesting namespace name from __gnu_debug_def to
176         __gnu_debug.    
177         * include/debug/hash_map.h: Same.
178         * include/debug/hash_multiset.h: Same.
179         * include/debug/hash_set.h: Same.
180         * docs/html/debug.html: Same.
181         * testsuite/23_containers/vector/26412.cc: New.
182         * testsuite/23_containers/vector/invalidation/1.cc:  Correct
183         qualifications for debug namespace change.
184         * testsuite/23_containers/vector/invalidation/2.cc: Same.
185         * testsuite/23_containers/vector/invalidation/3.cc: Same.
186         * testsuite/23_containers/vector/invalidation/4.cc: Same.
187         * testsuite/23_containers/deque/invalidation/1.cc: Same.
188         * testsuite/23_containers/deque/invalidation/2.cc: Same.
189         * testsuite/23_containers/deque/invalidation/3.cc: Same.
190         * testsuite/23_containers/deque/invalidation/4.cc: Same.
191         * testsuite/23_containers/multiset/invalidation/1.cc: Same.
192         * testsuite/23_containers/multiset/invalidation/2.cc: Same.
193         * testsuite/23_containers/multimap/invalidation/1.cc: Same.
194         * testsuite/23_containers/multimap/invalidation/2.cc: Same.
195         * testsuite/23_containers/bitset/invalidation/1.cc: Same.
196         * testsuite/23_containers/bitset/cons/16020.cc: Same.
197         * testsuite/23_containers/bitset/operations/13838.cc: Same.
198         * testsuite/23_containers/list/invalidation/1.cc: Same.
199         * testsuite/23_containers/list/invalidation/2.cc: Same.
200         * testsuite/23_containers/list/invalidation/3.cc: Same.
201         * testsuite/23_containers/list/invalidation/4.cc: Same.
202         * testsuite/23_containers/set/invalidation/1.cc: Same.
203         * testsuite/23_containers/set/invalidation/2.cc: Same.
204         * testsuite/23_containers/map/invalidation/1.cc: Same.
205         * testsuite/23_containers/map/invalidation/2.cc: Same.
206         * testsuite/23_containers/map/modifiers/insert/16813.cc: Same.
207         * testsuite/21_strings/basic_string/2.cc: Same.
208
209 2006-02-08  Paolo Carlini  <pcarlini@suse.de>
210
211         PR libstdc++/26133  (DR 241, [WP])
212         * include/bits/stl_algo.h (__unique_copy(,,, forward_iterator_tag,
213         output_iterator_tag), __unique_copy(,,, input_iterator_tag,
214         output_iterator_tag), __unique_copy(,,, input_iterator_tag,
215         forward_iterator_tag), and predicated counterparts): Add.
216         (__unique_copy(,,, output_iterator_tag), __unique_copy(,,,
217         forward_iterator_tag), and predicated counterparts): Remove.
218         (unique_copy): Adjust, dispatch to the three helpers above.
219         * testsuite/25_algorithms/unique_copy/2.cc: New.
220         * testsuite/25_algorithms/unique_copy/26133.cc: Likewise.
221         * testsuite/25_algorithms/unique_copy/3.cc: Likewise.   
222         * docs/html/ext/howto.html: Add an entry for DR 241.
223
224         * testsuite/25_algorithms/unique_copy/1.cc: Minor cosmetic changes.
225
226 2006-02-07  Jakub Jelinek  <jakub@redhat.com>
227             Benjamin Kosnik  <bkoz@redhat.com>
228
229         * configure.ac (_GLIBCXX_LONG_DOUBLE_COMPAT): New check.
230         If true, set also port_specific_symbol_files and create
231         as_symver_specs.
232         (GLIBCXX_LDBL_COMPAT): New GLIBCXX_CONDITIONAL.
233         * configure: Rebuilt.
234         * config.h.in: Rebuilt.
235         * config/os/gnu-linux/ldbl-extra.ver: New file.
236         * config/abi/pre/gnu.ver: Make sure no __float128 symbols are
237         exported.
238         * include/bits/c++config (_GLIBCXX_LONG_DOUBLE_COMPAT,
239         _GLIBCXX_LDBL_NAMESPACE, _GLIBCXX_BEGIN_LDBL_NAMESPACE,
240         _GLIBCXX_END_LDBL_NAMESPACE): Define.
241         * include/bits/localefwd.h: Use them to conditionally scope facets.
242         * include/bits/locale_facets.h: Surround std::{money,num}_{get,put}
243         with _GLIBCXX_BEGIN_LDBL_NAMESPACE and _GLIBCXX_END_LDBL_NAMESPACE.
244         Surround std::{money,num}_{get,put}
245         with _GLIBCXX_BEGIN_LDBL_NAMESPACE and _GLIBCXX_END_LDBL_NAMESPACE.
246         [_GLIBCXX_LONG_DOUBLE_COMPAT] (std::money_get): Add __do_get method.
247         [_GLIBCXX_LONG_DOUBLE_COMPAT] (std::money_put): Add __do_put method.
248         [_GLIBCXX_LONG_DOUBLE_COMPAT] (std::num_get): Add __do_get method.
249         [_GLIBCXX_LONG_DOUBLE_COMPAT] (std::num_put): Add __do_put method.
250         * include/bits/locale_facets.tcc: Surround std::{money,num}_{get,put}
251         with _GLIBCXX_BEGIN_LDBL_NAMESPACE and _GLIBCXX_END_LDBL_NAMESPACE.
252         (std::money_get::__do_get, std::money_put::__do_put,
253         std::num_get::__do_get, std::num_put::__do_put): New
254         specializations.
255         * include/Makefile.am: Conditionally define
256         _GLIBCXX_LONG_DOUBLE_COMPAT in c++config.
257         * include/Makefile.in: Regenerate.
258         * src/locale.cc [_GLIBCXX_LONG_DOUBLE_COMPAT] (_GLIBCXX_LOC_ID,
259         _GLIBCXX_SYNC_ID): Define, use them.
260         * src/compatibility-ldbl.cc: New file.
261         * src/complex_io.cc [_GLIBCXX_LONG_DOUBLE_COMPAT]: Add compatibility
262         symbols.
263         * src/limits.cc [_GLIBCXX_LONG_DOUBLE_COMPAT]: Likewise.
264         * src/locale.cc [_GLIBCXX_LONG_DOUBLE_COMPAT]: Likewise.
265         * src/locale-inst.cc [_GLIBCXX_LONG_DOUBLE_COMPAT]: Likewise.   
266         * src/locale-misc-inst.cc [_GLIBCXX_LONG_DOUBLE_COMPAT]: Likewise.
267         * src/istream-inst.cc [_GLIBCXX_LONG_DOUBLE_COMPAT]: Likewise.
268         * src/ostream-inst.cc [_GLIBCXX_LONG_DOUBLE_COMPAT]: Likewise.
269         * src/locale.cc [_GLIBCXX_LONG_DOUBLE_COMPAT]: Likewise.
270         * src/wlocale-inst.cc [_GLIBCXX_LONG_DOUBLE_COMPAT]: Likewise.
271         * src/compatibility.cc [_GLIBCXX_LONG_DOUBLE_COMPAT]: Likewise.
272         * config/locale/generic/c_locale.cc [_GLIBCXX_LONG_DOUBLE_COMPAT]:
273         Likewise.
274         * config/locale/gnu/c_locale.cc [_GLIBCXX_LONG_DOUBLE_COMPAT]:
275         Likewise.
276         * src/Makefile.am (libstdc++-symbol.ver): Append instead of
277         insert in the middle if port specific symbol file requests it.
278         (ldbl_compat_sources): New variable.
279         (sources): Use it.
280         (compatibility-ldbl.lo, compatibility-ldbl.o): New rules.
281         * src/Makefile.in: Rebuilt.
282         * testsuite/testsuite_abi.cc: Recognize GLIBCXX_LDBL_3.4,
283         GLIBCXX_LDBL_3.4.7, CXXABI_LDBL_1.3.    
284
285 2006-02-07  Paolo Carlini  <pcarlini@suse.de>   
286
287         * include/tr1/hashtable: Trivial formatting fixes.
288
289 2006-02-07  Paolo Carlini  <pcarlini@suse.de>
290             Zak Kipling  <zak@transversal.com>
291
292         PR libstdc++/26127
293         * include/tr1/hashtable (hashtable<>::key_equal): Define.
294         (hashtable<>::bucket, rehash_base<>::max_load_factor): Fix.
295         * testsuite/tr1/6_containers/unordered/hashtable/26127.cc: New.
296
297 2006-02-07  Paolo Carlini  <pcarlini@suse.de>
298
299         * include/tr1/cmath: New.
300         * include/tr1/cstdlib: Likewise.
301         * include/tr1/ctime: Likewise.
302         * include/tr1/math.h: Likewise. 
303         * include/tr1/stdlib.h: Likewise.
304         * include/Makefile.am: Add.
305         * acinclude.m4 ([GLIBCXX_CHECK_C99_TR1]): Add <math.h> checks.
306         * testsuite/tr1/8_c_compatibility/cmath/functions.cc: New.
307         * testsuite/tr1/8_c_compatibility/cstdlib/functions.cc: Likewise.
308         * testsuite/tr1/8_c_compatibility/cstdlib/types.cc: Likewise.
309         * testsuite/tr1/headers.cc: Update.     
310
311         * include/tr1/cinttypes: Do not provide abs and div, conflicting
312         with the above overloads for _Longlong types.
313         * include/tr1/inttypes.h: Adjust.
314         * testsuite/tr1/8_c_compatibility/cinttypes/functions.cc: Adjust.
315
316         * docs/html/ext/tr1.html: Update.
317         
318         * testsuite/tr1/8_c_compatibility/cwchar/functions.cc: Tweak.
319
320         * include/Makefile.in: Regenerate.
321         * config.h.in: Likewise.
322         * configure: Likewise.
323
324 2006-02-07  Mark Mitchell  <mark@codesourcery.com>
325
326         * testsuite/testsuite_tr1.h (test_property): New function.
327         * testsuite/tr1/4_metaprogramming/type_properties/extent/extent.cc 
328         (test01) 
329
330 2006-02-05  Paolo Carlini  <pcarlini@suse.de>
331
332         * include/tr1/cstdio: New.
333         * include/tr1/stdio.h: Likewise.
334         * include/Makefile.am: Add.
335         * testsuite/tr1/8_c_compatibility/cstdio/functions.cc: New.
336         * testsuite/tr1/headers.cc: Update.     
337         * docs/html/ext/tr1.html: Update.
338
339         * include/tr1/cwchar: Simplify, use _GLIBCXX_USE_C99, consistently
340         with the facilities in std::.
341         * include/tr1/cwctype: Likewise.
342         * testsuite/tr1/8_c_compatibility/cwchar/functions.cc: Tweak.
343         * testsuite/tr1/8_c_compatibility/cwctype/functions.cc: Likewise.
344         * acinclude.m4 ([GLIBCXX_CHECK_C99_TR1]): Remove <wchar.h> and
345         <wctype.h> checks.
346
347         * include/Makefile.in: Regenerate.
348         * config.h.in: Likewise.
349         * configure: Likewise.
350
351 2006-02-04  Paolo Carlini  <pcarlini@suse.de>
352
353         * testsuite/tr1/8_c_compatibility/cwchar/functions.cc: Fix.
354
355 2006-02-04  Paolo Carlini  <pcarlini@suse.de>
356
357         * testsuite/27_io/basic_stringbuf/in_avail/char/21955.cc: Avoid
358         warning on string constant.
359
360 2006-02-03  Paolo Carlini  <pcarlini@suse.de>
361
362         * include/tr1/cwchar: New.
363         * include/tr1/cwctype: Likewise.
364         * include/tr1/wchar.h: Likewise.
365         * include/tr1/wctype.h: Likewise.
366         * include/Makefile.am: Add.
367         * testsuite/tr1/8_c_compatibility/cwchar/functions.cc: New.
368         * testsuite/tr1/8_c_compatibility/cwctype/functions.cc: Likewise.
369         * testsuite/tr1/headers.cc: Update.
370         * acinclude.m4 ([GLIBCXX_CHECK_C99_TR1]): Add <wchar.h> and
371         <wctype.h> checks.
372         * docs/html/ext/tr1.html: Update.
373         * include/Makefile.in: Regenerate.
374         * config.h.in: Likewise.
375         * configure: Likewise.
376
377         * testsuite/tr1/8_c_compatibility/cctype/functions.cc: Cosmetic tweak.
378
379 2006-02-02  Paolo Carlini  <pcarlini@suse.de>
380
381         * include/tr1/cfloat: New.
382         * include/tr1/climits: Likewise.                
383         * include/tr1/cstdarg: Likewise.
384         * include/tr1/ctype.h: Likewise.
385         * include/tr1/fenv.h: Likewise.
386         * include/tr1/float.h: Likewise.
387         * include/tr1/inttypes.h: Likewise.
388         * include/tr1/limits.h: Likewise.
389         * include/tr1/stdint.h: Likewise.
390         * include/tr1/stdarg.h: Likewise.
391         * include/Makefile.am: Add.
392         * include/Makefile.in: Regenerate.
393         * docs/html/ext/tr1.html: Update.
394         * testsuite/tr1/headers.cc: New.
395
396         * include/tr1/cctype: Include <cctype> instead.
397
398 2006-01-31  Paolo Carlini  <pcarlini@suse.de>
399
400         PR libstdc++/21554
401         * include/tr1/array (array<>::_M_instance): Maximally align.
402         * testsuite/ext/array_allocator/2.cc: Do not xfail for powerpc.
403
404 2006-01-31  Ed Smith-Rowland  <3dw4rd@verizon.net>
405
406         * docs/html/faq/index.html ([1.0]): Replace references to CVS
407         with appropriate references to SVN.
408         ([1.3]): Likewise.
409         ([1.4]): Likewise.
410         ([2.3]): Likewise.
411         * docs/html/faq/index.txt: Regenerated.
412
413 2006-01-30  Gabriel Dos Reis  <gdr@integrable-solutions.net>
414
415         * include/bits/valarray_array.h (__valarray_default_construct):
416         Replace use __is_fundamental with __is_pod.
417         (__valarray_fill_construct): Likewise.
418         (__valarray_copy_construct): Likewise.
419         (__valarray_destroy_elements): Likewise.
420         (__valarray_copy): Likewise.
421
422 2006-01-30  Paolo Carlini  <pcarlini@suse.de>
423
424         * acinclude.m4 ([GLIBCXX_CHECK_C99_TR1]): Do the <inttypes.h>
425         checks only if the <stdint.h> checks are successful.
426         * configure: Regenerate.
427
428 2006-01-30  Paolo Carlini  <pcarlini@suse.de>
429
430         * include/tr1/cinttypes: New.
431         * include/Makefile.am: Add.
432         * testsuite/tr1/8_c_compatibility/cinttypes/functions: New.     
433         * testsuite/tr1/8_c_compatibility/cinttypes/types: Likewise.
434         * acinclude.m4 ([GLIBCXX_CHECK_C99_TR1]): Add <inttypes.h> checks.
435         * docs/html/ext/tr1.html: Update.
436         * include/Makefile.in: Regenerate.
437         * config.h.in: Likewise.
438         * configure: Likewise.
439
440         * testsuite/tr1/8_c_compatibility/cfenv/functions.cc: Cosmetic tweak.
441         * testsuite/tr1/8_c_compatibility/cfenv/types.cc: Likewise.
442
443         * testsuite/tr1/8_c_compatibility/cstdint/types.cc: Fix, check in
444         std::tr1.
445
446 2006-01-29  Paolo Carlini  <pcarlini@suse.de>
447
448         * include/tr1/cstdint: New.
449         * include/Makefile.am: Add.
450         * testsuite/tr1/8_c_compatibility/cstdint/types: New.
451         * acinclude.m4 ([GLIBCXX_CHECK_C99_TR1]): Add <stdint.h> checks.
452         * docs/html/ext/tr1.html: Update.
453         * include/Makefile.in: Regenerate.
454         * config.h.in: Likewise.
455         * configure: Likewise.
456
457         * testsuite/tr1/8_c_compatibility/cfenv/types.cc: Cosmetic tweak.
458
459 2006-01-29  Paolo Carlini  <pcarlini@suse.de>
460
461         PR libstdc++/26006
462         * acinclude.m4 ([GLIBCXX_CHECK_C99_TR1]): Tighten <ctype.h> and
463         <fenv.h> checks.
464         * configure: Regenerate.
465
466 2006-01-26  Paolo Carlini  <pcarlini@suse.de>
467
468         * include/std/std_bitset.h (bitset<>::_M_copy_to_string):
469         Call the internal _Unchecked_set(size_t) instead of set.
470
471 2006-01-26  Paolo Carlini  <pcarlini@suse.de>
472
473         * docs/html/install.html ([Tools you will need beforehand]):
474         Clarify that the de_DE locale is used by configure; clarify
475         that missing localedata leads to skipped tests, not fails.
476
477 2006-01-26  Paolo Carlini  <pcarlini@suse.de>
478
479         * include/tr1/cfenv: New.
480         * include/Makefile.am: Add.
481         * testsuite/tr1/8_c_compatibility/cfenv/functions.cc: New.
482         * testsuite/tr1/8_c_compatibility/cfenv/types.cc: Likewise.
483         * acinclude.m4 ([GLIBCXX_CHECK_C99_TR1]): Add <fenv.h> checks.
484         * docs/html/ext/tr1.html: Update; add note.
485         * include/Makefile.in: Regenerate.
486         * config.h.in: Likewise.
487         * configure: Likewise.  
488
489         * testsuite/tr1/8_c_compatibility/complex/functions.cc: Tweak.
490         * testsuite/tr1/8_c_compatibility/cctype/functions.cc: Likewise.
491
492         * docs/html/faq/index.html: Fix link to tr1.html text; fix
493         formatting.
494
495 2006-01-25  Paolo Carlini  <pcarlini@suse.de>
496
497         * include/tr1/cctype: New.
498         * include/Makefile.am: Add.
499         * testsuite/tr1/8_c_compatibility/cctype/functions.cc: New.
500         * include/Makefile.in: Regenerate.
501
502         * acinclude.m4 ([GLIBCXX_CHECK_C99_TR1]): New, check for C99
503         support to TR1, Chapter 8.
504         * configure.ac: Use it.
505         * include/tr1/complex: Adjust.
506         * config.h.in: Regenerate.
507         * configure: Likewise.
508
509 2006-01-25  Benjamin Kosnik  <bkoz@redhat.com>
510
511         * docs/html/configopts.html: Tweak docs.
512
513         * libsupc++/eh_personality.cc: Fix typos.
514
515 2006-01-24  Paolo Carlini  <pcarlini@suse.de>
516
517         PR libstdc++/25649
518         * include/std/std_istream.h (operator>>(short&), operator>>(int&)):
519         Move out of line...
520         * include/bits/istream.tcc: ... here.
521         * include/std/std_ostream.h (operator<<(short), operator<<(int)):
522         Move out of line...
523         * include/bits/ostream.tcc: ... here.
524
525 2006-01-24  Ed Smith-Rowland  <3dw4rd@verizon.net>
526
527         * docs/html/faq/index.html ([5.2]): Mention TR1 and point to
528         paragraph [5.5], describing it.
529         ([5.5]): New.
530         * docs/html/ext/tr1.html: New.
531
532 2006-01-20  Benjamin Kosnik  <bkoz@redhat.com>
533
534         * acinclude.m4 (GLIBCXX_CHECK_LINKER_FEATURES): Verbose ld version
535         reporting.  Disable --gc-sections for old binutils, by version.
536         * configure: Regenerate.
537
538 2006-01-20  Joseph S. Myers  <joseph@codesourcery.com>
539
540         PR libstdc++/25524
541         * include/Makefile.am: Install host-specific headers in multilib
542         subdirectory.
543         * include/Makefile.in: Regenerate.
544
545 2006-01-19  Paolo Carlini  <pcarlini@suse.de>
546
547         Implement list::splice (and merge) bits of N1599
548         * include/bits/stl_list.h (list<>::_M_check_equal_allocators): New.
549         (list<>::splice(iterator, list&), splice(iterator, list&, iterator),
550         splice(iterator, list&, iterator, iterator)): Use it.
551         * include/bits/list.tcc (list<>::merge(list&), merge(list&,
552         _StrictWeakOrdering)): Likewise.
553         * testsuite/23_containers/list/operators/5.cc: New.
554
555 2006-01-19  H.J. Lu  <hongjiu.lu@intel.com>
556
557         PR libstdc++/25797
558         * acinclude.m4 (GLIBCXX_CHECK_LINKER_FEATURES): Remove -Werror
559         from CFLAGS.  Check if linker really supports --gc-sections.
560         * configure: Regenerated.
561
562 2006-01-18  Paul Brook  <paul@codesourcery.com>
563
564         * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Use std::abort.
565
566 2006-01-18  Paolo Carlini  <pcarlini@suse.de>
567
568         * include/bits/allocator.h: Include <bits/cpp_type_traits.h>.
569
570 2006-01-18  Perry Smith  <pedz@easesoftware.net>
571
572         PR libstdc++/25823
573         PR libstdc++/25824
574         * libsupc++/eh_alloc.cc: Fix return type of memset declaration.
575         * libsupc++/eh_globals.cc: If !_GLIBCXX_HOSTED declare malloc and free.
576
577 2006-01-18  Paolo Carlini  <pcarlini@suse.de>
578
579         * include/ext/pb_assoc/detail/value_type_adapter/
580         value_type_adapter.hpp: Include <tr1/type_traits>.
581         * include/ext/pb_assoc/detail/value_type_adapter/
582         it_value_type_traits.hpp (it_value_type_traits_<>::value_type_holder):
583         Use tr1::aligned_storage and tr1::alignment_of.
584         (it_value_type_traits_<>::buf_t): Remove.
585         (it_value_type_traits_<>::make_valid, recast): Adjust.
586
587 2006-01-16  Benjamin Kosnik  <bkoz@redhat.com>
588
589         PR libstdc++/25797
590         * acinclude.m4 (GLIBCXX_CHECK_LINKER_FEATURES): Add -Werror to
591         CFLAGS for --gc-sections test.  Correct compile test.
592         * configure: Regenerated.
593         
594 2006-01-15  Paolo Carlini  <pcarlini@suse.de>
595             Gabriel Dos Reis  <gdr@integrable-solutions.net>
596
597         PR libstdc++/25626
598         * include/std/std_valarray.h (valarray(const slice_array<>&),
599         valarray(const gslice_array<>&), valarray(const mask_array<>&),
600         valarray(const indirect_array<>&), valarray(const _Expr<>&)):
601         Forward to __valarray_copy_construct, not __valarray_copy.
602         * include/bits/valarray_array.h
603         (__valarray_copy_construct(_Array<>, _Array<>, _Array<>, size_t),
604         __valarray_copy_construct(_Array<>, size_t, size_t, _Array<>)):
605         New.
606
607 2006-01-15  Paolo Carlini  <pcarlini@suse.de>
608
609         * testsuite/tr1/8_c_compatibility/complex/overloads_int.cc:
610         Fix norm test, use casts everywhere.
611
612 2006-01-14  Paolo Carlini  <pcarlini@suse.de>
613
614         * testsuite/testsuite_tr1.h: Add missing include; use std::__are_same.
615
616 2006-01-14  Paolo Carlini  <pcarlini@suse.de>
617
618         * testsuite/tr1/8_c_compatibility/complex/overloads_int.cc:
619         Fix wrong test (don't pick by mistake the (const complex<>&, int)
620         overload); add some.
621
622 2006-01-13  Paolo Carlini  <pcarlini@suse.de>
623             Howard Hinnant  <hhinnant@apple.com>
624
625         * include/tr1/complex (arg, conj, imag, norm, polar, pow, real):
626         Add, implementing TR1, 8.1.9.
627         (__promote_2): New.
628         * include/tr1/common.h: New, provides __promote, __promote_2.
629         * include/Makefile.am: Add.
630         * include/Makefile.in: Regenerate.
631         * testsuite/testsuite_tr1.h (check_ret_type): New.
632         * testsuite/tr1/8_c_compatibility/complex/overloads_int.cc: New.
633         * testsuite/tr1/8_c_compatibility/complex/overloads_float.cc: New.
634
635 2006-01-12  Benjamin Kosnik  <bkoz@redhat.com>
636
637         * acinclude.m4(GLIBCXX_CHECK_LINKER_FEATURES): Enable
638         --gc-sections in more cases.    
639         * configure: Regenerate.
640         * scripts/testsuite_flags.in: Remove SECTION_LDFLAGS.
641         * scripts/testsuite_flags.in (cxxldflags): New.
642         * testsuite/lib/libstdc++.exp (v3_target_compile): Add cxxldflags.
643         (libstdc++_init ): Same.
644                 
645 2006-01-12  Jan Beulich  <jbeulich@novell.com>
646
647         * crossconfig.m4: Add AC_DEFINE-s for HAVE_HYPOT, HAVE_ISINF, and
648         HAVE_ISNAN for *-*-netware*.
649         * configure: Refresh.
650
651 2006-01-11  Benjamin Kosnik  <bkoz@redhat.com>
652
653         * acinclude.m4(GLIBCXX_CHECK_LINKER_FEATURES): Use -Wl,-z,relro if
654         possible.  
655         * configure: Regenerate.
656
657 2006-01-10  Paolo Carlini  <pcarlini@suse.de>
658
659         * include/tr1/complex: New file, hosts the additions to header
660         <complex> described in TR1, Chapter 8 [tr.c99].
661         * include/Makefile.am: Add.
662         * include/Makefile.in: Regenerate.
663         * testsuite/tr1/8_c_compatibility/complex/functions.cc: New.
664
665 2006-01-09  Paolo Carlini  <pcarlini@suse.de>
666
667         PR libstdc++/25658
668         * testsuite/23_containers/deque/cons/assign/1.cc: Divide
669         sizes by 10.
670
671 2006-01-08  Paolo Carlini  <pcarlini@suse.de>
672
673         PR libstdc++/22102 (insert as close to hint as possible)
674         * include/bits/stl_tree.h (_Rb_tree<>::_M_insert_lower,
675         _M_insert_equal_lower): New.
676         (_M_insert_equal(iterator, const _Val&),
677         _M_insert_equal(const_iterator, const _Val&)): Use the above.
678         * docs/html/ext/howto.html: Add an entry for DR 233.
679         * testsuite/23_containers/multiset/modifiers/insert/22102.cc: New.
680         * testsuite/23_containers/multimap/modifiers/insert/22102.cc: New.
681
682         * testsuite/23_containers/set/insert/: Move...
683         * testsuite/23_containers/set/modifiers/insert/: ...here.
684         * testsuite/23_containers/map/insert/: Move...
685         * testsuite/23_containers/map/modifiers/insert/: ...here.
686         * testsuite/23_containers/multiset/insert/: Move...
687         * testsuite/23_containers/multiset/modifiers/insert/: ...here.
688
689 2006-01-06  Paolo Carlini  <pcarlini@suse.de>
690
691         * include/bits/stl_tree.h (_Rb_tree<>::insert_unique): Rename
692         to _M_insert_unique.
693         (_Rb_tree<>::insert_equal): Rename to _M_insert_equal.
694         * include/bits/stl_map.h (class map<>): Update callers.
695         * include/bits/stl_set.h (class set<>): Likewise.
696         * include/bits/stl_multimap.h (class multimap<>): Likewise.
697         * include/bits/stl_multiset.h (class multiset<>): Likewise.
698
699 2006-01-06  Paolo Carlini  <pcarlini@suse.de>
700
701         * include/bits/stl_bvector.h (vector<bool>::erase(iterator,
702         iterator)): Just use _M_erase_at_end.
703
704 2006-01-06  Paolo Carlini  <pcarlini@suse.de>
705
706         * include/bits/stl_bvector.h (class vector<bool>): Move all the
707         helpers under protected access mode, consistently with the primary
708         vector template.
709         (vector<bool>::_M_erase_at_end): Add.
710         (erase(iterator, iterator), clear, resize, _M_fill_assign,
711         _M_assign_aux): Use it.
712         * testsuite/23_containers/vector/bool/modifiers/erase/1.cc: New.
713
714 2006-01-06  Paolo Carlini  <pcarlini@suse.de>
715
716         Implement Option 3 of DR 431 for vector<bool>.
717         * include/bits/stl_bvector.h (class _Bvector_base): Change to
718         a struct, consistently with the primary vector template.
719         (class vector<bool>): Adjust to protected inheritance, tidy
720         typedefs.
721         (_Bvector_base<>::_M_get_Bit_allocator): Add.
722         (vector<bool>::vector(const vector&)): Use it.
723         (_Bvector_base<>::get_allocator): Tidy.
724         (vector<bool>::swap): Use __alloc_swap.
725         * testsuite/23_containers/vector/bool/modifiers/swap/1.cc: New.
726         * testsuite/23_containers/vector/bool/modifiers/swap/2.cc: New.
727
728 2006-01-05  Paolo Carlini  <pcarlini@suse.de>
729         
730         * testsuite/testsuite_hooks.h (test_tm(unsigned)): Change to
731         take all the tm members.
732         * testsuite/testsuite_hooks.cc (test_tm): Adjust.
733         * testsuite/22_locale/time_put/put/wchar_t/10.cc: Update.
734         * testsuite/22_locale/time_put/put/wchar_t/1.cc: Likewise.
735         * testsuite/22_locale/time_put/put/wchar_t/2.cc: Likewise.
736         * testsuite/22_locale/time_put/put/wchar_t/3.cc: Likewise.
737         * testsuite/22_locale/time_put/put/wchar_t/4.cc: Likewise.
738         * testsuite/22_locale/time_put/put/wchar_t/5.cc: Likewise.
739         * testsuite/22_locale/time_put/put/wchar_t/6.cc: Likewise.
740         * testsuite/22_locale/time_put/put/wchar_t/7.cc: Likewise.
741         * testsuite/22_locale/time_put/put/wchar_t/8.cc: Likewise.
742         * testsuite/22_locale/time_put/put/wchar_t/9.cc: Likewise.
743         * testsuite/22_locale/time_put/put/wchar_t/17038.cc: Likewise.
744         * testsuite/22_locale/time_put/put/char/10.cc: Likewise.
745         * testsuite/22_locale/time_put/put/char/1.cc: Likewise.
746         * testsuite/22_locale/time_put/put/char/2.cc: Likewise.
747         * testsuite/22_locale/time_put/put/char/3.cc: Likewise.
748         * testsuite/22_locale/time_put/put/char/4.cc: Likewise.
749         * testsuite/22_locale/time_put/put/char/5.cc: Likewise.
750         * testsuite/22_locale/time_put/put/char/6.cc: Likewise.
751         * testsuite/22_locale/time_put/put/char/7.cc: Likewise.
752         * testsuite/22_locale/time_put/put/char/8.cc: Likewise.
753         * testsuite/22_locale/time_put/put/char/9.cc: Likewise.
754         * testsuite/22_locale/time_put/put/char/17038.cc: Likewise.
755         * testsuite/22_locale/time_get/get_year/wchar_t/1.cc: Likewise.
756         * testsuite/22_locale/time_get/get_year/wchar_t/3.cc: Likewise.
757         * testsuite/22_locale/time_get/get_year/char/1.cc: Likewise.
758         * testsuite/22_locale/time_get/get_year/char/3.cc: Likewise.
759         * testsuite/22_locale/time_get/get_monthname/wchar_t/1.cc: Likewise.
760         * testsuite/22_locale/time_get/get_monthname/wchar_t/2.cc: Likewise.
761         * testsuite/22_locale/time_get/get_monthname/char/1.cc: Likewise.
762         * testsuite/22_locale/time_get/get_monthname/char/2.cc: Likewise.
763         * testsuite/22_locale/time_get/get_weekday/wchar_t/1.cc: Likewise.
764         * testsuite/22_locale/time_get/get_weekday/wchar_t/2.cc: Likewise.
765         * testsuite/22_locale/time_get/get_weekday/wchar_t/3.cc: Likewise.
766         * testsuite/22_locale/time_get/get_weekday/char/1.cc: Likewise.
767         * testsuite/22_locale/time_get/get_weekday/char/2.cc: Likewise.
768         * testsuite/22_locale/time_get/get_weekday/char/3.cc: Likewise.
769         * testsuite/22_locale/time_get/get_date/wchar_t/12750.cc: Likewise.
770         * testsuite/22_locale/time_get/get_date/wchar_t/12750.cc: Likewise.
771         * testsuite/22_locale/time_get/get_date/wchar_t/1.cc: Likewise.
772         * testsuite/22_locale/time_get/get_date/wchar_t/2.cc: Likewise.
773         * testsuite/22_locale/time_get/get_date/wchar_t/3.cc: Likewise.
774         * testsuite/22_locale/time_get/get_date/char/12750.cc: Likewise.
775         * testsuite/22_locale/time_get/get_date/char/12750.cc: Likewise.
776         * testsuite/22_locale/time_get/get_date/char/1.cc: Likewise.
777         * testsuite/22_locale/time_get/get_date/char/2.cc: Likewise.
778         * testsuite/22_locale/time_get/get_date/char/3.cc: Likewise.
779         * testsuite/22_locale/time_get/get_time/wchar_t/1.cc: Likewise.
780         * testsuite/22_locale/time_get/get_time/wchar_t/2.cc: Likewise.
781         * testsuite/22_locale/time_get/get_time/wchar_t/3.cc: Likewise.
782         * testsuite/22_locale/time_get/get_time/wchar_t/4.cc: Likewise.
783         * testsuite/22_locale/time_get/get_time/char/1.cc: Likewise.
784         * testsuite/22_locale/time_get/get_time/char/2.cc: Likewise.
785         * testsuite/22_locale/time_get/get_time/char/3.cc: Likewise.
786         * testsuite/22_locale/time_get/get_time/char/4.cc: Likewise.
787
788 2006-01-05  Paolo Carlini  <pcarlini@suse.de>
789         
790         * testsuite/testsuite_hooks.h (test_tm(unsigned)): New.
791         * testsuite/testsuite_hooks.cc (test_tm(unsigned)): Define.
792         * testsuite/22_locale/time_put/put/wchar_t/10.cc: Use it.
793         * testsuite/22_locale/time_put/put/wchar_t/1.cc: Likewise.
794         * testsuite/22_locale/time_put/put/wchar_t/2.cc: Likewise.
795         * testsuite/22_locale/time_put/put/wchar_t/3.cc: Likewise.
796         * testsuite/22_locale/time_put/put/wchar_t/4.cc: Likewise.
797         * testsuite/22_locale/time_put/put/wchar_t/5.cc: Likewise.
798         * testsuite/22_locale/time_put/put/wchar_t/6.cc: Likewise.
799         * testsuite/22_locale/time_put/put/wchar_t/7.cc: Likewise.
800         * testsuite/22_locale/time_put/put/wchar_t/8.cc: Likewise.
801         * testsuite/22_locale/time_put/put/wchar_t/9.cc: Likewise.
802         * testsuite/22_locale/time_put/put/wchar_t/17038.cc: Likewise.
803         * testsuite/22_locale/time_put/put/char/10.cc: Likewise.
804         * testsuite/22_locale/time_put/put/char/1.cc: Likewise.
805         * testsuite/22_locale/time_put/put/char/2.cc: Likewise.
806         * testsuite/22_locale/time_put/put/char/3.cc: Likewise.
807         * testsuite/22_locale/time_put/put/char/4.cc: Likewise.
808         * testsuite/22_locale/time_put/put/char/5.cc: Likewise.
809         * testsuite/22_locale/time_put/put/char/6.cc: Likewise.
810         * testsuite/22_locale/time_put/put/char/7.cc: Likewise.
811         * testsuite/22_locale/time_put/put/char/8.cc: Likewise.
812         * testsuite/22_locale/time_put/put/char/9.cc: Likewise.
813         * testsuite/22_locale/time_put/put/char/17038.cc: Likewise.
814         * testsuite/22_locale/time_get/get_year/wchar_t/1.cc: Likewise.
815         * testsuite/22_locale/time_get/get_year/wchar_t/3.cc: Likewise.
816         * testsuite/22_locale/time_get/get_year/char/1.cc: Likewise.
817         * testsuite/22_locale/time_get/get_year/char/3.cc: Likewise.
818         * testsuite/22_locale/time_get/get_monthname/wchar_t/1.cc: Likewise.
819         * testsuite/22_locale/time_get/get_monthname/wchar_t/2.cc: Likewise.
820         * testsuite/22_locale/time_get/get_monthname/char/1.cc: Likewise.
821         * testsuite/22_locale/time_get/get_monthname/char/2.cc: Likewise.
822         * testsuite/22_locale/time_get/get_weekday/wchar_t/1.cc: Likewise.
823         * testsuite/22_locale/time_get/get_weekday/wchar_t/2.cc: Likewise.
824         * testsuite/22_locale/time_get/get_weekday/wchar_t/3.cc: Likewise.
825         * testsuite/22_locale/time_get/get_weekday/char/1.cc: Likewise.
826         * testsuite/22_locale/time_get/get_weekday/char/2.cc: Likewise.
827         * testsuite/22_locale/time_get/get_weekday/char/3.cc: Likewise.
828         * testsuite/22_locale/time_get/get_date/wchar_t/12750.cc: Likewise.
829         * testsuite/22_locale/time_get/get_date/wchar_t/12750.cc: Likewise.
830         * testsuite/22_locale/time_get/get_date/wchar_t/1.cc: Likewise.
831         * testsuite/22_locale/time_get/get_date/wchar_t/2.cc: Likewise.
832         * testsuite/22_locale/time_get/get_date/wchar_t/3.cc: Likewise.
833         * testsuite/22_locale/time_get/get_date/char/12750.cc: Likewise.
834         * testsuite/22_locale/time_get/get_date/char/12750.cc: Likewise.
835         * testsuite/22_locale/time_get/get_date/char/1.cc: Likewise.
836         * testsuite/22_locale/time_get/get_date/char/2.cc: Likewise.
837         * testsuite/22_locale/time_get/get_date/char/3.cc: Likewise.
838         * testsuite/22_locale/time_get/get_time/wchar_t/1.cc: Likewise.
839         * testsuite/22_locale/time_get/get_time/wchar_t/2.cc: Likewise.
840         * testsuite/22_locale/time_get/get_time/wchar_t/3.cc: Likewise.
841         * testsuite/22_locale/time_get/get_time/wchar_t/4.cc: Likewise.
842         * testsuite/22_locale/time_get/get_time/char/1.cc: Likewise.
843         * testsuite/22_locale/time_get/get_time/char/2.cc: Likewise.
844         * testsuite/22_locale/time_get/get_time/char/3.cc: Likewise.
845         * testsuite/22_locale/time_get/get_time/char/4.cc: Likewise.
846
847 2006-01-04  Paolo Carlini  <pcarlini@suse.de>
848
849         * include/ext/sso_string_base.h (__sso_string_base<>::_M_dataplus):
850         Use _CharT_alloc_type as base class.
851         (_M_get_allocator, _M_swap, _M_create, _M_destroy): Adjust.
852         * include/ext/vstring.h (get_allocator): Tidy.
853
854 2006-01-04  Paolo Carlini  <pcarlini@suse.de>
855
856         Implement Option 3 of DR 431 for all the containers.
857         * include/bits/allocator.h (struct __alloc_swap): Add, swaps
858         allocators, optimized to nothing in case they are empty.
859         * include/bits/stl_deque.h (deque<>::swap): Use it.
860         * include/bits/stl_list.h (list<>::swap): Likewise.
861         * include/bits/stl_tree.h (_Rb_tree<>::swap): Likewise.
862         * include/bits/stl_vector.h (vector<>::swap): Likewise.
863         * include/tr1/hashtable (hashtable<>::swap): Likewise.
864         * include/ext/rc_string_base.h (__rc_string_base<>::_M_swap):
865         Likewise.
866         * include/ext/sso_string_base.h (__sso_string_base<>::_M_swap):
867         Likewise.
868         * include/ext/vstring_util.h (__vstring_utility<>::_Alloc_hider):
869         Clean-up (now vstring uses the generic __alloc_swap facility).
870         * include/tr1/unordered_map: Adjust includes.
871         * include/tr1/unordered_set: Likewise.
872         * docs/html/ext/howto.html: Add an entry for DR 431.
873         * testsuite/23_containers/deque/modifiers/swap.cc: Move to...
874         * testsuite/23_containers/deque/modifiers/swap/1.cc: ... here.          
875         * testsuite/23_containers/deque/modifiers/swap/2.cc: New.
876         * testsuite/23_containers/deque/modifiers/swap/3.cc: New.
877         * testsuite/23_containers/list/modifiers/swap.cc: Move to...
878         * testsuite/23_containers/list/modifiers/swap/1.cc: ... here.           
879         * testsuite/23_containers/list/modifiers/swap/2.cc: New.
880         * testsuite/23_containers/list/modifiers/swap/3.cc: New.
881         * testsuite/23_containers/vector/modifiers/swap.cc: Move to...
882         * testsuite/23_containers/vector/modifiers/swap/1.cc: ... here.         
883         * testsuite/23_containers/vector/modifiers/swap/2.cc: New.
884         * testsuite/23_containers/vector/modifiers/swap/3.cc: New.
885         * testsuite/23_containers/set/modifiers/swap.cc: Move to...
886         * testsuite/23_containers/set/modifiers/swap/1.cc: ... here.            
887         * testsuite/23_containers/set/modifiers/swap/2.cc: New.
888         * testsuite/23_containers/set/modifiers/swap/3.cc: New.
889         * testsuite/23_containers/map/modifiers/swap.cc: Move to...
890         * testsuite/23_containers/map/modifiers/swap/1.cc: ... here.            
891         * testsuite/23_containers/map/modifiers/swap/2.cc: New.
892         * testsuite/23_containers/map/modifiers/swap/3.cc: New.
893         * testsuite/23_containers/multiset/modifiers/swap.cc: Move to...
894         * testsuite/23_containers/multiset/modifiers/swap/1.cc: ... here.               
895         * testsuite/23_containers/multiset/modifiers/swap/2.cc: New.
896         * testsuite/23_containers/multiset/modifiers/swap/3.cc: New.
897         * testsuite/23_containers/multimap/modifiers/swap.cc: Move to...
898         * testsuite/23_containers/multimap/modifiers/swap/1.cc: ... here.               
899         * testsuite/23_containers/multimap/modifiers/swap/2.cc: New.
900         * testsuite/23_containers/multimap/modifiers/swap/3.cc: New.
901         * testsuite/tr1/6_containers/unordered/swap/unordered_set/1.cc: New.    
902         * testsuite/tr1/6_containers/unordered/swap/unordered_set/2.cc: New.
903         * testsuite/tr1/6_containers/unordered/swap/unordered_map/1.cc: New.    
904         * testsuite/tr1/6_containers/unordered/swap/unordered_map/2.cc: New.
905         * testsuite/tr1/6_containers/unordered/swap/unordered_multiset/1.cc: New.       
906         * testsuite/tr1/6_containers/unordered/swap/unordered_multiset/2.cc: New.
907         * testsuite/tr1/6_containers/unordered/swap/unordered_multimap/1.cc: New.       
908         * testsuite/tr1/6_containers/unordered/swap/unordered_multimap/2.cc: New.
909
910 2006-01-03  Paolo Carlini  <pcarlini@suse.de>
911
912         * include/bits/stl_list.h (_List_base<>::_M_get_Node_allocator): Add.
913         (_M_get_Tp_allocator, get_allocator): Tidy.
914         (list<>::list(const list&), insert(iterator, size_type, const
915         value_type&), insert(iterator, _InputIterator, _InputIterator)):
916         Use _M_get_Node_allocator.
917         * include/bits/stl_tree.h (_Rb_tree<>::_M_get_Node_allocator()): Add.
918         (_Rb_tree(const _Rb_tree<>&): Use it.
919         * include/bits/stl_deque.h (_Deque_base<>::_M_get_map_allocator,
920         get_allocator): Tidy.
921         * include/bits/stl_vector.h (_Vector_base<>::get_allocator): Tidy.
922         * testsuite/23_containers/map/operators/1_neg.cc: Adjust dg-error
923         line numbers.
924         * testsuite/23_containers/set/operators/1_neg.cc: Likewise.
925         
926         * testsuite/testsuite_allocator.h (uneq_allocator<>::swap): Fix.
927
928         * testsuite/testsuite_allocator.h (class uneq_allocator): A simple
929         non-empty testing allocator which can be endowed of a "personality"
930         at construction time.
931
932 2006-01-03  Paolo Carlini  <pcarlini@suse.de>
933
934         * testsuite/27_io/basic_stringstream/str/char/1.cc: Initialize vars.
935         * testsuite/27_io/basic_stringstream/str/wchar_t/1.cc: Likewise.
936         * testsuite/27_io/basic_istringstream/str/char/1.cc: Likewise, tidy.
937         * testsuite/27_io/basic_istringstream/str/wchar_t/1.cc: Likewise.
938
939 2006-01-02  Mark Mitchell  <mark@codesourcery.com>
940
941         * src/Makefile.am (LTLDFLAGS): New variable. 
942         (CXXLINK): Use LTLDFLAGS.
943         * src/Makefile.in: Regenerated.
944         * libsupc++/Makefile.am (LTLDFLAGS): New variable. 
945         (CXXLINK): Use LTLDFLAGS.
946         * libsupc++/Makefile.in: Regenerated.
947
948 2006-01-02  Paolo Carlini  <pcarlini@suse.de>
949
950         PR libstdc++/24645
951         * include/std/std_istream.h (basic_istream<>::_M_extract): New.
952         (operator>>(bool&), operator>>(short&), operator>>(unsigned short&),
953         operator>>(int&), operator>>(unsigned int&), operator>>(long&),
954         operator>>(unsigned long&), operator>>(long long&), operator>>
955         (unsigned long long&), operator>>(float&), operator>>(double&),
956         operator>>(long double&), operator>>(void*&)): Use it.
957         * include/bits/istream.tcc (basic_istream<>::_M_extract): Define.
958         * include/std/std_ostream.h (basic_ostream<>::_M_insert): New.
959         (operator<<(long), operator<<(unsigned long), operator<<(bool),
960         operator<<(short), operator<<(unsigned short), operator<<(int),
961         operator<<(unsigned int), operator<<(long long), operator<<
962         (unsigned long long), operator<<(double), operator<<(float),
963         operator<<(long double), operator<<(const void*): Use it.
964         * include/bits/ostream.tcc (basic_ostream<>::_M_insert): Define.
965         * src/istream-inst.cc: Add _M_extract instantiations.
966         * src/ostream-inst.cc: Add _M_insert instantiations.
967         * config/abi/pre/gnu.ver: Export the new symbols @GLIBCXX_3.4.7;
968         detail existing @GLIBCXX_3.4 exports of basic_ostream, num_put,
969         money_put, etc., symbols to avoid exporting _M_insert symbols
970         @GLIBCXX_3.4.