OSDN Git Service

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