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