OSDN Git Service

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