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