OSDN Git Service

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