OSDN Git Service

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