OSDN Git Service

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