OSDN Git Service

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