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