OSDN Git Service

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