OSDN Git Service

2005-12-10 Paolo Carlini <pcarlini@suse.de>
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / ChangeLog
1 2005-12-10  Paolo Carlini  <pcarlini@suse.de>
2
3         * include/ext/sso_string_base.h (__sso_string_base<>::_M_compare):
4         Add, specialized for char and wchar_t to immediately return true
5         when a string is compared to itself.
6         * include/ext/rc_string_base.h (__rc_string_base<>::_M_compare):
7         Likewise, for the same _Rep.
8         * include/ext/vstring.h (compare(const string&)): Use it.
9
10         * include/ext/sso_string_base.h (__sso_string_base<>::_M_destroy):
11         Deallocate passed size + 1.
12         (_M_dispose, _M_reserve): Adjust.
13
14 2005-12-09  Paolo Carlini  <pcarlini@suse.de>
15             Howard Hinnant  <hhinnant@apple.com>
16
17         PR libstdc++/25288
18         * include/bits/stl_list.h (list<>::_M_insert_dispatch, _M_fill_insert):
19         Remove.
20         (_M_initialize_dispatch, _M_fill_initialize): Add.
21         (list(size_type, const value_type&, const allocator_type&),
22         list(const list&), list(_InputIterator, _InputIterator,
23         const allocator_type&): Use the latter.
24         (insert(iterator, size_type, const value_type&), insert(iterator,
25         _InputIterator, _InputIterator)): Use construction & splice.
26         * testsuite/23_containers/list/modifiers/insert/25288.cc: New.
27         * testsuite/testsuite_allocator.h (class throw_allocator): Add.
28
29         * include/bits/stl_list.h (list<>::insert, erase): Fix wrong comments.
30
31 2005-12-08  Paolo Carlini  <pcarlini@suse.de>
32
33         * include/bits/stl_vector.h (vector<>::size, resize, capacity,
34         operator[]): Avoid troubles with ADL, user defined operators
35         and __normal_iterator.
36         (_M_erase_at_end): Fix to take a pointer.
37         (clear): Adjust call.
38         * include/bits/vector.tcc (vector<>::insert(iterator, const
39         value_type&), erase(iterator, iterator), operator=(const
40         vector<>&), _M_assign_aux(input_iterator_tag), _M_insert_aux,
41         _M_fill_insert, _M_range_insert): Likewise.
42         (_M_fill_assign, _M_assign_aux(forward_iterator_tag)): Adjust
43         _M_erase_at_end call.
44         * testsuite/23_containers/vector/types/1.cc: New.
45
46 2005-12-08  Paolo Carlini  <pcarlini@suse.de>
47
48         PR libstdc++/24617
49         * include/bits/stl_vector.h (vector<>::_M_erase_at_end): New.
50         (vector<>::clear, resize): Use it.
51         * include/bits/vector.tcc (vector<>::erase(iterator, iterator),
52         _M_fill_assign, _M_assign_aux): Likewise.
53
54         * testsuite/23_containers/vector/modifiers/erase/1.cc: New.
55
56 2005-12-07  Paolo Carlini  <pcarlini@suse.de>
57
58         * docs/html/configopts.html ([--enable-libstdcxx-allocator]):
59         Mention the SGI pooled allocator.
60
61 2005-12-06  Paolo Carlini  <pcarlini@suse.de>
62
63         * include/bits/basic_string.h (insert(iterator, _CharT),
64         erase(iterator), erase(iterator, iterator)): Avoid troubles
65         with ADL, user defined operators and __normal_iterator.
66         * include/bits/stl_iterator.h (operator-(const __normal_iterator
67         <_Iterator, _Container>&, const __normal_iterator<_Iterator,
68         _Container>&)): Add overload for left and right iterators of
69         the same type.
70         * include/debug/safe_iterator.h (operator-(const _Safe_iterator
71         <_Iterator, _Sequence>&, const _Safe_iterator<_Iterator,
72         _Sequence>&)): Likewise.
73         * testsuite/21_strings/basic_string/types/1.cc: New.
74
75 2005-12-05  Paolo Carlini  <pcarlini@suse.de>
76
77         * include/ext/sso_string_base.h (__sso_string_base<>::_M_assign):
78         Simplify, avoid pointless reallocations.
79
80 2005-12-04  Paolo Carlini  <pcarlini@suse.de>
81
82         * include/ext/sso_string_base.h (__sso_string_base<>::_M_reserve):
83         Simplify.
84
85 2005-12-04  Paolo Carlini  <pcarlini@suse.de>
86
87         * include/ext/vstring.h (__versa_string<>::operator+, all
88         versions): Move out of line...
89         * include/ext/vstring.tcc (__versa_string<>::operator+): ...
90         here; consistently use reserve for the benefit of sso_string_base;
91         prefer push_back to single-char append when appropriate.
92
93         * include/ext/vstring.h (__versa_string<>::push_back): Don't
94         call _M_reserve, _M_mutate instead.
95         (reserve): Just forward to _M_reserve.
96         * include/ext/vstring.tcc (__versa_string<>::_M_reserve): Remove.
97         * include/ext/rc_string_base.h (__rc_string_base<>::_M_reserve): Also
98         do the initial checks (first on length, in case __res == capacity).
99         * include/ext/sso_string_base.h (__sso_string_base<>::_M_reserve:
100         Likewise; don't call _M_set_length unnecessarily.
101
102 2005-12-04  Paolo Carlini  <pcarlini@suse.de>
103
104         * include/ext/vstring.h (__versa_string<>::_M_append): New.
105         (append(const __versa_string&), append(const __versa_string&,
106         size_type, size_type), append(const _CharT*, size_type),
107         append(const _CharT*)): Use it.
108         (append(size_type, _CharT)): Delegate to _M_replace_aux.
109         (assign(const __versa_string&, size_type, size_type),
110         assign(const _CharT*), replace(size_type, size_type,
111         const _CharT*, size_type)): Forward to _M_replace.
112         * include/ext/vstring.tcc (__versa_string<>::_M_append):
113         Define, core append functionality.
114         (_M_replace): Simplify, move __s == 0 case to _M_replace_aux.
115         (_M_replace_aux): Reorganize, don't call _M_replace.
116
117 2005-12-04  Paolo Carlini  <pcarlini@suse.de>
118
119         * include/ext/vstring.tcc (__versa_string<>::_M_replace):
120         Perform _M_check_length at the beginning and remove it from ...
121         (replace, _M_replace_dispatch, _M_replace_aux, assign): ... here.
122         (assign): Now move inline.
123         (resize): Don't call _M_check_length redundantly, append does.
124
125 2005-12-04  Paolo Carlini  <pcarlini@suse.de>
126
127         * include/ext/sso_string_base.h (__sso_string_base<>::_M_get_allocator):
128         Add non const version.
129         * include/ext/rc_string_base.h (__rc_string_base<>::_M_get_allocator):
130         Likewise.
131         
132         * include/ext/sso_string_base.h (__sso_string_base<>::_M_erase): Add.
133         * include/ext/rc_string_base.h (__rc_string_base<>::_M_erase): Likewise.
134         (_M_leak_hard): Use it.
135         * include/ext/vstring.h (__versa_string<>::clear, erase, all
136         versions): Use it.
137         * include/ext/vstring.tcc (__versa_string<>::resize): Likewise.
138
139         * include/ext/vstring.h (__versa_string<>::_M_replace_safe):
140         Remove.
141         * include/ext/vstring.h (__versa_string<>::_M_replace): New, does
142         the in-place work or delegates to _M_mutate in case of reallocation.
143         * include/ext/vstring.tcc (__versa_string<>::_M_replace_safe):
144         Remove.
145         * include/ext/vstring.tcc (__versa_string<>::_M_replace): Define.
146         (assign, replace, _M_replace_dispatch, _M_replace_aux): Use it.
147         * include/ext/sso_string_base.h (__sso_string_base<>::_M_mutate):
148         Change to manage only reallocations.
149         * include/ext/rc_string_base.h (__rc_string_base<>::_M_mutate):
150         Likewise.
151
152         * include/ext/vstring.h (__versa_string<>::insert(size_type,
153         const __versa_string&), insert(size_type, const __versa_string&,
154         size_type, size_type), insert(size_type, const _CharT*, size_type),
155         insert(size_type, const _CharT*)): Delegate to replace.
156
157         * include/ext/vstring.h (__versa_string<>::reserve): Move out of
158         line.
159         * include/ext/vstring.tcc (__versa_string<>::reserve): Do the
160         checks and call _M_reserve.
161         * include/ext/vstring.h (__versa_string<>::append): Call _M_reserve
162         instead of reserve.
163         * include/ext/vstring.tcc (__versa_string<>::append, all versions):
164         Likewise.
165         * include/ext/sso_string_base.h (__sso_string_base<>::_M_reserve):
166         Adjust.
167         * include/ext/rc_string_base.h (__rc_string_base<>::_M_reserve):
168         Likewise.
169
170 2005-12-02  David Billinghurst (David.Billinghurst@riotinto.com)
171
172         PR testsuite/25193
173         * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Catch
174         error if file cannot be deleted.
175
176 2005-11-23  Paolo Carlini  <pcarlini@suse.de>
177
178         PR libstdc++/24975 (basic_string)
179         * include/bits/basic_string.h (_Rep::_S_empty_rep): Avoid
180         strict-aliasing warnings.
181
182 2005-11-22  Paolo Carlini  <pcarlini@suse.de>
183
184         PR libstdc++/24975
185         * include/bits/stl_set.h (insert(iterator, const value_type&),
186         erase(iterator), erase(iterator, iterator)): Don't break aliasing
187         rules casting to _Rep_iterator&, forward to _Rb_tree facilities.
188         * include/bits/stl_multiset.h (insert(iterator, const value_type&),
189         erase(iterator), erase(iterator, iterator)): Likewise.
190         * include/bits/stl_tree.h (_Rb_tree<>::_M_insert(_Const_Base_ptr,
191         _Const_Base_ptr, const value_type&), insert_unique(const_iterator,
192         const value_type&), insert_equal(const_iterator, const value_type&),
193         erase(const_iterator), erase(const_iterator, const_iterator)): New,
194         _Rb_tree<>::const_iterator counterparts of existing facilities.
195
196 2005-11-21  Benjamin Kosnik  <bkoz@redhat.com>
197             Ulrich Drepper  <drepper@redhat.com>
198
199         PR libstdc++/23591
200         * scripts/create_testsuite_files: Support for "C" test files.
201         * testsuite/lib/libstdc++.exp: Same.
202         * testsuite/libstdc++-dg/normal.exp: Same.
203         * testsuite/ext/mt_allocator/22309_thread.cc: Update names.
204         * testsuite/19_diagnostics/23591_thread-1.c: New.
205         * testsuite/testsuite_shared.cc: Add tests, rename existing functions.
206         * libsupc++/eh_globals.cc: Make global thread local if possible.
207         * configure.ac: Use GCC_CHECK_TLS.
208         * acinclude.m4: Include tls.m4.
209         * configure: Regenerate.
210         * config.h.in: Same.
211         
212 2005-11-21  Benjamin Kosnik  <bkoz@redhat.com>
213
214         * libsupc++/del_op.cc: Include c++config.h first.
215         * libsupc++/eh_alloc.cc: Same.
216         * libsupc++/new_opv.cc: Same.
217         * libsupc++/eh_throw.cc: Same.
218         * libsupc++/new_op.cc: Same.
219         * libsupc++/del_opv.cc: Same.
220         * libsupc++/eh_catch.cc: Same.
221         * libsupc++/guard.cc: Same.
222         * libsupc++/del_opnt.cc: Same.
223         * libsupc++/eh_exception.cc: Same.
224         * libsupc++/new_opvnt.cc: Same.
225         * libsupc++/eh_term_handler.cc: Same.
226         * libsupc++/eh_personality.cc: Same.
227         * libsupc++/eh_call.cc: Same.
228         * libsupc++/new_opnt.cc: Same.
229         * libsupc++/del_opvnt.cc: Same.
230
231 2005-11-21  Benjamin Kosnik  <bkoz@redhat.com>
232
233         * src/Makefile.am (LTCXXCOMPILE): CXXFLAGS last.
234         * libsupc++/Makefile.am: Same.
235         * src/Makefile.in: Regenerate.
236         * libsupc++/Makefile.in: Same.
237
238 2005-11-21  Paolo Carlini  <pcarlini@suse.de>
239
240         * include/ext/sso_string_base.h: Minor formatting and stylistic fixes.
241         (__sso_string_base<>::_M_get_allocator): Return by const ref.
242         * include/ext/rc_string_base.h: Likewise.
243         (__rc_string_base<>::_M_get_allocator): Return by const ref.
244         (__rc_string_base<>::_M_dispose): Take void, use _M_get_allocator.
245         (__rc_string_base<>::_M_grab): Take one alloc, use _M_get_allocator.
246         (__rc_string_base<>::~__rc_string_base,
247         __rc_string_base(const __rc_string_base&), _M_assign, _M_reserve,
248         _M_mutate): Adjust.
249         * include/ext/vstring_util.h: Minor stylistic fixes.
250
251 2005-11-18  Paolo Carlini  <pcarlini@suse.de>
252
253         * include/ext/rc_string_base.h (__rc_string_base<>::_Rep): Avoid the
254         anonymous struct extension, adjust everywhere.
255
256         * include/ext/rc_string_base.h (__rc_string_base<>::_S_empty_rep()):
257         Just use a static member.
258         (__rc_string_base<>::__rc_string_base(), _S_construct): Adjust.
259
260         * include/ext/rc_string_base.h (__rc_string_base<>::_Rep): Use
261         anonymous union together with _CharT to fix alignment issues,
262         rebind to _Rep and rename _Raw_alloc to _Rep_alloc_type.        
263         (__rc_string_base<>::_Rep::_S_create, _M_destroy): Adjust consistently.
264
265         * include/ext/vstring_util.h (__is_null_p): Move inside struct
266         __vstring_utility as static _S_is_null_pointer.
267         * include/ext/sso_string.h
268         (__sso_string_base<>::_M_construct(std::forward_iterator_tag): Adjust.
269         * include/ext/rc_string_base.h
270         (__rc_string_base<>::_S_construct(std::forward_iterator_tag): Likewise.
271
272         Implement Option 3 of DR 431 for ext/vstring - both available bases.
273         * include/bits/cpp_type_traits.h (struct __is_empty): Add.
274         * include/ext/vstring.h (__versa_string<>::swap): Delegate to
275         this->_M_swap.
276         * include/ext/vstring.tcc (__versa_string<>::swap): Remove.
277         * include/ext/vstring_util.h (struct __vstring_utility<>): Add struct
278         _Alloc_hider<>, augmented of allocator swapping facility, specialized
279         to nop for empty allocators.
280         * include/ext/rc_string_base.h (__rc_string_base<>::_M_swap): Use it.
281         (__rc_string_base<>::_M_is_leaked, _M_set_sharable): Change to private.
282         * include/ext/sso_string_base.h (__sso_string_base<>::_M_swap):
283         Likewise.
284         (__sso_string_base<>::_M_is_leaked, _M_set_sharable): Remove, unused.
285         * include/ext/rc_string_base.h (__rc_string_base<>::_M_data(_CharT*):
286         Return void.
287         * include/ext/sso_string_base.h (__sso_string_base<>::_M_data(_CharT*):
288         Likewise.
289
290 2005-11-17  Geoffrey Keating  <geoffk@apple.com>
291
292         * config/os/bsd/darwin/ppc-extra.ver: New.
293         * src/Makefile.am (libstdc++-symbol.ver): Move outside conditionals,
294         and make dependent on port symbol files.
295         (libstdc++-symbol.explist): Use the generated .ver file, not
296         the template.
297         * src/compatibility.cc [APPLE] (__eprintf): New.
298         * src/Makefile.in: Regenerate.
299         * configure.host (powerpc*-*-darwin*): Define
300         port_specific_symbol_files.
301
302 2005-11-16  Nathan Sidwell  <nathan@codesourcery.com>
303
304         * libsupc++/eh_arm.cc (__cxa_begin_cleanup): Remember a
305         foreign exception too.
306         (__gnu_end_cleanup): Recover a foreign exception too.
307         * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Cope
308         with forced unwinding.
309         * libsupc++/eh_throw.cc (__cxxabiv1::__cxa_rethrow): Use
310         _Unwind_Resume_or_Rethrow for ARM EABI.
311
312 2005-11-14  Geoffrey Keating  <geoffk@apple.com>
313
314         * acinclude.m4 (GLIBCXX_CHECK_LINKER_FEATURES): Don't check for
315         shared libgcc for darwin exports.
316         * configure: Regenerate.
317
318 2005-11-13  Jonathan Wakely  <redi@gcc.gnu.org>
319
320         * include/tr1/boost_shared_ptr.h (get_deleter):
321         Declare before shared_ptr.
322         (shared_ptr<>): Declare get_deleter as friend.
323         (shared_ptr<>:_M_get_deleter): Private.
324
325 2005-11-13  Douglas Gregor  <doug.gregor@gmail.com>
326
327         PR libstdc++/24818
328         * include/tr1/ref_wrap_iterate.h
329         (reference_wrapper::operator()()): Don't dereferene the result of
330         get() before calling it; it's already a reference.
331         * testsuite/tr1/3_function_objects/reference_wrapper/invoke.cc:
332         Test nullary calls to reference_wrappers.
333
334 2005-11-11  Paolo Carlini  <pcarlini@suse.de>
335
336         PR libstdc++/24808
337         * include/tr1/type_traits (__is_abstract_helper): Rename to __in_array
338         (with complemented logic).
339         (is_function): Use it, don't use __conv_helper.
340         (is_abstract): Adjust.
341         (__conv_helper): Rename to __is_convertible_simple.
342         (is_convertible): Adjust.
343         * testsuite/testsuite_tr1.h (class IncompleteClass): Add.
344         * testsuite/tr1/4_metaprogramming/composite_type_traits/is_object/
345         24808.cc: New.
346         * testsuite/tr1/4_metaprogramming/primary_type_categories/is_enum/
347         24808.cc: Likewise.
348         * testsuite/tr1/4_metaprogramming/primary_type_categories/is_function/
349         24808.cc: Likewise.
350
351 2005-11-11  Paolo Carlini  <pcarlini@suse.de>
352
353         PR libstdc++/24799
354         * include/tr1/functional (hash): Inherit from std::unary_function.
355         * testsuite/tr1/6_containers/unordered/hash/24799.cc: New.
356
357         PR libstdc++/24805
358         * include/tr1/boost_shared_ptr.h (swap(shared_ptr<>&, shared_ptr<>&),
359         swap(weak_ptr<>&, weak_ptr<>&)): Move inside namespace tr1.
360         * testsuite/tr1/2_general_utilities/memory/shared_ptr/modifiers/
361         24805.cc: New.
362
363         PR libstdc++/24809
364         * include/tr1/type_traits (__is_polymorhpic_helper): Adjust destructor.
365         * testsuite/tr1/4_metaprogramming/type_properties/is_polymorphic/
366         24809.cc: New.
367
368 2005-11-10  Paolo Carlini  <pcarlini@suse.de>
369
370         * testsuite/tr1/2_general_utilities/memory/
371         enable_shared_from_this/not_shared.cc: Adjust, remove xfail.
372         * testsuite/tr1/2_general_utilities/memory/
373         enable_shared_from_this/not_shared2.cc: Likewise.
374         * testsuite/tr1/2_general_utilities/memory/
375         enable_shared_from_this/not_shared3.cc: Likewise.
376
377 2005-11-10  Paolo Carlini  <pcarlini@suse.de>
378
379         * include/tr1/boost_shared_ptr.h (_Sp_counted_base::release,
380         weak_release): Protect barriers with __GTHREADS.
381
382 2005-11-10  Paolo Carlini  <pcarlini@suse.de>
383             Peter Dimov  <pdimov@mmltd.net>
384
385         * include/tr1/boost_shared_ptr.h (_Sp_counted_base::release):
386         Optimize by manually inlining weak_release.
387
388         * include/tr1/boost_shared_ptr.h (_Sp_counted_base::release,
389         weak_release): Use explicit memory barriers.
390
391 2005-11-09  Benjamin Kosnik  <bkoz@redhat.com>
392             Paolo Carlini  <pcarlini@suse.de>
393             Gabriel Dos Reis  <gdr@integrable-solutions.net>
394
395         PR libstdc++/22203
396         * numeric_limits.cc: Split into...
397         * numeric_limits/specialization.cc: ..this.
398         * numeric_limits/is_iec559.cc: Same.
399         * numeric_limits/sign.cc: Same.
400         * numeric_limits/quiet_NaN.cc: Same.
401         * numeric_limits/digits10.cc: Same.
402         * numeric_limits/denorm_min.cc: Same.
403         * numeric_limits/min_max.cc: Same.
404         * numeric_limits/epsilon.cc: Same.
405         * numeric_limits/infinity.cc: Same.
406         * numeric_limits/traps.cc: New.
407
408 2005-11-09  Paolo Carlini  <pcarlini@suse.de>
409
410         * include/tr1/boost_shared_ptr.h: Trivial formatting fixes.
411
412 2005-11-08  Benjamin Kosnik  <bkoz@redhat.com>
413
414         * testsuite/lib/libstdc++.exp (check_v3_target_debug_mode): Use
415         exe as the executable extension.
416
417         * acinclude.m4 (GLIBCXX_ENABLE_ALLOCATOR): Change gnu defaults to
418         new.
419         (GLIBCXX_ENABLE_PCH): Adjust message order.
420         * configure: Regenerate.
421         
422         * scripts/testsuite_flags.in (query): Correct print_usagex typo.
423
424         * include/bits/functexcept.h: Remove argument names.
425
426         * src/mt_allocator.cc: Adjust comment.
427         
428 2005-11-06  Paolo Carlini  <pcarlini@suse.de>
429
430         PR libstdc++/18174
431         * include/bits/stl_queue.h (priority_queue): Tweak a bit the
432         comment describing the container.
433
434 2005-11-05  Paolo Carlini  <pcarlini@suse.de>
435
436         * configure.host: Add | rs6000 to the cpu_defines_dir switch,
437         consistently with the try_cpu one.
438
439 2005-11-05  Paolo Carlini  <pcarlini@suse.de>
440
441         PR libstdc++/22203
442         * include/bits/c++config: Include cpu_defines.h.
443         * include/Makefile.am: Add cpu_defines.h to host_headers.
444         * configure.host: Add cpu_defines_dir.
445         * configure.ac: Use it.
446         * config/cpu/powerpc/cpu_defines.h: New.
447         * config/cpu/generic/cpu_defines.h: Likewise.
448         * configure: Regenerate.
449         * Makefile.in: Likewise.
450         * include/Makefile.in: Likewise.
451         * libmath/Makefile.in: Likewise.
452         * libsupc++/Makefile.in: Likewise.
453         * po/Makefile.in: Likewise.
454         * src/Makefile.in: Likewise.    
455         * testsuite/Makefile.in: Likewise.
456
457 2005-11-03  Paolo Carlini  <pcarlini@suse.de>
458
459         * include/ext/sso_string_base.h (__sso_string_base<>::_M_swap):
460         Change the various traits_type::copy call to always copy the
461         entire local buffer; return early and don't do a full swap on
462         the lengths for two common cases; change two _S_copy to plain
463         traits_type::copy.
464
465 2005-11-02  Thomas Kho  <tkho@ucla.edu>
466
467         PR libstdc++/23425
468         * include/bits/stl_vector.h (vector<>::clear): Open code
469         in terms of _Destroy.
470
471 2005-11-02  Paolo Carlini  <pcarlini@suse.de>
472
473         * include/bits/vector.tcc (vector<>::_M_fill_assign): Qualify fill_n.
474
475 2005-11-01  Paolo Carlini  <pcarlini@suse.de>
476
477         PR libstdc++/24595
478         * include/tr1/boost_shared_ptr.h (shared_ptr<>::get_deleter):
479         Move out of shared_ptr.
480         * testsuite/tr1/2_general_utilities/memory/shared_ptr/misc/24595.cc:
481         New.
482
483 2005-10-30  Paolo Carlini  <pcarlini@suse.de>
484
485         PR libstdc++/20213
486         * include/c_std/std_csignal.h: Adjust comment as per 17.4.1.2/4.
487         * include/c_std/std_cstdlib.h: Likewise.
488         * include/c_std/std_cstdio.h: Likewise.
489         * include/c_std/std_cstdarg.h: Likewise.
490         * include/c_std/std_cctype.h: Likewise.
491         * include/c_std/std_cerrno.h: Likewise.
492         * include/c_std/std_cmath.h: Likewise.
493         * include/c_std/std_ciso646.h: Likewise.
494         * include/c_std/std_ctime.h: Likewise.
495         * include/c_std/std_clocale.h: Likewise.
496         * include/c_std/std_climits.h: Likewise.
497         * include/c_std/std_cassert.h: Likewise.
498         * include/c_std/std_csetjmp.h: Likewise.
499         * include/c_std/std_cwchar.h: Likewise.
500         * include/c_std/std_cfloat.h: Likewise.
501         * include/c_std/std_cstring.h: Likewise.
502         * include/c_std/std_cstddef.h: Likewise.
503         * include/c_std/std_cwctype.h: Likewise.
504
505 2005-10-29  Carey Evans  <carey.evans@gmail.com>
506
507         PR libstdc++/22087
508         * config/os/djgpp/ctype_inline.h: Fix.
509         * config/os/djgpp/ctype_noninline.h: Likewise.
510
511 2005-10-28  Paolo Carlini  <pcarlini@suse.de>
512
513         PR libstdc++/24559
514         * include/c_std/std_cwchar.h (wcspbrk): Adjust signature.
515         * testsuite/21_strings/c_strings/wchar_t/24559.cc: New.
516
517 2005-10-25  Paolo Carlini  <pcarlini@suse.de>
518
519         * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 39.
520         * docs/html/ext/howto.html: Adjust.
521
522 2005-10-21  Paolo Carlini  <pcarlini@suse.de>
523
524         PR libstdc++/24450
525         * config/locale/generic/time_members.h (__timepunct<>::
526         __timepunct(__c_locale, const char*, size_t)): Avoid leaking
527         memory if new throws inside _M_initialize_timepunct.
528         * config/locale/gnu/time_members.h (__timepunct<>::
529         __timepunct(__c_locale, const char*, size_t)): Likewise.
530         * config/locale/gnu/message_members.h (messages<>::
531         messages(__c_locale, const char*, size_t)): Rearrange to
532         avoid memory leaks.
533
534 2005-10-19  Paolo Carlini  <pcarlini@suse.de>
535
536         * include/ext/sso_string_base.h (_M_swap): Rewrite.
537
538 2005-10-19  Paolo Carlini  <pcarlini@suse.de>
539
540         * include/ext/rc_string_base.h (_S_terminal): Remove.
541         (_M_set_length): Adjust.
542         (_S_max_size): Change to anonymous enum.
543         (_M_max_size()): Add, returns the latter.
544         * include/ext/sso_string_base.h: Likewise.
545         * include/ext/vstring.h (max_size): Adjust.
546
547 2005-10-17  Jonathan Wakely  <redi@gcc.gnu.org>
548
549         PR libstdc++/24244
550         * include/tr1/boost_shared_ptr.h
551         (_Sp_counted_base::_Sp_counted_base()): When __GTHREAD_MUTEX_INIT
552         is defined, initialize the mutex.
553
554 2005-10-15  Paolo Carlini  <pcarlini@suse.de>
555
556         * include/tr1/functional: Add missing #pragma GCC system_header.
557
558 2005-10-14  Paolo Carlini  <pcarlini@suse.de>
559
560         * include/tr1/hashtable (hashtable::m_erase): Rename to erase_node.
561         (hashtable::erase(iterator), erase(const_iterator)): Adjust.
562
563 2005-10-13  Richard Earnshaw  <richard.earnsahw@arm.com>
564
565         PR libstdc++/23926
566         * acinclude.m4 (port_specific_symbol_files): More symbol versioning
567         fixes.
568         * configure: Regenerate.
569
570 2005-10-13  Hans-Peter Nilsson  <hp@axis.com>
571
572         * testsuite/lib/libstdc++.exp (libstdc++_init): Require
573         native testing before setting v3-sharedlib to 1.
574
575 2005-10-12  Joe Buck  <Joe.Buck@synopsys.com>
576
577         * docs/html/27_io/howto.html: Use reference to ifstream when
578         including iosfwd.
579
580 2005-10-11  Andrew Pinski  <pinskia@physics.uc.edu>
581
582         PR libstdc++/23926
583         * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Fix typo in check
584         for GNU LD.
585         * configure: Regenerate.
586
587 2005-10-10  Benjamin Kosnik  <bkoz@redhat.com>
588
589         * configure.ac (libtool_VERSION): To 6:7:0.
590         * configure: Regenerate.
591         * testsuite/testsuite_abi.cc (check_version): Add GLIBCXX_3.4.7.
592         * config/linker-map.gnu: Export locale::_Impl::_M_install_cache.
593
594 2005-10-10  Ian Lance Taylor  <ian@airs.com>
595
596         PR libstdc++/13583
597         * include/bits/locale_classes.h (locale::_Impl::_M_install_cache):
598         Move out of line.
599         * src/locale.cc: Define here, add mutex.
600
601 2005-10-09  Paolo Carlini  <pcarlini@suse.de>
602
603         PR libstdc++/24061 (issue 6.19)
604         * include/tr1/hashtable (struct node_const_iterator, struct
605         hashtable_const_iterator): New, add const variants to enable separate
606         overloadings for iterator and const_iterator in unordered_set and
607         unordered_multiset (as required by issue 6.19).
608         (class hashtable): Change the mutable_iterators template parameter
609         to constant_iterators and adjust throughout the logic.
610         (hashtable::insert(iterator, const value_type&), erase(iterator)
611         erase(iterator, iterator)): New, as per issue 6.19.
612         (hashtable::m_erase(node*, node**)): New, called by erase(iterator)
613         and erase(const_iterator).
614         (hashtable::Insert_Conv_Type): New, used by insert(iterator,
615         const value_type&) and insert(const_iterator, const value_type&)
616         to delegate the work to insert(const value_type&).
617         * include/tr1/unordered_map (class unordered_map, unordered_multimap):
618         Adjust typedefs.
619         * include/tr1/unordered_set (class unordered_set, unordered_multiset):
620         Likewise.
621         * testsuite/tr1/6_containers/unordered/erase/24061-map.cc: New.
622         * testsuite/tr1/6_containers/unordered/erase/24061-multimap.cc: New.
623         * testsuite/tr1/6_containers/unordered/erase/24061-multiset.cc: New.
624         * testsuite/tr1/6_containers/unordered/erase/24061-set.cc: New.
625         * testsuite/tr1/6_containers/unordered/insert/24061-map.cc: New.
626         * testsuite/tr1/6_containers/unordered/insert/24061-multimap.cc: New.
627         * testsuite/tr1/6_containers/unordered/insert/24061-multiset.cc: New.
628         * testsuite/tr1/6_containers/unordered/insert/24061-set.cc: New.
629
630 2005-10-08  Kazu Hirata  <kazu@codesourcery.com>
631
632         Merge from csl-arm-branch:
633         2004-12-15  Daniel Jacobowitz  <dan@codesourcery.com>
634         * libstdc++-v3/config/linker-map.gnu: Add ARM EABI symbols.
635
636 2005-10-07  Paolo Carlini  <pcarlini@suse.de>
637
638         Fix libstdc++/24196 for ext/vstring/rc by returning to the behavior
639         of basic_string pre-2003-06-13; remove fully-dynamic-string stuff.
640         * include/ext/rc_string_base.h (_M_refcopy): Move inside the
641         _Rep class and remove code in macro.
642         (__rc_string_base()): Construct with _S_empty_rep()._M_refcopy().
643         (_M_dispose, _M_leak_hard): Remove code in macro.
644         (_S_construct): Return _S_empty_rep()._M_refcopy() for empty string.
645         (_M_grab): Adjust.
646
647         * include/ext/rc_string_base.h (_Rep::_M_refdata()): Minor tweak,
648         mark throw().
649
650 2005-10-07  Benjamin Kosnik  <bkoz@redhat.com>
651
652         * docs/doxygen/user.cfg.in: Update to Doyxygen 1.4.4.
653
654 2005-10-05  Paolo Carlini  <pcarlini@suse.de>
655
656         * include/ext/sso_string_base.h (struct __sso_string_local):
657         Remove, actually POD types cannot have user defined constructors
658         (being aggregates) and therefore can always be members of unions.
659         (class __sso_string_base): Adjust consistently.
660
661 2005-10-05  Paolo Carlini  <pcarlini@suse.de>
662
663         PR libstdc++/24198
664         * testsuite/27_io/basic_filebuf/3.cc: Use __gnu_test::pod_ushort
665         instead.
666         * testsuite/27_io/basic_filebuf/seekoff/10132-2.cc: Likewise.
667         * testsuite/27_io/basic_filebuf/seekpos/10132-3.cc: Likewise.
668         * testsuite/27_io/basic_fstream/3.cc: Likewise; run the test.
669         * testsuite/27_io/basic_ifstream/3.cc: Likewise; run the test.
670         * testsuite/27_io/basic_ios/3.cc: Likewise.
671         * testsuite/27_io/basic_iostream/3.cc: Likewise; run the test.
672         * testsuite/27_io/basic_istream/3.cc: Likewise; run the test.
673         * testsuite/27_io/basic_istringstream/3.cc: Likewise; run the test.
674         * testsuite/27_io/basic_ofstream/3.cc: Likewise; run the test.
675         * testsuite/27_io/basic_ostream/3.cc: Likewise; run the test.
676         * testsuite/27_io/basic_ostringstream/3.cc: Likewise; run the test.
677         * testsuite/27_io/basic_streambuf/3.cc: Likewise.
678         * testsuite/27_io/basic_stringbuf/3.cc: Likewise.
679         * testsuite/27_io/basic_stringstream/3.cc: Likewise; run the test.
680
681 2005-10-05  Paolo Carlini  <pcarlini@suse.de>
682
683         PR libstdc++/11729 (DR 280, [Ready])
684         * include/bits/stl_iterator.h: Add reverse_iterator global
685         functions with two template parameters (operator==, !=, <,
686         >, <=, >=, -).
687         * testsuite/24_iterators/reverse_iterator/11729.cc: New.
688         * docs/html/ext/howto.html: Add an entry for issue 280.
689
690 2005-10-03  Paolo Carlini  <pcarlini@suse.de>
691
692         * include/tr1/hashtable
693         (node_iterator::node_iterator(const node_iterator<,true,>&)): Fix to
694         take a "false" (i.e., is_const == false) node_iterator.
695         (hashtable_iterator::hashtable_iterator(const hashtable_iterator<,
696         true,>&)): Likewise for hashtable_iterator.
697         (hashtable::const_local_iterator): Fix typedef (is_const == true).
698         (hashtable::const_iterator): Likewise.
699         * testsuite/tr1/6_containers/unordered/types/map_iterator.cc: New.
700         * testsuite/tr1/6_containers/unordered/types/multimap_iterator.cc: New.
701         * testsuite/tr1/6_containers/unordered/types/set_iterator.cc: New.
702         * testsuite/tr1/6_containers/unordered/types/multiset_iterator.cc: New.
703  
704 2005-10-02  Paolo Carlini  <pcarlini@suse.de>
705
706         PR libstdc++/24054
707         * include/tr1/hashtable (erase(const key_type&)): Return the
708         number of elements erased.
709         * testsuite/tr1/6_containers/unordered/hashtable/24054.cc: New.
710
711 2005-10-01  Kenny Simpson  <theonetruekenny@yahoo.com>
712
713         * include/tr1/tuple_iterate.h (tuple::operator=(const std::pair<>&)):
714         Add missing return.
715
716 2005-09-30  Paolo Carlini  <pcarlini@suse.de>
717
718         PR libstdc++/24064
719         * include/tr1/hashtable (hash_code_base<>::store_code): Add.
720         (hashtable<>::insert(const value_type&)): Use it.
721         * testsuite/tr1/6_containers/unordered/hashtable/24064.cc: New.
722
723 2005-09-30  Paolo Carlini  <pcarlini@suse.de>
724
725         PR libstdc++/23953
726         * include/bits/locale_facets.tcc (__numpunct_cache<>::_M_cache,
727         __moneypunct_cache<>::_M_cache): Check that grouping()[0] > 0.
728         (__verify_grouping): Do the last check only if __grouping[__min] > 0.
729         (__add_grouping<>): End recursion if *__gbeg <= 0.
730         * testsuite/22_locale/num_get/get/char/23953.cc: New.
731         * testsuite/22_locale/num_get/get/wchar_t/23953.cc: Likewise.
732         * testsuite/22_locale/num_put/put/char/23953.cc: Likewise.
733         * testsuite/22_locale/num_put/put/wchar_t/23953.cc: Likewise.
734
735 2005-09-29  Chris Jefferson <chris@bubblescope.net>
736
737         PR libstdc++/23978
738         * include/tr1/tuple_iterate.h (tuple): Add operator=(std::pair).
739         * testsuite/tr1/6_containers/tuple/creation_functions/23978.cc: New.
740         
741         * include/tr1/functional (ref, cref): Make inline.
742         * include/tr1/tuple_iterate.h (tie): Correct formatting.
743         (make_tuple): Make inline.
744
745 2005-09-25  Benjamin Kosnik  <bkoz@redhat.com>
746             Eric Botcazou  <ebotcazou@libertysurf.fr>
747
748         * include/ext/mt_allocator.h
749         (__per_type_pool<...true>::_S_initialize_once): Always call
750         _M_initialize_once.
751         (__common_pool<...true>::_S_initialize_once): Same.
752
753 2005-09-23  Benjamin Kosnik  <bkoz@redhat.com>
754
755         * testsuite/ext/mt_allocator/tune-1.cc: Clarify for single-thread.
756         * testsuite/ext/mt_allocator/tune-2.cc: Same.
757         * testsuite/ext/mt_allocator/tune-3.cc: Same.
758         * testsuite/ext/mt_allocator/tune-4.cc: Same.
759
760 2005-09-21  Guillaume Melquiond  <guillaume.melquiond@ens-lyon.fr>
761
762         PR libstdc++/23956
763         * include/ext/mt_allocator.h: Remove excess
764         policy_type::_S_get_pool calls in constructors.
765         
766 2005-09-18  Paolo Carlini  <pcarlini@suse.de>
767
768         PR libstdc++/23417 (cont)
769         * include/bits/stl_tree.h (_Rb_tree_impl<true>): Use member
770         initialization list for -Weffc++.
771
772 2005-09-16  Janis Johnson  <janis187@us.ibm.com>
773
774         * testsuite/27_io/basic_ostream/inserters_arithmetic/char/23871.cc:
775         New.
776
777 2005-09-15  Benjamin Kosnik  <bkoz@redhat.com>
778
779         PR libstdc++/21674
780         PR libstdc++/22205
781         PR libstdc++/22222
782         * include/bits/c++config: Set _GLIBCXX_STD regardless of __GXX_WEAK__.
783         Add in check for __NO_INLINE__ for warning.
784         * testsuite/lib/dg-options.exp (dg-require-debug-mode): New.
785         * testsuite/lib/libstdc++.exp (check_v3_target_debug_mode): New.
786         * testsuite/21_strings/basic_string/element_access/char/21674.cc:
787         Use it.
788         * testsuite/21_strings/basic_string/element_access/wchar_t/21674.cc:
789         Use it.
790
791 2005-09-15  Paolo Carlini  <pcarlini@suse.de>
792
793         PR libstdc++/23875
794         * include/std/std_ostream.h (operator<<(short), operator<<(unsigned
795         short), operator<<(int), operator<<(unsigned int), operator<<(float)):
796         Don't call operator<<(long), operator<<(unsigned long), or
797         operator<<(double), do the work mandated by the resolution of DR117...
798         * include/bits/ostream.tcc (operator<<(short), operator<<(unsigned
799         short), operator<<(int), operator<<(unsigned int), operator<<(float)):
800         ... here.
801         * testsuite/27_io/basic_ostream/inserters_arithmetic/pod/23875.cc: New.
802
803 2005-09-15  Mark Mitchell  <mark@codesourcery.com>
804
805         * testsuite/testsuite_character.h: Specialize character<>
806         templates in __gnu_cxx, not in __gnu_test.
807
808 2005-09-13  Jonathan Wakely  <cow@compsoc.man.ac.uk>
809             Benjamin Kosnik  <bkoz@redhat.com>
810
811         PR libstdc++/21674
812         * testsuite/21_strings/basic_string/element_access/char/21674.cc: New.
813         * testsuite/21_strings/basic_string/element_access/wchar_t/21674.cc: 
814         New.
815
816 2005-09-12  David Edelsohn  <dje@gcc.gnu.org>
817
818         PR libstdc++/22554
819         PR libstdc++/23734
820         * include/Makefile.am (stamp-assoc): Install each subgroup
821         of headers separately.
822         * include/Makefile.in: Regenerate.
823         
824 2005-09-12  Benjamin Kosnik  <bkoz@redhat.com>
825
826         * testsuite/ext/mt_allocator/22309_thread.cc: Remove dg-do run.
827         * testsuite/lib/libstdc++.exp ( proc libstdc++_init): Enable
828         shared only for linux.
829         
830 2005-09-12  Benjamin Kosnik  <bkoz@redhat.com>
831             David Edelsohn  <dje@gcc.gnu.org>
832
833         PR libstdc++/22554
834         PR libstdc++/23734
835         * include/Makefile.am (assoc_headers): Break into five sub values.
836         (install-headers): Use them.
837         (stamp-assoc): Same.
838         * include/Makefile.in: Regenerate.
839         
840 2005-09-12  Chris Jefferson  <chris@bubblescope.net>
841
842         * include/bits/stl_algo.h (search_n): Delegate to specializations.
843         (search_n(,,,,binary_predicate)): Likewise.
844         (__search_n(forward_iterator_tag)): Original search_n, tweak to
845         remove an unnecessary comparison.
846         (__search_n(,,,,binary_predicate,forward_iterator_tag)): Likewise.
847
848 2005-09-12  Jim Xochellis  <jimxoch@yahoo.gr>
849
850         * include/bits/stl_algo.h
851         (__search_n(std::random_access_iterator_tag)): Add specialization.
852         (__search_n(,,,,binary_predicate,std::random_access_iterator_tag)):
853         Likewise.
854
855 2005-09-12  Benjamin Kosnik  <bkoz@redhat.com>
856
857         PR libstdc++/23417
858         * include/bits/stl_list.h (_List_impl): Use member initialization
859         list for -Weffc++.
860         * include/bits/stl_tree.h (_Rb_tree_impl): Same.
861
862 2005-09-12  Paolo Carlini  <pcarlini@suse.de>
863
864         PR libstdc++/23767
865         * include/bits/stl_iterator.h (__normal_iterator::
866         __normal_iterator<>(const __normal_iterator<_Iter, _Container>&)):
867         Enable only when _Iter is equal to _Container::pointer.
868         * testsuite/21_strings/basic_string/types/23767.cc: New.
869         * testsuite/23_containers/vector/types/23767.cc: Likewise.
870         * testsuite/ext/vstring/types/23767.cc: Likewise.
871
872 2005-09-11  Benjamin Kosnik  <bkoz@redhat.com>
873
874         PR libstdc++/19265
875         PR libstdc++/22309
876         * include/ext/mt_allocator.h
877         (__gnu_cxx::__create_handler): Remove.
878         (__pool<true>::_M_destroy_thread_key): Compatibility only.
879         (__pool<true>::_M_initialize(__destroy): Same.
880         (__pool<true>::_M_initialize): New.
881         (__pool<true>::_M_initialize_once): Nothing fancy.
882         (__pool<true>::_M_once): Remove.
883         (__common_pool): New.
884         (__common_pool_base): New.      
885         (__per_type_pool): New.
886         (__per_type_pool_base): New.
887         * src/mt_allocator.cc: Same.
888         * config/linker-map.gnu (__pool<true>::_M_initialize()): Add.
889         
890 2005-09-11  Jakub Jelinek  <jakub@redhat.com>
891
892         PR libstdc++/19265
893         PR libstdc++/22309
894         * src/mt_allocator.cc (__gnu_internal::freelist_mutex): Make static.
895         (__gnu_internal::__freelist): New type.
896         (__gnu_internal::freelist): New variable.
897         (__gnu_internal::_M_destroy_thread_key): New function.
898         (__gnu_cxx::__pool<true>::_M_destroy): Don't delete
899         _M_thread_freelist_initial.
900         (__gnu_cxx::__pool<true>::_M_initialize): Make argument nameless.
901         Don't use _M_thread_freelist and _M_thread_freelist_initial
902         __pool<true> fields, instead use __gnu_internal::freelist fields, call
903         gthread_key_create just once.  Use
904         __gnu_internal::_M_destroy_thread_key as key destructor.        
905         (__gnu_cxx::__pool<true>::_M_get_thread_id): Store size_t id
906         rather than _Thread_record* in the thread specific value.  Don't
907         use _M_thread_freelist __pool<true> field, instead use
908         __gnu_internal::freelist fields.
909         (__gnu_cxx::__pool<true>::_M_destroy_thread_key): Do nothing.
910
911 2005-09-11  Benjamin Kosnik  <bkoz@redhat.com>
912             Jakub Jelinek  <jakub@redhat.com>
913
914         PR libstdc++/19265
915         PR libstdc++/22309      
916         * testsuite/testsuite_shared.cc: New.
917         * testsuite/lib/dg-options.exp (dg-require-sharedlib): New.
918         * testsuite/lib/libstdc++.exp (libstdc++_init): Look for shared
919         library, and set v3-sharedlib based on this.
920         (check_v3_target_sharedlib): New.
921         (proc v3-build_support): Build shared objects.
922         * testsuite/ext/mt_allocator/22309_thread.cc: New, use above.
923
924 2005-09-11  Paolo Carlini  <pcarlini@suse.de>
925
926         PR libstdc++/23781
927         * include/bits/stl_list.h (_List_iterator<>::
928         _List_iterator(_List_node_base*), _List_const_iterator<>::
929         _List_const_iterator(const _List_node_base*)): Make explicit.
930         (list<>::begin(), list<>::end(), list<>::pop_back()): Adjust
931         consistently.
932         * include/bits/list.tcc (list<>::insert, list<>::erase): Adjust
933         consistently.
934         * include/bits/stl_tree.h (_Rb_tree_iterator<>::
935         _Rb_tree_iterator(_Link_type), _Rb_tree_const_iterator<>::
936         _Rb_tree_const_iterator(_Link_type)): Make explicit.
937         (_Rb_tree<>::begin(), _Rb_tree<>::end()): Adjust consistently.
938         * include/ext/slist (_Slist_iterator<>::_Slist_iterator(_Node*)):
939         Make explicit.
940         (slist<>::erase(iterator), slist<>::erase(iterator, iterator)):
941         Adjust consistently.
942         * include/tr1/hashtable (hashtable_iterator<>::
943         hashtable_iterator(hash_node<>**)): Make explicit.
944         * testsuite/23_containers/list/23781.cc: New.
945         * testsuite/23_containers/map/23781.cc: Likewise.
946         * testsuite/23_containers/multimap/23781.cc: Likewise.
947         * testsuite/23_containers/multiset/23781.cc: Likewise.
948         * testsuite/23_containers/set/23781.cc: Likewise.
949         * testsuite/ext/slist/23781.cc: Likewise.
950         * testsuite/tr1/6_containers/unordered/23781.cc: Likewise.
951         * testsuite/23_containers/map/operators/1_neg.cc: Adjust dg-error
952         line numbers.
953         * testsuite/23_containers/set/operators/1_neg.cc: Likewise.
954
955         * include/tr1/array (array<>::begin(), array<>::end()): Adjust
956         stylistically for consistency with the other containers.
957
958 2005-09-10  Joseph S. Myers  <joseph@codesourcery.com>
959
960         * testsuite/26_numerics/cmath/c99_classification_macros_c.cc:
961         XFAIL on *-*-linux*, not *-*-linux-gnu.
962
963 2005-09-09  Benjamin Kosnik  <bkoz@redhat.com>
964             Jakub Jelinek  <jakub@redhat.com>
965
966         * src/debug.cc (iterator_base_mutex): Make static for internal
967         linkage.
968         * src/locale_init.cc (locale_mutex): Same.
969         * src/mt_allocator.cc (freelist_mutex): Same.
970         * src/pool_allocator.cc (palloc_init_mutex): Same.
971         
972 2005-09-02  Paolo Carlini  <pcarlini@suse.de>
973
974         * testsuite/tr1/6_containers/unordered/hashtable/23465.cc:
975         Reduce maximum size and lf.
976
977 2005-09-01  Benjamin Kosnik  <bkoz@redhat.com>
978
979         * include/c_std/std_cmath.h: Declare C99 functions and helper
980         functions as inline.
981
982 2005-09-01  Benjamin Kosnik  <bkoz@redhat.com>
983             Paolo Carlini  <pcarlini@suse.de>
984         
985         * testsuite/lib/libstdc++.exp (check_v3_target_cxa_atexit): Fix
986         comment.
987
988 2005-09-01  Benjamin Kosnik  <bkoz@redhat.com>
989
990         * testsuite/lib/libstdc++.exp (check_v3_target_cxa_atexit): New.
991         * testsuite/lib/dg-options.exp (dg-require-cxa-atexit): New.
992         * testsuite/ext/mt_allocator/deallocate_local-6.cc: New.
993         * testsuite/ext/mt_allocator/deallocate_local-8.cc: New.
994         * testsuite/ext/mt_allocator/deallocate_local_thread-5.cc: New.
995         * testsuite/ext/mt_allocator/deallocate_local_thread-7.cc: New.
996         * docs/html/ext/mt_allocator.html: Add link to examples.
997         * testsuite/testsuite_allocator.h: Tweak.
998         * testsuite/ext/mt_allocator/deallocate_global-2.cc: Same.
999         * testsuite/ext/mt_allocator/deallocate_global-4.cc: Same.
1000         * testsuite/ext/mt_allocator/deallocate_global_thread-1.cc: Same.
1001         * testsuite/ext/mt_allocator/deallocate_global_thread-3.cc: Same.
1002         * testsuite/ext/mt_allocator/deallocate_local-2.cc: Same.
1003         * testsuite/ext/mt_allocator/deallocate_local-4.cc: Same.
1004         * testsuite/ext/mt_allocator/deallocate_local_thread-1.cc: Same.
1005         * testsuite/ext/mt_allocator/deallocate_local_thread-3.cc: Same.
1006         * testsuite/ext/new_allocator/deallocate_global.cc: Same.
1007         * testsuite/ext/new_allocator/deallocate_local.cc: Same.
1008
1009 2005-08-31  Paolo Carlini  <pcarlini@suse.de>
1010             Kaspar Fischer <fischerk@inf.ethz.ch> 
1011
1012         PR libstdc++/23632
1013         * include/bits/stl_bvector.h (_Bit_iterator::operator[],
1014         _Bit_const_iterator::operator[]): Const-ify.
1015         * testsuite/23_containers/vector/bool/23632.cc: New.
1016
1017 2005-08-30  Paolo Carlini  <pcarlini@suse.de>
1018
1019         PR libstdc++/23578 (cont)
1020         * include/bits/stl_bvector.h (class vector<bool>): Add
1021         a dummy data() to avoid problems in debug-mode.
1022
1023 2005-08-30  Paolo Carlini  <pcarlini@suse.de>
1024
1025         * testsuite/ext/hash_map/23528.cc: New.
1026
1027 2005-08-29  Paolo Carlini  <pcarlini@suse.de>
1028
1029         * include/bits/stl_map.h (class map): ... and a missing @a.
1030
1031 2005-08-29  Paolo Carlini  <pcarlini@suse.de>
1032
1033         * include/bits/stl_map.h (class map): Add missing % in comment.
1034
1035 2005-08-29  Paolo Carlini  <pcarlini@suse.de>
1036
1037         PR libstdc++/23578 (DR 464 [Ready])
1038         * include/bits/stl_map.h (class map): Add at(const key_type&)
1039         member functions.
1040         * include/bits/stl_vector.h (class vector): Add data() member
1041         functions.
1042         * include/debug/map.h (class map): Adjust consistently.
1043         * include/debug/vector (class vector): Likewise.
1044         * testsuite/23_containers/map/element_access/1.cc: New.
1045         * testsuite/23_containers/vector/data_access/1.cc: Likewise.
1046         * docs/html/ext/howto.html: Add an entry for DR 464.
1047
1048 2005-08-26  Benjamin Kosnik  <bkoz@redhat.com>
1049
1050         PR libstdc++/20534 (contd)
1051         * src/debug.cc (__gnu_debug): Remove __fancy_abort definition.
1052         Remove cstdio and cstdlib includes.
1053         * include/debug/debug.h: Define inline here. Remove
1054         _GLIBCXX_DEBUG_ABORT.
1055         * include/debug/macros.h: Remove __fancy_abort declaration,
1056         _GLIBXX_DEBUG_ABORT definition.
1057         * config/linker-map.gnu: Remove export.
1058         
1059 2005-08-26  Benjamin Kosnik  <bkoz@redhat.com>
1060
1061         * scripts/check_compile (UNIQUE_ID): New. Use to name output files.
1062
1063 2005-08-26  Paolo Carlini  <pcarlini@suse.de>
1064
1065         PR libstdc++/23081
1066         * include/tr1/array: Implement members back(), front(), data(),
1067         and the tuple interface; tidy.
1068         * testsuite/tr1/6_containers/array/element_access/back.cc: New.
1069         * testsuite/tr1/6_containers/array/element_access/data.cc: Likewise.
1070         * testsuite/tr1/6_containers/array/element_access/front.cc: Likewise.
1071         * testsuite/tr1/6_containers/array/tuple_interface/get.cc: Likewise.
1072         * testsuite/tr1/6_containers/array/tuple_interface/tuple_element.cc:
1073         Likewise.
1074         * testsuite/tr1/6_containers/array/tuple_interface/tuple_size.cc:
1075         Likewise.
1076
1077 2005-08-25  Paolo Carlini  <pcarlini@suse.de>
1078
1079         * include/tr1/hashtable: Use __throw_exception_again,
1080         not naked throw, in the catch clauses.
1081
1082 2005-08-24  Lawrence Lim  <llim@redhat.com>
1083             Jakub Jelinek  <jakub@redhat.com>
1084             Benjamin Kosnik  <bkoz@redhat.com>
1085
1086         PR libstdc++/23550
1087         * testsuite/21_strings/char_traits/requirements/char/1.cc
1088         (test01): Simplify counting.
1089         * testsuite/21_strings/char_traits/requirements/wchar_t/1.cc
1090         (test02): Same.
1091
1092 2005-08-24  Paolo Carlini  <pcarlini@suse.de>
1093             Chris Jefferson  <chris@bubblescope.net>
1094
1095         PR libstdc++/23465
1096         * include/tr1/hashtable (hash_code_base::m_swap): Use
1097         std::swap.
1098         (hashtable<>::hashtable(const hashtable&)): Use copy_code;
1099         fix m_allocate_node call.
1100         * testsuite/tr1/6_containers/unordered/hashtable/23465.cc: New.
1101
1102 2005-08-23  Kelley Cook  <kcook@gcc.gnu.org>
1103
1104         PR libstdc++/23462
1105         * testsuite/data/sgetn.txt: Revert to previous FSF address.
1106
1107 2005-08-23  Thomas Kho  <tkho@ucla.edu>
1108
1109         PR libstdc++/23358
1110         * include/bits/stl_construct.h (_Destroy(_ForwardIterator,
1111         _ForwardIterator, allocator<_Tp>)): Removed unused template parameter.
1112
1113 2005-08-22  Geoffrey Keating  <geoffk@apple.com>
1114
1115         * testsuite/23_containers/vector/resize/1.cc: XFAIL on darwin8.
1116         * testsuite/27_io/ios_base/storage/2.cc: Likewise.
1117
1118 2005-08-19  J"orn Rennecke <joern.rennecke@st.com>
1119
1120         * config/cpu/sh/atomicity.h: Replace broken generic code with current
1121         copy of generic/atomicity.h .
1122
1123 2005-08-17  Kelley Cook  <kcook@gcc.gnu.org>
1124
1125         * All files: Update FSF address.
1126
1127 2005-08-09  Andrew Pinski  <pinskia@physics.uc.edu>
1128
1129         * testsuite/26_numerics/cmath/c99_classification_macros_c.cc:
1130         xfail on *-*-darwin*.
1131
1132 2005-08-03  Geoffrey Keating  <geoffk@apple.com>
1133
1134         * configure.ac: Don't use GCC_NO_EXECUTABLES or clear
1135         GLIBCXX_IS_NATIVE on Darwin crosses.
1136         * acinclude.m4 (GLIBCXX_CONFIGURE_TESTSUITE): Don't skip configuring
1137         the testsuite just because there's no symbol versioning.
1138         * configure: Regenerate.
1139
1140         * acinclude.m4 (GLIBCXX_CHECK_SETRLIMIT_ancilliary): Print
1141         status messages.
1142         (GLIBCXX_CHECK_S_ISREG_OR_S_IFREG): Likewise.
1143         (GLIBCXX_CHECK_POLL): Likewise.
1144         (GLIBCXX_CHECK_WRITEV): Likewise.
1145         (GLIBCXX_CHECK_INT64_T): Likewise.
1146         (GLIBCXX_CHECK_LFS): Likewise.
1147         * configure: Regenerate.
1148
1149 2005-07-30  Andrew Pinski  <pinskia@physics.uc.edu>
1150
1151         * scripts/make_exports.pl: Pass --strip-underscores to c++filt.
1152
1153 2005-07-29  H.J. Lu  <hongjiu.lu@intel.com>
1154
1155         PR libstdc++/22284
1156         * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Revert
1157         the change to info.ttype_base.
1158         
1159 2005-07-28  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
1160
1161         * include/std/std_valarray.h: Fix grammar in comments.
1162
1163 2005-07-25  Geoffrey Keating  <geoffk@apple.com>
1164
1165         * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Handle darwin-export,
1166         and make it the default for Darwin.
1167         * scripts/make-exports.pl: New.
1168         * src/Makefile.am: Update for changes to GLIBCXX_ENABLE_SYMVERS.
1169         Handle darwin-export.
1170         * configure: Regenerate.
1171         * include/Makefile.in: Regenerate.
1172         * libmath/Makefile.in: Regenerate.
1173         * libsupc++/Makefile.in: Regenerate.
1174         * po/Makefile.in: Regenerate.
1175         * src/Makefile.in: Regenerate.
1176         * testsuite/Makefile.in: Regenerate.
1177
1178 2005-07-25  Dave Odell  <evilalias@hotmail.com>
1179
1180         PR libstdc++/23053
1181         * include/tr1/hashtable (hashtable<>::find_node): Const-ify.
1182         * testsuite/tr1/6_containers/unordered/hashtable/23053.cc: New.
1183
1184 2005-07-25  Paolo Carlini  <pcarlini@suse.de>
1185
1186         PR libstdc++/22515
1187         * include/bits/basic_string.h: Declare the specialization
1188         operator>>(basic_istream<char>&, basic_string<char>&).
1189         * include/std/std_istream.h: Declate the specialization
1190         operator>>(basic_istream<char>&, char*).
1191         * include/std/std_streambuf.h (basic_streambuf): Add friend
1192         declarations for the above.
1193         * src/istream.cc: Define the above.
1194         * testsuite/27_io/basic_istream/extractors_character/char/4.cc: New.
1195         * testsuite/27_io/basic_istream/extractors_character/wchar_t/4.cc:
1196         Likewise.
1197         * testsuite/performance/27_io/ifstream_extract_chars.cc: Likewise.
1198
1199 2005-07-20  Paolo Carlini  <pcarlini@suse.de>
1200
1201         * include/bits/streambuf.tcc (xsgetn, xsputn): Use streamsize
1202         instead of size_t.
1203         * src/streambuf.cc (__copy_streambufs): Likewise.
1204
1205 2005-07-18  Paolo Carlini  <pcarlini@suse.de>
1206
1207         * config/locale/gnu/ctype_members.cc (do_is(mask, wchar_t)):
1208         Speed-up for the common case of mask == ctype_base::space;
1209         otherwise, exit the loop earlier if the mask is one of the
1210         elementary ones.
1211
1212 2005-07-14  Paolo Carlini  <pcarlini@suse.de>
1213
1214         PR libstdc++/21193 (float, double, long double)
1215         * include/tr1/functional (hash<float>, hash<double>):
1216         Reimplement exploiting the Fnv_hash<>::hash helper.
1217         (hash<long double>): Reimplement using frexp (in this
1218         case, due to random padding bits, the former approach
1219         is not generally viable).
1220
1221 2005-07-13  Paolo Carlini  <pcarlini@suse.de>
1222
1223         PR libstdc++/21193 (string & wstring)
1224         * include/tr1/functional (hash<string>, hash<wstring>):
1225         Reimplement using the FNV hash.
1226
1227         * include/tr1/functional: Trivial formatting fixes.
1228
1229 2005-07-11  Paolo Carlini  <pcarlini@suse.de>
1230
1231         * include/bits/ostream.tcc (basic_ostream<>::operator<<(long),
1232         basic_ostream<>::operator<<(long long)): Don't deal with oct
1233         and hex and casts to unsigned here...
1234         * include/bits/locale_facets.tcc (__int_to_char(_CharT*, long,
1235         const _CharT*, ios_base::fmtflags), __int_to_char(_CharT*, long
1236         long, const _CharT*, ios_base::fmtflags)): ... do that here,
1237         instead, as per Table 57.
1238         (num_put<>::_M_insert_int): Tidy treatment of numeric base and
1239         sign.
1240         * include/std/std_ostream.h (operator<<(short), operator<<(int)):
1241         Adjust logic, as per the letter of the resolution of DR117 [WP].
1242         * testsuite/22_locale/num_put/put/char/10.cc: New.
1243         * testsuite/22_locale/num_put/put/wchar_t/10.cc: Likewise.
1244         * testsuite/27_io/basic_ostream/inserters_arithmetic/char/7.cc:
1245         Likewise.
1246         * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/7.cc:
1247         Likewise.
1248
1249 2005-07-07  David Edelsohn  <edelsohn@gnu.org>
1250
1251         * testsuite/ext/pb_assoc/example/tree_order_statistics_join.cc:
1252         Change map_t to map_type.
1253
1254 2005-07-05  Paolo Carlini  <pcarlini@suse.de>
1255
1256         Add class __versa_string, a versatile "basic_string-type" class:
1257         an additional, non-standard, template parameter allows to specify
1258         the preferred base class. Two are provided: __rc_string_base,
1259         which implements a behavior very similar to our standard string,
1260         and __sso_string_base, not reference-counted and optimized for
1261         short strings. 
1262         * include/ext/rc_string_base.h: New.
1263         * include/ext/sso_string_base.h: Likewise.
1264         * include/ext/vstring.h: Likewise.
1265         * include/ext/vstring.tcc: Likewise.
1266         * include/ext/vstring_fwd.h: Likewise.
1267         * include/ext/vstring_util.h: Likewise.
1268         * include/Makefile.am: Add.
1269         * include/Makefile.in: Regenerate.
1270         * testsuite/ext/vstring/explicit_instantiation/1.cc: New.
1271         * testsuite/ext/vstring/explicit_instantiation/2.cc: Likewise.
1272         * testsuite/ext/vstring/explicit_instantiation/char/1.cc: Likewise.
1273         * testsuite/ext/vstring/explicit_instantiation/wchar_t/1.cc: Likewise.
1274
1275         * Makefile.in: Regenerate with autotools 1.9.3 (to date, the version
1276         officially used by v3).
1277         * aclocal.m4: Likewise.
1278         * libmath/Makefile.in: Likewise.
1279         * libsupc++/Makefile.in: Likewise.
1280         * po/Makefile.in: Likewise.
1281         * src/Makefile.in: Likewise.
1282         * testsuite/Makefile.in: Likewise.
1283
1284 2005-07-01  Paolo Carlini  <pcarlini@suse.de>
1285
1286         Port from libstdcxx_so_7-branch:
1287         2004-10-28  Chris Jefferson  <chris@bubblescope.net>
1288
1289         PR libstdc++/17441
1290         * include/bit/stl_algo.h (find(,,,input_iterator_tag),
1291         find(,,,random_access_interator_tag),
1292         find_if(,,,input_iterator_tag),
1293         find_if(,,,random_access_iterator_tag)): Uglify function name.
1294         (find, find_if): Use new uglified specialisation names.
1295         * testsuite/25_algorithms/find/17441.cc: New.
1296
1297 2005-06-30  Ulrich Weigand  <uweigand@de.ibm.com>
1298
1299         * include/ext/pb_assoc/detail/hash_fn/mask_based_range_hashing.hpp
1300         (PB_ASSOC_CLASS_C_DEC::s_highest_bit_1): Cast constant 1 to target
1301         type before shifting.
1302
1303 2005-06-29  Paolo Carlini  <pcarlini@suse.de>
1304             
1305         PR libstdc++/21244 (cont^2)
1306         * include/ext/bitmap_allocator.h: Convert everywhere
1307         bits_per_block to size_t.       
1308
1309 2005-06-29  Jonathan Wakely  <redi@gcc.gnu.org>
1310
1311         * include/bits/basic_string.h, include/bits/locale_facets.h: Fix
1312         Doxygen comments that use wrong parameter and function names.
1313
1314 2005-06-29  Paolo Carlini  <pcarlini@suse.de>
1315
1316         * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 37.
1317         * docs/html/ext/howto.html: Adjust.
1318
1319 2005-06-29  Paolo Carlini  <pcarlini@suse.de>
1320
1321         PR libstdc++/22131
1322         * include/bits/locale_facets.tcc (num_get<>::_M_extract_int,
1323         num_get<>::_M_extract_float, money_get<>::_M_extract):
1324         Adjust to assign the result also when digit grouping is
1325         wrong (but the grammar is correct), as per 22.2.2.1.2, p11-12
1326         (NB: consistently for money_get too).
1327         * config/locale/generic/c_locale.cc (__convert_to_v): Do
1328         not check ios_base::failbit at the outset.
1329         * config/locale/gnu/c_locale.cc: Likewise.
1330         * testsuite/22_locale/money_get/get/char/22131.cc: New.
1331         * testsuite/22_locale/money_get/get/wchar_t/22131.cc: Likewise.
1332         * testsuite/22_locale/num_get/get/char/22131.cc: Likewise.
1333         * testsuite/22_locale/num_get/get/wchar_t/22131.cc: Likewise.
1334         * testsuite/22_locale/num_get/get/char/12.cc: Adjust.
1335         * testsuite/22_locale/num_get/get/wchar_t/12.cc: Likewise.
1336         * testsuite/27_io/basic_istream/extractors_arithmetic/char/07.cc:
1337         Likewise.
1338         * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/07.cc:
1339         Likewise.
1340
1341 2005-06-28  Paul Brook  <paul@codesourcery.com>
1342
1343         * acinclude.m4 (GLIBCXX_ENABLE_SJLJ_EXCEPTIONS): Check for
1344         __cxa_end_cleanup.
1345         * libsupc++/Makefile.am (sources): Add eh_call.c and eh_arm.c.
1346         * libsupc++/eh_arm.cc: New file.
1347         * libsupc++/eh_call.cc: New file.
1348         * libsupc++/eh_catch.cc (__cxa_get_exception_ptr): Use
1349         __gxx_caught_object.
1350         (__cxa_begin_catch): Ditto. Use __is_gxx_exception_class. Call
1351         _Unwind_Complete when using the ARM EABI.
1352         (__cxa_end_catch): Use __is_gxx_exception_class.
1353         * libsupc++/eh_personality.cc: Define NO_SIZE_OF_ENCODED_VALUE when
1354         using the ARM EABI.
1355         (save_caught_exception, restore_caught_exception): New functions.
1356         (_throw_typet): New typedef.
1357         (get_ttype_entry, get_adjusted_ptr, check_exception_spec): Add ARM
1358         EABI implementations.
1359         (PERSONALITY_FUNCTION): Use new functions.  Addd support for ARM EABI
1360         unwinding libary.
1361         (__cxa_unexpected): Disable when using the ARM EABI.
1362         * libsupc++/eh_throw.cc (__cxa_throw): Use __GXX_INIT_EXCEPTION_CLASS.
1363         (__cxa_rethrow): Use __is_gxx_exception_class.  Call
1364         _Unwind_RaiseException when using the ARM EABI.
1365         * libsupc++/unwind-cxx.h (struct __cxa_exception): Add fields for ARM
1366         EABI semantics.
1367         (struct __cxa_eh_globals): Ditto.
1368         (__cxa_call_terminate): Add prototype.
1369         (__cxa_type_match, __cxa_begin_cleanup, __cxa_end_cleanup): Add
1370         prototypes.
1371         (__get_exception_header_from_obj, __get_exception_header_from_ue):
1372         Move earlier in file.
1373         (__is_gxx_exception_class, __GXX_INIT_EXCEPTION_CLASS,
1374         __gxx_caught_object): New functions.
1375         * aclocal.m4: Regenerate.
1376         * configure: Regenerate.
1377         * Makefile.in: Regenerate.
1378         * include/Makefile.in: Regenerate.
1379         * libmath/Makefile.in: Regenerate.
1380         * libsupc++/Makefile.in: Regenerate.
1381         * po/Makefile.in: Regenerate.
1382         * src/Makefie.in: Regenerate.
1383         * testsuite/makefile.in: Regenerate.
1384
1385 2005-06-27  Paolo Carlini  <pcarlini@suse.de>
1386
1387         PR libstdc++/22102
1388         * include/bits/stl_tree.h (insert_unique(iterator, const _Val&),
1389         insert_equal((iterator, const _Val&)): Reimplement to check both
1390         before and after, as per the algorithm "ignore hint if wrong" of
1391         ISO paper N1780.
1392
1393 2005-06-27  Benjamin Kosnik  <bkoz@redhat.com>
1394             Ami Tavory  <pbassoc@gmail.com>
1395         
1396         * docs/html/documentation.html: Add link for policy based
1397         associative containers docs.
1398         * docs/html/ext/pb_assoc/Std_hash_set_impl.jpg: New.
1399         * docs/html/ext/pb_assoc/acks.html: New.
1400         * docs/html/ext/pb_assoc/balls_and_bins.jpg: New.
1401         * docs/html/ext/pb_assoc/basic_assoc_cntnr.html: New.
1402         * docs/html/ext/pb_assoc/basic_assoc_cntnr_compound_data.html: New.
1403         * docs/html/ext/pb_assoc/basic_assoc_cntnr_no_data.html: New.
1404         * docs/html/ext/pb_assoc/basic_ds_tag.html: New.
1405         * docs/html/ext/pb_assoc/basic_hash_assoc_cntnr.html: New.
1406         * docs/html/ext/pb_assoc/basic_hash_ds_tag.html: New.
1407         * docs/html/ext/pb_assoc/basic_invalidation_guarantee.html: New.
1408         * docs/html/ext/pb_assoc/basic_ms_tag.html: New.
1409         * docs/html/ext/pb_assoc/basic_tree_assoc_cntnr.html: New.
1410         * docs/html/ext/pb_assoc/
1411           basic_tree_assoc_cntnr_const_node_iterator.html: New.
1412         * docs/html/ext/pb_assoc/
1413           basic_tree_assoc_cntnr_node_iterator.html: New.
1414         * docs/html/ext/pb_assoc/basic_tree_assoc_cntnr_rev.html: New.
1415         * docs/html/ext/pb_assoc/basic_tree_assoc_cntnr_rev_it.html: New.
1416         * docs/html/ext/pb_assoc/basic_tree_ds_tag.html: New.
1417         * docs/html/ext/pb_assoc/cc_hash_assoc_cntnr.html: New.
1418         * docs/html/ext/pb_assoc/cc_hash_ds_tag.html: New.
1419         * docs/html/ext/pb_assoc/
1420           cc_hash_max_collision_check_resize_trigger.html: New.
1421         * docs/html/ext/pb_assoc/cc_hash_policy_cd.jpg: New.
1422         * docs/html/ext/pb_assoc/cd.jpg: New.
1423         * docs/html/ext/pb_assoc/component_requirements.html: New.
1424         * docs/html/ext/pb_assoc/compound_data_enabled_ms_tag.html: New.
1425         * docs/html/ext/pb_assoc/compound_data_type.html: New.
1426         * docs/html/ext/pb_assoc/compound_ds_tag.html: New.
1427         * docs/html/ext/pb_assoc/concepts.html: New.
1428         * docs/html/ext/pb_assoc/contact.html: New.
1429         * docs/html/ext/pb_assoc/counter_update_metadata.html: New.
1430         * docs/html/ext/pb_assoc/counter_update_policy.html: New.
1431         * docs/html/ext/pb_assoc/data_enabled_ms_tag.html: New.
1432         * docs/html/ext/pb_assoc/design.html: New.
1433         * docs/html/ext/pb_assoc/different_underlying_dss.jpg: New.
1434         * docs/html/ext/pb_assoc/direct_mask_range_hashing.html: New.
1435         * docs/html/ext/pb_assoc/direct_mod_range_hashing.html: New.
1436         * docs/html/ext/pb_assoc/disclaimer.html: New.
1437         * docs/html/ext/pb_assoc/ds_gen.html: New.
1438         * docs/html/ext/pb_assoc/ds_tag_cd.jpg: New.
1439         * docs/html/ext/pb_assoc/ds_traits.html: New.
1440         * docs/html/ext/pb_assoc/embedded_lists_1.jpg: New.
1441         * docs/html/ext/pb_assoc/embedded_lists_2.jpg: New.
1442         * docs/html/ext/pb_assoc/examples.html: New.
1443         * docs/html/ext/pb_assoc/exception_guarantees_specifics.html: New.
1444         * docs/html/ext/pb_assoc/find_invalidation_guarantee.html: New.
1445         * docs/html/ext/pb_assoc/find_iterators_cd.jpg: New.
1446         * docs/html/ext/pb_assoc/find_iterators_range_ops_1.jpg: New.
1447         * docs/html/ext/pb_assoc/find_iterators_range_ops_2.jpg: New.
1448         * docs/html/ext/pb_assoc/generics.html: New.
1449         * docs/html/ext/pb_assoc/gp_hash_assoc_cntnr.html: New.
1450         * docs/html/ext/pb_assoc/gp_hash_ds_tag.html: New.
1451         * docs/html/ext/pb_assoc/gp_hash_policy_cd.jpg: New.
1452         * docs/html/ext/pb_assoc/hash_and_probe_general.html: New.
1453         * docs/html/ext/pb_assoc/hash_based_containers.html: New.
1454         * docs/html/ext/pb_assoc/hash_cd.jpg: New.
1455         * docs/html/ext/pb_assoc/hash_exponential_size_policy.html: New.
1456         * docs/html/ext/pb_assoc/hash_fn.html: New.
1457         * docs/html/ext/pb_assoc/hash_load_check_resize_trigger.html: New.
1458         * docs/html/ext/pb_assoc/hash_policies.html: New.
1459         * docs/html/ext/pb_assoc/hash_policy_cd.jpg: New.
1460         * docs/html/ext/pb_assoc/hash_prime_size_policy.html: New.
1461         * docs/html/ext/pb_assoc/hash_range_hashing_seq_diagram.jpg: New.
1462         * docs/html/ext/pb_assoc/hash_range_hashing_seq_diagram2.jpg: New.
1463         * docs/html/ext/pb_assoc/hash_ranged_hash_range_hashing_fns.jpg: New.
1464         * docs/html/ext/pb_assoc/hash_standard_resize_policy.html: New.
1465         * docs/html/ext/pb_assoc/home.html: New.
1466         * docs/html/ext/pb_assoc/index.html: New.
1467         * docs/html/ext/pb_assoc/insert_resize_sequence_diagram1.jpg: New.
1468         * docs/html/ext/pb_assoc/insert_resize_sequence_diagram2.jpg: New.
1469         * docs/html/ext/pb_assoc/insert_resize_sequence_diagram3.jpg: New.
1470         * docs/html/ext/pb_assoc/insert_type_methods.html: New.
1471         * docs/html/ext/pb_assoc/interface.html: New.
1472         * docs/html/ext/pb_assoc/interval_node_invariants.jpg: New.
1473         * docs/html/ext/pb_assoc/introduction.html: New.
1474         * docs/html/ext/pb_assoc/invalidation_guarantee_cd.jpg: New.
1475         * docs/html/ext/pb_assoc/invalidation_guarantee_erase.jpg: New.
1476         * docs/html/ext/pb_assoc/lib_download.html: New.
1477         * docs/html/ext/pb_assoc/linear_probe_fn.html: New.
1478         * docs/html/ext/pb_assoc/list_updates.html: New.
1479         * docs/html/ext/pb_assoc/lu_assoc_cntnr.html: New.
1480         * docs/html/ext/pb_assoc/lu_based_containers.html: New.
1481         * docs/html/ext/pb_assoc/lu_cd.jpg: New.
1482         * docs/html/ext/pb_assoc/lu_ds_tag.html: New.
1483         * docs/html/ext/pb_assoc/lu_ops.jpg: New.
1484         * docs/html/ext/pb_assoc/mmap_value_utils.html: New.
1485         * docs/html/ext/pb_assoc/motivation.html: New.
1486         * docs/html/ext/pb_assoc/move_to_front_update_metadata.html: New.
1487         * docs/html/ext/pb_assoc/move_to_front_update_policy.html: New.
1488         * docs/html/ext/pb_assoc/ms_cd.jpg: New.
1489         * docs/html/ext/pb_assoc/ms_gen.html: New.
1490         * docs/html/ext/pb_assoc/ms_tag_cd.jpg: New.
1491         * docs/html/ext/pb_assoc/ms_traits.html: New.
1492         * docs/html/ext/pb_assoc/node_invariant_invalidations.jpg: New.
1493         * docs/html/ext/pb_assoc/node_invariants.html: New.
1494         * docs/html/ext/pb_assoc/node_invariants.jpg: New.
1495         * docs/html/ext/pb_assoc/non_unique_mapping.html: New.
1496         * docs/html/ext/pb_assoc/non_unique_mapping_containers.jpg: New.
1497         * docs/html/ext/pb_assoc/null_data_type.html: New.
1498         * docs/html/ext/pb_assoc/null_hash_fn.html: New.
1499         * docs/html/ext/pb_assoc/null_probe_fn.html: New.
1500         * docs/html/ext/pb_assoc/order_by_key.html: New.
1501         * docs/html/ext/pb_assoc/order_statistics_key.html: New.
1502         * docs/html/ext/pb_assoc/order_statistics_key_cmp.html: New.
1503         * docs/html/ext/pb_assoc/order_statistics_node_updator.html: New.
1504         * docs/html/ext/pb_assoc/ov_tree_ds_tag.html: New.
1505         * docs/html/ext/pb_assoc/overview.html: New.
1506         * docs/html/ext/pb_assoc/pb_assoc_ex.html: New.
1507         * docs/html/ext/pb_assoc/portability.html: New.
1508         * docs/html/ext/pb_assoc/quadratic_probe_fn.html: New.
1509         * docs/html/ext/pb_assoc/range_invalidation_guarantee.html: New.
1510         * docs/html/ext/pb_assoc/rank_node_invariants.jpg: New.
1511         * docs/html/ext/pb_assoc/rationale_null_node_updator.jpg: New.
1512         * docs/html/ext/pb_assoc/rb_tree_ds_tag.html: New.
1513         * docs/html/ext/pb_assoc/reference_iterator.jpg: New.
1514         * docs/html/ext/pb_assoc/references.html: New.
1515         * docs/html/ext/pb_assoc/regression_tests.html: New.
1516         * docs/html/ext/pb_assoc/resize_general.html: New.
1517         * docs/html/ext/pb_assoc/resize_policies.html: New.
1518         * docs/html/ext/pb_assoc/resize_policy_cd.jpg: New.
1519         * docs/html/ext/pb_assoc/restoring_node_invariants.jpg: New.
1520         * docs/html/ext/pb_assoc/sample_node_updator.hpp: New.
1521         * docs/html/ext/pb_assoc/sample_probe_fn.hpp: New.
1522         * docs/html/ext/pb_assoc/sample_probe_fn.html: New.
1523         * docs/html/ext/pb_assoc/sample_range_hashing.hpp: New.
1524         * docs/html/ext/pb_assoc/sample_range_hashing.html: New.
1525         * docs/html/ext/pb_assoc/sample_ranged_hash_fn.hpp: New.
1526         * docs/html/ext/pb_assoc/sample_ranged_hash_fn.html: New.
1527         * docs/html/ext/pb_assoc/sample_ranged_probe_fn.hpp: New.
1528         * docs/html/ext/pb_assoc/sample_ranged_probe_fn.html: New.
1529         * docs/html/ext/pb_assoc/sample_resize_policy.hpp: New.
1530         * docs/html/ext/pb_assoc/sample_resize_policy.html: New.
1531         * docs/html/ext/pb_assoc/sample_resize_trigger.hpp: New.
1532         * docs/html/ext/pb_assoc/sample_size_policy.hpp: New.
1533         * docs/html/ext/pb_assoc/sample_update_policy.hpp: New.
1534         * docs/html/ext/pb_assoc/size_policies_general.html: New.
1535         * docs/html/ext/pb_assoc/splay_tree_ds_tag.html: New.
1536         * docs/html/ext/pb_assoc/timing_tests.html: New.
1537         * docs/html/ext/pb_assoc/toc.html: New.
1538         * docs/html/ext/pb_assoc/tree_assoc_cntnr.html: New.
1539         * docs/html/ext/pb_assoc/
1540           tree_assoc_cntnr_const_node_iterator.html: New.
1541         * docs/html/ext/pb_assoc/tree_assoc_cntnr_node_iterator.html: New.
1542         * docs/html/ext/pb_assoc/tree_based_containers.html: New.
1543         * docs/html/ext/pb_assoc/tree_cd.jpg: New.
1544         * docs/html/ext/pb_assoc/trigger_policies_general.html: New.
1545         * docs/html/ext/pb_assoc/tutorial.html: New.
1546         * docs/html/ext/pb_assoc/update_seq_diagram.jpg: New.
1547         * include/Makefile.am: Add assoc_srcdir, assoc_builddir, assoc_subdir,
1548         assoc_headers.
1549         * include/Makefile.in: Regenerate.
1550         * include/ext/typelist.h: New.
1551         * include/ext/pb_assoc/assoc_cntnr.hpp: New.
1552         * include/ext/pb_assoc/data_type.hpp: New.
1553         * include/ext/pb_assoc/ds_trait.hpp: New.
1554         * include/ext/pb_assoc/exception.hpp: New.
1555         * include/ext/pb_assoc/hash_policy.hpp: New.
1556         * include/ext/pb_assoc/lu_policy.hpp: New.
1557         * include/ext/pb_assoc/ms_trait.hpp: New.
1558         * include/ext/pb_assoc/tree_policy.hpp: New.
1559         * include/ext/pb_assoc/trivial_iterator_def.hpp: New.
1560         * include/ext/pb_assoc/detail/assoc_cntnr_base.hpp: New.
1561         * include/ext/pb_assoc/detail/cond_dealtor.hpp: New.
1562         * include/ext/pb_assoc/detail/constructors_destructor_fn_imps.hpp: New.
1563         * include/ext/pb_assoc/detail/ds_trait_imp.hpp: New.
1564         * include/ext/pb_assoc/detail/hash_types_traits.hpp: New.
1565         * include/ext/pb_assoc/detail/map_debug_base.hpp: New.
1566         * include/ext/pb_assoc/detail/mapping_level_imp.hpp: New.
1567         * include/ext/pb_assoc/detail/ms_category_imp.hpp: New.
1568         * include/ext/pb_assoc/detail/ms_trait_imp.hpp: New.
1569         * include/ext/pb_assoc/detail/order_statistics_imp.hpp: New.
1570         * include/ext/pb_assoc/detail/standard_policies.hpp: New.
1571         * include/ext/pb_assoc/detail/standard_sizes.hpp: New.
1572         * include/ext/pb_assoc/detail/type_utils.hpp: New.
1573         * include/ext/pb_assoc/detail/typelist.hpp: New.
1574         * include/ext/pb_assoc/detail/types_traits.hpp: New.
1575         * include/ext/pb_assoc/detail/basic_assoc_cntnr/
1576           constructor_destructor_fn_imps.hpp: New.
1577         * include/ext/pb_assoc/detail/basic_assoc_cntnr/
1578           constructors_destructor_fn_imps.hpp: New.
1579         * include/ext/pb_assoc/detail/basic_assoc_cntnr/d_extract_key.hpp: New.
1580         * include/ext/pb_assoc/detail/basic_assoc_cntnr/
1581           d_find_fn_imps.hpp: New.
1582         * include/ext/pb_assoc/detail/basic_assoc_cntnr/
1583           d_insert_fn_imps.hpp: New.
1584         * include/ext/pb_assoc/detail/basic_assoc_cntnr/erase_fn_imps.hpp: New.
1585         * include/ext/pb_assoc/detail/basic_assoc_cntnr/extract_key.hpp: New.
1586         * include/ext/pb_assoc/detail/basic_assoc_cntnr/info_fn_imps.hpp: New.
1587         * include/ext/pb_assoc/detail/basic_assoc_cntnr/
1588           insert_fn_imps.hpp: New.
1589         * include/ext/pb_assoc/detail/basic_assoc_cntnr/
1590           iterators_fn_imps.hpp: New.
1591         * include/ext/pb_assoc/detail/basic_hash_assoc_cntnr/
1592           constructor_destructor_fn_imps.hpp: New.
1593         * include/ext/pb_assoc/detail/basic_hash_assoc_cntnr/
1594           constructors_destructor_fn_imps.hpp: New.
1595         * include/ext/pb_assoc/detail/basic_hash_assoc_cntnr/
1596           resize_fn_imps.hpp: New.
1597         * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
1598           constructor_destructor_fn_imps.hpp: New.
1599         * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
1600           constructors_destructor_fn_imps.hpp: New.
1601         * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
1602           erase_fn_imps.hpp: New.
1603         * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
1604           node_iteration_fn_imps.hpp: New.
1605         * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
1606           policy_access_fn_imps.hpp: New.
1607         * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
1608           r_erase_fn_imps.hpp: New.
1609         * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
1610           r_range_iteration_fn_imps.hpp: New.
1611         * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
1612           range_iteration_fn_imps.hpp: New.     
1613         * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
1614           split_join_fn_imps.hpp: New.
1615         * include/ext/pb_assoc/detail/bin_search_tree_/
1616           bin_search_tree_.hpp: New.
1617         * include/ext/pb_assoc/detail/bin_search_tree_/
1618           cond_dtor_entry_dealtor.hpp: New.
1619         * include/ext/pb_assoc/detail/bin_search_tree_/
1620           cond_key_dtor_entry_dealtor.hpp: New.
1621         * include/ext/pb_assoc/detail/bin_search_tree_/
1622           constructors_destructor_fn_imps.hpp: New.
1623         * include/ext/pb_assoc/detail/bin_search_tree_/debug_fn_imps.hpp: New.
1624         * include/ext/pb_assoc/detail/bin_search_tree_/erase_fn_imps.hpp: New.
1625         * include/ext/pb_assoc/detail/bin_search_tree_/find_fn_imps.hpp: New.
1626         * include/ext/pb_assoc/detail/bin_search_tree_/find_iterators.hpp: New.
1627         * include/ext/pb_assoc/detail/bin_search_tree_/info_fn_imps.hpp: New.
1628         * include/ext/pb_assoc/detail/bin_search_tree_/insert_fn_imps.hpp: New.
1629         * include/ext/pb_assoc/detail/bin_search_tree_/
1630           iterators_fn_imps.hpp: New.
1631         * include/ext/pb_assoc/detail/bin_search_tree_/node_iterators.hpp: New.
1632         * include/ext/pb_assoc/detail/bin_search_tree_/
1633           r_erase_fn_imps.hpp: New.
1634         * include/ext/pb_assoc/detail/bin_search_tree_/rotate_fn_imps.hpp: New.
1635         * include/ext/pb_assoc/detail/bin_search_tree_/
1636           split_join_fn_imps.hpp: New.
1637         * include/ext/pb_assoc/detail/cc_hash_assoc_cntnr/
1638           constructor_destructor_fn_imps.hpp: New.
1639         * include/ext/pb_assoc/detail/cc_ht_map_/cc_ht_map_.hpp: New.
1640         * include/ext/pb_assoc/detail/cc_ht_map_/cmp_fn_imps.hpp: New.
1641         * include/ext/pb_assoc/detail/cc_ht_map_/
1642           cond_key_dtor_entry_dealtor.hpp: New.
1643         * include/ext/pb_assoc/detail/cc_ht_map_/
1644           constructor_destructor_fn_imps.hpp: New.
1645         * include/ext/pb_assoc/detail/cc_ht_map_/
1646           constructor_destructor_no_store_hash_fn_imps.hpp: New.
1647         * include/ext/pb_assoc/detail/cc_ht_map_/
1648           constructor_destructor_store_hash_fn_imps.hpp: New.
1649         * include/ext/pb_assoc/detail/cc_ht_map_/debug_fn_imps.hpp: New.
1650         * include/ext/pb_assoc/detail/cc_ht_map_/
1651           debug_no_store_hash_fn_imps.hpp: New.
1652         * include/ext/pb_assoc/detail/cc_ht_map_/
1653           debug_store_hash_fn_imps.hpp: New.
1654         * include/ext/pb_assoc/detail/cc_ht_map_/entry_list_fn_imps.hpp: New.
1655         * include/ext/pb_assoc/detail/cc_ht_map_/erase_fn_imps.hpp: New.
1656         * include/ext/pb_assoc/detail/cc_ht_map_/
1657           erase_no_store_hash_fn_imps.hpp: New.
1658         * include/ext/pb_assoc/detail/cc_ht_map_/
1659           erase_store_hash_fn_imps.hpp: New.
1660         * include/ext/pb_assoc/detail/cc_ht_map_/
1661           find_fn_imps.hpp: New.
1662         * include/ext/pb_assoc/detail/cc_ht_map_/
1663           find_no_store_hash_fn_imps.hpp: New.
1664         * include/ext/pb_assoc/detail/cc_ht_map_/
1665           find_store_hash_fn_imps.hpp: New.
1666         * include/ext/pb_assoc/detail/cc_ht_map_/info_fn_imps.hpp: New.
1667         * include/ext/pb_assoc/detail/cc_ht_map_/insert_fn_imps.hpp: New.
1668         * include/ext/pb_assoc/detail/cc_ht_map_/
1669           insert_no_store_hash_fn_imps.hpp: New.
1670         * include/ext/pb_assoc/detail/cc_ht_map_/
1671           insert_store_hash_fn_imps.hpp: New.
1672         * include/ext/pb_assoc/detail/cc_ht_map_/iterators_fn_imps.hpp: New.
1673         * include/ext/pb_assoc/detail/cc_ht_map_/
1674           policy_access_fn_imps.hpp: New.
1675         * include/ext/pb_assoc/detail/cc_ht_map_/resize_fn_imps.hpp: New.
1676         * include/ext/pb_assoc/detail/cc_ht_map_/
1677           resize_no_store_hash_fn_imps.hpp: New.
1678         * include/ext/pb_assoc/detail/cc_ht_map_/
1679           resize_store_hash_fn_imps.hpp: New.
1680         * include/ext/pb_assoc/detail/cc_ht_map_/size_fn_imps.hpp: New.
1681         * include/ext/pb_assoc/detail/cc_ht_map_/standard_policies.hpp: New.
1682         * include/ext/pb_assoc/detail/eq_fn/eq_by_less.hpp: New.
1683         * include/ext/pb_assoc/detail/eq_fn/hash_eq_fn.hpp: New.
1684         * include/ext/pb_assoc/detail/gp_hash_assoc_cntnr/
1685           constructor_destructor_fn_imps.hpp: New.
1686         * include/ext/pb_assoc/detail/gp_ht_map_/
1687           constructor_destructor_fn_imps.hpp: New.
1688         * include/ext/pb_assoc/detail/gp_ht_map_/
1689           constructor_destructor_no_store_hash_fn_imps.hpp: New.
1690         * include/ext/pb_assoc/detail/gp_ht_map_/
1691           constructor_destructor_store_hash_fn_imps.hpp: New.
1692         * include/ext/pb_assoc/detail/gp_ht_map_/debug_fn_imps.hpp: New.
1693         * include/ext/pb_assoc/detail/gp_ht_map_/
1694           debug_no_store_hash_fn_imps.hpp: New.
1695         * include/ext/pb_assoc/detail/gp_ht_map_/
1696           debug_store_hash_fn_imps.hpp: New.
1697         * include/ext/pb_assoc/detail/gp_ht_map_/erase_fn_imps.hpp: New.
1698         * include/ext/pb_assoc/detail/gp_ht_map_/
1699           erase_no_store_hash_fn_imps.hpp: New.
1700         * include/ext/pb_assoc/detail/gp_ht_map_/
1701           erase_store_hash_fn_imps.hpp: New.
1702         * include/ext/pb_assoc/detail/gp_ht_map_/find_fn_imps.hpp: New.
1703         * include/ext/pb_assoc/detail/gp_ht_map_/
1704           find_no_store_hash_fn_imps.hpp: New.
1705         * include/ext/pb_assoc/detail/gp_ht_map_/
1706           find_store_hash_fn_imps.hpp: New.
1707         * include/ext/pb_assoc/detail/gp_ht_map_/gp_ht_map_.hpp: New.
1708         * include/ext/pb_assoc/detail/gp_ht_map_/info_fn_imps.hpp: New.
1709         * include/ext/pb_assoc/detail/gp_ht_map_/insert_fn_imps.hpp: New.
1710         * include/ext/pb_assoc/detail/gp_ht_map_/
1711           insert_no_store_hash_fn_imps.hpp: New.
1712         * include/ext/pb_assoc/detail/gp_ht_map_/
1713           insert_store_hash_fn_imps.hpp: New.
1714         * include/ext/pb_assoc/detail/gp_ht_map_/iterator_fn_imps.hpp: New.
1715         * include/ext/pb_assoc/detail/gp_ht_map_/
1716           policy_access_fn_imps.hpp: New.
1717         * include/ext/pb_assoc/detail/gp_ht_map_/resize_fn_imps.hpp: New.
1718         * include/ext/pb_assoc/detail/gp_ht_map_/
1719           resize_no_store_hash_fn_imps.hpp: New.
1720         * include/ext/pb_assoc/detail/gp_ht_map_/
1721           resize_store_hash_fn_imps.hpp: New.
1722         * include/ext/pb_assoc/detail/hash_fn/
1723           direct_mask_range_hashing_imp.hpp: New.
1724         * include/ext/pb_assoc/detail/hash_fn/
1725           direct_mod_range_hashing_imp.hpp: New.
1726         * include/ext/pb_assoc/detail/hash_fn/linear_probe_fn_imp.hpp: New.
1727         * include/ext/pb_assoc/detail/hash_fn/
1728           mask_based_range_hashing.hpp: New.
1729         * include/ext/pb_assoc/detail/hash_fn/mod_based_range_hashing.hpp: New.
1730         * include/ext/pb_assoc/detail/hash_fn/probe_fn_base.hpp: New.
1731         * include/ext/pb_assoc/detail/hash_fn/quadratic_probe_fn_imp.hpp: New.
1732         * include/ext/pb_assoc/detail/hash_fn/ranged_hash_fn.hpp: New.
1733         * include/ext/pb_assoc/detail/hash_fn/ranged_probe_fn.hpp: New.
1734         * include/ext/pb_assoc/detail/lu_assoc_cntnr/
1735           constructor_destructor_fn_imps.hpp: New.
1736         * include/ext/pb_assoc/detail/lu_assoc_cntnr/
1737           policy_access_fn_imps.hpp: New.
1738         * include/ext/pb_assoc/detail/lu_map_/
1739           constructor_destructor_fn_imps.hpp: New.
1740         * include/ext/pb_assoc/detail/lu_map_/debug_fn_imps.hpp: New.
1741         * include/ext/pb_assoc/detail/lu_map_/erase_fn_imps.hpp: New.
1742         * include/ext/pb_assoc/detail/lu_map_/find_fn_imps.hpp: New.
1743         * include/ext/pb_assoc/detail/lu_map_/info_fn_imps.hpp: New.
1744         * include/ext/pb_assoc/detail/lu_map_/insert_fn_imps.hpp: New.
1745         * include/ext/pb_assoc/detail/lu_map_/iterators_fn_imps.hpp: New.
1746         * include/ext/pb_assoc/detail/lu_map_/lu_map_.hpp: New.
1747         * include/ext/pb_assoc/detail/lu_map_/policy_access_fn_imps.hpp: New.
1748         * include/ext/pb_assoc/detail/lu_policy/
1749           counter_lu_metadata_imp.hpp: New.
1750         * include/ext/pb_assoc/detail/lu_policy/counter_lu_policy_imp.hpp: New.
1751         * include/ext/pb_assoc/detail/lu_policy/mtf_lu_policy_imp.hpp: New.
1752         * include/ext/pb_assoc/detail/ov_tree_map_/cond_dtor.hpp: New.
1753         * include/ext/pb_assoc/detail/ov_tree_map_/
1754           constructors_destructor_fn_imps.hpp: New.
1755         * include/ext/pb_assoc/detail/ov_tree_map_/debug_fn_imps.hpp: New.
1756         * include/ext/pb_assoc/detail/ov_tree_map_/erase_fn_imps.hpp: New.
1757         * include/ext/pb_assoc/detail/ov_tree_map_/find_fn_imps.hpp: New.
1758         * include/ext/pb_assoc/detail/ov_tree_map_/info_fn_imps.hpp: New.
1759         * include/ext/pb_assoc/detail/ov_tree_map_/insert_fn_imps.hpp: New.
1760         * include/ext/pb_assoc/detail/ov_tree_map_/iterators_fn_imps.hpp: New.
1761         * include/ext/pb_assoc/detail/ov_tree_map_/node_iterators.hpp: New.
1762         * include/ext/pb_assoc/detail/ov_tree_map_/ov_tree_map_.hpp: New.
1763         * include/ext/pb_assoc/detail/ov_tree_map_/split_join_fn_imps.hpp: New.
1764         * include/ext/pb_assoc/detail/rb_tree_map_/
1765           constructors_destructor_fn_imps.hpp: New.
1766         * include/ext/pb_assoc/detail/rb_tree_map_/debug_fn_imps.hpp: New.
1767         * include/ext/pb_assoc/detail/rb_tree_map_/erase_fn_imps.hpp: New.
1768         * include/ext/pb_assoc/detail/rb_tree_map_/find_fn_imps.hpp: New.
1769         * include/ext/pb_assoc/detail/rb_tree_map_/info_fn_imps.hpp: New.
1770         * include/ext/pb_assoc/detail/rb_tree_map_/insert_fn_imps.hpp: New.
1771         * include/ext/pb_assoc/detail/rb_tree_map_/node.hpp: New.
1772         * include/ext/pb_assoc/detail/rb_tree_map_/rb_tree_.hpp: New.
1773         * include/ext/pb_assoc/detail/rb_tree_map_/split_join_fn_imps.hpp: New.
1774         * include/ext/pb_assoc/detail/resize_policy/
1775           cc_hash_max_collision_resize_trigger_imp.hpp: New.
1776         * include/ext/pb_assoc/detail/resize_policy/
1777           hash_exponential_size_policy_imp.hpp: New.
1778         * include/ext/pb_assoc/detail/resize_policy/
1779           hash_load_check_resize_trigger_imp.hpp: New.
1780         * include/ext/pb_assoc/detail/resize_policy/
1781           hash_prime_size_policy_imp.hpp: New.
1782         * include/ext/pb_assoc/detail/resize_policy/
1783           hash_standard_resize_policy_imp.hpp: New.
1784         * include/ext/pb_assoc/detail/resize_policy/
1785           ht_prime_size_policy_imp.hpp: New.
1786         * include/ext/pb_assoc/detail/resize_policy/size_base.hpp: New.
1787         * include/ext/pb_assoc/detail/splay_tree_/
1788           constructors_destructor_fn_imps.hpp: New.
1789         * include/ext/pb_assoc/detail/splay_tree_/debug_fn_imps.hpp: New.
1790         * include/ext/pb_assoc/detail/splay_tree_/erase_fn_imps.hpp: New.
1791         * include/ext/pb_assoc/detail/splay_tree_/find_fn_imps.hpp: New.
1792         * include/ext/pb_assoc/detail/splay_tree_/info_fn_imps.hpp: New.
1793         * include/ext/pb_assoc/detail/splay_tree_/insert_fn_imps.hpp: New.
1794         * include/ext/pb_assoc/detail/splay_tree_/node.hpp: New.
1795         * include/ext/pb_assoc/detail/splay_tree_/splay_fn_imps.hpp: New.
1796         * include/ext/pb_assoc/detail/splay_tree_/splay_tree_.hpp: New.
1797         * include/ext/pb_assoc/detail/splay_tree_/split_join_fn_imps.hpp: New.
1798         * include/ext/pb_assoc/detail/tree_assoc_cntnr/
1799           constructor_destructor_fn_imps.hpp: New.
1800         * include/ext/pb_assoc/detail/tree_policy/
1801           null_node_updator_imp.hpp: New.
1802         * include/ext/pb_assoc/detail/tree_policy/
1803           order_statistics_imp.hpp: New.
1804         * include/ext/pb_assoc/detail/typelist/typelist_append.hpp: New.
1805         * include/ext/pb_assoc/detail/typelist/typelist_apply.hpp: New.
1806         * include/ext/pb_assoc/detail/typelist/typelist_at_index.hpp: New.
1807         * include/ext/pb_assoc/detail/typelist/typelist_contains.hpp: New.
1808         * include/ext/pb_assoc/detail/typelist/typelist_filter.hpp: New.
1809         * include/ext/pb_assoc/detail/typelist/typelist_transform.hpp: New.
1810         * include/ext/pb_assoc/detail/typelist/
1811           typelist_typelist_append.hpp: New.
1812         * include/ext/pb_assoc/detail/unordered_iterator/
1813           const_find_iterator.hpp: New.
1814         * include/ext/pb_assoc/detail/unordered_iterator/
1815           const_iterator.hpp: New.
1816         * include/ext/pb_assoc/detail/unordered_iterator/
1817           find_iterator.hpp: New.
1818         * include/ext/pb_assoc/detail/unordered_iterator/iterator.hpp: New.
1819         * include/ext/pb_assoc/detail/value_type_adapter/
1820           constructor_destructor_and_related.hpp: New.
1821         * include/ext/pb_assoc/detail/value_type_adapter/
1822           erase_fn_imps.hpp: New.
1823         * include/ext/pb_assoc/detail/value_type_adapter/
1824           erase_if_pred.hpp: New.
1825         * include/ext/pb_assoc/detail/value_type_adapter/find_fn_imps.hpp: New.
1826         * include/ext/pb_assoc/detail/value_type_adapter/info_fn_imps.hpp: New.
1827         * include/ext/pb_assoc/detail/value_type_adapter/
1828         insert_fn_imps.hpp: New.
1829         * include/ext/pb_assoc/detail/value_type_adapter/
1830         invalidation_guarantee_selector.hpp: New.
1831         * include/ext/pb_assoc/detail/value_type_adapter/
1832         it_value_type_traits.hpp: New.
1833         * include/ext/pb_assoc/detail/value_type_adapter/iterator.hpp: New.
1834         * include/ext/pb_assoc/detail/value_type_adapter/
1835         iterator_fn_imps.hpp: New.
1836         * include/ext/pb_assoc/detail/value_type_adapter/ref_pair.hpp: New.
1837         * include/ext/pb_assoc/detail/value_type_adapter/
1838         value_type_adapter.hpp: New.
1839         * include/ext/pb_assoc/detail/value_type_adapter/
1840         value_type_traits.hpp: New.
1841         * testsuite/Makefile.am (CLEANFILES): Add .o, .dat, .cc.
1842         * testsuite/Makefile.in: Regenerate.
1843         * testsuite/testsuite_common_types.h: New.
1844         * testsuite/testsuite_visualization.h: New.
1845         * testsuite/ext/pb_assoc/example/basic_map.cc: New.
1846         * testsuite/ext/pb_assoc/example/basic_multimap.cc: New.
1847         * testsuite/ext/pb_assoc/example/basic_set.cc: New.
1848         * testsuite/ext/pb_assoc/example/ds_traits.cc: New.
1849         * testsuite/ext/pb_assoc/example/erase_if.cc: New.
1850         * testsuite/ext/pb_assoc/example/extract_key.cc: New.
1851         * testsuite/ext/pb_assoc/example/hash_find_neg.cc: New.
1852         * testsuite/ext/pb_assoc/example/hash_illegal_resize.cc: New.
1853         * testsuite/ext/pb_assoc/example/hash_initial_size.cc: New.
1854         * testsuite/ext/pb_assoc/example/hash_load_set_change.cc: New.
1855         * testsuite/ext/pb_assoc/example/hash_mod.cc: New.
1856         * testsuite/ext/pb_assoc/example/hash_resize.cc: New.
1857         * testsuite/ext/pb_assoc/example/hash_resize_neg.cc: New.
1858         * testsuite/ext/pb_assoc/example/hash_shift_mask.cc: New.
1859         * testsuite/ext/pb_assoc/example/mapping_level.cc: New.
1860         * testsuite/ext/pb_assoc/example/mapping_level_neg.cc: New.
1861         * testsuite/ext/pb_assoc/example/ms_traits.cc: New.
1862         * testsuite/ext/pb_assoc/example/ranged_hash.cc: New.
1863         * testsuite/ext/pb_assoc/example/store_hash.cc: New.
1864         * testsuite/ext/pb_assoc/example/tree_intervals.cc: New.
1865         * testsuite/ext/pb_assoc/example/tree_join.cc: New.
1866         * testsuite/ext/pb_assoc/example/tree_order_statistics.cc: New.
1867         * testsuite/ext/pb_assoc/example/tree_order_statistics_join.cc: New.
1868         * testsuite/ext/pb_assoc/example/tree_split.cc: New.
1869         * testsuite/performance/20_util/allocator/(insert.cc,
1870           insert_insert.cc, list_sort_search.cc, map_mt_find.cc, map_thread.cc,
1871           producer_consumer.cc): Recast to use typelists and move to...
1872         * testsuite/performance/23_containers/find/map.cc: New.
1873         * testsuite/performance/23_containers/index/map.cc: New.
1874         * testsuite/performance/23_containers/insert/associative.cc: New.
1875         * testsuite/performance/23_containers/insert/sequence.cc: New.
1876         * testsuite/performance/23_containers/insert_erase/associative.cc: New.
1877         * testsuite/performance/23_containers/producer_consumer/
1878         (associative.cc, sequence.cc): New.
1879         * testsuite/performance/23_containers/sort_search/list.cc: New.
1880         * testsuite/performance/23_containers/container_benchmark.cc: Remove.
1881         * testsuite/performance/23_containers/map_create_fill.cc: Move...
1882         * testsuite/performance/23_containers/create/map.cc: ...here.
1883         * testsuite/performance/23_containers/set_create_from_sorted.cc: Move.
1884         * testsuite/performance/23_containers/create_from_sorted/set.cc: here.
1885         * testsuite/performance/23_containers/list_create_fill_sort.cc: Move...
1886         * testsuite/performance/23_containers/create_sort/list.cc: ...here.
1887         * testsuite/performance/23_containers/set_insert_from_sorted.cc: Move.
1888         * testsuite/performance/23_containers/insert_from_sorted/set.cc: here.
1889         
1890 2005-06-23  Jakub Jelinek  <jakub@redhat.com>
1891
1892         PR libstdc++/22109
1893         * src/compatibility.cc (_GLIBCXX_SYMVER_COMPATIBILITY): Remove.
1894         (istreambuf_iterator, basic_fstream, basic_ifstream, basic_ofstream,
1895         _M_copy, _M_move, _M_assign, _M_disjunct, _M_check_length,
1896         _M_set_length_and_sharable, ignore, eq): Define to XX suffixed
1897         variants.
1898         (ignore (streamsize)): Remove _W prefixed aliases.
1899         (_GLIBCXX_3_4_SYMVER_SPECIAL, _GLIBCXX_3_4_5_SYMVER_SPECIAL,
1900         _GLIBCXX_APPLY_SYMVER_SPECIAL): Remove.
1901         (_GLIBCXX_3_4_SYMVER, _GLIBCXX_3_4_5_SYMVER): Add XXname argument.
1902         Use #XXname instead of #name as the alias argument.
1903         * config/abi/compatibility.h: Replace uses of
1904         _GLIBCXX_APPLY_SYMVER_SPECIAL with _GLIBCXX_APPLY_SYMVER.  Always
1905         pass 2 arguments to the _GLIBCXX_APPLY_SYMVER macro.
1906         * include/bits/char_traits.h (char_traits::eq): Revert 2005-06-15
1907         change.
1908         * acinclude.m4: Decrease glibcxx_min_gnu_ld_version back to 21400.
1909         * configure: Rebuilt.
1910
1911 2005-06-19  Benjamin Kosnik  <bkoz@redhat.com>
1912
1913         PR libstdc++/22111
1914         * acinclude.m4 (GLIBCXX_CONFIGURE_TESTSUITE): Remove
1915         GLIBCXX_TEST_ABI. Remove duplicate _GLIBCXX_ASM_SYMVER define.
1916         Don't enable abi testing unless versioned.
1917         * configure: Regenerate.
1918         * testsuite/Makefile.am (check-abi): Remove conditional.
1919         * testsuite/Makefile.in: Regenerate.
1920         * testsuite/libstdc++-abi/abi.exp: Call build_support, then check
1921         v3-symver before proceeding.
1922         * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Set v3-symvers
1923         if _GLIBCXX_SYMVER.
1924         
1925 2005-06-17  Paolo Carlini  <pcarlini@suse.de>
1926
1927         Port from libstdcxx_so_7-branch:
1928         2005-01-12  Christopher Jefferson <chris@bubblescope.net>
1929
1930         * include/bits/stl_function.h (mem_fun_t, const_mem_fun_t,
1931         mem_fun_ref_t, const_mem_fun_ref_t, mem_fun1_t, const_mem_fun1_t,
1932         mem_fun1_ref_t, const_mem_fun1_ref_t): Remove overloads for void
1933         return type, just an old HP/SGI workaround.
1934         * testsuite/20_util/functional/binders.cc: Move to...
1935         * testsuite/20_util/functional/binders/3113.cc: ...here.
1936         * testsuite/20_util/functional/binders/1.cc: New.
1937
1938 2005-06-17  Jonathan Wakely  <redi@gcc.gnu.org>
1939
1940         * docs/html/21_strings/gotw29a.txt: Update code to corrected version.
1941
1942 2005-06-17  Jakub Jelinek  <jakub@redhat.com>
1943             Benjamin Kosnik  <bkoz@redhat.com>
1944
1945         * config/abi/alpha-linux-gnu/baseline_symbols.txt: Update.
1946         * config/abi/hppa-linux-gnu/baseline_symbols.txt: Same.
1947         * config/abi/mips-linux-gnu/baseline_symbols.txt: Same.
1948         * config/abi/sparc-linux-gnu/baseline_symbols.txt: Same.
1949
1950         * config/abi/alpha-freebsd5/baseline_symbols.txt: Remove.
1951         * config/abi/i386-freebsd4/baseline_symbols.txt: Same.
1952         * config/abi/i386-freebsd5/baseline_symbols.txt: Same.
1953         * config/abi/sparc-freebsd5/baseline_symbols.txt: Same.
1954
1955         * config/abi/arm-linux-gnu/baseline_symbols.txt: Remove.
1956         * config/abi/m68k-linux-gnu/baseline_symbols.txt: Same.
1957
1958 2005-06-17  Jakub Jelinek  <jakub@redhat.com>
1959
1960         * config/abi/ia64-linux-gnu/baseline_symbols.txt: Update.
1961         * config/abi/s390x-linux-gnu/baseline_symbols.txt: Update.
1962         * config/abi/s390-linux-gnu/baseline_symbols.txt: Update.
1963         * config/abi/x86_64-linux-gnu/baseline_symbols.txt: Update.
1964         * config/abi/x86_64-linux-gnu/32/baseline_symbols.txt: Update.
1965         * config/abi/powerpc-linux-gnu/baseline_symbols.txt: Update.
1966         * config/abi/i486-linux-gnu/baseline_symbols.txt: Update.
1967         * config/abi/i386-linux-gnu/baseline_symbols.txt: Update.
1968         * config/abi/powerpc64-linux-gnu/baseline_symbols.txt: New file.
1969         * config/abi/powerpc64-linux-gnu/32/baseline_symbols.txt: New file.
1970
1971 2005-06-16  Jakub Jelinek  <jakub@redhat.com>
1972
1973         * src/compatibility.cc: Include bits/c++config.h first.
1974         (_GLIBCXX_SYMVER_COMPATIBILITY): Define if _GLIBCXX_SYMVER
1975         and PIC are both defined.
1976         * include/bits/char_traits.h (char_traits::eq): Rename
1977         only if _GLIBCXX_SYMVER_COMPATIBILITY is defined.
1978
1979 2005-06-16  Jakub Jelinek  <jakub@redhat.com>
1980
1981         * acinclude.m4 ((GLIBCXX_ENABLE_SYMVERS): Rename _GLIBCXX_SIZE_T_IS_INT
1982         to _GLIBCXX_SIZE_T_IS_UINT.  Define _GLIBCXX_PTRDIFF_T_IS_INT.
1983         * configure: Regenerate.
1984         * config.h.in: Regenerate.
1985         * src/compatibility.cc (istream:ignore(streamsize)): Use
1986         _GLIBCXX_PTRDIFF_T_IS_INT instead of _GLIBCXX_SIZE_T_IS_INT.
1987         * config/abi/compatibility.h: Rename _GLIBCXX_SIZE_T_IS_INT
1988         to _GLIBCXX_SIZE_T_IS_UINT.  Use _GLIBCXX_PTRDIFF_T_IS_INT
1989         instead for symbols with streamsize arguments.
1990
1991 2005-06-16  Jakub Jelinek  <jakub@redhat.com>
1992
1993         * config/linker-map.gnu: Also export
1994         _ZNSt13basic_istreamIwSt11char_traitsIwEE6ignoreE[il][il].
1995
1996 2005-06-15  Benjamin Kosnik  <bkoz@redhat.com>
1997
1998         * configure.ac (libtool_VERSION): To 6:6:0.
1999         * configure: Regenerate.
2000         * config/linker-map.gnu: Edit.
2001         * src/istream.cc: Move istream::ignore(streamsize) specializations...
2002         * src/compatibility.cc: ...here. New.
2003         * include/bits/char_traits.h (char_traits::eq): Rename when
2004         appropriate.
2005         * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Define _GLIBCXX_SIZE_T_IS_INT.
2006         Bump glibcxx_min_gnu_ld_version to 21590.
2007         * configure: Regenerate.
2008         * acconfig.h: Remove _GLIBCXX_ASM_SYMVER.
2009         * config.h.in: Regenerate.
2010         * src/Makefile.am (sources): Add compatibility.cc.
2011         * src/Makefile.in: Regenerate.
2012         * include/Makefile.am (host_headers_noinst): Add compatibility.h.
2013         * include/Makefile.in: Regenerate.
2014         * testsuite/testsuite_abi.h (symbol): Add data members.
2015         * testsuite/testsuite_abi.cc (check_version): Add GLIBCXX_3.4.5,
2016         GLIBCXX_3.4.6.  Remove deprecated versions. Do a better job
2017         version checking.
2018
2019 2005-06-15  Paolo Carlini  <pcarlini@suse.de>
2020
2021         * include/tr1/hashtable: Trivial formatting fixes.
2022         * include/tr1/unordered_map: Likewise.
2023         * include/tr1/unordered_set: Likewise.
2024
2025 2005-06-14  Tom Tromey  <tromey@redhat.com>
2026
2027         PR libgcj/19877:
2028         * configure, aclocal.m4: Rebuilt.
2029         * Makefile.in, include/Makefile.in, libmath/Makefile.in,
2030         libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in,
2031         testsuite/Makefile.in: Likewise.
2032
2033 2005-06-08  Benjamin Kosnik  <bkoz@redhat.com>
2034
2035         PR libstdc++/21955
2036         * include/std/std_sstream.h (basic_stringbuf::showmanyc): Add.
2037         Remove unnecessary this->_M_mode decoration.
2038         * include/bits/fstream.tcc: Adjust line spacing.        
2039         * testsuite/27_io/basic_streambuf/in_avail/char/1.cc: New, test
2040         base class behavior.
2041         * testsuite/27_io/basic_streambuf/in_avail/wchar_t/1.cc: Same.
2042         * testsuite/27_io/basic_stringbuf/in_avail/char/21955.cc: New.
2043         * testsuite/27_io/basic_stringbuf/in_avail/char/1.cc: Match
2044         filebuf behavior.
2045         * testsuite/27_io/basic_stringbuf/in_avail/wchar_t/1.cc: Same.
2046         * testsuite/27_io/basic_stringbuf/str/wchar_t/1.cc: Same.
2047         * testsuite/27_io/basic_stringbuf/str/char/1.cc: Same.
2048         * testsuite/27_io/basic_streambuf/in_avail/char/9701-3.cc: Move...
2049         * testsuite/27_io/basic_filebuf/in_avail/char/9701-3.cc: ...here.
2050         
2051 2005-06-07  Benjamin Kosnik  <bkoz@redhat.com>
2052
2053         * acinclude.m4 (GLIBCXX_ENABLE_C99): Use C++ compiler for complex
2054         tests.
2055         * configure: Regenerated.
2056
2057 2005-06-07  Adrian Straetling  <straetling@de.ibm.com>
2058
2059         * config/cpu/s390/atomicity.h: (__exchange_and_add, 
2060         __atomic_add): Use the builtins for atomic memory operations.
2061
2062 2005-06-06  Paolo Carlini  <pcarlini@suse.de>
2063
2064         PR libstdc++/21770 (cont: __gnu_debug::string)
2065         * include/debug/string: Use _Base typedefs for pointer, const_pointer,
2066         reference, const_reference, size_type, difference_type.
2067         * testsuite/21_strings/basic_string/2.cc: New.
2068
2069 2005-06-06  Paolo Carlini  <pcarlini@suse.de>
2070
2071         PR libstdc++/21770 (cont: debug-mode)
2072         * include/debug/deque: Use _Base typedefs for pointer, const_pointer,
2073         reference, const_reference.
2074         * include/debug/list: Likewise.
2075         * include/debug/map.h: Likewise.
2076         * include/debug/multimap.h: Likewise.
2077         * include/debug/multiset.h: Likewise.
2078         * include/debug/set.h: Likewise.
2079         * include/debug/vector: Likewise.
2080
2081 2005-06-06  Paolo Carlini  <pcarlini@suse.de>
2082
2083         Port from libstdcxx_so_7-branch:
2084         2004-09-24  Paolo Carlini  <pcarlini@suse.de>
2085                     Jonathan Wakely  <redi@gcc.gnu.org>
2086
2087         * include/bits/stl_list.h (list::list(size_type, value_type,
2088         const allocator_type&): Implement according to the letter of the
2089         standard, i.e., don't use two overloads, not equivalent in case
2090         of non default constructible T.
2091         (list::resize(size_type, const value_type&)): Fix the signature:
2092         according to the standard the second argument is by value; also,
2093         don't use two overloads.
2094         * include/bits/list.tcc (list::resize(size_type, const value_type&)):
2095         Adjust consistently the signature.
2096         * include/bits/stl_deque.h (deque::deque(size_type, value_type,
2097         const allocator_type&)): Likewise.
2098         (deque::resize(size_type, const value_type&)): Likewise.
2099         * include/bits/stl_vector.h (vector::vector(size_type, value_type,
2100         const allocator_type&)): Likewise.
2101         (vector::resize(size_type, const value_type&)): Likewise.
2102         * testsuite/testsuite_hooks.h: Add NonDefaultConstructible test type.
2103         * testsuite/23_containers/deque/explicit_instantiation/2.cc: New.
2104         * testsuite/23_containers/list/explicit_instantiation/2.cc: New.
2105         * testsuite/23_containers/map/explicit_instantiation/2.cc: New.
2106         * testsuite/23_containers/multimap/explicit_instantiation/2.cc: New.
2107         * testsuite/23_containers/multiset/explicit_instantiation/2.cc: New.
2108         * testsuite/23_containers/set/explicit_instantiation/2.cc: New.
2109         * testsuite/23_containers/vector/explicit_instantiation/2.cc: New.
2110
2111         * include/bits/deque.tcc: Minor formatting fix.
2112
2113 2005-06-06  Peter Doerfler  <doerfler@techinfo.rwth-aachen.de>
2114
2115         * include/bits/stl_function.h: ... and another one.
2116
2117 2005-06-06  Peter Doerfler  <doerfler@techinfo.rwth-aachen.de>
2118
2119         * include/bits/stl_function.h: Fix typo in comment.
2120
2121 2005-06-05  Paolo Carlini  <pcarlini@suse.de>
2122
2123         * acinclude.m4 ([GLIBCXX_ENABLE_C99]): Check clog, clogf, clogl
2124         too for ac_c99_complex.
2125         * configure: Regenerate.
2126
2127 2005-06-03  Paolo Carlini  <pcarlini@suse.de>
2128
2129         PR libstdc++/21770
2130         * include/bits/stl_deque.h: Add concept-check. In class _Deque_base
2131         rebind _Alloc to  _Tp_alloc_type, change _Deque_impl to inherit from
2132         the latter and add _M_get_Tp_allocator() which returns it. Use
2133         everywhere _M_get_Tp_allocator() instead of get_allocator().
2134         * include/bits/deque.tcc: Likewise, use _M_get_Tp_allocator().
2135         * include/bits/stl_list.h: Add concept-check. In class _List_base
2136         rebind _Alloc to _Tp_alloc_type and add _M_get_Tp_allocator(), which
2137         returns the allocator (of type _Node_alloc_type) converted to
2138         _Tp_alloc_type. Use everywhere _M_get_Tp_allocator() instead of
2139         get_allocator().
2140         * include/bits/list.tcc: Likewise, use _M_get_Tp_allocator().
2141         * include/bits/stl_vector.h: Add concept-check. In class _Vector_base
2142         rebind _Alloc to _Tp_alloc_type, change _Vector_impl to inherit from
2143         the latter and add _M_get_Tp_allocator() which returns it. Use
2144         everywhere _M_get_Tp_allocator() instead of get_allocator().
2145         * include/bits/vector.tcc: Likewise, use _M_get_Tp_allocator().
2146         * include/bits/stl_map.h: Add concept-check. Rebind _Alloc to
2147         _Pair_alloc_type and use it for _Rb_tree.
2148         * include/bits/stl_multimap.h: Likewise.
2149         * include/bits/stl_multiset.h: Add concept-check. Rebind _Alloc to
2150         _Key_alloc_type and use it for _Rb_tree.
2151         * include/bits/stl_set.h: Likewise.
2152         * include/bits/basic_string.h: Rebind _Alloc to _CharT_alloc_type and
2153         use it for the allocator typedefs.
2154         * testsuite/21_strings/basic_string/1.cc: New.
2155         * testsuite/23_containers/deque/explicit_instantiation.cc: Move to...
2156         * testsuite/23_containers/deque/explicit_instantiation/1.cc: ... here.
2157         * testsuite/23_containers/deque/explicit_instantiation/3.cc: New.
2158         * testsuite/23_containers/list/explicit_instantiation.cc: Move to...
2159         * testsuite/23_containers/list/explicit_instantiation/1.cc: ... here.
2160         * testsuite/23_containers/list/explicit_instantiation/3.cc: New.
2161         * testsuite/23_containers/map/explicit_instantiation.cc: Move to...
2162         * testsuite/23_containers/map/explicit_instantiation/1.cc: ... here.
2163         * testsuite/23_containers/map/explicit_instantiation/3.cc: New.
2164         * testsuite/23_containers/multimap/explicit_instantiation.cc: Move to...
2165         * testsuite/23_containers/multimap/explicit_instantiation/1.cc: .. here.
2166         * testsuite/23_containers/multimap/explicit_instantiation/3.cc: New.
2167         * testsuite/23_containers/multiset/explicit_instantiation.cc: Move to...
2168         * testsuite/23_containers/multiset/explicit_instantiation/1.cc: .. here.
2169         * testsuite/23_containers/multiset/explicit_instantiation/3.cc: New.
2170         * testsuite/23_containers/set/explicit_instantiation.cc: Move to...
2171         * testsuite/23_containers/set/explicit_instantiation/1.cc: .. here.
2172         * testsuite/23_containers/set/explicit_instantiation/3.cc: New.
2173         * testsuite/23_containers/vector/explicit_instantiation.cc: Move to...
2174         * testsuite/23_containers/vector/explicit_instantiation/1.cc: ... here.
2175         * testsuite/23_containers/vector/explicit_instantiation/3.cc: New.
2176
2177 2005-06-02  Nathan Sidwell  <nathan@codesourcery.com>
2178
2179         PR c++/21280
2180         * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust expected errors.
2181         * testsuite/27_io/ios_base/cons/copy_neg.cc: Likewise.
2182
2183 2005-05-31  Paolo Carlini  <pcarlini@suse.de>
2184
2185         PR libstdc++/20534 (contd)
2186         * include/debug/macros.h: Add _GLIBCXX_DEBUG_ABORT, using
2187         __gnu_debug::__fancy_abort.
2188         * src/debug.cc: Define the latter.
2189         * include/debug/debug.h: Use _GLIBCXX_DEBUG_ABORT instead of
2190         assert.
2191         * config/linker-map.gnu (__gnu_debug::__fancy_abort): Add.
2192
2193 2005-05-30  Paolo Carlini  <pcarlini@suse.de>
2194
2195         * include/std/std_complex.h (log(const complex<_Tp>&)): When
2196         _GLIBCXX_USE_C99_COMPLEX, forward to __builtin_clog/clogf/clogl.
2197
2198 2005-05-28  Paolo Carlini  <pcarlini@suse.de>
2199
2200         Revert:
2201         2005-05-18  Paolo Carlini  <pcarlini@suse.de>
2202                     Nathan Myers  <ncm@cantrip.org>
2203
2204         PR libstdc++/19495
2205         * include/bits/basic_string.h (_Raw_bytes_alloc): Rebind to
2206         size_type instead of char and rename to _Raw_alloc.
2207         * include/bits/basic_string.tcc (_Rep::_M_destroy, _Rep::_S_create):
2208         Use the above.
2209         * src/bitmap_allocator.cc: Add instantiation for size_type.
2210         * src/mt_allocator.cc: Likewise.
2211         * src/pool_allocator.cc: Likewise.
2212         * include/ext/array_allocator.h: Tweak slightly, avoid assuming
2213         the existence of an _Array::begin() and size() members.
2214         * testsuite/ext/array_allocator/2.cc: Tweak to use an allocator
2215         of size_type, instead of char, thus avoiding problems with
2216         rebinds, not treated correctly by array_allocator.
2217
2218 2005-05-27  Paolo Carlini  <pcarlini@suse.de>
2219
2220         * docs/html/abi.html: Mention 3.4.0 as the current baseline; add
2221         a notice about the configure options.
2222
2223 2005-05-27  Mark Mitchell  <mark@codesourcery.com>
2224
2225         * docs/html/test.html: Mention PCH_CXXFLAGS.
2226         * testsuite/lib/libstdc++.exp: Set PCH_CXXFLAGS by probing for an
2227         available stcd++.h PCH.
2228         * testsuite/libstdc++-dg/normal.exp: Use PCH_CXXFLAGS.
2229
2230 2005-05-27  Theodore Papadopoulo  <Theodore.Papadopoulo@sophia.inria.fr>
2231
2232         * src/misc-inst.cc: Remove unnecessary included files.
2233
2234 2005-05-27  Benjamin Kosnik  <bkoz@redhat.com>
2235
2236         PR libstdc++/21674
2237         * include/bits/c++config: Remove extern template use when in debug
2238         mode, disable for non-weak systems.
2239         
2240 2005-05-27  Benjamin Kosnik  <bkoz@redhat.com>
2241
2242         PR libstdc++/20534 
2243         * include/debug/debug.h: Forwarding header, that pulls in details
2244         only if in debug mode.
2245         * include/debug/macros.h: ...transfer all the internal macros here.
2246         * include/debug/functions.h: ...transfer all the functions here.
2247         * include/debug/safe_iterator.h: Add functions.h, macros.h includes.
2248         * include/debug/safe_sequence.h: Same.
2249         * include/debug/vector: Tweak.
2250         * include/Makefile.am (debug_headers): Add new includes.
2251         * include/Makefile.in: Regenerate.
2252         * testsuite/17_intro/no_assert_neg.cc: Add.
2253
2254         * include/ext/hash_set: Add debug mode include.
2255         * include/ext/hash_map: Same.
2256         * include/debug/hash_map: Fix included files to match actual files.
2257         * include/debug/hash_set: Same.
2258                 
2259 2005-05-26  Paolo Carlini  <pcarlini@suse.de>
2260
2261         PR libstdc++/13943
2262         * include/c_std/std_cstdlib.h: Do not open code llabs and lldiv,
2263         available when _GLIBCXX_USE_C99 is defined.
2264         * testsuite/26_numerics/cstdlib/13943.cc: New.
2265
2266         * acinclude.m4 ([GLIBCXX_ENABLE_C99]): For completeness, check
2267         also strtoll and strtoull for ac_c99_stdlib.
2268         * configure: Regenerate.
2269
2270 2005-05-25  Benjamin Kosnik  <bkoz@redhat.com>
2271
2272         * config/linker-map.gnu: Add linkage support for no extern templates.
2273         (std::ios_base::_M_call_callbacks): Add.
2274         (std::ios_base::_M_dispose_callbacks): Add.
2275         (std::locale::facet::_S_get_c_name): Add.
2276         (std::__copy_streambufs): Add.
2277         * configure.ac (libtool_VERSION): To 6:5:0.
2278         * configure: Regenerate.
2279         * testsuite/testsuite_abi.cc (check_version): Add GLIBCXX_3.4.5.
2280         
2281 2005-05-25  Paolo Carlini  <pcarlini@suse.de>
2282
2283         * include/bits/basic_string.h (_Rep::_M_set_length_and_sharable):
2284         Use, consistently, traits_type::assign.
2285
2286 2005-05-25  Paolo Carlini  <pcarlini@suse.de>
2287
2288         * config/cpu/alpha/atomicity.h: Use the builtins for
2289         atomic memory operations.
2290         * config/cpu/powerpc/atomicity.h: Likewise.
2291         * config/cpu/ia64/atomicity.h: Do not include ia64intrin.h.
2292
2293 2005-05-24  Paolo Carlini  <pcarlini@suse.de>
2294
2295         * testsuite/25_algorithms/equal.cc: Move to...
2296         * testsuite/25_algorithms/equal: ... here.
2297         * testsuite/25_algorithms/lower_bound.cc: Move to...
2298         * testsuite/25_algorithms/lower_bound: ... here.
2299
2300 2005-05-24  Paolo Carlini  <pcarlini@suse.de>
2301
2302         Port from libstdcxx_so_7-branch:
2303         2005-20-05  Chris Jefferson  <chris@bubblescope.net>
2304
2305         * testsuite/25_algorithms/heap.cc: Move to...
2306         * testsuite/25_algorithms/heap/heap.cc: ...here.
2307         * testsuite/25_algorithms/partition.cc: Move to...
2308         * testsuite/25_algorithms/partition/partition.cc: ...here.
2309
2310         2005-03-29  Christopher Jefferson  <chris@bubblescope.net>
2311
2312         * testsuite/25_algorithms/includes/1.cc: Add tests.
2313         * testsuite/25_algorithms/search/1.cc: Likewise.
2314         * testsuite/25_algorithms/unique_copy/1.cc: Likewise.
2315         * testsuite/25_algorithms/swap_ranges/1.cc: New.
2316         * testsuite/25_algorithms/swap_ranges/check_type.cc: New.
2317         * testsuite/25_algorithms/rotate.cc: Move to...
2318         * testsuite/25_algorithms/rotate/rotate.cc: ... here.
2319         * testsuite/25_algorithms/rotate/1.cc: New.
2320         * testsuite/25_algorithms/rotate/check_type.cc: New.
2321         * testsuite/25_algorithms/search_n/iterator.cc: Fix typo.
2322
2323         2005-03-14  Christopher Jefferson  <chris@bubblescope.net>
2324
2325         * include/bits/stl_algo.h (replace_copy, replace_copy_if):
2326         Don't assume that __new_value and *__first are convertible to
2327         each other.     
2328
2329         * testsuite/25_algorithms/find/1.cc: New.
2330         * testsuite/25_algorithms/find/check_type.cc: New.
2331         * testsuite/25_algorithms/find_if/1.cc: New.
2332         * testsuite/25_algorithms/find_if/check_type.cc: New.
2333         * testsuite/25_algorithms/replace/1.cc: New.
2334         * testsuite/25_algorithms/replace/check_type.cc: New.
2335         * testsuite/25_algorithms/replace_if/1.cc: New.
2336         * testsuite/25_algorithms/replace_if/check_type.cc: New.
2337         * testsuite/25_algorithms/replace_copy/1.cc: New.
2338         * testsuite/25_algorithms/replace_copy/check_type.cc: New.
2339         * testsuite/25_algorithms/replace_copy_if/1.cc: New.
2340         * testsuite/25_algorithms/replace_copy_if/check_type.cc: New.
2341         * testsuite/25_algorithms/remove/1.cc: New.
2342         * testsuite/25_algorithms/remove/check_type.cc: New.
2343         * testsuite/25_algorithms/remove_if/1.cc: New.
2344         * testsuite/25_algorithms/remove_if/check_type.cc: New.
2345         * testsuite/25_algorithms/count/1.cc: New.
2346         * testsuite/25_algorithms/count/check_type.cc: New.
2347         * testsuite/25_algorithms/count_if/1.cc: New.
2348         * testsuite/25_algorithms/count_if/check_type.cc: New.
2349
2350         2005-02-27  Christopher Jefferson  <chris@bubblescope.net>
2351                     Paolo Carlini  <pcarlini@suse.de>
2352
2353         * testsuite/ext/is_heap/check_type.cc: New.
2354         
2355         2005-02-27  Paolo Carlini  <pcarlini@suse.de>
2356
2357         * testsuite/ext/is_heap/1.cc: New.
2358
2359         2005-02-01  Christopher Jefferson  <chris@bubblescope.net>
2360
2361         * testsuite/ext/median.cc: New.
2362         * testsuite/25_algorithms/adjacent_find/1.cc: New.
2363         * testsuite/25_algorithms/adjacent_find/check_type.cc: New.
2364         * testsuite/25_algorithms/search/1.cc: New.
2365         * testsuite/25_algorithms/search/check_type.cc: New.
2366         * testsuite/25_algorithms/unique_copy/1.cc: New.
2367         * testsuite/25_algorithms/unique_copy/check_type.cc: New.
2368         * testsuite/25_algorithms/partial_sort/1.cc: New.
2369         * testsuite/25_algorithms/partial_sort/check_type.cc: New.
2370         * testsuite/25_algorithms/partial_sort_copy/1.cc: New.
2371         * testsuite/25_algorithms/partial_sort_copy/check_type.cc: New.
2372         * testsuite/25_algorithms/lower_bound/1.cc: New.
2373         * testsuite/25_algorithms/lower_bound/check_type.cc: New.
2374         * testsuite/25_algorithms/upper_bound/1.cc: New.
2375         * testsuite/25_algorithms/upper_bound/check_type.cc: New.
2376         * testsuite/25_algorithms/merge/1.cc: New.
2377         * testsuite/25_algorithms/merge/check_type.cc: New.
2378         * testsuite/25_algorithms/inplace_merge/1.cc: New.
2379         * testsuite/25_algorithms/inplace_merge/check_type.cc: New.
2380         * testsuite/25_algorithms/stable_sort/1.cc: New.
2381         * testsuite/25_algorithms/stable_sort/check_type.cc: New.
2382         * testsuite/25_algorithms/nth_element/1.cc: New.
2383         * testsuite/25_algorithms/nth_element/check_type.cc: New.
2384         * testsuite/25_algorithms/equal_range/1.cc: New.
2385         * testsuite/25_algorithms/equal_range/check_type.cc: New.
2386         * testsuite/25_algorithms/binary_search/1.cc: New.
2387         * testsuite/25_algorithms/binary_search/check_type.cc: New.
2388         * testsuite/25_algorithms/includes/1.cc: New.
2389         * testsuite/25_algorithms/includes/check_type.cc: New.
2390         * testsuite/25_algorithms/set_union/1.cc: New.
2391         * testsuite/25_algorithms/set_union/check_type.cc: New.
2392         * testsuite/25_algorithms/set_intersection/1.cc: New.
2393         * testsuite/25_algorithms/set_intersection/check_type.cc: New.
2394         * testsuite/25_algorithms/set_difference/1.cc: New.
2395         * testsuite/25_algorithms/set_difference/check_type.cc: New.
2396         * testsuite/25_algorithms/set_symmetric_difference/1.cc: New.
2397         * testsuite/25_algorithms/set_symmetric_difference/check_type.cc: New.  
2398         * testsuite/25_algorithms/min_element/1.cc: New.
2399         * testsuite/25_algorithms/min_element/check_type.cc: New.
2400         * testsuite/25_algorithms/max_element/1.cc: New.
2401         * testsuite/25_algorithms/max_element/check_type.cc: New.
2402         * testsuite/25_algorithms/prev_permutation/1.cc: New.
2403         * testsuite/25_algorithms/prev_permutation/check_type.cc: New.
2404         * testsuite/25_algorithms/next_permutation/1.cc: New.
2405         * testsuite/25_algorithms/next_permutation/check_type.cc: New.
2406         * testsuite/25_algorithms/find_first_of/1.cc: New.
2407         * testsuite/25_algorithms/find_first_of/check_type.cc: New.
2408         * testsuite/25_algorithms/find_end/1.cc: New.
2409         * testsuite/25_algorithms/find_end/check_type.cc: New.
2410         * testsuite/25_algorithms/equal/check_type.cc: Insert iterator type.
2411         * testsuite/25_algorithms/lexicographical_compare/check_type.cc:
2412         Likewise.
2413
2414         2005-01-10  Christopher Jefferson <chris@bubblescope.net>
2415
2416         * testsuite/25_algorithms/lexicographical_compare/check_type.cc: New.
2417         * testsuite/25_algorithms/lexicographical_compare/1.cc: Likewise.
2418         * testsuite/25_algorithms/mismatch/check_type.cc: Likewise.
2419         * testsuite/25_algorithms/mismatch/1.cc: Likewise.
2420         * testsuite/25_algorithms/equal/check_type.cc: New.
2421         * testsuite/25_algorithms/equal/1.cc: New.
2422
2423 2005-05-24  Benjamin Kosnik  <bkoz@redhat.com>
2424
2425         * include/bits/allocator.h: Change ___glibcxx_base_allocator to
2426         __glibcxx_base_allocator.
2427         * config/allocator/bitmap_allocator_base.h: Same.
2428         * config/allocator/malloc_allocator_base.h: Same.
2429         * config/allocator/mt_allocator_base.h: Same.
2430         * config/allocator/new_allocator_base.h: Same.
2431         * config/allocator/pool_allocator_base.h: Same.
2432
2433 2005-05-24  Jonathan Wakely  <redi@gcc.gnu.org>
2434
2435         * include/debug/string (class basic_string): Add missing
2436         default template arguments; provide typedefs for char
2437         and wchar_t.
2438         (operator[]): Allow s[s.size()] in debug mode, but not
2439         pedantic mode.
2440
2441 2005-05-24  Paolo Carlini  <pcarlini@suse.de>
2442
2443         Port from libstdcxx_so_7-branch:
2444         2005-04-25  Christopher Jefferson  <chris@bubblescope.net>
2445
2446         * include/bits/stl_algo.h (count): Correct concept checks.
2447         (search_n) : Likewise.
2448         * testsuite/25_algorithms/search_n/check_type.cc: New.
2449
2450         * testsuite/testsuite_iterators.h
2451         (random_access_iterator_wrapper::operator+): Move out of
2452         class to external function, and add symmetric version.
2453
2454         2005-03-14  Christopher Jefferson  <chris@bubblescope.net>
2455
2456         * testsuite/testsuite_iterators.h (WritableObject::WritableObject):
2457         Add const.
2458         
2459         2005-02-01  Christopher Jefferson  <chris@bubblescope.net>
2460
2461         * testsuite/testsuite_iterators.h (random_access_iterator_wrapper::
2462         operator--): Fix typo.
2463         (OutputContainer::OutputContainer): Correct zeroing array.
2464         (WritableObject::operator==): Fix typo.
2465         (WritableObject::operator=): make operator= templated 
2466         to allow differing types to be assigned.
2467         (WritableObject::operator++): Fix checking if iterator is
2468         written to multiple times.
2469         (random_access_iterator_wrapper::operator+): Add const.
2470         (random_access_iterator_wrapper::operator-): Likewise.
2471         (random_access_iterator_wrapper::operator[]): Add dereference.
2472
2473 2005-05-23  Jonathan Wakely  <redi@gcc.gnu.org>
2474
2475         * docs/html/debug.html: Explain that _GLIBXX_DEBUG_PEDANTIC
2476         had to be defined for pedantic mode in 3.4 and 4.0.0.
2477
2478 2005-05-20  Jan Beulich  <jbeulich@novell.com>
2479
2480         * libmath/stubs.c: Also implement fabsf/fabsl if not present in the
2481         system libraries.
2482
2483 2005-05-20  Paolo Carlini  <pcarlini@suse.de>
2484
2485         * include/bits/stl_algo.h (__rotate<_RandomAccessIterator>):
2486         Don't qualify __tmp as const, _ValueType is not necessarily
2487         Assignable.
2488         * include/bits/stl_algobase.h (swap, __iter_swap<false>):
2489         Likewise, as an harmless extension.
2490
2491 2005-05-19  Richard Henderson  <rth@redhat.com>
2492
2493         * libsupc++/unwind-cxx.h: Revert gcc_unreachable change.
2494
2495 2005-05-19  Jonathan Wakely  <redi@gcc.gnu.org>
2496
2497         * include/bits/basic_string.h (operator[]): Allow s[s.size()] in
2498         debug mode, but not pedantic mode.
2499
2500 2005-05-19  Jan Beulich  <jbeulich@novell.com>
2501
2502         * libsupc++/unwind-cxx.h: Include cstdlib.
2503         (gcc_unreachable): #define.
2504         * libsupc++/eh_personality.cc (gcc_unreachable): Remove #define.
2505
2506 2005-05-18  Paolo Carlini  <pcarlini@suse.de>
2507             Nathan Myers  <ncm@cantrip.org>
2508
2509         PR libstdc++/19495
2510         * include/bits/basic_string.h (_Raw_bytes_alloc): Rebind to
2511         size_type instead of char and rename to _Raw_alloc.
2512         * include/bits/basic_string.tcc (_Rep::_M_destroy, _Rep::_S_create):
2513         Use the above.
2514         * src/bitmap_allocator.cc: Add instantiation for size_type.
2515         * src/mt_allocator.cc: Likewise.
2516         * src/pool_allocator.cc: Likewise.
2517         * include/ext/array_allocator.h: Tweak slightly, avoid assuming
2518         the existence of an _Array::begin() and size() members.
2519         * testsuite/ext/array_allocator/2.cc: Tweak to use an allocator
2520         of size_type, instead of char, thus avoiding problems with
2521         rebinds, not treated correctly by array_allocator.
2522
2523 2005-05-18  Paolo Carlini  <pcarlini@suse.de>
2524
2525         * testsuite/22_locale/ctype/is/char/2.cc: Adjust dg-require-namedlocale.
2526         * testsuite/22_locale/ctype/is/wchar_t/2.cc: Likewise.
2527         * testsuite/22_locale/time_get/get_year/char/wrapped_env.cc: Add
2528         missing dg-require-namedlocale.
2529         * testsuite/22_locale/time_get/get_year/char/wrapped_locale.cc:
2530         Likewise.
2531         * testsuite/22_locale/time_get/get_year/wchar_t/wrapped_env.cc:
2532         Likewise.
2533         * testsuite/22_locale/time_get/get_year/wchar_t/wrapped_locale.cc:
2534         Likewise.
2535
2536 2005-05-18  Paolo Carlini  <pcarlini@suse.de>
2537
2538         * testsuite/testsuite_hooks.cc: Remove try_named_locale.
2539         * testsuite/testsuite_hooks.h: Remove try_named_locale.
2540         * testsuite/lib/libstdc++.exp (check_v3_target_namedlocale): New.
2541         * testsuite/lib/dg-options.exp (dg-require-namedlocale): New, uses
2542         the above.
2543         * testsuite/22_locale/codecvt/always_noconv/char/wrapped_env.cc: Use
2544         dg-require-namedlocale.
2545         * testsuite/22_locale/codecvt/always_noconv/char/wrapped_locale.cc:
2546         Likewise.
2547         * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: Likewise.
2548         * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: Likewise.
2549         * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: Likewise.
2550         * testsuite/22_locale/codecvt/always_noconv/wchar_t/wrapped_env.cc: 
2551         Likewise.
2552         * testsuite/22_locale/codecvt/always_noconv/wchar_t/wrapped_locale.cc:
2553         Likewise.
2554         * testsuite/22_locale/codecvt/encoding/char/wrapped_env.cc: Likewise.
2555         * testsuite/22_locale/codecvt/encoding/char/wrapped_locale.cc: Likewise.
2556         * testsuite/22_locale/codecvt/encoding/wchar_t/2.cc: Likewise.
2557         * testsuite/22_locale/codecvt/encoding/wchar_t/3.cc: Likewise.
2558         * testsuite/22_locale/codecvt/encoding/wchar_t/4.cc: Likewise.
2559         * testsuite/22_locale/codecvt/encoding/wchar_t/wrapped_env.cc: Likewise.
2560         * testsuite/22_locale/codecvt/encoding/wchar_t/wrapped_locale.cc:
2561         Likewise.
2562         * testsuite/22_locale/codecvt/in/char/wrapped_env.cc: Likewise.
2563         * testsuite/22_locale/codecvt/in/char/wrapped_locale.cc: Likewise.
2564         * testsuite/22_locale/codecvt/in/wchar_t/2.cc: Likewise.
2565         * testsuite/22_locale/codecvt/in/wchar_t/3.cc: Likewise.
2566         * testsuite/22_locale/codecvt/in/wchar_t/4.cc: Likewise.
2567         * testsuite/22_locale/codecvt/in/wchar_t/7.cc: Likewise. 
2568         * testsuite/22_locale/codecvt/in/wchar_t/8.cc: Likewise.
2569         * testsuite/22_locale/codecvt/in/wchar_t/9.cc: Likewise.
2570         * testsuite/22_locale/codecvt/in/wchar_t/wrapped_env.cc: Likewise. 
2571         * testsuite/22_locale/codecvt/in/wchar_t/wrapped_locale.cc: Likewise.    
2572         * testsuite/22_locale/codecvt/length/char/wrapped_env.cc: Likewise. 
2573         * testsuite/22_locale/codecvt/length/char/wrapped_locale.cc: Likewise.    
2574         * testsuite/22_locale/codecvt/length/wchar_t/2.cc: Likewise.   
2575         * testsuite/22_locale/codecvt/length/wchar_t/3.cc: Likewise.   
2576         * testsuite/22_locale/codecvt/length/wchar_t/4.cc: Likewise.   
2577         * testsuite/22_locale/codecvt/length/wchar_t/7.cc: Likewise.   
2578         * testsuite/22_locale/codecvt/length/wchar_t/wrapped_env.cc: Likewise.      
2579         * testsuite/22_locale/codecvt/length/wchar_t/wrapped_locale.cc:
2580         Likewise.
2581         * testsuite/22_locale/codecvt/max_length/char/wrapped_env.cc: Likewise.
2582         * testsuite/22_locale/codecvt/max_length/char/wrapped_locale.cc:
2583         Likewise.  
2584         * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: Likewise.    
2585         * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: Likewise.    
2586         * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: Likewise.    
2587         * testsuite/22_locale/codecvt/max_length/wchar_t/wrapped_env.cc:
2588         Likewise.  
2589         * testsuite/22_locale/codecvt/max_length/wchar_t/wrapped_locale.cc:
2590         Likewise.
2591         * testsuite/22_locale/codecvt/out/char/wrapped_env.cc: Likewise.    
2592         * testsuite/22_locale/codecvt/out/char/wrapped_locale.cc: Likewise. 
2593         * testsuite/22_locale/codecvt/out/wchar_t/2.cc: Likewise.  
2594         * testsuite/22_locale/codecvt/out/wchar_t/3.cc: Likewise.  
2595         * testsuite/22_locale/codecvt/out/wchar_t/4.cc: Likewise.  
2596         * testsuite/22_locale/codecvt/out/wchar_t/7.cc: Likewise.  
2597         * testsuite/22_locale/codecvt/out/wchar_t/wrapped_env.cc: Likewise. 
2598         * testsuite/22_locale/codecvt/out/wchar_t/wrapped_locale.cc: Likewise. 
2599         * testsuite/22_locale/codecvt/unshift/char/wrapped_env.cc: Likewise.   
2600         * testsuite/22_locale/codecvt/unshift/char/wrapped_locale.cc: Likewise.
2601         * testsuite/22_locale/codecvt/unshift/wchar_t/2.cc: Likewise.    
2602         * testsuite/22_locale/codecvt/unshift/wchar_t/3.cc: Likewise.    
2603         * testsuite/22_locale/codecvt/unshift/wchar_t/4.cc: Likewise.    
2604         * testsuite/22_locale/codecvt/unshift/wchar_t/wrapped_env.cc: Likewise.
2605         * testsuite/22_locale/codecvt/unshift/wchar_t/wrapped_locale.cc:
2606         Likewise.
2607         * testsuite/22_locale/collate/compare/char/1.cc: Likewise.  
2608         * testsuite/22_locale/collate/compare/char/2.cc: Likewise.  
2609         * testsuite/22_locale/collate/compare/char/3.cc: Likewise.  
2610         * testsuite/22_locale/collate/compare/char/wrapped_env.cc: Likewise.        
2611         * testsuite/22_locale/collate/compare/char/wrapped_locale.cc: Likewise.     
2612         * testsuite/22_locale/collate/compare/wchar_t/1.cc: Likewise.     
2613         * testsuite/22_locale/collate/compare/wchar_t/2.cc: Likewise.     
2614         * testsuite/22_locale/collate/compare/wchar_t/3.cc: Likewise.     
2615         * testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc: Likewise.
2616         * testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc:
2617         Likewise.  
2618         * testsuite/22_locale/collate/hash/char/2.cc: Likewise.     
2619         * testsuite/22_locale/collate/hash/char/wrapped_env.cc: Likewise.   
2620         * testsuite/22_locale/collate/hash/char/wrapped_locale.cc: Likewise.        
2621         * testsuite/22_locale/collate/hash/wchar_t/2.cc: Likewise.  
2622         * testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc: Likewise.
2623         * testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc: Likewise.     
2624         * testsuite/22_locale/collate/transform/char/2.cc: Likewise.     
2625         * testsuite/22_locale/collate/transform/char/3.cc: Likewise.     
2626         * testsuite/22_locale/collate/transform/char/wrapped_env.cc: Likewise.      
2627         * testsuite/22_locale/collate/transform/char/wrapped_locale.cc:
2628         Likewise.
2629         * testsuite/22_locale/collate/transform/wchar_t/2.cc: Likewise. 
2630         * testsuite/22_locale/collate/transform/wchar_t/3.cc: Likewise. 
2631         * testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc:
2632         Likewise.
2633         * testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc:
2634         Likewise.
2635         * testsuite/22_locale/collate_byname/named_equivalence.cc: Likewise.
2636         * testsuite/22_locale/ctype/cons/char/wrapped_env.cc: Likewise.    
2637         * testsuite/22_locale/ctype/cons/char/wrapped_locale.cc: Likewise. 
2638         * testsuite/22_locale/ctype/is/char/2.cc: Likewise. 
2639         * testsuite/22_locale/ctype/is/char/wrapped_env.cc: Likewise.      
2640         * testsuite/22_locale/ctype/is/char/wrapped_locale.cc: Likewise.  
2641         * testsuite/22_locale/ctype/is/wchar_t/2.cc: Likewise.   
2642         * testsuite/22_locale/ctype/is/wchar_t/wrapped_env.cc: Likewise.  
2643         * testsuite/22_locale/ctype/is/wchar_t/wrapped_locale.cc: Likewise.
2644         * testsuite/22_locale/ctype/narrow/char/wrapped_env.cc: Likewise.
2645         * testsuite/22_locale/ctype/narrow/char/wrapped_locale.cc: Likewise.        
2646         * testsuite/22_locale/ctype/narrow/wchar_t/3.cc: Likewise. 
2647         * testsuite/22_locale/ctype/narrow/wchar_t/wrapped_env.cc: Likewise.        
2648         * testsuite/22_locale/ctype/narrow/wchar_t/wrapped_locale.cc: Likewise.
2649         * testsuite/22_locale/ctype/scan/char/wrapped_env.cc: Likewise.   
2650         * testsuite/22_locale/ctype/scan/char/wrapped_locale.cc: Likewise. 
2651         * testsuite/22_locale/ctype/scan/wchar_t/wrapped_env.cc: Likewise. 
2652         * testsuite/22_locale/ctype/scan/wchar_t/wrapped_locale.cc: Likewise.       
2653         * testsuite/22_locale/ctype/to/char/wrapped_env.cc: Likewise.       
2654         * testsuite/22_locale/ctype/to/char/wrapped_locale.cc: Likewise.    
2655         * testsuite/22_locale/ctype/to/wchar_t/wrapped_env.cc: Likewise.    
2656         * testsuite/22_locale/ctype/to/wchar_t/wrapped_locale.cc: Likewise. 
2657         * testsuite/22_locale/ctype/widen/char/wrapped_env.cc: Likewise.    
2658         * testsuite/22_locale/ctype/widen/char/wrapped_locale.cc: Likewise. 
2659         * testsuite/22_locale/ctype/widen/wchar_t/2.cc: Likewise.   
2660         * testsuite/22_locale/ctype/widen/wchar_t/3.cc: Likewise.   
2661         * testsuite/22_locale/ctype/widen/wchar_t/wrapped_env.cc: Likewise.
2662         * testsuite/22_locale/ctype/widen/wchar_t/wrapped_locale.cc: Likewise.
2663         * testsuite/22_locale/facet/2.cc: Likewise.
2664         * testsuite/22_locale/locale/cons/12352.cc: Likewise.
2665         * testsuite/22_locale/locale/cons/12438.cc: Likewise.
2666         * testsuite/22_locale/locale/cons/12658_thread-1.cc: Likewise. 
2667         * testsuite/22_locale/locale/cons/12658_thread-2.cc: Likewise. 
2668         * testsuite/22_locale/locale/cons/2.cc: Likewise.
2669         * testsuite/22_locale/locale/cons/4.cc: Likewise.
2670         * testsuite/22_locale/locale/cons/5.cc: Likewise.
2671         * testsuite/22_locale/locale/cons/7.cc: Likewise.
2672         * testsuite/22_locale/locale/cons/7222-env.cc: Likewise.  
2673         * testsuite/22_locale/locale/global_locale_objects/14071.cc: Likewise.  
2674         * testsuite/22_locale/locale/global_locale_objects/2.cc: Likewise.
2675         * testsuite/22_locale/messages/members/char/1.cc: Likewise.
2676         * testsuite/22_locale/messages/members/char/2.cc: Likewise.
2677         * testsuite/22_locale/messages/members/char/3.cc: Likewise.
2678         * testsuite/22_locale/messages/members/char/wrapped_env.cc: Likewise.   
2679         * testsuite/22_locale/messages/members/char/wrapped_locale.cc: Likewise.
2680         * testsuite/22_locale/messages_byname/named_equivalence.cc: Likewise.   
2681         * testsuite/22_locale/money_get/get/char/1.cc: Likewise.    
2682         * testsuite/22_locale/money_get/get/char/10.cc: Likewise.   
2683         * testsuite/22_locale/money_get/get/char/11.cc: Likewise.   
2684         * testsuite/22_locale/money_get/get/char/11528.cc: Likewise.
2685         * testsuite/22_locale/money_get/get/char/12.cc: Likewise.   
2686         * testsuite/22_locale/money_get/get/char/13.cc: Likewise.   
2687         * testsuite/22_locale/money_get/get/char/15.cc: Likewise.   
2688         * testsuite/22_locale/money_get/get/char/16.cc: Likewise.   
2689         * testsuite/22_locale/money_get/get/char/17.cc: Likewise.   
2690         * testsuite/22_locale/money_get/get/char/18.cc: Likewise.   
2691         * testsuite/22_locale/money_get/get/char/2.cc: Likewise.    
2692         * testsuite/22_locale/money_get/get/char/3.cc: Likewise.    
2693         * testsuite/22_locale/money_get/get/char/4.cc: Likewise.    
2694         * testsuite/22_locale/money_get/get/char/wrapped_env.cc: Likewise. 
2695         * testsuite/22_locale/money_get/get/char/wrapped_locale.cc: Likewise.  
2696         * testsuite/22_locale/money_get/get/wchar_t/1.cc: Likewise. 
2697         * testsuite/22_locale/money_get/get/wchar_t/10.cc: Likewise.      
2698         * testsuite/22_locale/money_get/get/wchar_t/11.cc: Likewise.      
2699         * testsuite/22_locale/money_get/get/wchar_t/11528.cc: Likewise.
2700         * testsuite/22_locale/money_get/get/wchar_t/12.cc: Likewise.      
2701         * testsuite/22_locale/money_get/get/wchar_t/13.cc: Likewise.      
2702         * testsuite/22_locale/money_get/get/wchar_t/15.cc: Likewise.      
2703         * testsuite/22_locale/money_get/get/wchar_t/16.cc: Likewise.      
2704         * testsuite/22_locale/money_get/get/wchar_t/17.cc: Likewise.      
2705         * testsuite/22_locale/money_get/get/wchar_t/18.cc: Likewise.      
2706         * testsuite/22_locale/money_get/get/wchar_t/2.cc: Likewise. 
2707         * testsuite/22_locale/money_get/get/wchar_t/3.cc: Likewise. 
2708         * testsuite/22_locale/money_get/get/wchar_t/4.cc: Likewise. 
2709         * testsuite/22_locale/money_get/get/wchar_t/wrapped_env.cc: Likewise.      
2710         * testsuite/22_locale/money_get/get/wchar_t/wrapped_locale.cc: Likewise.
2711         * testsuite/22_locale/money_put/put/char/1.cc: Likewise.  
2712         * testsuite/22_locale/money_put/put/char/2.cc: Likewise.  
2713         * testsuite/22_locale/money_put/put/char/3.cc: Likewise.  
2714         * testsuite/22_locale/money_put/put/char/9780-3.cc: Likewise.      
2715         * testsuite/22_locale/money_put/put/char/wrapped_env.cc: Likewise. 
2716         * testsuite/22_locale/money_put/put/char/wrapped_locale.cc: Likewise.  
2717         * testsuite/22_locale/money_put/put/wchar_t/1.cc: Likewise. 
2718         * testsuite/22_locale/money_put/put/wchar_t/2.cc: Likewise. 
2719         * testsuite/22_locale/money_put/put/wchar_t/3.cc: Likewise. 
2720         * testsuite/22_locale/money_put/put/wchar_t/wrapped_env.cc: Likewise.     
2721         * testsuite/22_locale/money_put/put/wchar_t/wrapped_locale.cc: Likewise.
2722         * testsuite/22_locale/moneypunct/members/char/2.cc: Likewise.
2723         * testsuite/22_locale/moneypunct/members/char/wrapped_env.cc: Likewise.    
2724         * testsuite/22_locale/moneypunct/members/char/wrapped_locale.cc:
2725         Likewise. 
2726         * testsuite/22_locale/moneypunct/members/wchar_t/2.cc: Likewise.   
2727         * testsuite/22_locale/moneypunct/members/wchar_t/wrapped_env.cc:
2728         Likewise.
2729         * testsuite/22_locale/moneypunct/members/wchar_t/wrapped_locale.cc:
2730         Likewise.
2731         * testsuite/22_locale/moneypunct_byname/named_equivalence.cc: Likewise.
2732         * testsuite/22_locale/num_get/get/char/1.cc: Likewise.   
2733         * testsuite/22_locale/num_get/get/char/3.cc: Likewise.   
2734         * testsuite/22_locale/num_get/get/char/5.cc: Likewise.   
2735         * testsuite/22_locale/num_get/get/char/6.cc: Likewise.   
2736         * testsuite/22_locale/num_get/get/char/9.cc: Likewise.   
2737         * testsuite/22_locale/num_get/get/char/wrapped_env.cc: Likewise.
2738         * testsuite/22_locale/num_get/get/char/wrapped_locale.cc: Likewise. 
2739         * testsuite/22_locale/num_get/get/wchar_t/1.cc: Likewise.  
2740         * testsuite/22_locale/num_get/get/wchar_t/3.cc: Likewise.  
2741         * testsuite/22_locale/num_get/get/wchar_t/5.cc: Likewise.  
2742         * testsuite/22_locale/num_get/get/wchar_t/6.cc: Likewise.  
2743         * testsuite/22_locale/num_get/get/wchar_t/9.cc: Likewise.  
2744         * testsuite/22_locale/num_get/get/wchar_t/wrapped_env.cc: Likewise. 
2745         * testsuite/22_locale/num_get/get/wchar_t/wrapped_locale.cc: Likewise. 
2746         * testsuite/22_locale/num_put/put/char/1.cc: Likewise.      
2747         * testsuite/22_locale/num_put/put/char/20909.cc: Likewise.  
2748         * testsuite/22_locale/num_put/put/char/20914.cc: Likewise.  
2749         * testsuite/22_locale/num_put/put/char/3.cc: Likewise.      
2750         * testsuite/22_locale/num_put/put/char/5.cc: Likewise.      
2751         * testsuite/22_locale/num_put/put/char/9780-2.cc: Likewise. 
2752         * testsuite/22_locale/num_put/put/char/wrapped_env.cc: Likewise.    
2753         * testsuite/22_locale/num_put/put/char/wrapped_locale.cc: Likewise. 
2754         * testsuite/22_locale/num_put/put/wchar_t/1.cc: Likewise. 
2755         * testsuite/22_locale/num_put/put/wchar_t/20909.cc: Likewise.   
2756         * testsuite/22_locale/num_put/put/wchar_t/20914.cc: Likewise.   
2757         * testsuite/22_locale/num_put/put/wchar_t/3.cc: Likewise. 
2758         * testsuite/22_locale/num_put/put/wchar_t/5.cc: Likewise.
2759         * testsuite/22_locale/num_put/put/wchar_t/wrapped_env.cc: Likewise.
2760         * testsuite/22_locale/num_put/put/wchar_t/wrapped_locale.cc: Likewise. 
2761         * testsuite/22_locale/numpunct/members/char/2.cc: Likewise.
2762         * testsuite/22_locale/numpunct/members/char/3.cc: Likewise.
2763         * testsuite/22_locale/numpunct/members/char/wrapped_env.cc: Likewise.    
2764         * testsuite/22_locale/numpunct/members/char/wrapped_locale.cc: Likewise.
2765         * testsuite/22_locale/numpunct/members/wchar_t/2.cc: Likewise.    
2766         * testsuite/22_locale/numpunct/members/wchar_t/wrapped_env.cc: Likewise.
2767         * testsuite/22_locale/numpunct/members/wchar_t/wrapped_locale.cc:
2768         Likewise. 
2769         * testsuite/22_locale/numpunct_byname/named_equivalence.cc: Likewise.       
2770         * testsuite/22_locale/time_get/date_order/char/wrapped_env.cc: Likewise.    
2771         * testsuite/22_locale/time_get/date_order/char/wrapped_locale.cc:
2772         Likewise. 
2773         * testsuite/22_locale/time_get/date_order/wchar_t/wrapped_env.cc:
2774         Likewise. 
2775         * testsuite/22_locale/time_get/date_order/wchar_t/wrapped_locale.cc:
2776         Likewise.
2777         * testsuite/22_locale/time_get/get_date/char/12750.cc: Likewise.
2778         * testsuite/22_locale/time_get/get_date/char/2.cc: Likewise.   
2779         * testsuite/22_locale/time_get/get_date/char/wrapped_env.cc: Likewise.      
2780         * testsuite/22_locale/time_get/get_date/char/wrapped_locale.cc:
2781         Likewise.
2782         * testsuite/22_locale/time_get/get_date/wchar_t/12750.cc: Likewise. 
2783         * testsuite/22_locale/time_get/get_date/wchar_t/2.cc: Likewise.     
2784         * testsuite/22_locale/time_get/get_date/wchar_t/4.cc: Likewise.     
2785         * testsuite/22_locale/time_get/get_date/wchar_t/wrapped_env.cc:
2786         Likewise.  
2787         * testsuite/22_locale/time_get/get_date/wchar_t/wrapped_locale.cc:
2788         Likewise.
2789         * testsuite/22_locale/time_get/get_monthname/char/2.cc: Likewise.  
2790         * testsuite/22_locale/time_get/get_monthname/char/wrapped_env.cc:
2791         Likewise.
2792         * testsuite/22_locale/time_get/get_monthname/char/wrapped_locale.cc:
2793         Likewise.
2794         * testsuite/22_locale/time_get/get_monthname/wchar_t/2.cc: Likewise.
2795         * testsuite/22_locale/time_get/get_monthname/wchar_t/wrapped_env.cc:
2796         Likewise.
2797         * testsuite/22_locale/time_get/get_monthname/wchar_t/wrapped_locale.cc:
2798         Likewise.
2799         * testsuite/22_locale/time_get/get_time/char/1.cc: Likewise.
2800         * testsuite/22_locale/time_get/get_time/char/2.cc: Likewise.
2801         * testsuite/22_locale/time_get/get_time/char/wrapped_env.cc: Likewise.
2802         * testsuite/22_locale/time_get/get_time/char/wrapped_locale.cc:
2803         Likewise.
2804         * testsuite/22_locale/time_get/get_time/wchar_t/1.cc: Likewise.
2805         * testsuite/22_locale/time_get/get_time/wchar_t/2.cc: Likewise.
2806         * testsuite/22_locale/time_get/get_time/wchar_t/wrapped_env.cc:
2807         Likewise. 
2808         * testsuite/22_locale/time_get/get_time/wchar_t/wrapped_locale.cc:
2809         Likewise.
2810         * testsuite/22_locale/time_get/get_weekday/char/2.cc: Likewise.
2811         * testsuite/22_locale/time_get/get_weekday/char/wrapped_env.cc:
2812         Likewise.
2813         * testsuite/22_locale/time_get/get_weekday/char/wrapped_locale.cc:
2814         Likewise. 
2815         * testsuite/22_locale/time_get/get_weekday/wchar_t/2.cc: Likewise.
2816         * testsuite/22_locale/time_get/get_weekday/wchar_t/wrapped_env.cc:
2817         Likewise.    
2818         * testsuite/22_locale/time_get/get_weekday/wchar_t/wrapped_locale.cc:
2819         Likewise. 
2820         * testsuite/22_locale/time_put/put/char/17038.cc: Likewise. 
2821         * testsuite/22_locale/time_put/put/char/2.cc: Likewise.     
2822         * testsuite/22_locale/time_put/put/char/3.cc: Likewise.     
2823         * testsuite/22_locale/time_put/put/char/4.cc: Likewise.     
2824         * testsuite/22_locale/time_put/put/char/6.cc: Likewise.     
2825         * testsuite/22_locale/time_put/put/char/7.cc: Likewise.     
2826         * testsuite/22_locale/time_put/put/char/8.cc: Likewise.     
2827         * testsuite/22_locale/time_put/put/char/9780-1.cc: Likewise.       
2828         * testsuite/22_locale/time_put/put/char/wrapped_env.cc: Likewise.
2829         * testsuite/22_locale/time_put/put/char/wrapped_locale.cc: Likewise.  
2830         * testsuite/22_locale/time_put/put/wchar_t/17038.cc: Likewise.   
2831         * testsuite/22_locale/time_put/put/wchar_t/2.cc: Likewise.
2832         * testsuite/22_locale/time_put/put/wchar_t/3.cc: Likewise.
2833         * testsuite/22_locale/time_put/put/wchar_t/4.cc: Likewise.
2834         * testsuite/22_locale/time_put/put/wchar_t/6.cc: Likewise.
2835         * testsuite/22_locale/time_put/put/wchar_t/7.cc: Likewise.
2836         * testsuite/22_locale/time_put/put/wchar_t/8.cc: Likewise.
2837         * testsuite/22_locale/time_put/put/wchar_t/wrapped_env.cc: Likewise.     
2838         * testsuite/22_locale/time_put/put/wchar_t/wrapped_locale.cc: Likewise.
2839         * testsuite/27_io/basic_filebuf/imbue/char/13007.cc: Likewise.  
2840         * testsuite/27_io/basic_filebuf/imbue/char/13171-1.cc: Likewise.
2841         * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
2842         * testsuite/27_io/basic_filebuf/imbue/char/13171-4.cc: Likewise.
2843         * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise.
2844         * testsuite/27_io/basic_filebuf/imbue/char/14975-1.cc: Likewise.
2845         * testsuite/27_io/basic_filebuf/imbue/char/2.cc: Likewise. 
2846         * testsuite/27_io/basic_filebuf/imbue/char/9322.cc: Likewise.       
2847         * testsuite/27_io/basic_filebuf/imbue/wchar_t/12868.cc: Likewise.
2848         * testsuite/27_io/basic_filebuf/imbue/wchar_t/13007.cc: Likewise.   
2849         * testsuite/27_io/basic_filebuf/imbue/wchar_t/13171-3.cc: Likewise. 
2850         * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-2.cc: Likewise. 
2851         * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-3.cc: Likewise. 
2852         * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc: Likewise. 
2853         * testsuite/27_io/basic_filebuf/imbue/wchar_t/2.cc: Likewise.       
2854         * testsuite/27_io/basic_filebuf/imbue/wchar_t/9322.cc: Likewise.    
2855         * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1.cc: Likewise.  
2856         * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2.cc: Likewise.  
2857         * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3.cc: Likewise.  
2858         * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4.cc: Likewise.  
2859         * testsuite/27_io/basic_filebuf/seekoff/wchar_t/1.cc: Likewise.    
2860         * testsuite/27_io/basic_filebuf/seekoff/wchar_t/2.cc: Likewise.    
2861         * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9874.cc: Likewise. 
2862         * testsuite/27_io/basic_filebuf/underflow/wchar_t/1.cc: Likewise.  
2863         * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-1.cc: Likewise.  
2864         * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-2.cc: Likewise.  
2865         * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-3.cc: Likewise.  
2866         * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-4.cc: Likewise.  
2867         * testsuite/27_io/basic_filebuf/underflow/wchar_t/2.cc: Likewise.
2868         * testsuite/27_io/basic_filebuf/underflow/wchar_t/3.cc: Likewise.
2869         * testsuite/27_io/basic_filebuf/underflow/wchar_t/4.cc: Likewise.
2870         * testsuite/27_io/basic_filebuf/underflow/wchar_t/5.cc: Likewise.
2871         * testsuite/27_io/basic_filebuf/underflow/wchar_t/9520.cc: Likewise.        
2872         * testsuite/27_io/basic_ios/copyfmt/char/2.cc: Likewise.   
2873         * testsuite/27_io/basic_ostream/inserters_arithmetic/char/2.cc:
2874         Likewise.   
2875         * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/2.cc:
2876         Likewise.
2877         * testsuite/27_io/basic_streambuf/imbue/char/13007-1.cc: Likewise.
2878         * testsuite/27_io/basic_streambuf/imbue/char/13007-2.cc: Likewise.
2879         * testsuite/27_io/basic_streambuf/imbue/char/9322.cc: Likewise.  
2880         * testsuite/27_io/basic_streambuf/imbue/wchar_t/13007-1.cc: Likewise.    
2881         * testsuite/27_io/basic_streambuf/imbue/wchar_t/13007-2.cc: Likewise.    
2882         * testsuite/27_io/basic_streambuf/imbue/wchar_t/9322.cc: Likewise. 
2883         * testsuite/27_io/basic_stringbuf/imbue/char/9322.cc: Likewise.    
2884         * testsuite/27_io/basic_stringbuf/imbue/wchar_t/9322.cc: Likewise.
2885         * testsuite/27_io/objects/wchar_t/10.cc: Likewise. 
2886         * testsuite/27_io/objects/wchar_t/11.cc: Likewise. 
2887         * testsuite/27_io/objects/wchar_t/12.cc: Likewise. 
2888         * testsuite/27_io/objects/wchar_t/13.cc: Likewise. 
2889         * testsuite/27_io/objects/wchar_t/9520.cc: Likewise.
2890         * testsuite/ext/stdio_sync_filebuf/wchar_t/12077.cc: Likewise.
2891
2892 2005-05-17  Nathan Sidwell  <nathan@codesourcery.com>
2893
2894         * libsupc++/eh_personality.cc (gcc_unreachable): Define.
2895
2896 2005-05-16  Paolo Carlini  <pcarlini@suse.de>
2897
2898         * docs/html/install.html: Update list of required named
2899         locales, add "es_ES".
2900
2901 2005-05-13  Magnus Fromreide  <magfr@lysator.liu.se>
2902
2903         * testsuite/27_io/basic_streambuf/sgetn/char/1.cc: Use
2904         initialization instead of copying as the string is used only once.
2905         * testsuite/27_io/basic_streambuf/sgetn/wchar_t/1.cc: Likewise.
2906         * testsuite/27_io/basic_streambuf/sputn/char/1.cc: Likewise.
2907         * testsuite/27_io/basic_streambuf/sputn/wchar_t/1.cc: Likewise.
2908
2909 2005-05-12  Benjamin Kosnik  <bkoz@redhat.com>
2910
2911         * scripts/create_testsuite_files: Fix.
2912         
2913 2005-05-12  Kaz Kojima  <kkojima@gcc.gnu.org>
2914
2915         * testsuite/18_support/numeric_limits.cc (dg-options): Add
2916         -mieee to options on sh*-*-*.
2917
2918 2005-05-10  Jonathan Wakely  <redi@gcc.gnu.org>
2919
2920         * include/debug/debug.h: Fix typo in macro name.
2921
2922 2005-05-09  Paolo Carlini  <pcarlini@suse.de>
2923             Giovanni Bajo  <giovannibajo@gcc.gnu.org>
2924             
2925         PR libstdc++/18604
2926         * include/bits/deque.tcc: Fully qualify names from namespace std.
2927         * include/bits/stl_bvector.h: Likewise.
2928         * include/bits/stl_deque.h: Likewise.
2929         * include/bits/stl_list.h: Likewise.
2930         * include/bits/stl_map.h: Likewise.
2931         * include/bits/stl_multimap.h: Likewise.
2932         * include/bits/stl_multiset.h: Likewise.
2933         * include/bits/stl_set.h: Likewise.
2934         * include/bits/stl_vector.h: Likewise.
2935         * include/bits/vector.tcc: Likewise.
2936         * include/std/std_bitset.h: Likewise.
2937         * testsuite/23_containers/bitset/18604.cc: New.
2938         * testsuite/23_containers/deque/18604.cc: Likewise.
2939         * testsuite/23_containers/list/18604.cc: Likewise.
2940         * testsuite/23_containers/map/18604.cc: Likewise.
2941         * testsuite/23_containers/set/18604.cc: Likewise.
2942         * testsuite/23_containers/vector/18604.cc: Likewise.    
2943
2944 2005-05-09  Mike Stump  <mrs@apple.com>
2945
2946         * configure: Regenerate.
2947
2948 2005-05-09  Jonathan Wakely  <redi@gcc.gnu.org>
2949
2950         DR 434. bitset::to_string() hard to use [Ready]
2951         * include/debug/bitset (to_string): Add three overloads, taking
2952         fewer template arguments.
2953
2954 2005-05-06  Mark Mitchell  <mark@codesourcery.com>
2955
2956         * testsuite/testsuite_hooks.cc (try_mkfifo): Remove.
2957         * testsuite/testsuite_hooks.h (try_mkfifo): Likewise.
2958         * testsuite/27_io/basic_filebuf/close/char/4879.cc: Use
2959         dg-require-fork and dg-require-mkfifo.  Replace try_mkfifo with
2960         mkfifo.
2961         * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise.
2962         * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
2963         * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise.
2964         * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-2.cc:
2965         Likewise.
2966         * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc:
2967         Likewise.
2968         * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise.
2969         * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc:
2970         Likewise.
2971         * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise.
2972         * testsuite/27_io/objects/char/7.cc: Likewise.
2973         * testsuite/27_io/objects/char/9661-1.cc: Likewise.
2974         * testsuite/27_io/objects/wchar_t/7.cc: Likewise.
2975         * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise.
2976
2977 2005-05-04  Benjamin Kosnik  <bkoz@redhat.com>
2978
2979         * acinclude.m4: Remove testsuite_wchar_t and testsuite_thread.
2980         * testsuite/Makefile.am: Same.
2981         * scripts/create_testsuite_files: Same. 
2982         * Makefile.in: Regenerate.
2983         * configure: Same.
2984         * include/Makefile.in: Same.
2985         * libmath/Makefile.in: Same.
2986         * libsupc++/Makefile.in: Same.
2987         * po/Makefile.in: Same.
2988         * src/Makefile.in: Same.
2989
2990 2005-05-04  Mark Mitchell  <mark@codesourcery.com>
2991
2992         * testsuite/lib/libstdc++.exp (v3-build_support): Look for
2993         __GTHREADS, rather than _GLIBCXX_HAVE_GTHR_DEFAULT, to determine
2994         whether or not thread support is available.
2995
2996         * docs/html/test.html: Explain how to run the testsuite on an
2997         installed directory. 
2998
2999 2005-05-01  Paolo Carlini  <pcarlini@suse.de>
3000
3001         * config/os/aix/os_defines.h: Remove obsolete __off_t,
3002         __off64_t, __ssize_t defines.
3003         * config/os/djgpp/os_defines.h: Likewise.
3004         * config/os/hpux/os_defines.h: Likewise.
3005         * config/os/irix/irix5.2/os_defines.h: Likewise.
3006         * config/os/irix/irix6.5/os_defines.h: Likewise.
3007         * config/os/solaris/solaris2.5/os_defines.h: Likewise.
3008         * config/os/solaris/solaris2.6/os_defines.h: Likewise.
3009         * config/os/solaris/solaris2.7/os_defines.h: Likewise.
3010         * docs/html/17_intro/porting.html: Don't discuss the defines.
3011         * docs/html/17_intro/porting.texi: Likewise.
3012
3013 2005-04-29  Paolo Carlini  <pcarlini@suse.de>
3014             Nathan Myers  <ncm@cantrip.org>
3015
3016         PR libstdc++/21286
3017         * include/bits/fstream.tcc (basic_filebuf<>::xsgetn):
3018         Loop on short reads; remove the work-around for
3019         libstdc++/20806, not needed anymore.
3020
3021 2005-04-29  Paolo Carlini  <pcarlini@suse.de>
3022
3023         PR libstdc++/21238
3024         * include/bits/locale_facets.tcc (num_get::_M_extract_float,
3025         num_get::_M_extract_int, num_get::do_get(bool&),
3026         num_put::_M_insert_int, num_put::_M_insert_float,
3027         num_put::do_put(bool), money_get::_M_extract,
3028         money_put::_M_insert): Adjust the __cache_type typedef not to
3029         forward to a numpunct/moneypunct typedef.
3030         * testsuite/testsuite_character.h: Add pod_uint and its numpunct
3031         and moneypunct specializations.
3032         * testsuite/testsuite_character.cc: Add numpunct<pod_uint>::id
3033         and moneypunct<pod_uint>::id.
3034         * testsuite/22_locale/num_get/3.cc: New.
3035         * testsuite/22_locale/num_put/3.cc: Likewise.
3036         * testsuite/22_locale/money_get/3.cc: Likewise.
3037         * testsuite/22_locale/money_put/3.cc: Likewise.
3038
3039         * include/bits/locale_facets.tcc (money_put::_M_insert,
3040         time_get::_M_extract_name): Prefer operator== to operator!=
3041         on char_types.
3042
3043 2005-04-29  Paolo Carlini  <pcarlini@suse.de>
3044
3045         * include/tr1/type_traits (is_convertible): Adjust according
3046         to the resolution of TR1 issue 3.20.
3047         * testsuite/tr1/4_metaprogramming/relationships_between_types/
3048         is_convertible/is_convertible.cc: Add tests.
3049
3050 2005-04-28  Paolo Carlini  <pcarlini@suse.de>
3051             Gabriel Dos Reis  <gdr@integrable-solutions.net>
3052
3053         PR libstdc++/21244 (cont)
3054         * include/bits/cpp_type_traits.h (struct __traitor): Convert
3055         to bool the values.
3056         * include/bits/stl_algo.h: Convert _S_threshold to int.
3057         * include/bits/stl_bvector.h: Revert previous change, convert
3058         _S_word_bit to int.
3059         * include/debug/formatter.h: Convert __max_parameters to
3060         size_t.
3061         * include/ext/mt_allocator.h: Likewise for _S_chunk_size.
3062         * include/ext/pool_allocator.h: Likewise for _S_max_bytes and
3063         _S_align.
3064         * include/ext/rope: Likewise for _S_alloc_granularity; convert
3065         _S_max_rope_depth to int.
3066         * include/ext/ropeimpl.h: Convert _S_path_cache_len to int;
3067         _S_max_rope_depth to int; _S_copy_max to size_t.
3068
3069 2005-04-27  Benjamin Kosnik  <bkoz@redhat.com>
3070
3071         * docs/doxygen/user.cfg.in: Update to doxygen-1.4.2.
3072         * docs/doxygen/doxygroups.cc: Update namespace comments.
3073
3074 2005-04-27  Dominik Strasser  <dominik.strasser@infineon.com>
3075             Paolo Carlini  <pcarlini@suse.de>
3076
3077         PR libstdc++/21244
3078         * include/bits/stl_bvector.h: Change the anonymous enum
3079         at namespace scope to _S_word_bit_enum.
3080         * testsuite/23_containers/vector/bool/21244.cc: New.
3081
3082 2005-04-27  Paolo Carlini  <pcarlini@suse.de>
3083
3084         * include/tr1/type_traits (has_trivial_copy, has_trivial_assign,
3085         has_nothrow_copy, has_nothrow_assign): Adjust according to the
3086         resolution of TR1 issue 3.21.
3087         * testsuite/testsuite_tr1.h (test_copy_property,
3088         test_assign_property): Remove.
3089         * testsuite/tr1/4_metaprogramming/type_properties/
3090         has_nothrow_assign/has_nothrow_assign.cc: Adjust.
3091         * testsuite/tr1/4_metaprogramming/type_properties/
3092         has_nothrow_copy/has_nothrow_copy.cc: Likewise.
3093         * testsuite/tr1/4_metaprogramming/type_properties/
3094         has_trivial_assign/has_trivial_assign.cc: Likewise.
3095         * testsuite/tr1/4_metaprogramming/type_properties/
3096         has_trivial_copy/has_trivial_copy.cc: Likewise.
3097
3098 2005-04-26  Jones Desougi  <jones@ingate.com>
3099
3100         PR libstdc++/21131
3101         * linkage.m4: Fix comments.
3102
3103 2005-04-26  Paolo Carlini  <pcarlini@suse.de>
3104
3105         PR libstdc++/21209
3106         * include/bits/locale_facets.tcc (_M_extract_int): Avoid signed
3107         integer overflow, always use a suited unsigned type in the main
3108         parsing loop.
3109         (struct __to_unsigned_type): New.
3110         * testsuite/22_locale/num_get/get/char/16.cc: New.
3111         * testsuite/22_locale/num_get/get/wchar_t/16.cc: Likewise.
3112
3113 2005-04-25  Paolo Carlini  <pcarlini@suse.de>
3114
3115         PR libstdc++/21035
3116         * include/bits/basic_string.h (compare): Adjust the documentation
3117         to match the implementation and the standard.
3118
3119 2005-04-24  Paolo Carlini  <pcarlini@suse.de>
3120
3121         * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 35.
3122
3123 2005-04-20  Mark Mitchell  <mark@codesourcery.com>
3124
3125         * testsuite/ext/bitmap_allocator/check_allocate_max_size.cpp: Add
3126         explicit instantiations for systems without weak symbols.
3127         * testsuite/ext/bitmap_allocator/check_deallocate_null.cc:
3128         Likewise. 
3129
3130 2005-04-18  Jonathan Wakely  <redi@gcc.gnu.org>
3131
3132         * include/bits/stl_algo.h (rotate_copy): Add missing std qualification.
3133
3134 2005-04-17  Paolo Carlini  <pcarlini@suse.de>
3135
3136         PR libstdc++/20914
3137         * include/bits/locale_facets.tcc (__int_to_char(_CharT*, _ValueT,
3138         const _CharT*, ios_base::fmtflags, bool)): Don't deal with numeric
3139         base or sign here, instead...
3140         (_M_insert_int(_OutIter, ios_base&, _CharT, _ValueT)): ... here,
3141         after adding the grouping. This fixes the bug and also allows to
3142         clean-up the code dealing with integer types.
3143         (_M_group_int(const char*, size_t, _CharT, ios_base&, _CharT*,
3144         _CharT*, int&)): Simplify, remove bits dealing with numeric base.
3145         (__int_to_char(_CharT*, unsigned long, const _CharT*,
3146         ios_base::fmtflags), __int_to_char(_CharT*, unsigned long long,
3147         const _CharT*, ios_base::fmtflags)): Remove hackish fix for
3148         libstdc++/15565.
3149         (__int_to_char(_CharT*, long, const _CharT*, ios_base::fmtflags),
3150         __int_to_char(_CharT*, long long, const _CharT*, ios_base::fmtflags)):
3151         Simplify, don't pass the sign.
3152         (_M_insert_float(_OutIter, ios_base&, _CharT, char, _ValueT)):
3153         Deal with a sign at the beginning of __cs; robustify the grouping
3154         check.
3155         * testsuite/22_locale/num_put/put/char/20914.cc: New.
3156         * testsuite/22_locale/num_put/put/wchar_t/20914.cc: Likewise.
3157
3158 2005-04-14  Benjamin Kosnik  <bkoz@redhat.com>
3159
3160         * include/ext/bitmap_allocator.h
3161         (__gnu_cxx::free_list::_M_get_mutex): New.
3162         (__gnu_cxx::free_list::_M_get_free_list): New.
3163         (__gnu_cxx::free_list::_S_bfl_mutex): Remove.
3164         (__gnu_cxx::free_list::_S_free_list): Remove.
3165         * src/bitmap_allocator.cc: Same.
3166         * config/linker-map.gnu: Remove free_list and mutex export.
3167
3168 2005-04-14  Benjamin Kosnik  <bkoz@redhat.com>
3169
3170         *  include/ext/pod_char_traits.h (__gnu_cxx::character): Add char_type.
3171         (character::to): New.
3172         (character::from): New.
3173         (operator==): Add state parameter.
3174         (operator<): Same.
3175         (char_traits::copy): Use std::copy.
3176         (char_traits::assign): Use std::fill_n.
3177         (char_traits::to_char_type): Use character::from.
3178         (char_traits::to_int_type): Use character::to.
3179         *  testsuite/testsuite_character.h (__gnu_test::character): Remove.
3180         (__gnu_test::conversion_state): Remove.
3181         (__gnu_test::pod_char): Remove.
3182         (pod_char): New typedef.
3183         (pod_uchar): New typedef.
3184         (pod_ushort): New typedef.
3185         *  testsuite/testsuite_character.cc: Fixups.
3186         *  testsuite/21_strings/basic_string/inserters_extractors/pod/
3187         10081-in.cc: Same.
3188         *  testsuite/21_strings/basic_string/inserters_extractors/pod/
3189         10081-out.cc: Same.
3190         *  testsuite/22_locale/numpunct/members/pod/1.cc: Same.
3191         *  testsuite/22_locale/numpunct/members/pod/2.cc: Same.
3192         *  testsuite/27_io/basic_filebuf/close/12790-1.cc: Same.
3193         *  testsuite/27_io/basic_filebuf/open/12790-1.cc: Same.
3194         *  testsuite/27_io/basic_filebuf/seekoff/12790-1.cc: Same.
3195         *  testsuite/27_io/basic_filebuf/seekoff/12790-2.cc: Same.
3196         *  testsuite/27_io/basic_filebuf/seekoff/12790-3.cc: Same.
3197         *  testsuite/27_io/basic_filebuf/seekoff/12790-4.cc: Same.
3198         *  testsuite/27_io/basic_filebuf/seekpos/12790-1.cc: Same.
3199         *  testsuite/27_io/basic_filebuf/seekpos/12790-2.cc: Same.
3200         *  testsuite/27_io/basic_filebuf/seekpos/12790-3.cc: Same.
3201         *  testsuite/27_io/basic_ios/imbue/14072.cc: Same.
3202         *  testsuite/27_io/basic_istream/extractors_arithmetic/pod/
3203         3983-1.cc: Same.
3204         *  testsuite/27_io/basic_istream/extractors_character/pod/
3205         3983-2.cc: Same.
3206         *  testsuite/27_io/basic_istream/extractors_other/pod/3983-3.cc: Same.
3207         *  testsuite/27_io/basic_istream/sentry/pod/1.cc: Same.
3208         *  testsuite/27_io/basic_ostream/sentry/pod/1.cc: Same.
3209
3210 2005-04-12  Mike Stump  <mrs@apple.com>
3211
3212         * configure: Regenerate.
3213
3214 2005-04-08  Benjamin Kosnik  <bkoz@redhat.com>
3215
3216         * testsuite/Makefile.am: Remove libv3test.a.
3217         * testsuite/Makefile.in: Regenerate.
3218         * testsuite/lib/libstdc++.exp (v3_target_compile): Fix comments.
3219         
3220 2005-04-08  Paolo Carlini  <pcarlini@suse.de>
3221
3222         PR libstdc++/20909
3223         * include/bits/locale_facets.tcc (num_put<>::_M_insert_float):
3224         Don't even try to group numbers like 2e20, i.e., no decimal
3225         point, scientific notation.
3226         * testsuite/22_locale/num_put/put/char/20909.cc: New.
3227         * testsuite/22_locale/num_put/put/wchar_t/20909.cc: Likewise.
3228
3229 2005-04-08  Kelley Cook  <kcook@gcc.gnu.org>
3230
3231         * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Define _GLIBCXX_ASM_SYMVER.
3232         * acconfig.h: Delete file.
3233         * Makefile.in, acinclude.m4, configure: Regenerate.
3234
3235 2005-04-08  Kelley Cook  <kcook@gcc.gnu.org>
3236
3237         * linkage.m4 (GLIBCXX_MAYBE_UNDERSCORED_FUNCS): New macro.
3238         (GLIBCXX_CHECK_MATH_DECL_AND_LINKAGE_1,
3239         GLIBCXX_CHECK_MATH_DECL_AND_LINKAGE_2,
3240         GLIBCXX_CHECK_MATH_DECL_AND_LINKAGE_3,
3241         GLIBCXX_CHECK_MATH_DECLS_AND_LINKAGES_1,
3242         GLIBCXX_CHECK_STDLIB_DECL_AND_LINKAGE_2): Use it.
3243         (GLIBCXX_CHECK_MATH_SUPPORT): Delete obsolete comment.
3244         * acconfig.h: Delete redundant macros.
3245         * config.h.in, configure: Regenerate.
3246
3247 2005-04-08  Kelley Cook  <kcook@gcc.gnu.org>
3248
3249         * linkage.m4 (GLIBCXX_CHECK_MATH_DECLS_AND_LINKAGES_1): Eliminate
3250         a subshell and if test fails, test for same functions with 
3251         leading underscore.
3252         (GLIBCXX_CHECK_MATH_SUPPORT): Eliminate seperate checks for _funcs.
3253         * configure: Regenerate.
3254
3255 2005-04-08  Danny Smith  <dannysmith@users.sourceforge.net>
3256             Paolo Carlini  <pcarlini@suse.de>
3257                         
3258         PR libstdc++/20806
3259         * config/os/mingw32/os_defines.h: Define
3260         _GLIBCXX_HAVE_DOS_BASED_FILESYSTEM.
3261         * config/os/newlib/os_defines.h: Likewise, for __CYGWIN__.
3262         * include/bits/fstream.tcc (basic_filebuf<>::showmanyc()):
3263         Use it.
3264         (basic_filebuf<>::xsgetn(_CharT*, streamsize)): Likewise.
3265
3266 2005-04-08  Kelley Cook  <kcook@gcc.gnu.org>
3267
3268         * acconfig.h: Sort the bottom section.
3269         * config.h.in: Regenerate.
3270
3271 2005-04-08  Kelley Cook  <kcook@gcc.gnu.org>
3272
3273         * acconfig.h: Remove redundant HAVE_FLOAT_H.
3274         * config.h.in: Regenerate.
3275
3276 2005-04-08  Kelley Cook  <kcook@gcc.gnu.org>
3277
3278         * configure.ac: Create template for PACKAGE and VERSION.
3279         Update comment on how to regenerate file.  Update minimum
3280         automake version to 1.9.3.
3281         * acconfig.h: Remove PACKAGE and VERSION.
3282         * aclocal.m4, configure, Makefile.in, po/Makefile.in, 
3283         src/Makefile.in, include/Makefile.in, libmath/Makefile.in, 
3284         testsuite/Makefile.in, config.h.in: Regenerate.
3285
3286 2005-04-06  Benjamin Kosnik  <bkoz@redhat.com>
3287
3288         * docs/html/test.html: Update.
3289         * testsuite/printnow.c: Remove.
3290         * scripts/check_survey.in: Remove.
3291
3292         * testsuite/abi_check.cc: To...
3293         * testuite/testsuite_abi_check.cc: ...here.
3294         * testsuite/libstdc++-abi/abi.exp: Change abi_check.cc to
3295         testsuite_abi_check.cc.
3296
3297         * testsuite/testsuite_hooks.h: Move character related bits to...
3298         * testsuite/testsuite_character.h: ...here.
3299         * testsuite/testsuite_character.cc: ... and here.
3300         * testsuite/21_strings/basic_string/inserters_extractors/pod/
3301         10081-in.cc: Use testsuite_character.h.
3302         * testsuite/21_strings/basic_string/inserters_extractors/pod/
3303         10081-out.cc: Same.
3304         * testsuite/22_locale/numpunct/members/pod/1.cc: Same.
3305         * testsuite/22_locale/numpunct/members/pod/2.cc: Same.
3306         * testsuite/27_io/basic_filebuf/2.cc: Same.
3307         * testsuite/27_io/basic_fstream/2.cc: Same.
3308         * testsuite/27_io/basic_istream/2.cc: Same.
3309         * testsuite/27_io/basic_istream/extractors_arithmetic/pod/
3310         3983-1.cc: Same.
3311         * testsuite/27_io/basic_istream/extractors_character/char/
3312         9826.cc: Same.
3313         * testsuite/27_io/basic_istream/extractors_character/pod/
3314         3983-2.cc: Same.
3315         * testsuite/27_io/basic_istream/extractors_other/pod/3983-3.cc: Same.
3316         * testsuite/27_io/basic_istream/sentry/pod/1.cc: Same.
3317         * testsuite/27_io/basic_ostream/2.cc: Same.
3318         * testsuite/27_io/basic_ostream/sentry/pod/1.cc: Same.
3319         * testsuite/27_io/basic_streambuf/2.cc: Same.
3320         * testsuite/27_io/basic_stringbuf/2.cc: Same.
3321         * testsuite/27_io/basic_stringbuf/4.cc: Same.
3322         * testsuite/27_io/basic_stringstream/2.cc: Same.
3323         * testsuite/27_io/fpos/1.cc: Same.
3324         * testsuite/ext/mt_allocator/tune-1.cc: Same.
3325         * testsuite/ext/mt_allocator/tune-2.cc: Same.
3326         * testsuite/ext/stdio_filebuf/char/1.cc: Same.  
3327         * testsuite/lib/libstdc++.exp (v3-build_support): Add
3328         testsuite_character.cc.
3329         * testsuite/Makefile.am (libv3test_a_SOURCES): Add
3330         testsuite_character.cc.
3331         * testsuite/Makefile.in: Regenerate.
3332                 
3333         * configure.ac: Remove use of check_survey.
3334         * configure: Regenerate.
3335         * testsuite/Makefile.am: Remove check-script and
3336         check-script-install rules.
3337         * testsuite/Makefile.in: Regenerate.
3338
3339 2005-04-06  Ulrich Weigand  <uweigand@de.ibm.com>
3340
3341         * config/cpu/s390/atomicity.h (__exchange_and_add): Add "memory"
3342         clobber to inline assembly statement.
3343
3344 2005-04-06  Kelley Cook  <kcook@gcc.gnu.org>
3345
3346         * acinclude.m4 (_GLIBCXX_USE_LONG_LONG,
3347         _GLIBCXX_USE_WCHAR_T, _GLIBCXX_USE_C99, _GLIBCXX_USE_C99_MATH,
3348         _GLIBCXX_USE_C99_COMPLEX, _GLIBCXX_RES_LIMITS, _GLIBCXX_CONCEPT_CHECKS,
3349         _GLIBCXX_SYMVER, _GLIBCXX_USE_LFS, _GLIBCXX_FULLY_DYNAMIC_STRING,
3350         _GLIBCXX_USE_NLS, HAVE_GTHR_DEFAULT, HAVE_MBSTATE_T, HAVE_POLL,
3351         HAVE_S_ISREG, HAVE_S_IFREG, HAVE_WRITEV, HAVE_INT64_T,
3352         HAVE_LC_MESSAGES): Use long form of AC_DEFINE ...
3353         * acconfig.h: ... to eliminate them from here.
3354         (_GLIBCXX_ASM_SYMVER): Move definition below @BOTTOM@.
3355         * config.h.in, configure: Regenerate.
3356         
3357 2005-04-05  Kelley Cook  <kcook@gcc.gnu.org>
3358
3359         * Makefile.am (ACLOCAL_AMFLAGS): Define.
3360         * crossconfig.m4: Wrap file into new GLIBCXX_CROSSCONFIG macro.
3361         * configure.ac: Use it.
3362         * acinclude.m4: Delete explicit m4_includes and sincludes.
3363         * aclocal.m4, configure, Makefile.in, po/Makefile.in, 
3364         src/Makefile.in, include/Makefile.in, libmath/Makefile.in, 
3365         testsuite/Makefile.in: Regenerate.
3366
3367 2005-04-05  Jonathan Wakely  <redi@gcc.gnu.org>
3368
3369         * include/tr1/memory, include/tr1/boost_shared_ptr.h: Use mutex
3370         to make _Sp_counted_base::add_ref_lock() thread-safe. Check whether
3371         to destroy resources by testing for equality, not inequality. Add
3372         empty critical sections to solve memory visibility issues.
3373         * testsuite/tr1/2_general_utilities/memory/
3374         shared_ptr/cons/auto_ptr_neg.cc: Use dg-excess-errors instead of
3375         explicitly listing line numbers which need to be kept in sync.
3376         * testsuite/tr1/2_general_utilities/memory/
3377         shared_ptr/assign/auto_ptr_neg.cc: Same.
3378         * testsuite/tr1/2_general_utilities/memory/
3379         shared_ptr/assign/auto_ptr_rvalue_neg.cc: Same.
3380         * testsuite/tr1/2_general_utilities/memory/
3381         shared_ptr/cons/weak_ptr_expired.cc: Make XFAIL for consistency when
3382         -fno-exceptions.
3383         * testsuite/tr1/2_general_utilities/memory/
3384         enable_shared_from_this/not_shared.cc: Add explanatory comments.
3385         * testsuite/tr1/2_general_utilities/memory/
3386         enable_shared_from_this/not_shared2.cc: Same.
3387         * testsuite/tr1/2_general_utilities/memory/
3388         enable_shared_from_this/not_shared3.cc: Same.
3389
3390 2005-04-05  Kelley Cook  <kcook@gcc.gnu.org>
3391
3392         * acconfig.h: Delete macros already AC_DEFINED.
3393         * config.h.in: Regenerate.
3394
3395 2005-04-05  Kelley Cook  <kcook@gcc.gnu.org>
3396
3397         * acconfig.h (HAVE_MODF): Remove.
3398         * linkage.m4: Check for modf.
3399         * config.h.in, configure: Regenerate.
3400
3401 2005-04-05  Kelley Cook  <kcook@gcc.gnu.org>
3402
3403         * acconfig.h (ENABLE_NLS, HAVE_CATGETS): Remove.
3404         (HAVE_GETTEXT, HAVE_STPCPY): Likewise.
3405         * config.h.in: Regenerate.
3406         
3407 2005-04-05  Kelley Cook  <kcook@gcc.gnu.org>
3408
3409         * linkage.m4 (GLIBCXX_CHECK_BUILTIN_MATH_DEC): Use m4 translit macro 
3410         to convert to uppercase instead of shelling out to tr.
3411         * acconfig.h: Remove now redundant HAVE__BUILTINS_*.
3412         * configure, config.h.in: Regenerate.
3413
3414 2005-04-05  Kelley Cook  <kcook@gcc.gnu.org>
3415
3416         * acconfig.h (HAVE_TANL): Correct cut-and-paste typo.
3417         * config.h.in: Regenerate.
3418
3419 2005-04-04  Mark Mitchell  <mark@codesourcery.com>
3420
3421         * testsuite/Makefile.am (check-local): Remove.
3422         (curent_symbols.txt): Likewise.
3423         (check-abi): Do not depend on current_symbols.txt.
3424         * testsuite/Makefile.in: Regenerated.
3425         * testsuite/libstdc++-abi/abi.exp: Build current_symbols.txt.
3426
3427 2005-04-02  Douglas Gregor  <doug.gregor@gmail.com>
3428         
3429         * include/tr1/tuple_iterate.h (tuple_element): Use new macro
3430         _GLIBCXX_T_NUM_ARGS_PLUS_1 because _T is a macro on Darwin.
3431         * include/tr1/repeat.h (_GLIBCXX_T_NUM_ARGS_PLUS_1): Define for
3432         each iteration.
3433         * scripts/gen_includers.h: Define _GLIBCXX_T_NUM_ARGS_PLUS_1 for
3434         each iteration.
3435         
3436 2005-04-01  Douglas Gregor  <doug.gregor@gmail.com>
3437
3438         * include/tr1/functional (_Maybe_wrap_member_pointer): Wrap up
3439         member pointers in _Mem_fn but let other function objects pass
3440         through unchanged.
3441         * include/tr1/functional_iterator (bind): Reduce number of bind()
3442         overloads to two to eliminate ambiguities. Use
3443         _Maybe_wrap_member_pointer to handle member pointers gracefully.
3444         
3445 2005-04-01  Mark Mitchell  <mark@codesourcery.com>
3446
3447         * testsuite/Makefile.am (noinst_PROGRAMS): Remove.
3448         (site.exp): Write out the path to the baseline file.
3449         (check-abi): Use DejaGNU.
3450         (check-abi-verbose): Remove.
3451         * testsuite/Makefile.in: Regenerated.
3452         * testsuite/abi_check.cc (main): Check the return value from
3453         compare_symbols.
3454         * testsuite/testsuite_abi.cc (compare_symbols): Return a value.
3455         * testsuite/testsuite_abi.h (compare_symbols): Adjust prototype.
3456         * testsuite/libstdc++-abi/abi.exp: New file.
3457
3458 2005-03-31  Chris Jefferson  <chris@bubblescope.net>
3459
3460         * include/tr1/tuple: Support iteration via tuple_iterate.h.
3461         * include/tr1/tuple_iterate.h: Iteration file for tuple.
3462
3463 2005-03-31  Douglas Gregor  <doug.gregor@gmail.com>
3464
3465         * include/Makefile.am (tr1_headers): Add bind and mu repetition
3466         headers and reference_wrapper<> forwarding header.
3467         * include/Makefile.in: Regenerate.
3468         * include/tr1/bind_iterate.h: Implementation of function call
3469         operators for the function object returned from tr1::bind().
3470         * include/tr1/bind_repeat.h: Bind-specific repetition header,
3471         akin to include/tr1/repeat.h.
3472         * include/tr1/functional (_Mem_fn): Bug fix: declare result member
3473         template for use with result_of.
3474         (is_bind_expression): New.
3475         (is_placeholder): New.
3476         (_Placeholder): New. Placeholder type for bind.
3477         (_Mu): New. Implementation detail of bind.
3478         (_Bind, _Bind_result): New. Function objects returned by bind.
3479         (_GLIBCXX_JOIN): New. Required to create bind placeholders.
3480         * include/tr1/functional_iterate.h (_Bind, _Bind_result, bind):
3481         New. Implementation of tr1::bind.
3482         * include/tr1/mu_iterate.h (_Mu): result template and operator()
3483         for the _Mu helper to bind.
3484         * include/tr1/ref_fwd.h (reference_wrapper): Forward declaration
3485         used by tuple header.
3486         (ref): Ditto.
3487         (cref): Ditto.
3488         * include/tr1/repeat.h: Add bind-specific repetition macros.
3489         * include/tr1/tuple: Use reference_wrapper forwarding header for
3490         initial definitions, then include <tr1/functional> at the end, to
3491         make the circular dependencies work.
3492         (tie): Support zero-argument tie() function.
3493         * testsuite/tr1/3_function_objects/bind/all_bound.cc: New test of
3494         bind() functionality with parameters bound.
3495         * testsuite/tr1/3_function_objects/bind/nested.cc: New test of
3496         nested bind() expressions.
3497         * testsuite/tr1/3_function_objects/bind/placeholders.cc: New test
3498         of bind() placeholders.
3499         * testsuite/tr1/3_function_objects/bind/ref.cc: New test of bind()
3500         with arguments bound via reference_wrapper<>.
3501         * scripts/gen_includers.pl: Generate the repetitive part of
3502         include/tr1/repeat.h.
3503         * scripts/gen_bind_includers.pl: Generate the repetitive part of
3504         include/tr1/bind_repeat.h. 
3505         
3506 2005-03-30  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
3507
3508         * testsuite/Makefile.am (CXX): Use ${SHELL}.
3509         (GLIBCXX_INCLUDES): Same.
3510         (AM_CXXFLAGS): Same.
3511         * testsuite/Makefile.in: Regenerate.
3512
3513 2005-03-25  Mark Mitchell  <mark@codesourcery.com>
3514
3515         * testsuite/lib/libstdc++.exp (libstdc++_init): Define LOCALEDIR
3516         when testing an installed compiler.
3517         
3518         * testsuite/lib/libstdc++.exp (v3-build_support): Pass -w when
3519         compiling support objects.
3520
3521 2005-03-24  Benjamin Kosnik  <bkoz@redhat.com>
3522
3523         * include/tr1/memory: Forward to...
3524         * include/tr1/boost_shared_ptr.h: ...here. Add Boost Software License.
3525         * include/Makefile.am (tr1_headers): Add boost_shared_ptr.h.
3526         * include/Makefile.in: Regenerate.
3527         * testsuite/tr1/2_general_utilities/memory/shared_ptr/cons/
3528         auto_ptr_neg.cc: Adjust line numbers.
3529
3530 2005-03-23  Mark Mitchell  <mark@codesourcery.com>
3531
3532         * testsuite/Makefile.am (all-local): Do not build testsuite_files.
3533         * testsuite/Makefile.in: Regenerated. 
3534
3535 2005-03-23  Benjamin Kosnik  <bkoz@redhat.com>
3536
3537         * acinclude.m4: Adjust so that _GLIBCXX_USE_C99 implies
3538         using _GLIBCXX_USE_C99_COMPLEX, _GLIBCXX_USE_C99_MATH, and
3539         _GLIBCXX_USE_C99_WCHAR.
3540         Remove GLIBCXX_ENABLE_C_MBCHAR, consolidate in GLIBCXX_ENABLE_C99
3541         and GLIBCXX_ENABLE_WCHAR_T.
3542         Take C99 bits from GLIBCXX_CHECK_WCHAR_T_SUPPORT and put in 
3543         GLIBCXX_ENABLE_C99.
3544         Change remaining parts of GLIBCXX_CHECK_WCHAR_T_SUPPORT to
3545         GLIBCXX_CHECK_ICONV_SUPPORT.
3546         * configure.ac: Remove GLIBCXX_ENABLE_C_MBCHAR, use
3547         GLIBCXX_CHECK_ICONV_SUPPORT and GLIBCXX_ENABLE_WCHAR_T.
3548         * crossconfig.m4: Same.
3549         * acconfig.h: Same, adjust comments.
3550         * config.h.in: Regenerate.
3551         * configure: Regenerate.
3552         * docs/html/configopts.html: Change --enable-c-mbchar to
3553         --enable-wchar_t.
3554
3555         * config/locale/gnu/c++locale_internal.h: Guard wide functions
3556         with _GLIBCXX_USE_WCHAR_T.
3557         * include/c_std/std_cwctype.h: Alphabetize, remove duplicates.
3558         * include/c_std/std_cstdio.h: Spacing.
3559
3560         * config/locale/gnu/c_locale.h: Tweaks for unused warnings.
3561         * src/debug.cc: Same.
3562
3563 2005-03-23  Mark Mitchell  <mark@codesourcery.com>
3564
3565         * testsuite/libstdc++-dg/normal.exp: Read testsuite_files, if it
3566         exists.
3567
3568         * testsuite/lib/libstdc++.exp (libstdc++_wchar_t): Rename to ...
3569         (v3-wchar_t): ... this.
3570         (libstdc++_threads): Rename to ...
3571         (v3-threads): ... this.
3572         (libstdc++_test_objs): Rename to ...
3573         (v3-test_objs): ... this.
3574         (libstdc++_build_support): Rename to ...
3575         (v3-build_support): ... this.
3576         * testsuite/libstdc++-dg/normal.exp: Adjust to use new names.
3577
3578         * testsuite/lib/libstdc++.exp (libstdc++_init): Improve handling
3579         of compilers not in the build directory.
3580         (libstdc++_wchar_t): New variable.
3581         (libstdc++_threads): Likewise.
3582         (libstdc++_test_objs): Likewise.
3583         (v3_target_compile): Use libstdc++_test_objs.
3584         (v3-list-tests): Remove.
3585         (listdc++_build_support): New function.
3586         * testsuite/libstdc++-dg/normal.exp: Rework to dynamically
3587         generate list of tests.
3588
3589 2005-03-21  Chris Jefferson  <chris@bubblescope.net>
3590
3591         PR libstdc++/20577
3592         * include/bits/stl_algobase.h (iter_swap): Only delegate iter_swap
3593         to swap when the iterator's reference_type is a reference to its
3594         value_type.
3595         * testsuite/25_algorithms/iter_swap/20577.cc: New.
3596
3597 2005-03-21  Zack Weinberg  <zack@codesourcery.com>
3598
3599         * acinclude.m4 (GLIBCXX_CONFIGURE): Delete gcc_version logic.
3600         (GLIBCXX_EXPORT_INSTALL_INFO): Adjust quotation so ${gcc_version}
3601         is expanded by the Makefiles, not by configure.
3602         * fragment.am: Set gcc_version.
3603         * libmath/Makefile.am: Likewise.
3604         * configure, Makefile.in, include/Makefile.in, libmath/Makefile.in
3605         * libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in
3606         * testsuite/Makefile.in: Regenerate.
3607
3608 2005-03-16  Paolo Carlini  <pcarlini@suse.de>
3609
3610         * testsuite/20_util/functional/binders.cc: Remove explicit
3611         instantiations for non-weak systems.
3612         * testsuite/20_util/memory/allocator/1.cc: Likewise.
3613         * testsuite/20_util/memory/allocator/10378.cc: Likewise.
3614         * testsuite/20_util/memory/allocator/10416.cc: Likewise.
3615         * testsuite/20_util/memory/allocator/8230.cc: Likewise.
3616         * testsuite/20_util/utility/rel_ops.cc: Likewise.
3617         * testsuite/22_locale/ctype/is/char/2.cc: Likewise.
3618         * testsuite/22_locale/ctype/is/wchar_t/2.cc: Likewise.
3619         * testsuite/23_containers/deque/cons/1.cc: Likewise.
3620         * testsuite/23_containers/deque/cons/2.cc: Likewise.
3621         * testsuite/23_containers/deque/invalidation/1.cc: Likewise.
3622         * testsuite/23_containers/deque/invalidation/2.cc: Likewise.
3623         * testsuite/23_containers/deque/invalidation/3.cc: Likewise.
3624         * testsuite/23_containers/deque/invalidation/4.cc: Likewise.
3625         * testsuite/23_containers/deque/modifiers/swap.cc: Likewise.
3626         * testsuite/23_containers/deque/operators/1.cc: Likewise.
3627         * testsuite/23_containers/list/capacity/1.cc: Likewise.
3628         * testsuite/23_containers/list/cons/1.cc: Likewise.
3629         * testsuite/23_containers/list/cons/2.cc: Likewise.
3630         * testsuite/23_containers/list/cons/3.cc: Likewise.
3631         * testsuite/23_containers/list/cons/4.cc: Likewise.
3632         * testsuite/23_containers/list/cons/5.cc: Likewise.
3633         * testsuite/23_containers/list/cons/6.cc: Likewise.
3634         * testsuite/23_containers/list/cons/7.cc: Likewise.
3635         * testsuite/23_containers/list/cons/8.cc: Likewise.
3636         * testsuite/23_containers/list/cons/9.cc: Likewise.
3637         * testsuite/23_containers/list/invalidation/1.cc: Likewise.
3638         * testsuite/23_containers/list/invalidation/2.cc: Likewise.
3639         * testsuite/23_containers/list/invalidation/3.cc: Likewise.
3640         * testsuite/23_containers/list/invalidation/4.cc: Likewise.
3641         * testsuite/23_containers/list/modifiers/1.cc: Likewise.
3642         * testsuite/23_containers/list/modifiers/2.cc: Likewise.
3643         * testsuite/23_containers/list/modifiers/3.cc: Likewise.
3644         * testsuite/23_containers/list/operators/1.cc: Likewise.
3645         * testsuite/23_containers/list/operators/2.cc: Likewise.
3646         * testsuite/23_containers/list/operators/3.cc: Likewise.
3647         * testsuite/23_containers/list/operators/4.cc: Likewise.
3648         * testsuite/23_containers/map/insert/1.cc: Likewise.
3649         * testsuite/23_containers/map/invalidation/1.cc: Likewise.
3650         * testsuite/23_containers/map/invalidation/2.cc: Likewise.
3651         * testsuite/23_containers/map/modifiers/swap.cc: Likewise.
3652         * testsuite/23_containers/map/operators/1.cc: Likewise.
3653         * testsuite/23_containers/multimap/invalidation/1.cc: Likewise.
3654         * testsuite/23_containers/multimap/invalidation/2.cc: Likewise.
3655         * testsuite/23_containers/multimap/modifiers/swap.cc: Likewise.
3656         * testsuite/23_containers/multiset/insert/1.cc: Likewise.
3657         * testsuite/23_containers/multiset/insert/2.cc: Likewise.
3658         * testsuite/23_containers/multiset/invalidation/1.cc: Likewise.
3659         * testsuite/23_containers/multiset/invalidation/2.cc: Likewise.
3660         * testsuite/23_containers/multiset/modifiers/swap.cc: Likewise.
3661         * testsuite/23_containers/priority_queue/members/7161.cc: Likewise.
3662         * testsuite/23_containers/queue/members/7157.cc: Likewise.
3663         * testsuite/23_containers/set/insert/1.cc: Likewise.
3664         * testsuite/23_containers/set/invalidation/1.cc: Likewise.
3665         * testsuite/23_containers/set/invalidation/2.cc: Likewise.
3666         * testsuite/23_containers/set/modifiers/swap.cc: Likewise.
3667         * testsuite/23_containers/stack/members/7158.cc: Likewise.
3668         * testsuite/23_containers/vector/bool/6886.cc: Likewise.
3669         * testsuite/23_containers/vector/capacity/1.cc: Likewise.
3670         * testsuite/23_containers/vector/capacity/8230.cc: Likewise.
3671         * testsuite/23_containers/vector/cons/1.cc: Likewise.
3672         * testsuite/23_containers/vector/cons/2.cc: Likewise.
3673         * testsuite/23_containers/vector/cons/3.cc: Likewise.
3674         * testsuite/23_containers/vector/cons/6513.cc: Likewise.
3675         * testsuite/23_containers/vector/element_access/1.cc: Likewise.
3676         * testsuite/23_containers/vector/invalidation/1.cc: Likewise.
3677         * testsuite/23_containers/vector/invalidation/2.cc: Likewise.
3678         * testsuite/23_containers/vector/invalidation/3.cc: Likewise.
3679         * testsuite/23_containers/vector/invalidation/4.cc: Likewise.
3680         * testsuite/23_containers/vector/modifiers/1.cc: Likewise.
3681         * testsuite/23_containers/vector/modifiers/2.cc: Likewise.
3682         * testsuite/23_containers/vector/modifiers/swap.cc: Likewise.
3683         * testsuite/23_containers/vector/resize/1.cc: Likewise.
3684         * testsuite/24_iterators/back_insert_iterator.cc: Likewise.
3685         * testsuite/24_iterators/front_insert_iterator.cc: Likewise.
3686         * testsuite/24_iterators/insert_iterator.cc: Likewise.
3687         * testsuite/24_iterators/iterator.cc: Likewise.
3688         * testsuite/25_algorithms/copy/1.cc: Likewise.
3689         * testsuite/25_algorithms/copy/2.cc: Likewise.
3690         * testsuite/25_algorithms/copy/3.cc: Likewise.
3691         * testsuite/25_algorithms/copy/4.cc: Likewise.
3692         * testsuite/25_algorithms/equal.cc: Likewise.
3693         * testsuite/25_algorithms/fill/1.cc: Likewise.
3694         * testsuite/25_algorithms/fill/2.cc: Likewise.
3695         * testsuite/25_algorithms/min_max.cc: Likewise.
3696         * testsuite/25_algorithms/rotate.cc: Likewise.
3697         * testsuite/25_algorithms/unique/1.cc: Likewise.
3698         * testsuite/25_algorithms/unique/2.cc: Likewise.
3699         * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9874.cc: Likewise.
3700         * testsuite/ext/concept_checks.cc: Likewise.
3701         * testsuite/ext/hash_map/1.cc: Likewise.
3702         * testsuite/ext/hash_set/1.cc: Likewise.
3703         * testsuite/ext/rope/1.cc: Likewise.
3704         * testsuite/ext/rope/2.cc: Likewise.
3705         * testsuite/ext/rope/3.cc: Likewise.
3706         * testsuite/thread/pthread1.cc: Likewise.
3707         * testsuite/thread/pthread4.cc: Likewise.
3708         * testsuite/thread/pthread5.cc: Likewise.
3709         * testsuite/thread/pthread6.cc: Likewise.
3710         * testsuite/thread/pthread7-rope.cc: Likewise.
3711
3712 2005-03-15  Zack Weinberg  <zack@codesourcery.com>
3713
3714         * include/Makefile.am (c++config.h): Depend on DATESTAMP from gcc
3715         subdirectory.  Generate #define of __GLIBCXX__ from contents of
3716         that file.
3717         * include/Makefile.in: Regenerate.
3718         * include/bits/c++config: Do not define __GLIBCXX__.
3719
3720 2005-03-15  Paolo Carlini  <pcarlini@suse.de>
3721
3722         PR libstdc++/20352
3723         * include/std/std_complex.h (pow(const complex<_Tp>&,
3724         const _Tp&)): On non-c99 platforms, don't try to compute
3725         log of complex zero.
3726
3727 2005-03-10  Ben Elliston  <bje@au.ibm.com>
3728
3729         * testsuite/22_locale/locale/cons/12658_thread-1.cc: Don't XFAIL
3730         on GNU/Linux.
3731
3732 2005-03-07  Paolo Carlini  <pcarlini@suse.de>
3733
3734         * include/tr1/type_traits (is_polymorphic): Don't forget
3735         the virtual destructor, thus avoiding warnings.
3736         * testsuite/testsuite_tr1.h (class AbstractClass,
3737         class PolymorphicClass): Likewise.
3738
3739 2005-03-07  Paolo Carlini  <pcarlini@suse.de>
3740
3741         * include/std/std_complex.h (pow(const complex<_Tp>&,
3742         const complex<_Tp>&)): Dispatch to either __complex_pow(__x.__rep(),
3743         __y.__rep()) or __complex_pow(__x, __y) depending on the macro
3744         _GLIBCXX_USE_C99_COMPLEX.
3745
3746 2005-03-07  Paolo Carlini  <pcarlini@suse.de>
3747
3748         * include/std/std_fstream.h (basic_fstream<>::open,
3749         basic_ifstream<>::open, basic_ofstream<>::open): Implement the
3750         resolution of DR 409 [Ready], call clear() on success.
3751         * docs/html/ext/howto.html: Add an entry for DR 409.
3752         * docs/html/faq/index.html (4_4): Clarify the new behavior.
3753         * testsuite/27_io/basic_ifstream/open/char/1.cc: Adjust.
3754         * testsuite/27_io/basic_ofstream/open/char/1.cc: Likewise.
3755
3756 2005-03-05  Joseph S. Myers  <joseph@codesourcery.com>
3757
3758         * testsuite/22_locale/collate/compare/wchar_t/2.cc,
3759         testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc,
3760         testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc,
3761         testsuite/22_locale/collate/hash/wchar_t/2.cc,
3762         testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc,
3763         testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc,
3764         testsuite/22_locale/collate/transform/wchar_t/2.cc,
3765         testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc,
3766         testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc:
3767         XFAIL on *-*-hpux11.23.
3768
3769 2005-03-04  Paolo Carlini  <pcarlini@suse.de>
3770
3771         * include/tr1/type_traits: Add is_base_of.
3772         * testsuite/tr1/4_metaprogramming/relationships_between_types/
3773         is_base_of/is_base_of.cc: New.
3774         * testsuite/tr1/4_metaprogramming/relationships_between_types/
3775         is_base_of/typedefs.cc: Likewise.
3776
3777 2005-03-03  Benjamin Kosnik  <bkoz@redhat.com>
3778
3779         * include/tr1/functional: Convert relative path.
3780
3781         * docs/doxygen/user.cfg.in: Add tr1 includes.
3782
3783 2005-03-03  Paolo Carlini  <pcarlini@suse.de>
3784
3785         * include/tr1/type_traits: Implemenet is_polymorphic.
3786         (is_empty): Minor tweaks.
3787         * testsuite/testsuite_tr1.h: Add test types.
3788         * testsuite/tr1/4_metaprogramming/type_properties/
3789         is_polymorphic/is_polymorphic.cc: New.
3790         * testsuite/tr1/4_metaprogramming/type_properties/
3791         is_polymorphic/typedefs.cc: Likewise.
3792         * testsuite/tr1/4_metaprogramming/composite_type_traits/
3793         is_union_or_class/is_union_or_class.cc: Add tests.
3794
3795 2005-03-02  Douglas Gregor  <doug.gregor@gmail.com>
3796
3797         * include/tr1/functional (_Has_result_type): Cleanup.
3798         (_Result_of_impl): Handle member data pointers correctly.
3799         (reference_wrapper): Support invocation.
3800         Move repetition code into new file include/tr1/repeat.h.
3801         * include/tr1/functional_iterate.h (reference_wrapper): Support
3802         invocation.  Cleanup long lines.
3803         * include/tr1/ref_wrap_iterate.h (reference_wrapper): Declare
3804         invocation operators.
3805         * include/tr1/repeat.h: Code repetition header.
3806         * include/Makefile.am: Add ref_wrap_iterate.h, repeat.h.
3807         * include/Makefile.in: Add ref_wrap_iterate.h, repeat.h.
3808         * testsuite/tr1/3_function_objects/reference_wrapper/invoke.cc:
3809         New test of reference_wrapper invocation.
3810         * testsuite/tr1/3_function_objects/reference_wrapper/typedefs.cc:
3811         New test of reference_wrapper typedefs and base classes.
3812         * testsuite/tr1/3_function_objects/result_of.cc: Trivial cleanup
3813         (e-mail address).
3814
3815 2005-03-02  Douglas Gregor  <doug.gregor@gmail.com>
3816
3817         * include/tr1/function (result_of): New class template.
3818         * include/tr1/functional/iterator.h: Implementation of TR1
3819         result_of.
3820         * testsuite/tr1/3_function_objects/result_of.cc: New test
3821
3822 2005-03-01  Vladimir Merzliakov  <wanderer@rsu.ru>
3823
3824         * testsuite/26_numerics/cmath/c99_classification_macros_c.cc: Tweak.
3825
3826 2005-02-28  Benjamin Kosnik  <bkoz@redhat.com>
3827
3828         * testsuite/tr1/2_general_utilities/memory/shared_ptr/
3829         cons/auto_ptr_neg.cc: Correct line numbers.
3830
3831         * testsuite/testsuite_abi.cc: Add CXXABI_1.3.1.
3832
3833 2005-02-28  Jonathan Wakely  <redi@gcc.gnu.org>
3834
3835         * include/tr1/memory: Replace checked_deleter with (unchecked)
3836         _Sp_deleter as GCC warns about delete on incomplete types anyway.
3837
3838 2005-02-28  Jonathan Wakely  <redi@gcc.gnu.org>
3839
3840         * include/tr1/memory: Add missing "inline" to __throw_bad_weak_ptr.
3841
3842 2005-02-28  Hans-Peter Nilsson  <hp@axis.com>
3843
3844         PR target/19065
3845         * config/cpu/cris/atomicity.h (__exchange_and_add): In asm, use
3846         'Q' constraint, not 'm'.
3847
3848 2005-02-26  Earl Chew  <earl_chew@agilent.com>
3849             Christopher Jefferson  <chris@bubblescope.net>
3850
3851         * include/bits/stl_tree.h (_Rb_tree<>::_M_insert): Don't leak
3852         memory if _M_key_compare throws.
3853
3854 2005-02-25  Paolo Carlini  <pcarlini@suse.de>
3855
3856         * include/tr1/type_traits: Add the trivial is_union and is_class;
3857         add the __is_union_or_class extension.
3858         (is_enum, is_empty): Use the latter.
3859         * include/tr1/type_traits_fwd.h: Add __is_union_or_class.
3860         * testsuite/testsuite_tr1.h: Add UnionType; trivial formatting
3861         fixes.
3862         * testsuite/tr1/4_metaprogramming/composite_type_traits/
3863         is_union_or_class/is_union_or_class.cc: New.
3864         * testsuite/tr1/4_metaprogramming/composite_type_traits/
3865         is_union_or_class/typedefs.cc: Likewise.
3866
3867 2005-02-24  Benjamin Kosnik  <bkoz@redhat.com>
3868
3869         * testsuite/tr1/6_containers/unordered/instantiate/hash.cc: Guard
3870         wchar_t use with _GLIBCXX_USE_WCHAR_T.
3871
3872 2005-02-24  Benjamin Kosnik  <bkoz@redhat.com>
3873
3874         * include/std/std_complex.h: _GLIBCXX_USE_C99_COMPLEX_MATH to
3875         _GLIBCXX_USE_C99_COMPLEX.
3876         * acinclude.m4: Same.
3877         * acconfig.h: Same.
3878         * configure: Regenerate.
3879         * config.h.in: Same.
3880
3881 2005-02-24  Paolo Carlini  <pcarlini@suse.de>
3882
3883         * include/tr1/functional (mem_fn): Avoid _T, badname on
3884         Darwin.
3885
3886 2005-02-23  Douglas Gregor  <doug.gregor@gmail.com>
3887
3888         * include/tr1/functional (function): New class template.
3889         (mem_fn): New function template.
3890         Implementations of TR1 function and mem_fn facilities.
3891         * include/tr1/functional_iterate.h: Implementations of TR1
3892         function and mem_fn facilities.
3893         * testsuite/tr1/3_function_objects/function/1.cc: New
3894         test of std::tr1::function.
3895         * testsuite/tr1/3_function_objects/function/2.cc: New
3896         test of std::tr1::function.
3897         * testsuite/tr1/3_function_objects/function/3.cc: New
3898         test of std::tr1::function.
3899         * testsuite/tr1/3_function_objects/function/4.cc: New
3900         test of std::tr1::function.
3901         * testsuite/tr1/3_function_objects/function/5.cc: New
3902         test of std::tr1::function.
3903         * testsuite/tr1/3_function_objects/function/6.cc: New
3904         test of std::tr1::function.
3905         * testsuite/tr1/3_function_objects/function/7.cc: New
3906         test of std::tr1::function.
3907         * testsuite/tr1/3_function_objects/function/8.cc: New
3908         test of std::tr1::function.
3909         * testsuite/tr1/3_function_objects/function/9.cc: New
3910         test of std::tr1::function.
3911         * testsuite/tr1/3_function_objects/mem_fn.cc: New test of
3912         std::tr1::mem_fn.
3913
3914 2005-02-23  Paolo Carlini  <pcarlini@suse.de>
3915
3916         * include/tr1/type_traits: Implement is_convertible.
3917         * testsuite/tr1/4_metaprogramming/relationships_between_types/
3918         is_convertible/is_convertible.cc: New.
3919         * testsuite/tr1/4_metaprogramming/relationships_between_types/
3920         is_convertible/typedefs.cc: Likewise.
3921         * testsuite/testsuite_tr1.h: Add class DerivedType.
3922
3923         * include/tr1/type_traits (is_function): Don't mistake references
3924         to function types for function types.
3925         * testsuite/tr1/4_metaprogramming/primary_type_categories/
3926         is_function/is_function.cc: Add testcase.
3927
3928 2005-02-22  Benjamin Kosnik  <bkoz@redhat.com>
3929
3930         * scripts/check_performance: Tweaks.
3931
3932         * testsuite/27_io/basic_ostream/inserters_other/wchar_t/2.cc: Name
3933         output file with extension that clean rules can find.
3934
3935 2005-02-22  Richard Henderson  <rth@redhat.com>
3936
3937         PR libstdc++/20091
3938         * libsupc++/eh_catch.cc (__cxa_begin_catch): Don't special case
3939         decrement of uncaughtExceptions for rethrow.
3940
3941 2005-02-22  Paolo Carlini  <pcarlini@suse.de>
3942
3943         * include/tr1/functional: Fix License to GPL with exception.
3944         * include/tr1/hashtable: Likewise.
3945         * include/tr1/tuple: Likewise.
3946         * include/tr1/type_traits: Likewise.
3947         * include/tr1/type_traits_fwd.h: Likewise.
3948         * include/tr1/unordered_map: Likewise.
3949         * include/tr1/unordered_set: Likewise.
3950         * include/tr1/utility: Likewise.
3951
3952 2005-02-22  Paolo Carlini  <pcarlini@suse.de>
3953
3954         * testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/
3955         auto_ptr_neg.cc: Add missing dg-do compile directive.
3956         * testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/
3957         auto_ptr_rvalue_neg.cc: Likewise.
3958         * testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/
3959         shared_ptr_neg.cc: Likewise.
3960         * testsuite/tr1/2_general_utilities/memory/shared_ptr/cons/
3961         auto_ptr_neg.cc: Likewise.
3962         * testsuite/tr1/2_general_utilities/memory/shared_ptr/modifiers/
3963         reset_neg.cc: Likewise.
3964         * testsuite/tr1/2_general_utilities/memory/shared_ptr/modifiers/
3965         swap_neg.cc: Likewise.
3966
3967 2005-02-22  Jonathan Wakely  <redi@gcc.gnu.org>
3968
3969         * include/Makefile.am, include/Makefile.in: Fix accidental extra
3970         change from previous commit.
3971
3972 2005-02-21  Jonathan Wakely  <redi@gcc.gnu.org>
3973
3974         * include/tr1/memory: New file.
3975         * include/Makefile.am, include/Makefile.in: Add new TR1 header.
3976         * testsuite/tr1/2_general_utilities/memory/
3977         enable_shared_from_this/not_shared.cc: New test.
3978         * testsuite/tr1/2_general_utilities/memory/
3979         enable_shared_from_this/not_shared2.cc: New test.
3980         * testsuite/tr1/2_general_utilities/memory/
3981         enable_shared_from_this/not_shared3.cc: New test.
3982         * testsuite/tr1/2_general_utilities/memory/
3983         enable_shared_from_this/shared.cc: New test.
3984         * testsuite/tr1/2_general_utilities/memory/
3985         enable_shared_from_this/still_shared.cc: New test.
3986         * testsuite/tr1/2_general_utilities/memory/
3987         shared_ptr/assign/assign.cc: New test.
3988         * testsuite/tr1/2_general_utilities/memory/
3989         shared_ptr/assign/auto_ptr.cc: New test.
3990         * testsuite/tr1/2_general_utilities/memory/
3991         shared_ptr/assign/auto_ptr_neg.cc: New test.
3992         * testsuite/tr1/2_general_utilities/memory/
3993         shared_ptr/assign/auto_ptr_rvalue_neg.cc: New test.
3994         * testsuite/tr1/2_general_utilities/memory/
3995         shared_ptr/assign/shared_ptr.cc: New test.
3996         * testsuite/tr1/2_general_utilities/memory/
3997         shared_ptr/assign/shared_ptr_neg.cc: New test.
3998         * testsuite/tr1/2_general_utilities/memory/
3999         shared_ptr/comparison/cmp.cc: New test.
4000         * testsuite/tr1/2_general_utilities/memory/
4001         shared_ptr/cons/auto_ptr.cc: New test.
4002         * testsuite/tr1/2_general_utilities/memory/
4003         shared_ptr/cons/auto_ptr_neg.cc: New test.
4004         * testsuite/tr1/2_general_utilities/memory/
4005         shared_ptr/cons/copy.cc: New test.
4006         * testsuite/tr1/2_general_utilities/memory/
4007         shared_ptr/cons/default.cc: New test.
4008         * testsuite/tr1/2_general_utilities/memory/
4009         shared_ptr/cons/pointer.cc: New test.
4010         * testsuite/tr1/2_general_utilities/memory/
4011         shared_ptr/cons/weak_ptr.cc: New test.
4012         * testsuite/tr1/2_general_utilities/memory/
4013         shared_ptr/cons/weak_ptr_expired.cc: New test.
4014         * testsuite/tr1/2_general_utilities/memory/
4015         shared_ptr/dest/dest.cc: New test.
4016         * testsuite/tr1/2_general_utilities/memory/
4017         shared_ptr/misc/io.cc: New test.
4018         * testsuite/tr1/2_general_utilities/memory/
4019         shared_ptr/misc/swap.cc: New test.
4020         * testsuite/tr1/2_general_utilities/memory/
4021         shared_ptr/modifiers/reset.cc: New test.
4022         * testsuite/tr1/2_general_utilities/memory/
4023         shared_ptr/modifiers/reset_neg.cc: New test.
4024         * testsuite/tr1/2_general_utilities/memory/
4025         shared_ptr/modifiers/swap.cc: New test.
4026         * testsuite/tr1/2_general_utilities/memory/
4027         shared_ptr/modifiers/swap_neg.cc: New test.
4028         * testsuite/tr1/2_general_utilities/memory/
4029         shared_ptr/observers/bool_conv.cc: New test.
4030         * testsuite/tr1/2_general_utilities/memory/
4031         shared_ptr/observers/get.cc: New test.
4032         * testsuite/tr1/2_general_utilities/memory/
4033         shared_ptr/observers/unique.cc: New test.
4034         * testsuite/tr1/2_general_utilities/memory/
4035         shared_ptr/observers/use_count.cc: New test.
4036
4037 2005-02-21  Paolo Carlini  <pcarlini@suse.de>
4038
4039         * include/tr1/type_traits (is_member_function_pointer):
4040         Remove ugly workaround for c++/19076.
4041
4042 2005-02-21  Paolo Carlini  <pcarlini@suse.de>
4043
4044         * include/bits/basic_string.tcc (_Rep::_M_destroy): Don't
4045         check for this == &_S_empty_rep, it's always false, here.
4046
4047 2005-02-19  Matt Austern  <austern@gmail.com>
4048
4049         * include/tr1/functional (tr1_hashtable_define_trivial_hash): Make
4050         hash<T>::operator() a const member function for T a fundamental type
4051         * include/tr1/hashtable (extract1st::operator()): Declare const.
4052         (hash_code_base): Declare all member functions const
4053         (hashtable::find): fix call to this->bucket_count()
4054         (hashtable::count): Likewise.
4055         (hashtable::equal_range): m_incr_bucket applies to iterator, not node.
4056         * testsuite/tr1/6_containers/unordered/find/set1.cc: New test.
4057         * testsuite/tr1/6_containers/unordered/find/map1.cc: New test.
4058         * testsuite/tr1/6_containers/unordered/find/multimap1.cc: New test.
4059         * testsuite/tr1/6_containers/unordered/find/multiset1.cc: New test.
4060
4061 2005-02-19  Hans-Peter Nilsson  <hp@axis.com>
4062
4063         PR libstdc++/20071
4064         * include/tr1/functional (hash<std::wstring>): Wrap in #ifdef
4065         _GLIBCXX_USE_WCHAR_T.
4066
4067 2005-02-18  Richard Henderson  <rth@redhat.com>
4068
4069         PR libstdc++/10606
4070         * config/linker-map.gnu (CXXABI_1.3.1): Add __cxa_get_exception_ptr.
4071         * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Increment
4072         uncaughtExceptions here instead of ...
4073         * libsupc++/eh_throw.cc (__cxa_throw) ... here.
4074         (__cxa_rethrow): Increment uncaughtExceptions here instead of ...
4075         * libsupc++/eh_catch.cc (__cxa_end_catch): ... here.
4076         (__cxa_get_exception_ptr): New.
4077         * libsupc++/unwind-cxx.h (__cxa_get_exception_ptr): Declare.
4078
4079 2005-02-18  Matt Austern  <austern@apple.com>
4080
4081         * testsuite/tr1/6_containers/unordered/insert/array_syntax.cc: Fix
4082         test case to use assignment instead of ==
4083         * testsuite/tr1/6_containers/unordered/insert/map_range.cc: New test.
4084         * testsuite/tr1/6_containers/unordered/insert/multimap_range.cc: New test.
4085         * testsuite/tr1/6_containers/unordered/insert/multiset_range.cc: New test.
4086         * testsuite/tr1/6_containers/unordered/insert/set_range.cc: New test.
4087
4088 2005-02-18  Eric Botcazou  <ebotcazou@libertysurf.fr>
4089
4090         * testsuite/thread/pthread1.cc: Do not invoke pthread_setconcurrency
4091         on Solaris 2.6 and below.
4092         * testsuite/thread/pthread2.cc: Likewise.
4093         * testsuite/thread/pthread3.cc: Likewise.
4094         * testsuite/thread/pthread4.cc: Likewise.
4095         * testsuite/thread/pthread5.cc: Likewise.
4096         * testsuite/thread/pthread6.cc: Likewise.
4097         * testsuite/thread/pthread7-rope.cc: Likewise.
4098
4099 2005-02-17  Matt Austern  <austern@apple.com>
4100
4101         * include/tr1/functional (hash): New function object.
4102         * include/tr1/hashtable: New file.
4103         * include/tr1/unordered_set: New file.
4104         * include/tr1/unordered_map: New file.
4105         * include/Makefile.am: Add three new TR1 headers.
4106         * include/Makefile.in: Likewise.
4107         * testsuite/tr1/6_containers/unordered/insert/array_syntax.cc: New test.
4108         * testsuite/tr1/6_containers/unordered/insert/map_single.cc: New test.
4109         * testsuite/tr1/6_containers/unordered/insert/multimap_single.cc: New test.
4110         * testsuite/tr1/6_containers/unordered/insert/multiset_single.cc: New test.
4111         * testsuite/tr1/6_containers/unordered/insert/set_single.cc: New test.
4112         * testsuite/tr1/6_containers/unordered/instantiate/hash.cc: New test.
4113         * testsuite/tr1/6_containers/unordered/instantiate/map.cc: New test.
4114         * testsuite/tr1/6_containers/unordered/instantiate/multimap.cc: New test.
4115         * testsuite/tr1/6_containers/unordered/instantiate/multiset.cc: New test.
4116         * testsuite/tr1/6_containers/unordered/instantiate/set.cc: New test.
4117
4118 2005-02-16  Paolo Carlini  <pcarlini@suse.de>
4119
4120         * testsuite/23_containers/set/modifiers/16728.cc:
4121         Remove redundant include <testsuite_performance.h>.
4122
4123 2005-02-16  Paolo Carlini  <pcarlini@suse.de>
4124
4125         PR libstdc++/19829
4126         * testsuite/21_strings/basic_string/find/char/3.cc: Fix the test
4127         at line #66 to not access str_lit01 beyond its end.
4128         * testsuite/21_strings/basic_string/find/wchar_t/3.cc: Likewise.
4129
4130 2005-02-15  Paolo Carlini  <pcarlini@suse.de>
4131             Jon Grimm  <jgrimm2@us.ibm.com>
4132
4133         PR libstdc++/19955
4134         * include/bits/locale_facets.h (ctype<char>::_M_narrow_init()):
4135         Fix the logic setting _M_narrow_ok: first check whether the
4136         transformation is trivial with a dflt == 0, then deal with the
4137         special case of zero.
4138         * testsuite/22_locale/ctype/narrow/char/19955.cc: New.
4139
4140         * include/bits/locale_facets.h (ctype<char>::_M_widen_init()):
4141         Tweak consistently to use memcmp; minor formatting fixes.
4142
4143 2005-02-15  Jakub Jelinek  <jakub@redhat.com>
4144
4145         PR libstdc++/19946
4146         * testsuite/demangle/abi_examples/01.cc (main): Adjust for 2005-02-13
4147         demangler change.
4148         * testsuite/demangle/abi_examples/02.cc (main): Likewise.
4149
4150 2005-02-13  Richard Guenther  <rguenth@gcc.gnu.org>
4151             Paolo Carlini  <pcarlini@suse.de>
4152
4153         PR libstdc++/11706
4154         * include/c_std/std_cmath.h (pow): Use __builtin_powi[lf]
4155         for integer overloads.
4156
4157         * testsuite/26_numerics/cmath/powi.cc: New.
4158
4159 2005-02-11  Janis Johnson  <janis187@us.ibm.com>
4160
4161         * testsuite/26_numerics/complex/13450.cc: Fix XFAIL selector.
4162         * testsuite/26_numerics/complex/complex_value.cc: Ditto.
4163         * testsuite/26_numerics/complex/pow.cc: Ditto.
4164
4165         * testsuite/lib/libstdc++.exp: Load target-supports-dg.exp.
4166         * testsuite/26_numerics/complex/13450.cc: XFAIL for broken_cplxf_arg.
4167         * testsuite/26_numerics/complex/complex_value.cc: Ditto.
4168         * testsuite/26_numerics/complex/pow.cc: Ditto.
4169
4170 2005-02-09  Mike Stump  <mrs@apple.com>
4171
4172         * libsupc++/del_op.cc: Don't include cstdlib when !_GLIBCXX_HOSTED.
4173
4174 2005-02-09  Janis Johnson  <janis187@us.ibm.com>
4175
4176         * testsuite/ext/array_allocator/2.cc: XFAIL for powerpc*-*-linux*.
4177
4178 2005-02-08  Mark Mitchell  <mark@codesourcery.com>
4179
4180         * config/linker-map.gnu (GLIBCXX_3.4): Add _ZNSdC* and _ZNSdD*.
4181
4182 2005-02-07  Loren J. Rittle  <ljrittle@acm.org>
4183
4184         * testsuite/27_io/basic_istream/getline/wchar_t/5.cc: Make buf static.
4185         * testsuite/27_io/basic_stringbuf/setbuf/wchar_t/4.cc: Make ref and
4186         src static.
4187
4188 2005-02-02  Brad Spencer  <spencer@infointeractive.com>
4189
4190         * debug.html: Fix broken tags.
4191         * documentation.html: Same.
4192
4193 2005-02-02  Andreas Jaeger  <aj@suse.de>
4194
4195         * testsuite/lib/libstdc++.exp: Revert Geoffrey Keating's patch
4196         from 2005-01-28.
4197         * testsuite/Makefile.am: Likewise.
4198         * testsuite/Makefile.in: Likewise.
4199
4200 2005-02-01  Paolo Carlini  <pcarlini@suse.de>
4201
4202         * include/bits/cpp_type_traits.h: Rename _M_type fields to
4203         __value, except for __enable_if, _M_type -> __type, consistently
4204         with the other traits.
4205         * include/bits/stl_algobase.h: Tweak consistently.
4206         * include/bits/stl_tree.h: Likewise.
4207         * include/bits/valarray_array.h: Likewise.
4208         * include/c_std/std_cmath.h: Likewise.
4209         * include/debug/safe_iterator.h: Likewise.
4210         * include/std/std_complex.h: Likewise.
4211
4212 2005-01-31  Brad Spencer  <spencer@infointeractive.com>
4213
4214         * crossconfig.m4: Repair Solaris cross bits for strtold and strtof.
4215         * configure: Regenerated.
4216
4217 2005-01-31  Mark Mitchell  <mark@codesourcery.com>
4218
4219         * include/std/std_limits.h (numeric_limits<float>::has_denorm):
4220         Add required cast.
4221         (numeric_limits<double>::has_denorm): Likewise.
4222         (numeric_limits<long double>::has_denorm): Likewise.
4223
4224 2005-01-31  Paolo Carlini  <pcarlini@suse.de>
4225             Gabriel Dos Reis  <gdr@integrable-solutions.net>
4226
4227         * include/bits/cpp_type_traits.h: Add types to the structs thus
4228         making type_traits.h redundant; exploit new __truth_type and
4229         __traitor helpers.
4230         * include/bits/type_traits.h: Remove.
4231         * include/Makefile.am: Update.
4232         * include/Makefile.in: Regenerate.
4233         * include/backward/tempbuf.h: Include cpp_type_traits.h instead.
4234         * include/bits/basic_string.h (replace(iterator, iterator,
4235         _InputIterator, _InputIterator), _S_construct(_InIterator,
4236         _InIterator, const _Alloc&)): Use __is_integer instead.
4237         * include/bits/stl_bvector.h (vector(_InputIterator,
4238         _InputIterator, const allocator_type&), assign(_InputIterator,
4239         _InputIterator), insert(iterator, _InputIterator, _InputIterator)):
4240         Likewise.
4241         * include/bits/stl_construct.h (_Destroy(_ForwardIterator,
4242         _ForwardIterator)): Use __is_scalar.
4243         * include/bits/stl_deque.h (deque(_InputIterator, _InputIterator,
4244         const allocator_type&), assign(_InputIterator, _InputIterator),
4245         insert(iterator, _InputIterator, _InputIterator)): Use __is_integer.
4246         * include/bits/stl_list.h (assign(_InputIterator, _InputIterator),
4247         insert(iterator, _InputIterator, _InputIterator)): Likewise.
4248         * include/bits/stl_tempbuf.h (_Temporary_buffer(_ForwardIterator,
4249         _ForwardIterator)): Use __is_scalar.
4250         * include/bits/stl_uninitialized.h (uninitialized_copy(_InputIterator,
4251         _InputIterator, _ForwardIterator), uninitialized_fill(_ForwardIterator,
4252         _ForwardIterator, const _Tp&), uninitialized_fill_n(_ForwardIterator,
4253         _Size, const _Tp&)): Likewise.
4254         * include/bits/stl_vector.h (vector(_InputIterator, _InputIterator,
4255         const allocator_type&), assign(_InputIterator, _InputIterator),
4256         insert(iterator, _InputIterator, _InputIterator)): Use __is_integer.
4257         * include/debug/debug.h (__valid_range(const _InputIterator&,
4258         const _InputIterator&)): Use __is_integer.
4259         * include/ext/slist (assign(_InputIterator, _InputIterator)): Likewise.
4260         * include/std/std_string.h: Include cpp_type_traits.h instead.
4261
4262 2005-01-30  Paolo Carlini  <pcarlini@suse.de>
4263
4264         PR libstdc++/19642
4265         * config/locale/generic/c_locale.h (__convert_from_v): Switch only
4266         LC_NUMERIC, and only when actually != "C".
4267
4268 2005-01-28  Paolo Carlini  <pcarlini@suse.de>
4269
4270         * include/tr1/type_traits (is_function): Minor consistency tweaks.
4271
4272 2005-01-28  Geoffrey Keating  <geoffk@apple.com>
4273
4274         * testsuite/lib/libstdc++.exp (libstdc++_init): Search the path
4275         for the compiler.  Don't set cxxflags.
4276         (v3_target_compile): Search for libv3test.a relative to $objdir.
4277         (lsearch_all_inline): New.
4278         (lsearch_all_inline_not): New.
4279         (v3-list-tests): Rewrite to not need generated files.
4280         * testsuite/Makefile.am (IGNORE_WCHAR_T): New.
4281         (IGNORE_THREAD): New.
4282         (TESTS_TO_IGNORE): New.
4283         (site.exp): Set tests_to_ignore, cxxflags.
4284         * aclocal.m4: Regenerate.
4285         * Makefile.in: Regenerate.
4286         * libmath/Makefile.in: Likewise.
4287         * libsupc++/Makefile.in: Likewise.
4288         * po/Makefile.in: Likewise.
4289         * src/Makefile.in: Likewise.
4290         * testsuite/Makefile.in: Likewise.
4291
4292 2005-01-28  Paolo Carlini  <pcarlini@suse.de>
4293
4294         * include/tr1/type_traits: Implement is_empty.
4295         * testsuite/tr1/4_metaprogramming/type_properties/is_empty/
4296         is_empty.cc: New.
4297         * testsuite/tr1/4_metaprogramming/type_properties/is_empty/
4298         typedefs.cc: Likewise.
4299
4300         * include/tr1/type_traits (__is_abstract_helper): Simplify a bit.
4301
4302 2005-01-28  Paolo Carlini  <pcarlini@suse.de>
4303
4304         * include/tr1/type_traits: Implement is_abstract, by exploiting the
4305         resolution of DR core/337.
4306         * testsuite/testsuite_tr1.h: Add AbstractClass.
4307         * testsuite/tr1/4_metaprogramming/type_properties/is_abstract/
4308         is_abstract.cc: New.
4309         * testsuite/tr1/4_metaprogramming/type_properties/is_abstract/
4310         typedefs.cc: Likewise.
4311
4312         * include/tr1/type_traits (is_function): Rewrite, use the conversion
4313         F& -> F* instead, thus avoiding problems with abstract classes.
4314         * testsuite/tr1/4_metaprogramming/primary_type_categories/
4315         is_function/is_function.cc: Add a test for tricky AbstractClass.
4316
4317 2005-01-26  Paolo Carlini  <pcarlini@suse.de>
4318
4319         * include/ext/mt_allocator.h
4320         (struct __per_type_pool_policy<,, false>::_S_get_pool,
4321         struct __per_type_pool_policy<,, true>::_S_get_pool): Scale
4322         _M_chunk_size too with sizeof(_Tp), otherwise the allocator
4323         breaks down as soon as sizeof(_Tp) >~ _S_chunk_size / 128;
4324         reduce to 64 the multiplier for _M_max_bytes (safer wrt
4325         _Binmap_type being a short); trivial reformattings.
4326         * testsuite/ext/mt_allocator/check_allocate_big_per_type.cc: New.
4327
4328 2005-01-26  Paolo Carlini  <pcarlini@suse.de>
4329
4330         * acinclude.m4 ([GLIBCXX_ENABLE_C99]): Add ac_c99_complex
4331         to the final test for enable_c99, thus robustifying it; remove
4332         duplicate final test on ac_99_math.
4333         * configure: Regenerate.
4334
4335         * include/std/std_complex.h: Remove usages of the dead
4336         _GLIBCXX_BUGGY_COMPLEX macro.
4337
4338         * testsuite/26_numerics/cmath/19322.cc: Protect with
4339         _GLIBCXX_USE_C99_MATH instead of the stronger _GLIBCXX_USE_C99,
4340         since only C99 math facilities are involved.
4341         * testsuite/26_numerics/cmath/c99_classification_macros_c++.cc:
4342         Likewise.
4343
4344 2005-01-25  Loren J. Rittle  <ljrittle@acm.org>
4345
4346         * acinclude.m4 (GLIBCXX_ENABLE_CLOCALE): Map FreeBSD to darwin
4347         instead of generic.  Change autoconf report to "darwin or freebsd".
4348         * configure: Regenerate.
4349         * config/os/bsd/freebsd/ctype_inline.h (ctype<wchar_t>::do_is): Add.
4350         (ctype<wchar_t>::do_scan_is): Likewise.
4351         (ctype<wchar_t>::do_scan_not): Likewise.
4352
4353 2005-01-25  Benjamin Kosnik  <bkoz@redhat.com>
4354
4355         * acinclude.m4 (GLIBCXX_ENABLE_C99): Test for complex math
4356         functions, and enable _GLIBCXX_USE_C99_COMPLEX_MATH if they exist.
4357         * acconfig.h: Add _GLIBCXX_USE_C99_COMPLEX_MATH.
4358         * config.h.in: Regenerate.
4359         * configure: Regenerate.
4360         * include/std/std_complex.h: Protect complex builtins with
4361         _GLIBCXX_USE_C99_COMPLEX_MATH.
4362
4363 2005-01-24  Paolo Carlini  <pcarlini@suse.de>
4364
4365         * include/tr1/type_traits: Implement is_signed and is_unsigned.
4366         * testsuite/tr1/4_metaprogramming/type_properties/
4367         is_signed/is_signed.cc: New.
4368         * testsuite/tr1/4_metaprogramming/type_properties/
4369         is_signed/typedefs.cc: Likewise.
4370         * testsuite/tr1/4_metaprogramming/type_properties/
4371         is_unsigned/is_unsigned.cc: Likewise.
4372         * testsuite/tr1/4_metaprogramming/type_properties/
4373         is_unsigned/typedefs.cc: Likewise.
4374
4375 2005-01-23  Paolo Carlini  <pcarlini@suse.de>
4376
4377         * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 34.
4378
4379 2005-01-23  Paolo Carlini  <pcarlini@suse.de>
4380
4381         * testsuite/27_io/basic_ostream/cons/wchar_t/9827.cc: New.
4382         * testsuite/27_io/basic_ostream/endl/wchar_t/1.cc: Likewise.
4383         * testsuite/27_io/basic_ostream/ends/wchar_t/1.cc: Likewise.
4384         * testsuite/27_io/basic_ostream/ends/wchar_t/2.cc: Likewise.
4385         * testsuite/27_io/basic_ostream/exceptions/wchar_t/9561.cc: Likewise.
4386         * testsuite/27_io/basic_ostream/flush/wchar_t/1.cc: Likewise.
4387         * testsuite/27_io/basic_ostream/flush/wchar_t/2.cc: Likewise.
4388         * testsuite/27_io/basic_ostream/flush/wchar_t/
4389         exceptions_badbit_throw.cc: Likewise.
4390         * testsuite/27_io/basic_ostream/inserters_arithmetic/
4391         wchar_t/2.cc: Likewise.
4392         * testsuite/27_io/basic_ostream/inserters_arithmetic/
4393         wchar_t/3.cc: Likewise.
4394         * testsuite/27_io/basic_ostream/inserters_arithmetic/
4395         wchar_t/4.cc: Likewise.
4396         * testsuite/27_io/basic_ostream/inserters_arithmetic/
4397         wchar_t/4402.cc: Likewise.
4398         * testsuite/27_io/basic_ostream/inserters_arithmetic/
4399         wchar_t/5.cc: Likewise.
4400         * testsuite/27_io/basic_ostream/inserters_arithmetic/
4401         wchar_t/6.cc: Likewise.
4402         * testsuite/27_io/basic_ostream/inserters_arithmetic/
4403         wchar_t/9555-oa.cc: Likewise.
4404         * testsuite/27_io/basic_ostream/inserters_arithmetic/
4405         wchar_t/exceptions_badbit_throw.cc: Likewise.
4406         * testsuite/27_io/basic_ostream/inserters_arithmetic/
4407         wchar_t/exceptions_failbit_throw.cc: Likewise.
4408         * testsuite/27_io/basic_ostream/inserters_character/
4409         wchar_t/1.cc: Likewise.
4410         * testsuite/27_io/basic_ostream/inserters_character/
4411         wchar_t/2.cc: Likewise.
4412         * testsuite/27_io/basic_ostream/inserters_character/
4413         wchar_t/3.cc: Likewise.
4414         * testsuite/27_io/basic_ostream/inserters_character/
4415         wchar_t/4.cc: Likewise.
4416         * testsuite/27_io/basic_ostream/inserters_character/
4417         wchar_t/5.cc: Likewise.
4418         * testsuite/27_io/basic_ostream/inserters_character/
4419         wchar_t/6.cc: Likewise.
4420         * testsuite/27_io/basic_ostream/inserters_character/
4421         wchar_t/9555-oc.cc: Likewise.
4422         * testsuite/27_io/basic_ostream/inserters_other/
4423         wchar_t/1.cc: Likewise.
4424         * testsuite/27_io/basic_ostream/inserters_other/
4425         wchar_t/2.cc: Likewise.
4426         * testsuite/27_io/basic_ostream/inserters_other/
4427         wchar_t/3.cc: Likewise.
4428         * testsuite/27_io/basic_ostream/inserters_other/
4429         wchar_t/4.cc: Likewise.
4430         * testsuite/27_io/basic_ostream/inserters_other/
4431         wchar_t/5.cc: Likewise.
4432         * testsuite/27_io/basic_ostream/inserters_other/
4433         wchar_t/9318-out.cc: Likewise.
4434         * testsuite/27_io/basic_ostream/inserters_other/
4435         wchar_t/9424-out.cc: Likewise.
4436         * testsuite/27_io/basic_ostream/inserters_other/
4437         wchar_t/9555-oo.cc: Likewise.
4438         * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
4439         error_failbit.cc: Likewise.
4440         * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
4441         exceptions_badbit_throw.cc: Likewise.
4442         * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
4443         exceptions_failbit_throw.cc: Likewise.
4444         * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
4445         exceptions_null.cc: Likewise.
4446         * testsuite/27_io/basic_ostream/put/char/1.cc: Likewise.
4447         * testsuite/27_io/basic_ostream/put/wchar_t/1.cc: Likewise.
4448         * testsuite/27_io/basic_ostream/seekp/char/
4449         exceptions_badbit_throw.cc: Likewise.
4450         * testsuite/27_io/basic_ostream/seekp/wchar_t/
4451         2346-fstream.cc: Likewise.
4452         * testsuite/27_io/basic_ostream/seekp/wchar_t/
4453         2346-sstream.cc: Likewise.
4454         * testsuite/27_io/basic_ostream/seekp/wchar_t/
4455         exceptions_badbit_throw.cc: Likewise.
4456         * testsuite/27_io/basic_ostream/sentry/wchar_t/1.cc: Likewise.
4457         * testsuite/27_io/basic_ostream/sentry/wchar_t/2.cc: Likewise.
4458         * testsuite/27_io/basic_ostream/tellp/wchar_t/1.cc: Likewise.
4459         * testsuite/27_io/basic_ostream/tellp/wchar_t/2.cc: Likewise.
4460         * testsuite/27_io/basic_ostream/tellp/wchar_t/
4461         exceptions_badbit_throw.cc: Likewise.
4462         * testsuite/27_io/basic_ostream/write/wchar_t/1.cc: Likewise.
4463
4464         * testsuite/data/wostream_inserter_char-1.tst: Likewise.
4465         * testsuite/data/wostream_inserter_char-1.txt: Likewise.
4466         * testsuite/data/wostream_inserter_other-1.tst: Likewise.
4467         * testsuite/data/wostream_inserter_other-2.tst: Likewise.
4468         * testsuite/data/wostream_seeks-1.tst: Likewise.
4469
4470         * testsuite/27_io/basic_ostream/endl/char/1.cc: Minor tweaks.
4471         * testsuite/27_io/basic_ostream/ends/char/1.cc: Likewise.
4472         * testsuite/27_io/basic_ostream/exceptions/char/9561.cc: Likewise.
4473         * testsuite/27_io/basic_ostream/flush/char/1.cc: Likewise.
4474         * testsuite/27_io/basic_ostream/flush/char/2.cc: Likewise.
4475         * testsuite/27_io/basic_ostream/flush/char/
4476         exceptions_badbit_throw.cc: Likewise.
4477         * testsuite/27_io/basic_ostream/inserters_arithmetic/
4478         char/2.cc: Likewise.
4479         * testsuite/27_io/basic_ostream/inserters_arithmetic/
4480         char/3.cc: Likewise.
4481         * testsuite/27_io/basic_ostream/inserters_arithmetic/
4482         char/4.cc: Likewise.
4483         * testsuite/27_io/basic_ostream/inserters_arithmetic/
4484         char/4402.cc: Likewise.
4485         * testsuite/27_io/basic_ostream/inserters_arithmetic/
4486         char/5.cc: Likewise.
4487         * testsuite/27_io/basic_ostream/inserters_arithmetic/
4488         char/6.cc: Likewise.
4489         * testsuite/27_io/basic_ostream/inserters_character/
4490         char/4.cc: Likewise.
4491         * testsuite/27_io/basic_ostream/inserters_other/char/
4492         2.cc: Likewise.
4493         * testsuite/27_io/basic_ostream/inserters_other/char/
4494         5.cc: Likewise.
4495         * testsuite/27_io/basic_ostream/inserters_other/char/
4496         error_failbit.cc: Likewise.
4497         * testsuite/27_io/basic_ostream/inserters_other/char/
4498         exceptions_badbit_throw.cc: Likewise.
4499         * testsuite/27_io/basic_ostream/inserters_other/char/
4500         exceptions_failbit_throw.cc: Likewise.
4501         * testsuite/27_io/basic_ostream/inserters_other/char/
4502         exceptions_null.cc: Likewise.
4503         * testsuite/27_io/basic_ostream/put/char/1.cc: Likewise.
4504         * testsuite/27_io/basic_ostream/seekp/char/
4505         exceptions_badbit_throw.cc: Likewise.
4506         * testsuite/27_io/basic_ostream/sentry/char/2.cc: Likewise.
4507         * testsuite/27_io/basic_ostream/write/char/1.cc: Likewise.
4508
4509 2005-01-23  Paolo Carlini  <pcarlini@suse.de>
4510
4511         * include/tr1/type_traits (aligned_storage): Use __aligned__ instead
4512         of aligned.
4513
4514 2005-01-23  Paolo Carlini  <pcarlini@suse.de>
4515             Andreas Jaeger  <aj@suse.de>
4516
4517         PR libstdc++/19343
4518         * include/bits/functexcept.h: Mark the helpers as 'noreturn'.
4519
4520 2005-01-21  Loren J. Rittle  <ljrittle@acm.org>
4521
4522         * testsuite/27_io/basic_filebuf/open/char/9507.cc: Allow
4523         lseek on fifo to succeed.  Thus, check for consistent report.
4524
4525 2005-01-21  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
4526
4527         PR libstdc++/19510
4528         * include/bits/stl_list.h (_List_iterator): Initialize _M_node
4529         in constructor.
4530         (_List_const_iterator): Likewise.
4531         * include/bits/stl_tree.h (_Rb_tree_iterator): Likewise.
4532         (_Rb_tree_const_iterator): Likewise.
4533
4534         * testsuite/23_containers/map/operators/1_neg.cc: Adjust line numbers.
4535         * testsuite/23_containers/set/operators/1_neg.cc: Likewise.
4536
4537 2005-01-20  Benjamin Kosnik  <bkoz@redhat.com>
4538
4539         * testsuite/Makefile.am (check-compile): New.
4540         * testsuite/Makefile.in: Regenerate.
4541         * scripts/check_compile_time: New.
4542         * scripts/check_performance: Tweaks.
4543
4544 2005-01-19  Paolo Carlini  <pcarlini@suse.de>
4545
4546         PR libstdc++/19535
4547         * include/tr1/utility (struct __pair_get<1>::__get, __const_get):
4548         Fix typo in the return type.
4549         * testsuite/tr1/6_containers/utility/19535.cc: New.
4550
4551 2005-01-19  Loren J. Rittle  <ljrittle@acm.org>
4552
4553         * include/ext/array_allocator.h (array_allocator<>::allocate):
4554         Avoid __used.  Use __array_used instead.
4555         * docs/html/17_intro/BADNAMES: Add list for FreeBSD.
4556
4557 2005-01-18  David Edelsohn  <edelsohn@gnu.org>
4558
4559         * config/os/aix/os_defines.h (_XOPEN_SOURCE): Delete.
4560         (_XOPEN_SOURCE_EXTENDED): Delete.
4561
4562 2005-01-18  Benjamin Kosnik  <bkoz@redhat.com>
4563
4564         * testsuite/testsuite_performance.h (time_counter::start):
4565         Clear. Tweaks.
4566         (clear_counters): Inline.
4567         (start_counters): Inline.
4568         (stop_counters): Inline.
4569         * testsuite/performance/20_util/allocator/map_thread.cc: Return.
4570         * testsuite/performance/20_util/allocator/insert.cc: Remove bogus
4571         return, add return.
4572         * testsuite/performance/20_util/allocator/map_thread.cc: Same.
4573
4574 2005-01-17  Paolo Carlini  <pcarlini@suse.de>
4575
4576         PR libstdc++/19433
4577         * include/bits/stl_tree.h (_Rb_tree<>::insert_unique(iterator,
4578         const _Val&), _Rb_tree<>::insert_equal(iterator, const _Val&)):
4579         Obtain amortized constant complexity if t is inserted right after
4580         p - not before p - as per Table 69.
4581         * testsuite/performance/23_containers/set_insert_from_sorted.cc: New.
4582
4583         * testsuite/23_containers/multiset/insert/2.cc: New.
4584         * testsuite/23_containers/set/insert/1.cc: Likewise.
4585
4586         * testsuite/performance/23_containers/set_create_from_sorted.cc:
4587         Simplify.
4588
4589         * include/bits/stl_tree.h: Add a few missing std:: qualifications.
4590
4591 2005-01-16  Jonathan Wakely  <redi@gcc.gnu.org>
4592
4593         * include/ext/rope: Qualify calls to std::copy() by sequence_buffer.
4594         * testsuite/ext/rope/4.cc: Add.
4595
4596 2005-01-16  Lorenz Minder  <lminder@gmx.net>
4597             Paolo Carlini  <pcarlini@suse.de>
4598
4599         PR libstdc++/19322
4600         * include/c_std/std_cmath.h: Define the C99 classification facilities
4601         directly inside namespace std:.
4602         * testsuite/26_numerics/cmath/19322.cc: New.
4603
4604 2005-01-15  David Edelsohn  <edelsohn@gnu.org>
4605
4606         * config/os/aix/os_defines.h (_G_USING_THUNKS): Delete.
4607
4608 2005-01-14  Paolo Carlini  <pcarlini@suse.de>
4609
4610         PR libstdc++/19422
4611         * include/bits/stl_tree.h (_Rb_tree<>::insert_equal(_II, _II),
4612         _Rb_tree<>::insert_unique(_II, _II)): Use insert_equal (insert_unique,
4613         respectively) with hint (end()).
4614         * testsuite/performance/23_containers/set_create_from_sorted.cc: New.
4615
4616 2005-01-13  Geoffrey Keating  <geoffk@apple.com>
4617
4618         * configure.host (darwin): On darwin8 or later, no need to build
4619         libstdc++ with -flat_namespace.
4620
4621 2005-01-13  Jonathan Wakely  <redi@gcc.gnu.org>
4622
4623         * docs/doxygen/user.cfg.in: Set HAVE_DOT back to YES.
4624
4625 2005-01-13  Paolo Carlini  <pcarlini@suse.de>
4626
4627         * testsuite/26_numerics/cmath/c99_classification_macros_c++.cc:
4628         Re-enable commented-out test for double type.
4629
4630 2005-01-11  Paolo Carlini  <pcarlini@suse.de>
4631             Benjamin Kosnik  <bkoz@redhat.com>
4632
4633         * src/istream.cc (basic_istream<char>::ignore(streamsize),
4634         basic_istream<char>::ignore(streamsize, int_type),
4635         basic_istream<wchar_t>::ignore(streamsize),
4636         basic_istream<wchar_t>::ignore(streamsize, int_type)): In case
4637         more than numeric_limits<streamsize>::max() chars are skipped,
4638         set _M_gcount = max().
4639         * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
4640         int_type)): Likewise; keep simple, don't forward.
4641
4642 2005-01-11  Paolo Carlini  <pcarlini@suse.de>
4643
4644         * src/istream.cc (basic_istream<char>::ignore(streamsize),
4645         basic_istream<char>::ignore(streamsize, int_type),
4646         basic_istream<wchar_t>::ignore(streamsize),
4647         basic_istream<wchar_t>::ignore(streamsize, int_type)): Revert
4648         2005-01-05 change: actually, the previous behavior is conforming
4649         and consistent with that of get(char_type*, streamsize, char_type),
4650         albeit slightly different from that of 3.3/3.4 in a corner case
4651         due to the use of snextc.
4652         * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
4653         int_type)): Likewise.
4654         * testsuite/27_io/basic_istream/ignore/char/4.cc: Remove.
4655         * testsuite/27_io/basic_istream/ignore/wchar_t/4.cc: Likewise.
4656
4657 2005-01-11  Paolo Carlini  <pcarlini@suse.de>
4658
4659         * include/tr1/type_traits: Implement alignment_of and aligned_storage.
4660         * testsuite/tr1/4_metaprogramming/other_transformations/
4661         aligned_storage/aligned_storage.cc: New.
4662         * testsuite/tr1/4_metaprogramming/other_transformations/
4663         aligned_storage/typedefs.cc: Likewise.
4664         * testsuite/tr1/4_metaprogramming/type_properties/
4665         alignment_of/alignment_of.cc: Likewise.
4666         * testsuite/tr1/4_metaprogramming/type_properties/
4667         alignment_of/typedefs.cc: Likewise.
4668
4669 2005-01-10  Paolo Carlini  <pcarlini@suse.de>
4670
4671         * Makefile.in: Regenerate.
4672         * libmath/Makefile.in: Likewise.
4673         * libsupc++/Makefile.in: Likewise.
4674         * po/Makefile.in: Likewise.
4675         * src/Makefile.in: Likewise.
4676         * testsuite/Makefile.in: Likewise.
4677
4678 2005-01-10  Paolo Carlini  <pcarlini@suse.de>
4679
4680         * include/bits/stl_algobase.h (lexicographical_compare):
4681         Fix concept check.
4682
4683 2005-01-07  Benjamin Kosnik  <bkoz@redhat.com>
4684
4685         * acinclude.m4: Remove CCODECVT_H.
4686         * configure: Regenerate.
4687         * include/Makefile.am (host_headers_extra): Move to...
4688         (ext_headers): ...here.
4689         * include/Makefile.in: Regenerate.
4690         * include/ext/enc_filebuf: Remove enc_filebuf, consolidate
4691         enc_traits to...
4692         * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Move...
4693         * include/ext/codecvt_specializations.h: ...here. Remove
4694         _GLIBCXX_USE___ENC_TRAITS.
4695         (__enc_traits): To __encoding_state, put in __gnu_cxx namespace.
4696         (enc_char_traits): To __encoding_char_traits, put in __gnu_cxx
4697         namespace.
4698         * config/locale/generic/codecvt_specializations.h: Remove.
4699         * include/bits/codecvt.h: Remove codecvt_specializations.h include.
4700         * src/codecvt.cc: Remove __enc_traits::_S_max_size.
4701
4702 2005-01-06  Benjamin Kosnik  <bkoz@redhat.com>
4703
4704         * include/bits/fstream.tcc: Remove unnecessary qualifications for
4705         uglified data members of basic_filebuf, including _M_buf,
4706         _M_buf_size, _M_mode, _M_pback_init.
4707         * include/std/std_fstream.h: Same.
4708
4709 2005-01-05  Benjamin Kosnik  <bkoz@redhat.com>
4710
4711         * testsuite/testsuite_hooks.h:
4712         (copy_constructor::mark_call):  Use __throw_runtime_error.
4713         (assignment_operator::mark_call): Same.
4714         * testsuite/testsuite_hooks.cc (verify_demangle): Same.
4715         (locale_data): Remove, just use runtime_error directly.
4716         (environment_variable): Same.
4717         (not_found): Same.
4718         (run_tests_wrapped_locale): Use __throw_runtime_error.
4719         (run_tests_wrapped_env): Same.
4720         (semaphore::semaphore): Same.
4721         (semaphore::signal): Same.
4722         (semaphore::wait): Same.
4723         * testsuite/testsuite_abi.h (symbol_error): Remove, use logic_error.
4724         * testsuite/testsuite_abi.cc (get_symbol): Use __throw_logic_error.
4725         (create_symbols): Use __throw_runtime_error.
4726         * src/bitmap_allocator.cc: Use __throw_bad_alloc.
4727
4728 2005-01-05  Mark Mitchell  <mark@codesourcery.com>
4729
4730         * testsuite/27_io/basic_filebuf/open/char/9507.cc: Remove child
4731         process.
4732
4733 2005-01-05  Paolo Carlini  <pcarlini@suse.de>
4734
4735         * src/istream.cc (basic_istream<char>::ignore(streamsize),
4736         basic_istream<char>::ignore(streamsize, int_type),
4737         basic_istream<wchar_t>::ignore(streamsize),
4738         basic_istream<wchar_t>::ignore(streamsize, int_type)): At the end,
4739         first check _M_gcount vs __n.
4740         * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
4741         int_type)): Likewise.
4742         * testsuite/27_io/basic_istream/ignore/char/4.cc: New.
4743         * testsuite/27_io/basic_istream/ignore/wchar_t/4.cc: Likewise.
4744
4745 2005-01-03  Mark Mitchell  <mark@codesourcery.com>
4746
4747         * testsuite/testsuite_hooks.cc: Use __throw_exception_again
4748         instead of just throw.
4749
4750         * testsuite/testsuite_hooks.cc: Update coypright and follow style
4751         guidelines.
4752         * testsuite/testsuite_hooks.h: Likewise.
4753         * testsuite/27_io/basic_filebuf/close/char/4879.cc: Use
4754         semaphores, not sleep.
4755         * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise.
4756         * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
4757         * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise.
4758         * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc:
4759         Likewise.
4760         * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise.
4761         * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise.
4762         * testsuite/27_io/objects/char/7.cc: Likewise.
4763         * testsuite/27_io/objects/char/9661-1.cc: Likewise.
4764         * testsuite/27_io/objects/wchar_t/7.cc: Likewise.
4765         * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise.
4766
4767         * configure.ac: Check for sys/ipc.h and sys/sem.h.
4768         * config.h.in: Regenerated.
4769         * configure: Likewise.
4770         * testsuite/testsuite_hooks.cc (_GLIBCXX_SYSV_SEM): Conditionally
4771         define.
4772         (sys/types.h): Include.
4773         (sys/ipc.h): Likewise.
4774         (sys/sem.h): Likewise.
4775         (__gnu_test::semun): New type.
4776         (__gnu_test::semaphore::sempaphore): New function.
4777         (__gnu_test::semaphore::~semaphore): Likewise.
4778         (__gnu_test::semaphore::wait): Likewise.
4779         (__gnu_test::semaphore::signal): Likewise.
4780         * testsuite/testsuite_hooks.h (__gnu_test::semaphore): New class.
4781         * testsuite/27_io/basic_filebuf/close/char/4879.cc: Use
4782         semaphores, not sleep.
4783         * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise.
4784         * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
4785         * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise.
4786         * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc:
4787         Likewise.
4788         * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise.
4789         * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise.
4790         * testsuite/27_io/objects/char/7.cc: Likewise.
4791         * testsuite/27_io/objects/char/9661-1.cc: Likewise.
4792         * testsuite/27_io/objects/wchar_t/7.cc: Likewise.
4793         * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise.
4794
4795 2005-01-03  Paolo Carlini  <pcarlini@suse.de>
4796
4797         * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
4798         int_type)): Reset _M_gcount to numeric_limits<streamsize>::min().
4799         * src/istream.cc (basic_istream<char>::ignore(streamsize, int_type),
4800         basic_istream<wchar_t>::ignore(streamsize, int_type)): Likewise.
4801         * src/istream.cc (basic_istream<char>::ignore(streamsize),
4802         basic_istream<wchar_t>::ignore(streamsize)): Likewise; fix a typo.
4803
4804 2005-01-02  Paolo Carlini  <pcarlini@suse.de>
4805
4806         * src/istream.cc (basic_istream<char>::ignore(streamsize),
4807         basic_istream<char>::ignore(streamsize, int_type),
4808         basic_istream<wchar_t>::ignore(streamsize),
4809         basic_istream<wchar_t>::ignore(streamsize, int_type)): Avoid
4810         _M_gcount overflows.
4811         * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
4812         int_type)): Likewise; use snextc in the main loop, consistently
4813         with the specializations above.
4814
4815 2005-01-02  Chris Jefferson  <chris@bubblescope.net>
4816
4817         * include/bits/stl_algobase.h (mismatch): Correct concept check.
4818
4819 2005-01-01  Paolo Carlini  <pcarlini@suse.de>
4820
4821         * testsuite/ext/enc_filebuf/char/13189.cc: Fix, first include
4822         testsuite_hooks.h, to know whether including ext/enc_filebuf.h.
4823         * testsuite/ext/enc_filebuf/wchar_t/13189.cc: Likewise.
4824
4825 2005-01-01  Paolo Carlini  <pcarlini@suse.de>
4826
4827         * testsuite/27_io/basic_istream/extractors_character/char/1.cc: Fix,
4828         null-terminate array1 at the outset.
4829         * testsuite/27_io/basic_istream/extractors_character/wchar_t/1.cc:
4830         Likewise.