OSDN Git Service

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