OSDN Git Service

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