Testing something for diego
[official-gcc.git] / libstdc++-v3 / ChangeLog
blob5c7a8060dac7be6cd95f9b6df47166f728ef6236
1 2006-01-04  Paolo Carlini  <pcarlini@suse.de>
3         * include/ext/sso_string_base.h (__sso_string_base<>::_M_dataplus):
4         Use _CharT_alloc_type as base class.
5         (_M_get_allocator, _M_swap, _M_create, _M_destroy): Adjust.
6         * include/ext/vstring.h (get_allocator): Tidy.
8 2006-01-04  Paolo Carlini  <pcarlini@suse.de>
10         Implement Option 3 of DR 431 for all the containers.
11         * include/bits/allocator.h (struct __alloc_swap): Add, swaps
12         allocators, optimized to nothing in case they are empty.
13         * include/bits/stl_deque.h (deque<>::swap): Use it.
14         * include/bits/stl_list.h (list<>::swap): Likewise.
15         * include/bits/stl_tree.h (_Rb_tree<>::swap): Likewise.
16         * include/bits/stl_vector.h (vector<>::swap): Likewise.
17         * include/tr1/hashtable (hashtable<>::swap): Likewise.
18         * include/ext/rc_string_base.h (__rc_string_base<>::_M_swap):
19         Likewise.
20         * include/ext/sso_string_base.h (__sso_string_base<>::_M_swap):
21         Likewise.
22         * include/ext/vstring_util.h (__vstring_utility<>::_Alloc_hider):
23         Clean-up (now vstring uses the generic __alloc_swap facility).
24         * include/tr1/unordered_map: Adjust includes.
25         * include/tr1/unordered_set: Likewise.
26         * docs/html/ext/howto.html: Add an entry for DR 431.
27         * testsuite/23_containers/deque/modifiers/swap.cc: Move to...
28         * testsuite/23_containers/deque/modifiers/swap/1.cc: ... here.          
29         * testsuite/23_containers/deque/modifiers/swap/2.cc: New.
30         * testsuite/23_containers/deque/modifiers/swap/3.cc: New.
31         * testsuite/23_containers/list/modifiers/swap.cc: Move to...
32         * testsuite/23_containers/list/modifiers/swap/1.cc: ... here.           
33         * testsuite/23_containers/list/modifiers/swap/2.cc: New.
34         * testsuite/23_containers/list/modifiers/swap/3.cc: New.
35         * testsuite/23_containers/vector/modifiers/swap.cc: Move to...
36         * testsuite/23_containers/vector/modifiers/swap/1.cc: ... here.         
37         * testsuite/23_containers/vector/modifiers/swap/2.cc: New.
38         * testsuite/23_containers/vector/modifiers/swap/3.cc: New.
39         * testsuite/23_containers/set/modifiers/swap.cc: Move to...
40         * testsuite/23_containers/set/modifiers/swap/1.cc: ... here.            
41         * testsuite/23_containers/set/modifiers/swap/2.cc: New.
42         * testsuite/23_containers/set/modifiers/swap/3.cc: New.
43         * testsuite/23_containers/map/modifiers/swap.cc: Move to...
44         * testsuite/23_containers/map/modifiers/swap/1.cc: ... here.            
45         * testsuite/23_containers/map/modifiers/swap/2.cc: New.
46         * testsuite/23_containers/map/modifiers/swap/3.cc: New.
47         * testsuite/23_containers/multiset/modifiers/swap.cc: Move to...
48         * testsuite/23_containers/multiset/modifiers/swap/1.cc: ... here.               
49         * testsuite/23_containers/multiset/modifiers/swap/2.cc: New.
50         * testsuite/23_containers/multiset/modifiers/swap/3.cc: New.
51         * testsuite/23_containers/multimap/modifiers/swap.cc: Move to...
52         * testsuite/23_containers/multimap/modifiers/swap/1.cc: ... here.               
53         * testsuite/23_containers/multimap/modifiers/swap/2.cc: New.
54         * testsuite/23_containers/multimap/modifiers/swap/3.cc: New.
55         * testsuite/tr1/6_containers/unordered/swap/unordered_set/1.cc: New.    
56         * testsuite/tr1/6_containers/unordered/swap/unordered_set/2.cc: New.
57         * testsuite/tr1/6_containers/unordered/swap/unordered_map/1.cc: New.    
58         * testsuite/tr1/6_containers/unordered/swap/unordered_map/2.cc: New.
59         * testsuite/tr1/6_containers/unordered/swap/unordered_multiset/1.cc: New.       
60         * testsuite/tr1/6_containers/unordered/swap/unordered_multiset/2.cc: New.
61         * testsuite/tr1/6_containers/unordered/swap/unordered_multimap/1.cc: New.       
62         * testsuite/tr1/6_containers/unordered/swap/unordered_multimap/2.cc: New.
64 2006-01-03  Paolo Carlini  <pcarlini@suse.de>
66         * include/bits/stl_list.h (_List_base<>::_M_get_Node_allocator): Add.
67         (_M_get_Tp_allocator, get_allocator): Tidy.
68         (list<>::list(const list&), insert(iterator, size_type, const
69         value_type&), insert(iterator, _InputIterator, _InputIterator)):
70         Use _M_get_Node_allocator.
71         * include/bits/stl_tree.h (_Rb_tree<>::_M_get_Node_allocator()): Add.
72         (_Rb_tree(const _Rb_tree<>&): Use it.
73         * include/bits/stl_deque.h (_Deque_base<>::_M_get_map_allocator,
74         get_allocator): Tidy.
75         * include/bits/stl_vector.h (_Vector_base<>::get_allocator): Tidy.
76         * testsuite/23_containers/map/operators/1_neg.cc: Adjust dg-error
77         line numbers.
78         * testsuite/23_containers/set/operators/1_neg.cc: Likewise.
79         
80         * testsuite/testsuite_allocator.h (uneq_allocator<>::swap): Fix.
82         * testsuite/testsuite_allocator.h (class uneq_allocator): A simple
83         non-empty testing allocator which can be endowed of a "personality"
84         at construction time.
86 2006-01-03  Paolo Carlini  <pcarlini@suse.de>
88         * testsuite/27_io/basic_stringstream/str/char/1.cc: Initialize vars.
89         * testsuite/27_io/basic_stringstream/str/wchar_t/1.cc: Likewise.
90         * testsuite/27_io/basic_istringstream/str/char/1.cc: Likewise, tidy.
91         * testsuite/27_io/basic_istringstream/str/wchar_t/1.cc: Likewise.
93 2006-01-02  Mark Mitchell  <mark@codesourcery.com>
95         * src/Makefile.am (LTLDFLAGS): New variable. 
96         (CXXLINK): Use LTLDFLAGS.
97         * src/Makefile.in: Regenerated.
98         * libsupc++/Makefile.am (LTLDFLAGS): New variable. 
99         (CXXLINK): Use LTLDFLAGS.
100         * libsupc++/Makefile.in: Regenerated.
102 2006-01-02  Paolo Carlini  <pcarlini@suse.de>
104         PR libstdc++/24645
105         * include/std/std_istream.h (basic_istream<>::_M_extract): New.
106         (operator>>(bool&), operator>>(short&), operator>>(unsigned short&),
107         operator>>(int&), operator>>(unsigned int&), operator>>(long&),
108         operator>>(unsigned long&), operator>>(long long&), operator>>
109         (unsigned long long&), operator>>(float&), operator>>(double&),
110         operator>>(long double&), operator>>(void*&)): Use it.
111         * include/bits/istream.tcc (basic_istream<>::_M_extract): Define.
112         * include/std/std_ostream.h (basic_ostream<>::_M_insert): New.
113         (operator<<(long), operator<<(unsigned long), operator<<(bool),
114         operator<<(short), operator<<(unsigned short), operator<<(int),
115         operator<<(unsigned int), operator<<(long long), operator<<
116         (unsigned long long), operator<<(double), operator<<(float),
117         operator<<(long double), operator<<(const void*): Use it.
118         * include/bits/ostream.tcc (basic_ostream<>::_M_insert): Define.
119         * src/istream-inst.cc: Add _M_extract instantiations.
120         * src/ostream-inst.cc: Add _M_insert instantiations.
121         * config/abi/pre/gnu.ver: Export the new symbols @GLIBCXX_3.4.7;
122         detail existing @GLIBCXX_3.4 exports of basic_ostream, num_put,
123         money_put, etc., symbols to avoid exporting _M_insert symbols
124         @GLIBCXX_3.4.
126 2005-12-28  Paolo Carlini  <pcarlini@suse.de>
128         * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 40.
130 2005-12-28  Chris Jefferson  <chris@bubblescope.net>
132         * testsuite/testsuite_allocator.h (check_deallocate_null): Return true.
134 2005-12-28  Paolo Carlini  <pcarlini@suse.de>
136         * include/std/std_bitset.h (bitset<>::_M_copy_from_string,
137         bitset<>::_M_copy_to_string, bitset<>::operator>>): Reverse loop.
139         * testsuite/25_algorithms/heap/heap.cc (test01): Always enable
140         complexity checks.
141         * testsuite/18_support/numeric_limits/specialization.cc: Avoid
142         unused parameter warning.
143         * testsuite/18_support/numeric_limits/traps.cc: Acoid unused variable
144         warning.
145         * testsuite/ext/malloc_allocator/deallocate_global.cc: Fix format
146         string.
147         * testsuite/ext/malloc_allocator/deallocate_local.cc: Likewise.
148         * testsuite/ext/array_allocator/2.cc: Remove unused variable.
149         * testsuite/tr1/3_function_objects/mem_fn.cc: Avoid unused variable
150         warnings.
151         * testsuite/tr1/6_containers/unordered/instantiate/set.cc: Just
152         instantiate.
153         * testsuite/tr1/6_containers/unordered/instantiate/map.cc: Likewise.
154         * testsuite/tr1/6_containers/unordered/instantiate/hash.cc: Likewise.
155         * testsuite/tr1/6_containers/unordered/instantiate/multiset.cc:
156         Likewise.
157         * testsuite/tr1/6_containers/unordered/instantiate/multimap.cc:
158         Likewise.
159         * testsuite/tr1/6_containers/array/cons/aggregate_initialization.cc:
160         Avoid unused variable warnings.
161         * testsuite/tr1/6_containers/array/requirements/zero_sized_arrays.cc:
162         Likewise.
163         * testsuite/thread/18185.cc: Likewise.
164         * testsuite/27_io/ios_base/storage/11584.cc: Likewise; avoid comparison
165         between signed and unsigned warning.
166         * testsuite/27_io/types/1.cc: Avoid unused variable warnings.
167         * testsuite/testsuite_allocator.h (check_new): Likewise.
168         (check_deallocate_null): Adjust return type.
169         * testsuite/testsuite_hooks.h (bitmask_operators): Avoid unused
170         variable warnings.
171         * testsuite/21_strings/c_strings/wchar_t/24559.cc: Avoid unused
172         variable warning.
174 2005-12-28  Chris Jefferson  <chris@bubblescope.net>
176         * include/std/std_bitset.h (bitset<0>::set, bitset<0>::reset,
177         bitset<0>::flip, bitset<0>::test): Add inline specializations for
178         bitset<0>.
180         * testsuite/tr1/6_containers/unordered/insert/multiset_range.cc
181         (test01): Add static cast.
182         * testsuite/tr1/6_containers/unordered/insert/set_range.cc
183         (test01): Likewise.
184         * testsuite/testsuite_hooks.h (operator==(NonDefaultConstructible,
185         NonDefaultConstructible), operator<(NonDefaultConstructible,
186         NonDefaultConstrictible)): Avoid unused parameter warning.
188 2005-12-26  Chris Jefferson  <chris@bubblescope.net>
190         * include/ext/mt_allocator.h (__mt_alloc::__mt_alloc): Remove
191         name of unused parameter.
192         * include/bits/stream_iterator.h (istream_iterator::istream_iterator):
193         Construct _M_value.
194         * include/debug/functions.h (__check_valid_range): Add
195         __attribute__((unused)).
196         * include/tr1/hashtable (hashtable::end): Remove name of unused
197         parameter.
198         * include/tr1/tuple_iterate.h (tuple::tuple): Likewise.
199         (tuple::operator=): Add __attribute__((unused)).
200         * include/tr1/functional (Fnv_hash<4>::hash): Add static_cast.
201         (Fnv_hash<8>::hash): Likewise.
203         * testsuite/25_algorithms/iter_swap/20577.cc (swap): Remove name of
204         unused parameter.
205         * testsuite/25_algorithms/unique_copy/check_type.cc (S2::S2,X2::X2):
206         Likewise.
207         * testsuite/22_locale/ctype/narrow/char/19955.cc (do_narrow): Likewise.
208         * testsuite/22_locale/ctype/is/char/9858.cc (Derived::do_is, 
209         Derived::do_scan_is, Derived::do_scan_not, Derived2::do_is,
210         Derived2::do_scan_is, Derived2::do_scan_not): Likewise.
211         * testsuite/22_locale/time_put/put/wchar_t/12439_1.cc (TP::do_put):
212         Likewise.
213         * testsuite/22_locale/time_put/put/wchar_t/12439_3.cc (TP::do_put):
214         Likewise.
215         * testsuite/22_locale/time_put/put/char/12439_1.cc (TP::do_put):
216         Likewise.
217         * testsuite/22_locale/time_put/put/char/12439_3.cc (TP::do_put):
218         Likewise.
219         * testsuite/testsuite_io.h (fail_num_get::do_get, fail_num_put::do_put):
220         Likewise.
221         * testsuite/25_algorithms/find/17441.cc (find): Likewise.
222         * testsuite/23_containers/vector/cons/clear_allocator.cc
223         (clear_alloc::clear_alloc): Likewise.
224         * testsuite/23_containers/vector/bool/clear_allocator.cc
225         (clear_alloc::clear_alloc): Likewise.
226         * testsuite/23_containers/list/cons/clear_allocator.cc
227         (clear_alloc::clear_alloc): Likewise.
228         * testsuite/23_containers/set/modifiers/16728.cc (test_container):
229         Likewise.
230         * testsuite/27_io/basic_ios/cons/char/3.cc (char_traits::to_char_type,
231         to_int_type): Likewise.
232         * testsuite/27_io/basic_filebuf/imbue/12206.cc (codecvt::do_out, do_in,
233         do_unshift, do_length): Likewise.
234         * testsuite/21_strings/basic_string/capacity/1.cc 
235         (operator==(A<T>,A<T>), operator<(A<T>,A<T>),
236         char_traits::to_char_type, char_traits::to_int_type): Likewise
237         * testsuite/testsuite_character.h (ctype::do_is, ctype::do_scan_is,
238         ctype::do_scan_not, do_toupper, do_tolower): Likewise.
239         * testsuite/25_algorithms/replace_copy/check_type.cc (Z::operator=):
240         Add missing return statement.
241         * testsuite/25_algorithms/replace_copy_if/check_type.cc (Z::operator=):
242         Likewise.
243         * testsuite/testsuite_iterators.h (output_iterator_wrapper::operator=,
244         random_access_iterator_wrapper::operator==): Likewise.
245         * testsuite/20_util/functional/binders/1.cc (s::f_int_int_const,
246         s::f_int_int, s::f_int_void_const, s::f_int_void): Likewise.
247         * testsuite/27_io/types/1.cc (test01): Likewise.
248         * testsuite/27_io/basic_ostream/write/wchar_t/1.cc (test01): Likewise.
249         * testsuite/27_io/basic_ostream/write/char/1.cc (test01): Likewise.
250         * testsuite/21_strings/c_strings/wchar_t/24559.cc (main): Likewise.
251         * testsuite/27_io/basic_istream/ignore/wchar_t/2.cc (check): Add static
252         cast.
253         * testsuite/27_io/basic_istream/ignore/char/2.cc (check): Likewise.
254         * testsuite/27_io/basic_istream/getline/wchar_t/5.cc (check): Likewise.
255         * testsuite/27_io/basic_istream/getline/char/5.cc (check): Likewise.
256         * testsuite/testsuite_allocator.h (check_new): Likewise.
257         (check_deallocate_null): Add missing return value.
258         * testsuite/ext/pool_allocator/allocate_chunk.cc (test01):
259         Make variable unsigned.
260         * testsuite/23_containers/vector/modifiers/erase/1.cc (N,N1,N2,N3,N4,
261         N5,test01): Likewise.
262         * testsuite/26_numerics/valarray/valarray_subset_assignment.cc
263         (check_array): Likewise.
264         (main): Removed unused variable.
265         * testsuite/27_io/basic_streambuf/in_avail/wchar_t/1.cc (test05):
266         Removed unused variable.
267         * testsuite/27_io/basic_ostream/flush/wchar_t/1.cc (test01): Likewise.
268         * testsuite/27_io/basic_ostream/flush/char/1.cc (test01): Likewise.
269         * testsuite/27_io/basic_ostream/endl/wchar_t/1.cc (test01): Likewise.
270         * testsuite/27_io/basic_ostream/endl/char/1.cc (test01): Likewise.
271         * testsuite/27_io/basic_ostream/ends/wchar_t/1.cc (test01): Likewise.
272         * testsuite/27_io/basic_ostream/ends/char/1.cc (test01): Likewise.
273         * testsuite/tr1/2_general_utilities/memory/shared_ptr/
274         assign/shared_ptr.cc (test01): Correct return type.     
275         * testsuite/27_io/basic_filebuf/close/char/2.cc (test_02):
276         Add default value to close_num.
278 2005-12-24  Paolo Carlini  <pcarlini@suse.de>
280         * include/bits/stl_algobase.h (fill(const _Deque_iterator&,
281         const _Deque_iterator&, const _Tp&)): Deal, correctly, only
282         with iterators (leave const_iterators alone).
284 2005-12-24  Paolo Carlini  <pcarlini@suse.de>
286         * include/bits/stl_algobase.h (fill(const _Deque_iterator<>&,
287         const _Deque_iterator<>&, const _Tp&)): Add.
289         * testsuite/23_containers/deque/cons/assign/1.cc: New.
291 2005-12-19  Paolo Carlini  <pcarlini@suse.de>
293         * include/bits/stl_deque.h (deque<>::resize, _M_fill_assign):
294         Avoid troubles with ADL, user defined operators and _Deque_iterator.
295         (operator-(const _Deque_iterator<>&, const _Deque_iterator<>&):
296         Add overload for left and right iterators of the same type.
297         * include/bits/deque.tcc (erase(iterator)): Avoid troubles with ADL,
298         user defined operators and _Deque_iterator.
299         * testsuite/23_containers/deque/types/1.cc: Add.
300         
301         * include/bits/deque.tcc (_M_insert_aux(iterator, size_type,
302         const value_type&)): Qualify with std:: fill call.
304 2005-12-18  Benjamin Kosnik  <bkoz@redhat.com>
305         
306         * include/bits/c++config: Add in revised namespace associations.
307         _GLIBCXX_BEGIN_NAMESPACE: New macro.
308         _GLIBCXX_END_NAMESPACE: Same.
309         _GLIBCXX_BEGIN_NESTED_NAMESPACE: Same.
310         _GLIBCXX_END_NESTED_NAMESPACE: Same.
311         * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS]): Add gnu-versioned-namespace.
312         * configure: Regenerated.
313         * config.h.in: Same.
314         * config/abi/pre/gnu-versioned-namespace.ver: New.
315         * config/abi/pre/gnu.ver (GLIBCXX_3.4.7): Add exports for nested
316         debug mode items. 
317         * include/Makefile.am (${host_builddir}/c++config.h): Fill in
318         values for __GLIBCXX__ and _GLIBCXX_NAMESPACE_ASSOCIATION_VERSION.
319         * include/Makefile.in: Regnerate.
320         * src/compatibility.cc: Alias new, nested definitions to exported
321         symbols from non-nested __gnu_debug.
322         * src/Makefile.am:  Add in ENABLE_SYMVERS_GNU_NAMESPACE.
323         * src/Makefile.in: Regenerate.
324         
325         * docs/html/debug_mode.html: Revise for nested design.
326         * docs/html/debug.html: Use debug qualifications instead of
327         __gnu_debug.
328         * docs/html/configopts.html: Revise documentation for
329         --enable-symvers.
330         
331         * include/debug/formatter: Simplify namespace qualifications for
332         current, nested-only reality. Add top-level namespace alias,
333         namespace debug, for debug-mode containers.
334         * include/debug/safe_iterator.h: Same.  
335         * include/debug/set.h: Same.
336         * include/debug/hash_multimap.h: Same.
337         * include/debug/hash_set.h: Same.
338         * include/debug/bitset
339         * include/debug/safe_sequence.h: Same.
340         * include/debug/multiset.h: Same.
341         * include/debug/safe_base.h: Same.
342         * include/debug/functions.h: Same.
343         * include/debug/safe_iterator.tcc
344         * include/debug/hash_multiset.h: Same.
345         * include/debug/vector
346         * include/debug/map.h: Same.
347         * include/debug/deque
348         * include/debug/hash_map.h: Same.
349         * include/debug/string
350         * include/debug/macros.h: Same.
351         * include/debug/list
352         * include/debug/debug.h: Same.
353         * include/debug/multimap.h: Same.       
354         * src/debug.cc: Same.
355         * testsuite/23_containers/vector/invalidation/1.cc: Cleanups.
356         * testsuite/23_containers/vector/invalidation/2.cc: Same.
357         * testsuite/23_containers/vector/invalidation/3.cc: Same.
358         * testsuite/23_containers/vector/invalidation/4.cc: Same.
359         * testsuite/23_containers/deque/invalidation/1.cc: Same.
360         * testsuite/23_containers/deque/invalidation/2.cc: Same.
361         * testsuite/23_containers/deque/invalidation/3.cc: Same.
362         * testsuite/23_containers/deque/invalidation/4.cc: Same.
363         * testsuite/23_containers/multiset/invalidation/1.cc: Same.
364         * testsuite/23_containers/multiset/invalidation/2.cc: Same.
365         * testsuite/23_containers/multimap/invalidation/1.cc: Same.
366         * testsuite/23_containers/multimap/invalidation/2.cc: Same.
367         * testsuite/23_containers/bitset/invalidation/1.cc: Same.
368         * testsuite/23_containers/bitset/cons/16020.cc: Same.
369         * testsuite/23_containers/bitset/operations/13838.cc: Same.
370         * testsuite/23_containers/list/invalidation/1.cc: Same.
371         * testsuite/23_containers/list/invalidation/2.cc: Same.
372         * testsuite/23_containers/list/invalidation/3.cc: Same.
373         * testsuite/23_containers/list/invalidation/4.cc: Same.
374         * testsuite/23_containers/set/invalidation/1.cc: Same.
375         * testsuite/23_containers/set/invalidation/2.cc: Same.
376         * testsuite/23_containers/map/invalidation/1.cc: Same.
377         * testsuite/23_containers/map/invalidation/2.cc: Same.
378         * testsuite/23_containers/map/insert/16813.cc: Same.
379         
380         * include/bits/basic_ios.h: Use _GLIBCXX_BEGIN_NAMESPACE(std) and
381         friends.        
382         * include/bits/stl_list.h: Same.
383         * include/bits/stl_map.h: Same.
384         * include/bits/stl_algobase.h: Same.
385         * include/bits/localefwd.h: Same.
386         * include/bits/valarray_array.tcc: Same.
387         * include/bits/valarray_after.h: Same.
388         * include/bits/gslice_array.h: Same.
389         * include/bits/stl_queue.h: Same.
390         * include/bits/gslice.h: Same.
391         * include/bits/locale_facets.tcc: Same.
392         * include/bits/locale_classes.h: Same.
393         * include/bits/stl_set.h: Same.
394         * include/bits/locale_facets.h: Same.
395         * include/bits/stl_stack.h: Same.
396         * include/bits/stl_iterator_base_types.h: Same.
397         * include/bits/stl_heap.h: Same.
398         * include/bits/indirect_array.h: Same.
399         * include/bits/atomicity.h: Same.
400         * include/bits/stream_iterator.h: Same.
401         * include/bits/concurrence.h: Same.
402         * include/bits/basic_string.h: Same.
403         * include/bits/stl_multimap.h: Same.
404         * include/bits/stl_pair.h: Same.
405         * include/bits/basic_ios.tcc: Same.
406         * include/bits/stl_raw_storage_iter.h: Same.
407         * include/bits/stl_vector.h: Same.
408         * include/bits/stl_numeric.h: Same.
409         * include/bits/ios_base.h: Same.
410         * include/bits/stl_deque.h: Same.
411         * include/bits/istream.tcc: Same.
412         * include/bits/postypes.h: Same.
413         * include/bits/stl_multiset.h: Same.
414         * include/bits/mask_array.h: Same.
415         * include/bits/stl_uninitialized.h: Same.
416         * include/bits/ostream.tcc: Same.
417         * include/bits/slice_array.h: Same.
418         * include/bits/boost_concept_check.h: Same.
419         * include/bits/sstream.tcc: Same.
420         * include/bits/stl_iterator_base_funcs.h: Same.
421         * include/bits/char_traits.h: Same.
422         * include/bits/stl_algo.h: Same.
423         * include/bits/stringfwd.h: Same.
424         * include/bits/c++config
425         * include/bits/stl_iterator.h: Same.
426         * include/bits/valarray_array.h: Same.
427         * include/bits/stl_tempbuf.h: Same.
428         * include/bits/vector.tcc: Same.
429         * include/bits/deque.tcc: Same.
430         * include/bits/stl_bvector.h: Same.
431         * include/bits/basic_string.tcc: Same.
432         * include/bits/list.tcc: Same.
433         * include/bits/streambuf_iterator.h: Same.
434         * include/bits/valarray_before.h: Same.
435         * include/bits/stl_construct.h: Same.
436         * include/bits/stl_function.h: Same.
437         * include/bits/cpp_type_traits.h: Same.
438         * include/bits/streambuf.tcc: Same.
439         * include/bits/allocator.h: Same.
440         * include/bits/stl_tree.h: Same.
441         * include/bits/fstream.tcc: Same.
442         * include/bits/stl_relops.h: Same.
443         * include/bits/functexcept.h: Same.
444         * include/std/std_valarray.h: Same.
445         * include/std/std_iostream.h: Same.
446         * include/std/std_streambuf.h: Same.
447         * include/std/std_bitset.h: Same.
448         * include/std/std_iosfwd.h: Same.
449         * include/std/std_iomanip.h: Same.
450         * include/std/std_fstream.h: Same.
451         * include/std/std_limits.h: Same.
452         * include/std/std_stdexcept.h: Same.
453         * include/std/std_istream.h: Same.
454         * include/std/std_complex.h: Same.
455         * include/std/std_memory.h: Same.
456         * include/std/std_ostream.h: Same.
457         * include/std/std_sstream.h: Same.
458         * include/c_std/std_csignal.h: Same.
459         * include/c_std/std_cstdlib.h: Same.
460         * include/c_std/std_cstdio.h: Same.
461         * include/c_std/std_cstdarg.h: Same.
462         * include/c_std/std_cctype.h: Same.
463         * include/c_std/std_cmath.h: Same.
464         * include/c_std/std_ctime.h: Same.
465         * include/c_std/std_clocale.h: Same.
466         * include/c_std/std_csetjmp.h: Same.
467         * include/c_std/std_cwchar.h: Same.
468         * include/c_std/std_cstring.h: Same.
469         * include/c_std/std_cstddef.h: Same.
470         * include/c_std/std_cwctype.h: Same.
471         * include/backward/iterator.h: Same.
472         * include/backward/set.h: Same.
473         * include/backward/hashtable.h: Same.
474         * include/backward/fstream.h: Same.
475         * include/backward/tempbuf.h: Same.
476         * include/backward/istream.h: Same.
477         * include/backward/bvector.h: Same.
478         * include/backward/stack.h: Same.
479         * include/backward/rope.h: Same.
480         * include/backward/complex.h: Same.
481         * include/backward/ostream.h: Same.
482         * include/backward/heap.h: Same.
483         * include/backward/iostream.h: Same.
484         * include/backward/function.h: Same.
485         * include/backward/multimap.h: Same.
486         * include/backward/pair.h: Same.
487         * include/backward/stream.h: Same.
488         * include/backward/iomanip.h: Same.
489         * include/backward/strstream
490         * include/backward/slist.h: Same.
491         * include/backward/tree.h: Same.
492         * include/backward/vector.h: Same.
493         * include/backward/deque.h: Same.
494         * include/backward/multiset.h: Same.
495         * include/backward/list.h: Same.
496         * include/backward/map.h: Same.
497         * include/backward/algobase.h: Same.
498         * include/backward/hash_map.h: Same.
499         * include/backward/algo.h: Same.
500         * include/backward/queue.h: Same.
501         * include/backward/streambuf.h: Same.
502         * src/allocator-inst.cc: Same.
503         * src/complex_io.cc: Same.
504         * src/localename.cc: Same.
505         * src/limits.cc: Same.
506         * src/ios_failure.cc: Same.
507         * src/locale-misc-inst.cc: Same.
508         * src/streambuf-inst.cc: Same.
509         * src/misc-inst.cc: Same.
510         * src/concept-inst.cc: Same.
511         * src/ios_locale.cc: Same.
512         * src/pool_allocator.cc: Same.
513         * src/fstream-inst.cc: Same.
514         * src/istream-inst.cc: Same.
515         * src/string-inst.cc: Same.
516         * src/locale_init.cc: Same.
517         * src/ctype.cc: Same.
518         * src/strstream.cc: Same.
519         * src/ostream-inst.cc: Same.
520         * src/functexcept.cc: Same.
521         * src/streambuf.cc: Same.
522         * src/sstream-inst.cc: Same.
523         * src/ios.cc: Same.
524         * src/valarray-inst.cc: Same.
525         * src/locale.cc: Same.
526         * src/tree.cc: Same.
527         * src/stdexcept.cc: Same.
528         * src/istream.cc: Same.
529         * src/compatibility.cc: Same.
530         * src/locale-inst.cc: Same.
531         * src/globals_io.cc: Same.
532         * src/list.cc: Same.
533         * src/ios_init.cc: Same.
534         * src/locale_facets.cc: Same.
535         * src/codecvt.cc: Same.
537         * include/tr1/unordered_map: Use _GLIBCXX_BEGIN_NAMESPACE(tr1).
538         * include/tr1/boost_shared_ptr.h: Same.
539         * include/tr1/tuple
540         * include/tr1/hashtable
541         * include/tr1/type_traits_fwd.h: Same.
542         * include/tr1/unordered_set
543         * include/tr1/functional
544         * include/tr1/ref_fwd.h: Same.
545         * include/tr1/utility
546         * include/tr1/type_traits
547         * include/tr1/array
549         * include/ext/hashtable.h: Use _GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx).
550         * include/ext/typelist.h: Same.
551         * include/ext/hash_map: Same.
552         * include/ext/rc_string_base.h: Same.
553         * include/ext/pool_allocator.h: Same.
554         * include/ext/iterator: Same.
555         * include/ext/rb_tree: Same.
556         * include/ext/numeric: Same.
557         * include/ext/vstring.tcc: Same.
558         * include/ext/sso_string_base.h: Same.
559         * include/ext/stdio_filebuf.h: Same.
560         * include/ext/algorithm: Same.
561         * include/ext/codecvt_specializations.h: Same.
562         * include/ext/new_allocator.h: Same.
563         * include/ext/array_allocator.h: Same.
564         * include/ext/vstring_util.h: Same.
565         * include/ext/vstring_fwd.h: Same.
566         * include/ext/mt_allocator.h: Same.
567         * include/ext/debug_allocator.h: Same.
568         * include/ext/slist: Same.
569         * include/ext/stdio_sync_filebuf.h: Same.
570         * include/ext/hash_fun.h: Same.
571         * include/ext/malloc_allocator.h: Same.
572         * include/ext/functional: Same.
573         * include/ext/bitmap_allocator.h: Same.
574         * include/ext/pod_char_traits.h: Same.
575         * include/ext/vstring.h: Same.
576         * include/ext/ropeimpl.h: Same.
577         * include/ext/hash_set: Same.
578         * include/ext/memory: Same.
579         * include/ext/rope: Same.
580         * include/bits/boost_concept_check.h: Same.
581         * include/bits/stl_iterator.h: Same.
582         * include/bits/char_traits.h: Same.
583         * include/bits/cpp_type_traits.h: Same.
584         * include/bits/concurrence.h: Same.
585         * include/bits/atomicity.h: Same.
586         * config/locale/gnu/numeric_members.cc: Same.
587         * config/locale/gnu/collate_members.cc: Same.
588         * config/locale/gnu/ctype_members.cc: Same.
589         * config/locale/gnu/c_locale.cc: Same.
590         * config/locale/gnu/codecvt_members.cc: Same.
591         * config/locale/gnu/messages_members.cc: Same.
592         * config/locale/gnu/c_locale.h: Same.
593         * config/locale/gnu/monetary_members.cc: Same.
594         * config/locale/gnu/time_members.cc: Same.
595         * config/locale/ieee_1003.1-2001/c_locale.h: Same.
596         * config/locale/generic/numeric_members.cc: Same.
597         * config/locale/generic/collate_members.cc: Same.
598         * config/locale/generic/ctype_members.cc: Same.
599         * config/locale/generic/c_locale.cc: Same.
600         * config/locale/generic/codecvt_members.cc: Same.
601         * config/locale/generic/messages_members.cc: Same.
602         * config/locale/generic/c_locale.h: Same.
603         * config/locale/generic/monetary_members.cc: Same.
604         * config/locale/generic/time_members.cc: Same.
605         * config/os/aix/atomicity.h: Same.
606         * config/os/irix/atomicity.h: Same.
607         * config/cpu/powerpc/atomicity.h: Same.
608         * config/cpu/cris/atomicity.h: Same.
609         * config/cpu/ia64/atomicity.h: Same.
610         * config/cpu/alpha/atomicity.h: Same.
611         * config/cpu/m68k/atomicity.h: Same.
612         * config/cpu/hppa/atomicity.h: Same.
613         * config/cpu/mips/atomicity.h: Same.
614         * config/cpu/sparc/atomicity.h: Same.
615         * config/cpu/i386/atomicity.h: Same.
616         * config/cpu/i486/atomicity.h: Same.
617         * config/cpu/sh/atomicity.h: Same.
618         * config/cpu/generic/atomicity.h: Same.
619         * config/cpu/s390/atomicity.h: Same.
620         * config/io/c_io_stdio.h: Same.
621         * config/io/basic_file_stdio.cc: Same.
622         * config/io/basic_file_stdio.h: Same.   
623         * src/misc-inst.cc: Same.
624         * src/concept-inst.cc: Same.
625         * src/ext-inst.cc: Same.
626         * src/string-inst.cc: Same.
627         * src/pool_allocator.cc: Same.
628         * src/bitmap_allocator.cc: Same.
629         * src/mt_allocator.cc: Same.
630         * libsupc++/exception: Same.
631         * libsupc++/vterminate.cc: Same.
632         * testsuite/ext/hash_map/1.cc: Explicitly qualify __gnu_cxx::hash_map.
633         * testsuite/ext/hash_map/14648.cc: Same.        
635         * libsupc++/eh_alloc.cc: Correct comment line spacing.
636                 
637 2005-12-18  Paolo Carlini  <pcarlini@suse.de>
639         * include/bits/stl_algobase.h (__copy_normal::copy_n): Uglify
640         to __copy_n.
641         (__copy_backward::copy_b): Likewise to __copy_b.
642         (__copy_backward_normal::copy_b_n): Likewise to __copy_b_n.
643         (copy, __copy_backward_aux, copy_backward): Adjust.
645 2005-12-18  Paolo Carlini  <pcarlini@suse.de>
647         * include/bits/stl_algo.h (partial_sort_copy): Add
648         _BinaryPredicateConcept<_Compare, _InputValueType, _OutputValueType>
649         (merge, set_union, set_symmetric_difference): Add
650         _OutputIteratorConcept<_OutputIterator, _ValueType2>.
651         (binary_search): Remove redundant _BinaryPredicateConcept<_Compare,
652         _ValueType, _Tp>, taken care by lower_bound.
653         * include/bits/stl_algo.h: Cosmetic changes.
655 2005-12-18  Paolo Carlini  <pcarlini@suse.de>
656             Howard Hinnant  <hhinnant@apple.com>
658         * include/bits/stl_algo.h (merge, includes, set_union,
659         set_intersection, set_difference, set_symmetric_difference):
660         Fix concept checks.
662 2005-12-18  Paolo Carlini  <pcarlini@suse.de>
664         * include/bits/stl_algo.h (partial_sort_copy, lower_bound,
665         upper_bound, equal_range, binary_search): Fix concept checks.
667 2005-12-18  Benjamin Kosnik  <bkoz@redhat.com>
669         * config/abi/post: New.
670         * config/abi/*-linux-gnu: Move to..
671         * config/abi/post/*-linux-gnu: ... here.        
672         * config/abi/pre: New.
673         * config/linker-map.gnu: Move to ..
674         * config/abi/pre/gnu.ver: ... here.     
675         * config/linker-map.dummy: Move to..
676         * config/abi/pre/none.ver: ... here.
677         * src/Makefile.am: Use ENABLE_SYMVERS_GNU,
678         ENABLE_SYMVERS_DARWIN, ENABLE_SYMVERS_GNU_NAMESPACE.
679         Use libstdc++-symbols.ver instead of libstdc++-symbol.ver.
680         * src/Makefile.in: Regnerate.
681         * acinclude.m4 (GLIBCXX_CONFIGURE_TESTSUITE): Adjust paths for new
682         placement of abi baseline files.
683         (GLIBCXX_ENABLE_SYMVERS): Add ENABLE_SYMVERS, ENABLE_SYMVERS_GNU,
684         ENABLE_SYMVERS_DARWIN.  SYMVER_MAP to SYMVER_FILE.
685         * configure: Regnerate.
686         * config.h.in: Regnerate.
687         * src/compatibility.cc: Adjust macro usage.
688         
689 2005-12-17  Benjamin Kosnik  <bkoz@redhat.com>
691         * src/io-inst.cc: Separate instantiations into...
692         * src/ios-inst.cc: .. this.
693         * src/iostream-inst.cc: ... and this.
694         * src/Makefile.am (sources): Update.
695         * src/Makefile.in: Regenerate.  
697 2005-12-17  Benjamin Kosnik  <bkoz@redhat.com>
698         
699         PR libstdc++/25472
700         * include/c_std/std_cstdlib.h: Fix for freestanding.
702 2005-12-17  Benjamin Kosnik  <bkoz@redhat.com>
704         * testsuite/libstdc++-dg/normal.exp: Rename to..
705         * testsuite/libstdc++-dg/conformance.exp: ... this.
707 2005-12-17  Paolo Carlini  <pcarlini@suse.de>
709         * include/bits/stl_vector.h (vector(const vector&)): Use
710         _M_get_Tp_allocator.
711         * include/bits/stl_deque.h (deque(const deque&)): Likewise.
712         (_M_destroy_data): Adjust.
714 2005-12-17  Paolo Carlini  <pcarlini@suse.de>
716         * include/bits/stl_deque.h (deque<>::_M_erase_at_end,
717         _M_erase_at_begin, _M_destroy_data, _M_destroy_data_dispatch,
718         _M_destroy_data_aux): New, optimize erase at begin() / end() and
719         consistently use the "segmented iterator" optimization.
720         (deque<>::~deque(), resize, clear, _M_assign_aux, _M_fill_assign):
721         Use the above.
722         * include/bits/deque.tcc (deque<>::operator=, _M_assign_aux): Same.
723         (erase(iterator, iterator)): Likewise, clean-up.
724         (erase(iterator)): Tweak, don't call copy unnecessarily. 
725         (_M_destroy_data_aux): Define.
726         * testsuite/23_containers/deque/modifiers/erase/1.cc: New.
727         * testsuite/23_containers/deque/modifiers/erase/2.cc: Likewise.
729 2005-12-17  Gabriel Dos Reis  <gdr@integrable-solutions.net>
731         * include/bits/valarray_after.h (_Expr<>::operator[](slice)): 
732         Don't assume the closure implements general indexing, as a matter
733         of fact, most of them don't.
734         (_Expr<>::operator[](const gslice&)): Likewise.
735         (_Expr<>::operator[](const valarray<bool>&)): Likewise.
736         (_Expr<>::operator[](const valarray<size_t>&)): Likewise.
737         (_Expr<>::shift): Fix thinko.
738         (_Expr<>::cshift): Likewise.
739         (_Expr<>::apply): Likewise.
741 2005-12-16  Paolo Carlini  <pcarlini@suse.de>
743         * testsuite/tr1/4_metaprogramming/type_properties/is_empty/is_empty.cc:
744         Fix class NonEmptyClassTwo.
746 2005-12-15  Paolo Carlini  <pcarlini@suse.de>
748         * include/bits/stl_vector.h (vector<>::_M_get_Tp_allocator): Change
749         to return by ref and add non const version.
750         * include/bits/stl_deque.h (deque<>::_M_get_Tp_allocator): Likewise.
752 2005-12-15  Paolo Carlini  <pcarlini@suse.de>
754         PR libstdc++/25421
755         * config/locale/gnu/c_locale.cc (_S_destroy_c_locale): Check
756         for null argument.
757         * testsuite/22_locale/facet/25421.cc: New.
759 2005-12-13  Carlos O'Donell <carlos@codesourcery.com>
761         * include/std/std_limits.h (struct numeric_limits):
762         Use __DBL_HAS_DENORM__, __FLT_HAS_DENORM__, __LDBL_HAS_DENORM__.
764 2005-12-10  Paolo Carlini  <pcarlini@suse.de>
766         * include/ext/sso_string_base.h (__sso_string_base<>::_M_compare):
767         Add, specialized for char and wchar_t to immediately return true
768         when a string is compared to itself.
769         * include/ext/rc_string_base.h (__rc_string_base<>::_M_compare):
770         Likewise, for the same _Rep.
771         * include/ext/vstring.h (compare(const string&)): Use it.
773         * include/ext/sso_string_base.h (__sso_string_base<>::_M_destroy):
774         Deallocate passed size + 1.
775         (_M_dispose, _M_reserve): Adjust.
777 2005-12-09  Paolo Carlini  <pcarlini@suse.de>
778             Howard Hinnant  <hhinnant@apple.com>
780         PR libstdc++/25288
781         * include/bits/stl_list.h (list<>::_M_insert_dispatch, _M_fill_insert):
782         Remove.
783         (_M_initialize_dispatch, _M_fill_initialize): Add.
784         (list(size_type, const value_type&, const allocator_type&),
785         list(const list&), list(_InputIterator, _InputIterator,
786         const allocator_type&): Use the latter.
787         (insert(iterator, size_type, const value_type&), insert(iterator,
788         _InputIterator, _InputIterator)): Use construction & splice.
789         * testsuite/23_containers/list/modifiers/insert/25288.cc: New.
790         * testsuite/testsuite_allocator.h (class throw_allocator): Add.
792         * include/bits/stl_list.h (list<>::insert, erase): Fix wrong comments.
794 2005-12-08  Paolo Carlini  <pcarlini@suse.de>
796         * include/bits/stl_vector.h (vector<>::size, resize, capacity,
797         operator[]): Avoid troubles with ADL, user defined operators
798         and __normal_iterator.
799         (_M_erase_at_end): Fix to take a pointer.
800         (clear): Adjust call.
801         * include/bits/vector.tcc (vector<>::insert(iterator, const
802         value_type&), erase(iterator, iterator), operator=(const
803         vector<>&), _M_assign_aux(input_iterator_tag), _M_insert_aux,
804         _M_fill_insert, _M_range_insert): Likewise.
805         (_M_fill_assign, _M_assign_aux(forward_iterator_tag)): Adjust
806         _M_erase_at_end call.
807         * testsuite/23_containers/vector/types/1.cc: New.
809 2005-12-08  Paolo Carlini  <pcarlini@suse.de>
811         PR libstdc++/24617
812         * include/bits/stl_vector.h (vector<>::_M_erase_at_end): New.
813         (vector<>::clear, resize): Use it.
814         * include/bits/vector.tcc (vector<>::erase(iterator, iterator),
815         _M_fill_assign, _M_assign_aux): Likewise.
817         * testsuite/23_containers/vector/modifiers/erase/1.cc: New.
819 2005-12-07  Paolo Carlini  <pcarlini@suse.de>
821         * docs/html/configopts.html ([--enable-libstdcxx-allocator]):
822         Mention the SGI pooled allocator.
824 2005-12-06  Paolo Carlini  <pcarlini@suse.de>
826         * include/bits/basic_string.h (insert(iterator, _CharT),
827         erase(iterator), erase(iterator, iterator)): Avoid troubles
828         with ADL, user defined operators and __normal_iterator.
829         * include/bits/stl_iterator.h (operator-(const __normal_iterator
830         <_Iterator, _Container>&, const __normal_iterator<_Iterator,
831         _Container>&)): Add overload for left and right iterators of
832         the same type.
833         * include/debug/safe_iterator.h (operator-(const _Safe_iterator
834         <_Iterator, _Sequence>&, const _Safe_iterator<_Iterator,
835         _Sequence>&)): Likewise.
836         * testsuite/21_strings/basic_string/types/1.cc: New.
838 2005-12-05  Paolo Carlini  <pcarlini@suse.de>
840         * include/ext/sso_string_base.h (__sso_string_base<>::_M_assign):
841         Simplify, avoid pointless reallocations.
843 2005-12-04  Paolo Carlini  <pcarlini@suse.de>
845         * include/ext/sso_string_base.h (__sso_string_base<>::_M_reserve):
846         Simplify.
848 2005-12-04  Paolo Carlini  <pcarlini@suse.de>
850         * include/ext/vstring.h (__versa_string<>::operator+, all
851         versions): Move out of line...
852         * include/ext/vstring.tcc (__versa_string<>::operator+): ...
853         here; consistently use reserve for the benefit of sso_string_base;
854         prefer push_back to single-char append when appropriate.
856         * include/ext/vstring.h (__versa_string<>::push_back): Don't
857         call _M_reserve, _M_mutate instead.
858         (reserve): Just forward to _M_reserve.
859         * include/ext/vstring.tcc (__versa_string<>::_M_reserve): Remove.
860         * include/ext/rc_string_base.h (__rc_string_base<>::_M_reserve): Also
861         do the initial checks (first on length, in case __res == capacity).
862         * include/ext/sso_string_base.h (__sso_string_base<>::_M_reserve:
863         Likewise; don't call _M_set_length unnecessarily.
865 2005-12-04  Paolo Carlini  <pcarlini@suse.de>
867         * include/ext/vstring.h (__versa_string<>::_M_append): New.
868         (append(const __versa_string&), append(const __versa_string&,
869         size_type, size_type), append(const _CharT*, size_type),
870         append(const _CharT*)): Use it.
871         (append(size_type, _CharT)): Delegate to _M_replace_aux.
872         (assign(const __versa_string&, size_type, size_type),
873         assign(const _CharT*), replace(size_type, size_type,
874         const _CharT*, size_type)): Forward to _M_replace.
875         * include/ext/vstring.tcc (__versa_string<>::_M_append):
876         Define, core append functionality.
877         (_M_replace): Simplify, move __s == 0 case to _M_replace_aux.
878         (_M_replace_aux): Reorganize, don't call _M_replace.
880 2005-12-04  Paolo Carlini  <pcarlini@suse.de>
882         * include/ext/vstring.tcc (__versa_string<>::_M_replace):
883         Perform _M_check_length at the beginning and remove it from ...
884         (replace, _M_replace_dispatch, _M_replace_aux, assign): ... here.
885         (assign): Now move inline.
886         (resize): Don't call _M_check_length redundantly, append does.
888 2005-12-04  Paolo Carlini  <pcarlini@suse.de>
890         * include/ext/sso_string_base.h (__sso_string_base<>::_M_get_allocator):
891         Add non const version.
892         * include/ext/rc_string_base.h (__rc_string_base<>::_M_get_allocator):
893         Likewise.
894         
895         * include/ext/sso_string_base.h (__sso_string_base<>::_M_erase): Add.
896         * include/ext/rc_string_base.h (__rc_string_base<>::_M_erase): Likewise.
897         (_M_leak_hard): Use it.
898         * include/ext/vstring.h (__versa_string<>::clear, erase, all
899         versions): Use it.
900         * include/ext/vstring.tcc (__versa_string<>::resize): Likewise.
902         * include/ext/vstring.h (__versa_string<>::_M_replace_safe):
903         Remove.
904         * include/ext/vstring.h (__versa_string<>::_M_replace): New, does
905         the in-place work or delegates to _M_mutate in case of reallocation.
906         * include/ext/vstring.tcc (__versa_string<>::_M_replace_safe):
907         Remove.
908         * include/ext/vstring.tcc (__versa_string<>::_M_replace): Define.
909         (assign, replace, _M_replace_dispatch, _M_replace_aux): Use it.
910         * include/ext/sso_string_base.h (__sso_string_base<>::_M_mutate):
911         Change to manage only reallocations.
912         * include/ext/rc_string_base.h (__rc_string_base<>::_M_mutate):
913         Likewise.
915         * include/ext/vstring.h (__versa_string<>::insert(size_type,
916         const __versa_string&), insert(size_type, const __versa_string&,
917         size_type, size_type), insert(size_type, const _CharT*, size_type),
918         insert(size_type, const _CharT*)): Delegate to replace.
920         * include/ext/vstring.h (__versa_string<>::reserve): Move out of
921         line.
922         * include/ext/vstring.tcc (__versa_string<>::reserve): Do the
923         checks and call _M_reserve.
924         * include/ext/vstring.h (__versa_string<>::append): Call _M_reserve
925         instead of reserve.
926         * include/ext/vstring.tcc (__versa_string<>::append, all versions):
927         Likewise.
928         * include/ext/sso_string_base.h (__sso_string_base<>::_M_reserve):
929         Adjust.
930         * include/ext/rc_string_base.h (__rc_string_base<>::_M_reserve):
931         Likewise.
933 2005-12-02  David Billinghurst (David.Billinghurst@riotinto.com)
935         PR testsuite/25193
936         * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Catch
937         error if file cannot be deleted.
939 2005-11-23  Paolo Carlini  <pcarlini@suse.de>
941         PR libstdc++/24975 (basic_string)
942         * include/bits/basic_string.h (_Rep::_S_empty_rep): Avoid
943         strict-aliasing warnings.
945 2005-11-22  Paolo Carlini  <pcarlini@suse.de>
947         PR libstdc++/24975
948         * include/bits/stl_set.h (insert(iterator, const value_type&),
949         erase(iterator), erase(iterator, iterator)): Don't break aliasing
950         rules casting to _Rep_iterator&, forward to _Rb_tree facilities.
951         * include/bits/stl_multiset.h (insert(iterator, const value_type&),
952         erase(iterator), erase(iterator, iterator)): Likewise.
953         * include/bits/stl_tree.h (_Rb_tree<>::_M_insert(_Const_Base_ptr,
954         _Const_Base_ptr, const value_type&), insert_unique(const_iterator,
955         const value_type&), insert_equal(const_iterator, const value_type&),
956         erase(const_iterator), erase(const_iterator, const_iterator)): New,
957         _Rb_tree<>::const_iterator counterparts of existing facilities.
959 2005-11-21  Benjamin Kosnik  <bkoz@redhat.com>
960             Ulrich Drepper  <drepper@redhat.com>
962         PR libstdc++/23591
963         * scripts/create_testsuite_files: Support for "C" test files.
964         * testsuite/lib/libstdc++.exp: Same.
965         * testsuite/libstdc++-dg/normal.exp: Same.
966         * testsuite/ext/mt_allocator/22309_thread.cc: Update names.
967         * testsuite/19_diagnostics/23591_thread-1.c: New.
968         * testsuite/testsuite_shared.cc: Add tests, rename existing functions.
969         * libsupc++/eh_globals.cc: Make global thread local if possible.
970         * configure.ac: Use GCC_CHECK_TLS.
971         * acinclude.m4: Include tls.m4.
972         * configure: Regenerate.
973         * config.h.in: Same.
974         
975 2005-11-21  Benjamin Kosnik  <bkoz@redhat.com>
977         * libsupc++/del_op.cc: Include c++config.h first.
978         * libsupc++/eh_alloc.cc: Same.
979         * libsupc++/new_opv.cc: Same.
980         * libsupc++/eh_throw.cc: Same.
981         * libsupc++/new_op.cc: Same.
982         * libsupc++/del_opv.cc: Same.
983         * libsupc++/eh_catch.cc: Same.
984         * libsupc++/guard.cc: Same.
985         * libsupc++/del_opnt.cc: Same.
986         * libsupc++/eh_exception.cc: Same.
987         * libsupc++/new_opvnt.cc: Same.
988         * libsupc++/eh_term_handler.cc: Same.
989         * libsupc++/eh_personality.cc: Same.
990         * libsupc++/eh_call.cc: Same.
991         * libsupc++/new_opnt.cc: Same.
992         * libsupc++/del_opvnt.cc: Same.
994 2005-11-21  Benjamin Kosnik  <bkoz@redhat.com>
996         * src/Makefile.am (LTCXXCOMPILE): CXXFLAGS last.
997         * libsupc++/Makefile.am: Same.
998         * src/Makefile.in: Regenerate.
999         * libsupc++/Makefile.in: Same.
1001 2005-11-21  Paolo Carlini  <pcarlini@suse.de>
1003         * include/ext/sso_string_base.h: Minor formatting and stylistic fixes.
1004         (__sso_string_base<>::_M_get_allocator): Return by const ref.
1005         * include/ext/rc_string_base.h: Likewise.
1006         (__rc_string_base<>::_M_get_allocator): Return by const ref.
1007         (__rc_string_base<>::_M_dispose): Take void, use _M_get_allocator.
1008         (__rc_string_base<>::_M_grab): Take one alloc, use _M_get_allocator.
1009         (__rc_string_base<>::~__rc_string_base,
1010         __rc_string_base(const __rc_string_base&), _M_assign, _M_reserve,
1011         _M_mutate): Adjust.
1012         * include/ext/vstring_util.h: Minor stylistic fixes.
1014 2005-11-18  Paolo Carlini  <pcarlini@suse.de>
1016         * include/ext/rc_string_base.h (__rc_string_base<>::_Rep): Avoid the
1017         anonymous struct extension, adjust everywhere.
1019         * include/ext/rc_string_base.h (__rc_string_base<>::_S_empty_rep()):
1020         Just use a static member.
1021         (__rc_string_base<>::__rc_string_base(), _S_construct): Adjust.
1023         * include/ext/rc_string_base.h (__rc_string_base<>::_Rep): Use
1024         anonymous union together with _CharT to fix alignment issues,
1025         rebind to _Rep and rename _Raw_alloc to _Rep_alloc_type.        
1026         (__rc_string_base<>::_Rep::_S_create, _M_destroy): Adjust consistently.
1028         * include/ext/vstring_util.h (__is_null_p): Move inside struct
1029         __vstring_utility as static _S_is_null_pointer.
1030         * include/ext/sso_string.h
1031         (__sso_string_base<>::_M_construct(std::forward_iterator_tag): Adjust.
1032         * include/ext/rc_string_base.h
1033         (__rc_string_base<>::_S_construct(std::forward_iterator_tag): Likewise.
1035         Implement Option 3 of DR 431 for ext/vstring - both available bases.
1036         * include/bits/cpp_type_traits.h (struct __is_empty): Add.
1037         * include/ext/vstring.h (__versa_string<>::swap): Delegate to
1038         this->_M_swap.
1039         * include/ext/vstring.tcc (__versa_string<>::swap): Remove.
1040         * include/ext/vstring_util.h (struct __vstring_utility<>): Add struct
1041         _Alloc_hider<>, augmented of allocator swapping facility, specialized
1042         to nop for empty allocators.
1043         * include/ext/rc_string_base.h (__rc_string_base<>::_M_swap): Use it.
1044         (__rc_string_base<>::_M_is_leaked, _M_set_sharable): Change to private.
1045         * include/ext/sso_string_base.h (__sso_string_base<>::_M_swap):
1046         Likewise.
1047         (__sso_string_base<>::_M_is_leaked, _M_set_sharable): Remove, unused.
1048         * include/ext/rc_string_base.h (__rc_string_base<>::_M_data(_CharT*):
1049         Return void.
1050         * include/ext/sso_string_base.h (__sso_string_base<>::_M_data(_CharT*):
1051         Likewise.
1053 2005-11-17  Geoffrey Keating  <geoffk@apple.com>
1055         * config/os/bsd/darwin/ppc-extra.ver: New.
1056         * src/Makefile.am (libstdc++-symbol.ver): Move outside conditionals,
1057         and make dependent on port symbol files.
1058         (libstdc++-symbol.explist): Use the generated .ver file, not
1059         the template.
1060         * src/compatibility.cc [APPLE] (__eprintf): New.
1061         * src/Makefile.in: Regenerate.
1062         * configure.host (powerpc*-*-darwin*): Define
1063         port_specific_symbol_files.
1065 2005-11-16  Nathan Sidwell  <nathan@codesourcery.com>
1067         * libsupc++/eh_arm.cc (__cxa_begin_cleanup): Remember a
1068         foreign exception too.
1069         (__gnu_end_cleanup): Recover a foreign exception too.
1070         * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Cope
1071         with forced unwinding.
1072         * libsupc++/eh_throw.cc (__cxxabiv1::__cxa_rethrow): Use
1073         _Unwind_Resume_or_Rethrow for ARM EABI.
1075 2005-11-14  Geoffrey Keating  <geoffk@apple.com>
1077         * acinclude.m4 (GLIBCXX_CHECK_LINKER_FEATURES): Don't check for
1078         shared libgcc for darwin exports.
1079         * configure: Regenerate.
1081 2005-11-13  Jonathan Wakely  <redi@gcc.gnu.org>
1083         * include/tr1/boost_shared_ptr.h (get_deleter):
1084         Declare before shared_ptr.
1085         (shared_ptr<>): Declare get_deleter as friend.
1086         (shared_ptr<>:_M_get_deleter): Private.
1088 2005-11-13  Douglas Gregor  <doug.gregor@gmail.com>
1090         PR libstdc++/24818
1091         * include/tr1/ref_wrap_iterate.h
1092         (reference_wrapper::operator()()): Don't dereferene the result of
1093         get() before calling it; it's already a reference.
1094         * testsuite/tr1/3_function_objects/reference_wrapper/invoke.cc:
1095         Test nullary calls to reference_wrappers.
1097 2005-11-11  Paolo Carlini  <pcarlini@suse.de>
1099         PR libstdc++/24808
1100         * include/tr1/type_traits (__is_abstract_helper): Rename to __in_array
1101         (with complemented logic).
1102         (is_function): Use it, don't use __conv_helper.
1103         (is_abstract): Adjust.
1104         (__conv_helper): Rename to __is_convertible_simple.
1105         (is_convertible): Adjust.
1106         * testsuite/testsuite_tr1.h (class IncompleteClass): Add.
1107         * testsuite/tr1/4_metaprogramming/composite_type_traits/is_object/
1108         24808.cc: New.
1109         * testsuite/tr1/4_metaprogramming/primary_type_categories/is_enum/
1110         24808.cc: Likewise.
1111         * testsuite/tr1/4_metaprogramming/primary_type_categories/is_function/
1112         24808.cc: Likewise.
1114 2005-11-11  Paolo Carlini  <pcarlini@suse.de>
1116         PR libstdc++/24799
1117         * include/tr1/functional (hash): Inherit from std::unary_function.
1118         * testsuite/tr1/6_containers/unordered/hash/24799.cc: New.
1120         PR libstdc++/24805
1121         * include/tr1/boost_shared_ptr.h (swap(shared_ptr<>&, shared_ptr<>&),
1122         swap(weak_ptr<>&, weak_ptr<>&)): Move inside namespace tr1.
1123         * testsuite/tr1/2_general_utilities/memory/shared_ptr/modifiers/
1124         24805.cc: New.
1126         PR libstdc++/24809
1127         * include/tr1/type_traits (__is_polymorhpic_helper): Adjust destructor.
1128         * testsuite/tr1/4_metaprogramming/type_properties/is_polymorphic/
1129         24809.cc: New.
1131 2005-11-10  Paolo Carlini  <pcarlini@suse.de>
1133         * testsuite/tr1/2_general_utilities/memory/
1134         enable_shared_from_this/not_shared.cc: Adjust, remove xfail.
1135         * testsuite/tr1/2_general_utilities/memory/
1136         enable_shared_from_this/not_shared2.cc: Likewise.
1137         * testsuite/tr1/2_general_utilities/memory/
1138         enable_shared_from_this/not_shared3.cc: Likewise.
1140 2005-11-10  Paolo Carlini  <pcarlini@suse.de>
1142         * include/tr1/boost_shared_ptr.h (_Sp_counted_base::release,
1143         weak_release): Protect barriers with __GTHREADS.
1145 2005-11-10  Paolo Carlini  <pcarlini@suse.de>
1146             Peter Dimov  <pdimov@mmltd.net>
1148         * include/tr1/boost_shared_ptr.h (_Sp_counted_base::release):
1149         Optimize by manually inlining weak_release.
1151         * include/tr1/boost_shared_ptr.h (_Sp_counted_base::release,
1152         weak_release): Use explicit memory barriers.
1154 2005-11-09  Benjamin Kosnik  <bkoz@redhat.com>
1155             Paolo Carlini  <pcarlini@suse.de>
1156             Gabriel Dos Reis  <gdr@integrable-solutions.net>
1158         PR libstdc++/22203
1159         * numeric_limits.cc: Split into...
1160         * numeric_limits/specialization.cc: ..this.
1161         * numeric_limits/is_iec559.cc: Same.
1162         * numeric_limits/sign.cc: Same.
1163         * numeric_limits/quiet_NaN.cc: Same.
1164         * numeric_limits/digits10.cc: Same.
1165         * numeric_limits/denorm_min.cc: Same.
1166         * numeric_limits/min_max.cc: Same.
1167         * numeric_limits/epsilon.cc: Same.
1168         * numeric_limits/infinity.cc: Same.
1169         * numeric_limits/traps.cc: New.
1171 2005-11-09  Paolo Carlini  <pcarlini@suse.de>
1173         * include/tr1/boost_shared_ptr.h: Trivial formatting fixes.
1175 2005-11-08  Benjamin Kosnik  <bkoz@redhat.com>
1177         * testsuite/lib/libstdc++.exp (check_v3_target_debug_mode): Use
1178         exe as the executable extension.
1180         * acinclude.m4 (GLIBCXX_ENABLE_ALLOCATOR): Change gnu defaults to
1181         new.
1182         (GLIBCXX_ENABLE_PCH): Adjust message order.
1183         * configure: Regenerate.
1184         
1185         * scripts/testsuite_flags.in (query): Correct print_usagex typo.
1187         * include/bits/functexcept.h: Remove argument names.
1189         * src/mt_allocator.cc: Adjust comment.
1190         
1191 2005-11-06  Paolo Carlini  <pcarlini@suse.de>
1193         PR libstdc++/18174
1194         * include/bits/stl_queue.h (priority_queue): Tweak a bit the
1195         comment describing the container.
1197 2005-11-05  Paolo Carlini  <pcarlini@suse.de>
1199         * configure.host: Add | rs6000 to the cpu_defines_dir switch,
1200         consistently with the try_cpu one.
1202 2005-11-05  Paolo Carlini  <pcarlini@suse.de>
1204         PR libstdc++/22203
1205         * include/bits/c++config: Include cpu_defines.h.
1206         * include/Makefile.am: Add cpu_defines.h to host_headers.
1207         * configure.host: Add cpu_defines_dir.
1208         * configure.ac: Use it.
1209         * config/cpu/powerpc/cpu_defines.h: New.
1210         * config/cpu/generic/cpu_defines.h: Likewise.
1211         * configure: Regenerate.
1212         * Makefile.in: Likewise.
1213         * include/Makefile.in: Likewise.
1214         * libmath/Makefile.in: Likewise.
1215         * libsupc++/Makefile.in: Likewise.
1216         * po/Makefile.in: Likewise.
1217         * src/Makefile.in: Likewise.    
1218         * testsuite/Makefile.in: Likewise.
1220 2005-11-03  Paolo Carlini  <pcarlini@suse.de>
1222         * include/ext/sso_string_base.h (__sso_string_base<>::_M_swap):
1223         Change the various traits_type::copy call to always copy the
1224         entire local buffer; return early and don't do a full swap on
1225         the lengths for two common cases; change two _S_copy to plain
1226         traits_type::copy.
1228 2005-11-02  Thomas Kho  <tkho@ucla.edu>
1230         PR libstdc++/23425
1231         * include/bits/stl_vector.h (vector<>::clear): Open code
1232         in terms of _Destroy.
1234 2005-11-02  Paolo Carlini  <pcarlini@suse.de>
1236         * include/bits/vector.tcc (vector<>::_M_fill_assign): Qualify fill_n.
1238 2005-11-01  Paolo Carlini  <pcarlini@suse.de>
1240         PR libstdc++/24595
1241         * include/tr1/boost_shared_ptr.h (shared_ptr<>::get_deleter):
1242         Move out of shared_ptr.
1243         * testsuite/tr1/2_general_utilities/memory/shared_ptr/misc/24595.cc:
1244         New.
1246 2005-10-30  Paolo Carlini  <pcarlini@suse.de>
1248         PR libstdc++/20213
1249         * include/c_std/std_csignal.h: Adjust comment as per 17.4.1.2/4.
1250         * include/c_std/std_cstdlib.h: Likewise.
1251         * include/c_std/std_cstdio.h: Likewise.
1252         * include/c_std/std_cstdarg.h: Likewise.
1253         * include/c_std/std_cctype.h: Likewise.
1254         * include/c_std/std_cerrno.h: Likewise.
1255         * include/c_std/std_cmath.h: Likewise.
1256         * include/c_std/std_ciso646.h: Likewise.
1257         * include/c_std/std_ctime.h: Likewise.
1258         * include/c_std/std_clocale.h: Likewise.
1259         * include/c_std/std_climits.h: Likewise.
1260         * include/c_std/std_cassert.h: Likewise.
1261         * include/c_std/std_csetjmp.h: Likewise.
1262         * include/c_std/std_cwchar.h: Likewise.
1263         * include/c_std/std_cfloat.h: Likewise.
1264         * include/c_std/std_cstring.h: Likewise.
1265         * include/c_std/std_cstddef.h: Likewise.
1266         * include/c_std/std_cwctype.h: Likewise.
1268 2005-10-29  Carey Evans  <carey.evans@gmail.com>
1270         PR libstdc++/22087
1271         * config/os/djgpp/ctype_inline.h: Fix.
1272         * config/os/djgpp/ctype_noninline.h: Likewise.
1274 2005-10-28  Paolo Carlini  <pcarlini@suse.de>
1276         PR libstdc++/24559
1277         * include/c_std/std_cwchar.h (wcspbrk): Adjust signature.
1278         * testsuite/21_strings/c_strings/wchar_t/24559.cc: New.
1280 2005-10-25  Paolo Carlini  <pcarlini@suse.de>
1282         * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 39.
1283         * docs/html/ext/howto.html: Adjust.
1285 2005-10-21  Paolo Carlini  <pcarlini@suse.de>
1287         PR libstdc++/24450
1288         * config/locale/generic/time_members.h (__timepunct<>::
1289         __timepunct(__c_locale, const char*, size_t)): Avoid leaking
1290         memory if new throws inside _M_initialize_timepunct.
1291         * config/locale/gnu/time_members.h (__timepunct<>::
1292         __timepunct(__c_locale, const char*, size_t)): Likewise.
1293         * config/locale/gnu/message_members.h (messages<>::
1294         messages(__c_locale, const char*, size_t)): Rearrange to
1295         avoid memory leaks.
1297 2005-10-19  Paolo Carlini  <pcarlini@suse.de>
1299         * include/ext/sso_string_base.h (_M_swap): Rewrite.
1301 2005-10-19  Paolo Carlini  <pcarlini@suse.de>
1303         * include/ext/rc_string_base.h (_S_terminal): Remove.
1304         (_M_set_length): Adjust.
1305         (_S_max_size): Change to anonymous enum.
1306         (_M_max_size()): Add, returns the latter.
1307         * include/ext/sso_string_base.h: Likewise.
1308         * include/ext/vstring.h (max_size): Adjust.
1310 2005-10-17  Jonathan Wakely  <redi@gcc.gnu.org>
1312         PR libstdc++/24244
1313         * include/tr1/boost_shared_ptr.h
1314         (_Sp_counted_base::_Sp_counted_base()): When __GTHREAD_MUTEX_INIT
1315         is defined, initialize the mutex.
1317 2005-10-15  Paolo Carlini  <pcarlini@suse.de>
1319         * include/tr1/functional: Add missing #pragma GCC system_header.
1321 2005-10-14  Paolo Carlini  <pcarlini@suse.de>
1323         * include/tr1/hashtable (hashtable::m_erase): Rename to erase_node.
1324         (hashtable::erase(iterator), erase(const_iterator)): Adjust.
1326 2005-10-13  Richard Earnshaw  <richard.earnsahw@arm.com>
1328         PR libstdc++/23926
1329         * acinclude.m4 (port_specific_symbol_files): More symbol versioning
1330         fixes.
1331         * configure: Regenerate.
1333 2005-10-13  Hans-Peter Nilsson  <hp@axis.com>
1335         * testsuite/lib/libstdc++.exp (libstdc++_init): Require
1336         native testing before setting v3-sharedlib to 1.
1338 2005-10-12  Joe Buck  <Joe.Buck@synopsys.com>
1340         * docs/html/27_io/howto.html: Use reference to ifstream when
1341         including iosfwd.
1343 2005-10-11  Andrew Pinski  <pinskia@physics.uc.edu>
1345         PR libstdc++/23926
1346         * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Fix typo in check
1347         for GNU LD.
1348         * configure: Regenerate.
1350 2005-10-10  Benjamin Kosnik  <bkoz@redhat.com>
1352         * configure.ac (libtool_VERSION): To 6:7:0.
1353         * configure: Regenerate.
1354         * testsuite/testsuite_abi.cc (check_version): Add GLIBCXX_3.4.7.
1355         * config/linker-map.gnu: Export locale::_Impl::_M_install_cache.
1357 2005-10-10  Ian Lance Taylor  <ian@airs.com>
1359         PR libstdc++/13583
1360         * include/bits/locale_classes.h (locale::_Impl::_M_install_cache):
1361         Move out of line.
1362         * src/locale.cc: Define here, add mutex.
1364 2005-10-09  Paolo Carlini  <pcarlini@suse.de>
1366         PR libstdc++/24061 (issue 6.19)
1367         * include/tr1/hashtable (struct node_const_iterator, struct
1368         hashtable_const_iterator): New, add const variants to enable separate
1369         overloadings for iterator and const_iterator in unordered_set and
1370         unordered_multiset (as required by issue 6.19).
1371         (class hashtable): Change the mutable_iterators template parameter
1372         to constant_iterators and adjust throughout the logic.
1373         (hashtable::insert(iterator, const value_type&), erase(iterator)
1374         erase(iterator, iterator)): New, as per issue 6.19.
1375         (hashtable::m_erase(node*, node**)): New, called by erase(iterator)
1376         and erase(const_iterator).
1377         (hashtable::Insert_Conv_Type): New, used by insert(iterator,
1378         const value_type&) and insert(const_iterator, const value_type&)
1379         to delegate the work to insert(const value_type&).
1380         * include/tr1/unordered_map (class unordered_map, unordered_multimap):
1381         Adjust typedefs.
1382         * include/tr1/unordered_set (class unordered_set, unordered_multiset):
1383         Likewise.
1384         * testsuite/tr1/6_containers/unordered/erase/24061-map.cc: New.
1385         * testsuite/tr1/6_containers/unordered/erase/24061-multimap.cc: New.
1386         * testsuite/tr1/6_containers/unordered/erase/24061-multiset.cc: New.
1387         * testsuite/tr1/6_containers/unordered/erase/24061-set.cc: New.
1388         * testsuite/tr1/6_containers/unordered/insert/24061-map.cc: New.
1389         * testsuite/tr1/6_containers/unordered/insert/24061-multimap.cc: New.
1390         * testsuite/tr1/6_containers/unordered/insert/24061-multiset.cc: New.
1391         * testsuite/tr1/6_containers/unordered/insert/24061-set.cc: New.
1393 2005-10-08  Kazu Hirata  <kazu@codesourcery.com>
1395         Merge from csl-arm-branch:
1396         2004-12-15  Daniel Jacobowitz  <dan@codesourcery.com>
1397         * libstdc++-v3/config/linker-map.gnu: Add ARM EABI symbols.
1399 2005-10-07  Paolo Carlini  <pcarlini@suse.de>
1401         Fix libstdc++/24196 for ext/vstring/rc by returning to the behavior
1402         of basic_string pre-2003-06-13; remove fully-dynamic-string stuff.
1403         * include/ext/rc_string_base.h (_M_refcopy): Move inside the
1404         _Rep class and remove code in macro.
1405         (__rc_string_base()): Construct with _S_empty_rep()._M_refcopy().
1406         (_M_dispose, _M_leak_hard): Remove code in macro.
1407         (_S_construct): Return _S_empty_rep()._M_refcopy() for empty string.
1408         (_M_grab): Adjust.
1410         * include/ext/rc_string_base.h (_Rep::_M_refdata()): Minor tweak,
1411         mark throw().
1413 2005-10-07  Benjamin Kosnik  <bkoz@redhat.com>
1415         * docs/doxygen/user.cfg.in: Update to Doyxygen 1.4.4.
1417 2005-10-05  Paolo Carlini  <pcarlini@suse.de>
1419         * include/ext/sso_string_base.h (struct __sso_string_local):
1420         Remove, actually POD types cannot have user defined constructors
1421         (being aggregates) and therefore can always be members of unions.
1422         (class __sso_string_base): Adjust consistently.
1424 2005-10-05  Paolo Carlini  <pcarlini@suse.de>
1426         PR libstdc++/24198
1427         * testsuite/27_io/basic_filebuf/3.cc: Use __gnu_test::pod_ushort
1428         instead.
1429         * testsuite/27_io/basic_filebuf/seekoff/10132-2.cc: Likewise.
1430         * testsuite/27_io/basic_filebuf/seekpos/10132-3.cc: Likewise.
1431         * testsuite/27_io/basic_fstream/3.cc: Likewise; run the test.
1432         * testsuite/27_io/basic_ifstream/3.cc: Likewise; run the test.
1433         * testsuite/27_io/basic_ios/3.cc: Likewise.
1434         * testsuite/27_io/basic_iostream/3.cc: Likewise; run the test.
1435         * testsuite/27_io/basic_istream/3.cc: Likewise; run the test.
1436         * testsuite/27_io/basic_istringstream/3.cc: Likewise; run the test.
1437         * testsuite/27_io/basic_ofstream/3.cc: Likewise; run the test.
1438         * testsuite/27_io/basic_ostream/3.cc: Likewise; run the test.
1439         * testsuite/27_io/basic_ostringstream/3.cc: Likewise; run the test.
1440         * testsuite/27_io/basic_streambuf/3.cc: Likewise.
1441         * testsuite/27_io/basic_stringbuf/3.cc: Likewise.
1442         * testsuite/27_io/basic_stringstream/3.cc: Likewise; run the test.
1444 2005-10-05  Paolo Carlini  <pcarlini@suse.de>
1446         PR libstdc++/11729 (DR 280, [Ready])
1447         * include/bits/stl_iterator.h: Add reverse_iterator global
1448         functions with two template parameters (operator==, !=, <,
1449         >, <=, >=, -).
1450         * testsuite/24_iterators/reverse_iterator/11729.cc: New.
1451         * docs/html/ext/howto.html: Add an entry for issue 280.
1453 2005-10-03  Paolo Carlini  <pcarlini@suse.de>
1455         * include/tr1/hashtable
1456         (node_iterator::node_iterator(const node_iterator<,true,>&)): Fix to
1457         take a "false" (i.e., is_const == false) node_iterator.
1458         (hashtable_iterator::hashtable_iterator(const hashtable_iterator<,
1459         true,>&)): Likewise for hashtable_iterator.
1460         (hashtable::const_local_iterator): Fix typedef (is_const == true).
1461         (hashtable::const_iterator): Likewise.
1462         * testsuite/tr1/6_containers/unordered/types/map_iterator.cc: New.
1463         * testsuite/tr1/6_containers/unordered/types/multimap_iterator.cc: New.
1464         * testsuite/tr1/6_containers/unordered/types/set_iterator.cc: New.
1465         * testsuite/tr1/6_containers/unordered/types/multiset_iterator.cc: New.
1467 2005-10-02  Paolo Carlini  <pcarlini@suse.de>
1469         PR libstdc++/24054
1470         * include/tr1/hashtable (erase(const key_type&)): Return the
1471         number of elements erased.
1472         * testsuite/tr1/6_containers/unordered/hashtable/24054.cc: New.
1474 2005-10-01  Kenny Simpson  <theonetruekenny@yahoo.com>
1476         * include/tr1/tuple_iterate.h (tuple::operator=(const std::pair<>&)):
1477         Add missing return.
1479 2005-09-30  Paolo Carlini  <pcarlini@suse.de>
1481         PR libstdc++/24064
1482         * include/tr1/hashtable (hash_code_base<>::store_code): Add.
1483         (hashtable<>::insert(const value_type&)): Use it.
1484         * testsuite/tr1/6_containers/unordered/hashtable/24064.cc: New.
1486 2005-09-30  Paolo Carlini  <pcarlini@suse.de>
1488         PR libstdc++/23953
1489         * include/bits/locale_facets.tcc (__numpunct_cache<>::_M_cache,
1490         __moneypunct_cache<>::_M_cache): Check that grouping()[0] > 0.
1491         (__verify_grouping): Do the last check only if __grouping[__min] > 0.
1492         (__add_grouping<>): End recursion if *__gbeg <= 0.
1493         * testsuite/22_locale/num_get/get/char/23953.cc: New.
1494         * testsuite/22_locale/num_get/get/wchar_t/23953.cc: Likewise.
1495         * testsuite/22_locale/num_put/put/char/23953.cc: Likewise.
1496         * testsuite/22_locale/num_put/put/wchar_t/23953.cc: Likewise.
1498 2005-09-29  Chris Jefferson <chris@bubblescope.net>
1500         PR libstdc++/23978
1501         * include/tr1/tuple_iterate.h (tuple): Add operator=(std::pair).
1502         * testsuite/tr1/6_containers/tuple/creation_functions/23978.cc: New.
1503         
1504         * include/tr1/functional (ref, cref): Make inline.
1505         * include/tr1/tuple_iterate.h (tie): Correct formatting.
1506         (make_tuple): Make inline.
1508 2005-09-25  Benjamin Kosnik  <bkoz@redhat.com>
1509             Eric Botcazou  <ebotcazou@libertysurf.fr>
1511         * include/ext/mt_allocator.h
1512         (__per_type_pool<...true>::_S_initialize_once): Always call
1513         _M_initialize_once.
1514         (__common_pool<...true>::_S_initialize_once): Same.
1516 2005-09-23  Benjamin Kosnik  <bkoz@redhat.com>
1518         * testsuite/ext/mt_allocator/tune-1.cc: Clarify for single-thread.
1519         * testsuite/ext/mt_allocator/tune-2.cc: Same.
1520         * testsuite/ext/mt_allocator/tune-3.cc: Same.
1521         * testsuite/ext/mt_allocator/tune-4.cc: Same.
1523 2005-09-21  Guillaume Melquiond  <guillaume.melquiond@ens-lyon.fr>
1525         PR libstdc++/23956
1526         * include/ext/mt_allocator.h: Remove excess
1527         policy_type::_S_get_pool calls in constructors.
1528         
1529 2005-09-18  Paolo Carlini  <pcarlini@suse.de>
1531         PR libstdc++/23417 (cont)
1532         * include/bits/stl_tree.h (_Rb_tree_impl<true>): Use member
1533         initialization list for -Weffc++.
1535 2005-09-16  Janis Johnson  <janis187@us.ibm.com>
1537         * testsuite/27_io/basic_ostream/inserters_arithmetic/char/23871.cc:
1538         New.
1540 2005-09-15  Benjamin Kosnik  <bkoz@redhat.com>
1542         PR libstdc++/21674
1543         PR libstdc++/22205
1544         PR libstdc++/22222
1545         * include/bits/c++config: Set _GLIBCXX_STD regardless of __GXX_WEAK__.
1546         Add in check for __NO_INLINE__ for warning.
1547         * testsuite/lib/dg-options.exp (dg-require-debug-mode): New.
1548         * testsuite/lib/libstdc++.exp (check_v3_target_debug_mode): New.
1549         * testsuite/21_strings/basic_string/element_access/char/21674.cc:
1550         Use it.
1551         * testsuite/21_strings/basic_string/element_access/wchar_t/21674.cc:
1552         Use it.
1554 2005-09-15  Paolo Carlini  <pcarlini@suse.de>
1556         PR libstdc++/23875
1557         * include/std/std_ostream.h (operator<<(short), operator<<(unsigned
1558         short), operator<<(int), operator<<(unsigned int), operator<<(float)):
1559         Don't call operator<<(long), operator<<(unsigned long), or
1560         operator<<(double), do the work mandated by the resolution of DR117...
1561         * include/bits/ostream.tcc (operator<<(short), operator<<(unsigned
1562         short), operator<<(int), operator<<(unsigned int), operator<<(float)):
1563         ... here.
1564         * testsuite/27_io/basic_ostream/inserters_arithmetic/pod/23875.cc: New.
1566 2005-09-15  Mark Mitchell  <mark@codesourcery.com>
1568         * testsuite/testsuite_character.h: Specialize character<>
1569         templates in __gnu_cxx, not in __gnu_test.
1571 2005-09-13  Jonathan Wakely  <cow@compsoc.man.ac.uk>
1572             Benjamin Kosnik  <bkoz@redhat.com>
1574         PR libstdc++/21674
1575         * testsuite/21_strings/basic_string/element_access/char/21674.cc: New.
1576         * testsuite/21_strings/basic_string/element_access/wchar_t/21674.cc: 
1577         New.
1579 2005-09-12  David Edelsohn  <dje@gcc.gnu.org>
1581         PR libstdc++/22554
1582         PR libstdc++/23734
1583         * include/Makefile.am (stamp-assoc): Install each subgroup
1584         of headers separately.
1585         * include/Makefile.in: Regenerate.
1586         
1587 2005-09-12  Benjamin Kosnik  <bkoz@redhat.com>
1589         * testsuite/ext/mt_allocator/22309_thread.cc: Remove dg-do run.
1590         * testsuite/lib/libstdc++.exp ( proc libstdc++_init): Enable
1591         shared only for linux.
1592         
1593 2005-09-12  Benjamin Kosnik  <bkoz@redhat.com>
1594             David Edelsohn  <dje@gcc.gnu.org>
1596         PR libstdc++/22554
1597         PR libstdc++/23734
1598         * include/Makefile.am (assoc_headers): Break into five sub values.
1599         (install-headers): Use them.
1600         (stamp-assoc): Same.
1601         * include/Makefile.in: Regenerate.
1602         
1603 2005-09-12  Chris Jefferson  <chris@bubblescope.net>
1605         * include/bits/stl_algo.h (search_n): Delegate to specializations.
1606         (search_n(,,,,binary_predicate)): Likewise.
1607         (__search_n(forward_iterator_tag)): Original search_n, tweak to
1608         remove an unnecessary comparison.
1609         (__search_n(,,,,binary_predicate,forward_iterator_tag)): Likewise.
1611 2005-09-12  Jim Xochellis  <jimxoch@yahoo.gr>
1613         * include/bits/stl_algo.h
1614         (__search_n(std::random_access_iterator_tag)): Add specialization.
1615         (__search_n(,,,,binary_predicate,std::random_access_iterator_tag)):
1616         Likewise.
1618 2005-09-12  Benjamin Kosnik  <bkoz@redhat.com>
1620         PR libstdc++/23417
1621         * include/bits/stl_list.h (_List_impl): Use member initialization
1622         list for -Weffc++.
1623         * include/bits/stl_tree.h (_Rb_tree_impl): Same.
1625 2005-09-12  Paolo Carlini  <pcarlini@suse.de>
1627         PR libstdc++/23767
1628         * include/bits/stl_iterator.h (__normal_iterator::
1629         __normal_iterator<>(const __normal_iterator<_Iter, _Container>&)):
1630         Enable only when _Iter is equal to _Container::pointer.
1631         * testsuite/21_strings/basic_string/types/23767.cc: New.
1632         * testsuite/23_containers/vector/types/23767.cc: Likewise.
1633         * testsuite/ext/vstring/types/23767.cc: Likewise.
1635 2005-09-11  Benjamin Kosnik  <bkoz@redhat.com>
1637         PR libstdc++/19265
1638         PR libstdc++/22309
1639         * include/ext/mt_allocator.h
1640         (__gnu_cxx::__create_handler): Remove.
1641         (__pool<true>::_M_destroy_thread_key): Compatibility only.
1642         (__pool<true>::_M_initialize(__destroy): Same.
1643         (__pool<true>::_M_initialize): New.
1644         (__pool<true>::_M_initialize_once): Nothing fancy.
1645         (__pool<true>::_M_once): Remove.
1646         (__common_pool): New.
1647         (__common_pool_base): New.      
1648         (__per_type_pool): New.
1649         (__per_type_pool_base): New.
1650         * src/mt_allocator.cc: Same.
1651         * config/linker-map.gnu (__pool<true>::_M_initialize()): Add.
1652         
1653 2005-09-11  Jakub Jelinek  <jakub@redhat.com>
1655         PR libstdc++/19265
1656         PR libstdc++/22309
1657         * src/mt_allocator.cc (__gnu_internal::freelist_mutex): Make static.
1658         (__gnu_internal::__freelist): New type.
1659         (__gnu_internal::freelist): New variable.
1660         (__gnu_internal::_M_destroy_thread_key): New function.
1661         (__gnu_cxx::__pool<true>::_M_destroy): Don't delete
1662         _M_thread_freelist_initial.
1663         (__gnu_cxx::__pool<true>::_M_initialize): Make argument nameless.
1664         Don't use _M_thread_freelist and _M_thread_freelist_initial
1665         __pool<true> fields, instead use __gnu_internal::freelist fields, call
1666         gthread_key_create just once.  Use
1667         __gnu_internal::_M_destroy_thread_key as key destructor.        
1668         (__gnu_cxx::__pool<true>::_M_get_thread_id): Store size_t id
1669         rather than _Thread_record* in the thread specific value.  Don't
1670         use _M_thread_freelist __pool<true> field, instead use
1671         __gnu_internal::freelist fields.
1672         (__gnu_cxx::__pool<true>::_M_destroy_thread_key): Do nothing.
1674 2005-09-11  Benjamin Kosnik  <bkoz@redhat.com>
1675             Jakub Jelinek  <jakub@redhat.com>
1677         PR libstdc++/19265
1678         PR libstdc++/22309      
1679         * testsuite/testsuite_shared.cc: New.
1680         * testsuite/lib/dg-options.exp (dg-require-sharedlib): New.
1681         * testsuite/lib/libstdc++.exp (libstdc++_init): Look for shared
1682         library, and set v3-sharedlib based on this.
1683         (check_v3_target_sharedlib): New.
1684         (proc v3-build_support): Build shared objects.
1685         * testsuite/ext/mt_allocator/22309_thread.cc: New, use above.
1687 2005-09-11  Paolo Carlini  <pcarlini@suse.de>
1689         PR libstdc++/23781
1690         * include/bits/stl_list.h (_List_iterator<>::
1691         _List_iterator(_List_node_base*), _List_const_iterator<>::
1692         _List_const_iterator(const _List_node_base*)): Make explicit.
1693         (list<>::begin(), list<>::end(), list<>::pop_back()): Adjust
1694         consistently.
1695         * include/bits/list.tcc (list<>::insert, list<>::erase): Adjust
1696         consistently.
1697         * include/bits/stl_tree.h (_Rb_tree_iterator<>::
1698         _Rb_tree_iterator(_Link_type), _Rb_tree_const_iterator<>::
1699         _Rb_tree_const_iterator(_Link_type)): Make explicit.
1700         (_Rb_tree<>::begin(), _Rb_tree<>::end()): Adjust consistently.
1701         * include/ext/slist (_Slist_iterator<>::_Slist_iterator(_Node*)):
1702         Make explicit.
1703         (slist<>::erase(iterator), slist<>::erase(iterator, iterator)):
1704         Adjust consistently.
1705         * include/tr1/hashtable (hashtable_iterator<>::
1706         hashtable_iterator(hash_node<>**)): Make explicit.
1707         * testsuite/23_containers/list/23781.cc: New.
1708         * testsuite/23_containers/map/23781.cc: Likewise.
1709         * testsuite/23_containers/multimap/23781.cc: Likewise.
1710         * testsuite/23_containers/multiset/23781.cc: Likewise.
1711         * testsuite/23_containers/set/23781.cc: Likewise.
1712         * testsuite/ext/slist/23781.cc: Likewise.
1713         * testsuite/tr1/6_containers/unordered/23781.cc: Likewise.
1714         * testsuite/23_containers/map/operators/1_neg.cc: Adjust dg-error
1715         line numbers.
1716         * testsuite/23_containers/set/operators/1_neg.cc: Likewise.
1718         * include/tr1/array (array<>::begin(), array<>::end()): Adjust
1719         stylistically for consistency with the other containers.
1721 2005-09-10  Joseph S. Myers  <joseph@codesourcery.com>
1723         * testsuite/26_numerics/cmath/c99_classification_macros_c.cc:
1724         XFAIL on *-*-linux*, not *-*-linux-gnu.
1726 2005-09-09  Benjamin Kosnik  <bkoz@redhat.com>
1727             Jakub Jelinek  <jakub@redhat.com>
1729         * src/debug.cc (iterator_base_mutex): Make static for internal
1730         linkage.
1731         * src/locale_init.cc (locale_mutex): Same.
1732         * src/mt_allocator.cc (freelist_mutex): Same.
1733         * src/pool_allocator.cc (palloc_init_mutex): Same.
1734         
1735 2005-09-02  Paolo Carlini  <pcarlini@suse.de>
1737         * testsuite/tr1/6_containers/unordered/hashtable/23465.cc:
1738         Reduce maximum size and lf.
1740 2005-09-01  Benjamin Kosnik  <bkoz@redhat.com>
1742         * include/c_std/std_cmath.h: Declare C99 functions and helper
1743         functions as inline.
1745 2005-09-01  Benjamin Kosnik  <bkoz@redhat.com>
1746             Paolo Carlini  <pcarlini@suse.de>
1747         
1748         * testsuite/lib/libstdc++.exp (check_v3_target_cxa_atexit): Fix
1749         comment.
1751 2005-09-01  Benjamin Kosnik  <bkoz@redhat.com>
1753         * testsuite/lib/libstdc++.exp (check_v3_target_cxa_atexit): New.
1754         * testsuite/lib/dg-options.exp (dg-require-cxa-atexit): New.
1755         * testsuite/ext/mt_allocator/deallocate_local-6.cc: New.
1756         * testsuite/ext/mt_allocator/deallocate_local-8.cc: New.
1757         * testsuite/ext/mt_allocator/deallocate_local_thread-5.cc: New.
1758         * testsuite/ext/mt_allocator/deallocate_local_thread-7.cc: New.
1759         * docs/html/ext/mt_allocator.html: Add link to examples.
1760         * testsuite/testsuite_allocator.h: Tweak.
1761         * testsuite/ext/mt_allocator/deallocate_global-2.cc: Same.
1762         * testsuite/ext/mt_allocator/deallocate_global-4.cc: Same.
1763         * testsuite/ext/mt_allocator/deallocate_global_thread-1.cc: Same.
1764         * testsuite/ext/mt_allocator/deallocate_global_thread-3.cc: Same.
1765         * testsuite/ext/mt_allocator/deallocate_local-2.cc: Same.
1766         * testsuite/ext/mt_allocator/deallocate_local-4.cc: Same.
1767         * testsuite/ext/mt_allocator/deallocate_local_thread-1.cc: Same.
1768         * testsuite/ext/mt_allocator/deallocate_local_thread-3.cc: Same.
1769         * testsuite/ext/new_allocator/deallocate_global.cc: Same.
1770         * testsuite/ext/new_allocator/deallocate_local.cc: Same.
1772 2005-08-31  Paolo Carlini  <pcarlini@suse.de>
1773             Kaspar Fischer <fischerk@inf.ethz.ch> 
1775         PR libstdc++/23632
1776         * include/bits/stl_bvector.h (_Bit_iterator::operator[],
1777         _Bit_const_iterator::operator[]): Const-ify.
1778         * testsuite/23_containers/vector/bool/23632.cc: New.
1780 2005-08-30  Paolo Carlini  <pcarlini@suse.de>
1782         PR libstdc++/23578 (cont)
1783         * include/bits/stl_bvector.h (class vector<bool>): Add
1784         a dummy data() to avoid problems in debug-mode.
1786 2005-08-30  Paolo Carlini  <pcarlini@suse.de>
1788         * testsuite/ext/hash_map/23528.cc: New.
1790 2005-08-29  Paolo Carlini  <pcarlini@suse.de>
1792         * include/bits/stl_map.h (class map): ... and a missing @a.
1794 2005-08-29  Paolo Carlini  <pcarlini@suse.de>
1796         * include/bits/stl_map.h (class map): Add missing % in comment.
1798 2005-08-29  Paolo Carlini  <pcarlini@suse.de>
1800         PR libstdc++/23578 (DR 464 [Ready])
1801         * include/bits/stl_map.h (class map): Add at(const key_type&)
1802         member functions.
1803         * include/bits/stl_vector.h (class vector): Add data() member
1804         functions.
1805         * include/debug/map.h (class map): Adjust consistently.
1806         * include/debug/vector (class vector): Likewise.
1807         * testsuite/23_containers/map/element_access/1.cc: New.
1808         * testsuite/23_containers/vector/data_access/1.cc: Likewise.
1809         * docs/html/ext/howto.html: Add an entry for DR 464.
1811 2005-08-26  Benjamin Kosnik  <bkoz@redhat.com>
1813         PR libstdc++/20534 (contd)
1814         * src/debug.cc (__gnu_debug): Remove __fancy_abort definition.
1815         Remove cstdio and cstdlib includes.
1816         * include/debug/debug.h: Define inline here. Remove
1817         _GLIBCXX_DEBUG_ABORT.
1818         * include/debug/macros.h: Remove __fancy_abort declaration,
1819         _GLIBXX_DEBUG_ABORT definition.
1820         * config/linker-map.gnu: Remove export.
1821         
1822 2005-08-26  Benjamin Kosnik  <bkoz@redhat.com>
1824         * scripts/check_compile (UNIQUE_ID): New. Use to name output files.
1826 2005-08-26  Paolo Carlini  <pcarlini@suse.de>
1828         PR libstdc++/23081
1829         * include/tr1/array: Implement members back(), front(), data(),
1830         and the tuple interface; tidy.
1831         * testsuite/tr1/6_containers/array/element_access/back.cc: New.
1832         * testsuite/tr1/6_containers/array/element_access/data.cc: Likewise.
1833         * testsuite/tr1/6_containers/array/element_access/front.cc: Likewise.
1834         * testsuite/tr1/6_containers/array/tuple_interface/get.cc: Likewise.
1835         * testsuite/tr1/6_containers/array/tuple_interface/tuple_element.cc:
1836         Likewise.
1837         * testsuite/tr1/6_containers/array/tuple_interface/tuple_size.cc:
1838         Likewise.
1840 2005-08-25  Paolo Carlini  <pcarlini@suse.de>
1842         * include/tr1/hashtable: Use __throw_exception_again,
1843         not naked throw, in the catch clauses.
1845 2005-08-24  Lawrence Lim  <llim@redhat.com>
1846             Jakub Jelinek  <jakub@redhat.com>
1847             Benjamin Kosnik  <bkoz@redhat.com>
1849         PR libstdc++/23550
1850         * testsuite/21_strings/char_traits/requirements/char/1.cc
1851         (test01): Simplify counting.
1852         * testsuite/21_strings/char_traits/requirements/wchar_t/1.cc
1853         (test02): Same.
1855 2005-08-24  Paolo Carlini  <pcarlini@suse.de>
1856             Chris Jefferson  <chris@bubblescope.net>
1858         PR libstdc++/23465
1859         * include/tr1/hashtable (hash_code_base::m_swap): Use
1860         std::swap.
1861         (hashtable<>::hashtable(const hashtable&)): Use copy_code;
1862         fix m_allocate_node call.
1863         * testsuite/tr1/6_containers/unordered/hashtable/23465.cc: New.
1865 2005-08-23  Kelley Cook  <kcook@gcc.gnu.org>
1867         PR libstdc++/23462
1868         * testsuite/data/sgetn.txt: Revert to previous FSF address.
1870 2005-08-23  Thomas Kho  <tkho@ucla.edu>
1872         PR libstdc++/23358
1873         * include/bits/stl_construct.h (_Destroy(_ForwardIterator,
1874         _ForwardIterator, allocator<_Tp>)): Removed unused template parameter.
1876 2005-08-22  Geoffrey Keating  <geoffk@apple.com>
1878         * testsuite/23_containers/vector/resize/1.cc: XFAIL on darwin8.
1879         * testsuite/27_io/ios_base/storage/2.cc: Likewise.
1881 2005-08-19  J"orn Rennecke <joern.rennecke@st.com>
1883         * config/cpu/sh/atomicity.h: Replace broken generic code with current
1884         copy of generic/atomicity.h .
1886 2005-08-17  Kelley Cook  <kcook@gcc.gnu.org>
1888         * All files: Update FSF address.
1890 2005-08-09  Andrew Pinski  <pinskia@physics.uc.edu>
1892         * testsuite/26_numerics/cmath/c99_classification_macros_c.cc:
1893         xfail on *-*-darwin*.
1895 2005-08-03  Geoffrey Keating  <geoffk@apple.com>
1897         * configure.ac: Don't use GCC_NO_EXECUTABLES or clear
1898         GLIBCXX_IS_NATIVE on Darwin crosses.
1899         * acinclude.m4 (GLIBCXX_CONFIGURE_TESTSUITE): Don't skip configuring
1900         the testsuite just because there's no symbol versioning.
1901         * configure: Regenerate.
1903         * acinclude.m4 (GLIBCXX_CHECK_SETRLIMIT_ancilliary): Print
1904         status messages.
1905         (GLIBCXX_CHECK_S_ISREG_OR_S_IFREG): Likewise.
1906         (GLIBCXX_CHECK_POLL): Likewise.
1907         (GLIBCXX_CHECK_WRITEV): Likewise.
1908         (GLIBCXX_CHECK_INT64_T): Likewise.
1909         (GLIBCXX_CHECK_LFS): Likewise.
1910         * configure: Regenerate.
1912 2005-07-30  Andrew Pinski  <pinskia@physics.uc.edu>
1914         * scripts/make_exports.pl: Pass --strip-underscores to c++filt.
1916 2005-07-29  H.J. Lu  <hongjiu.lu@intel.com>
1918         PR libstdc++/22284
1919         * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Revert
1920         the change to info.ttype_base.
1921         
1922 2005-07-28  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
1924         * include/std/std_valarray.h: Fix grammar in comments.
1926 2005-07-25  Geoffrey Keating  <geoffk@apple.com>
1928         * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Handle darwin-export,
1929         and make it the default for Darwin.
1930         * scripts/make-exports.pl: New.
1931         * src/Makefile.am: Update for changes to GLIBCXX_ENABLE_SYMVERS.
1932         Handle darwin-export.
1933         * configure: Regenerate.
1934         * include/Makefile.in: Regenerate.
1935         * libmath/Makefile.in: Regenerate.
1936         * libsupc++/Makefile.in: Regenerate.
1937         * po/Makefile.in: Regenerate.
1938         * src/Makefile.in: Regenerate.
1939         * testsuite/Makefile.in: Regenerate.
1941 2005-07-25  Dave Odell  <evilalias@hotmail.com>
1943         PR libstdc++/23053
1944         * include/tr1/hashtable (hashtable<>::find_node): Const-ify.
1945         * testsuite/tr1/6_containers/unordered/hashtable/23053.cc: New.
1947 2005-07-25  Paolo Carlini  <pcarlini@suse.de>
1949         PR libstdc++/22515
1950         * include/bits/basic_string.h: Declare the specialization
1951         operator>>(basic_istream<char>&, basic_string<char>&).
1952         * include/std/std_istream.h: Declate the specialization
1953         operator>>(basic_istream<char>&, char*).
1954         * include/std/std_streambuf.h (basic_streambuf): Add friend
1955         declarations for the above.
1956         * src/istream.cc: Define the above.
1957         * testsuite/27_io/basic_istream/extractors_character/char/4.cc: New.
1958         * testsuite/27_io/basic_istream/extractors_character/wchar_t/4.cc:
1959         Likewise.
1960         * testsuite/performance/27_io/ifstream_extract_chars.cc: Likewise.
1962 2005-07-20  Paolo Carlini  <pcarlini@suse.de>
1964         * include/bits/streambuf.tcc (xsgetn, xsputn): Use streamsize
1965         instead of size_t.
1966         * src/streambuf.cc (__copy_streambufs): Likewise.
1968 2005-07-18  Paolo Carlini  <pcarlini@suse.de>
1970         * config/locale/gnu/ctype_members.cc (do_is(mask, wchar_t)):
1971         Speed-up for the common case of mask == ctype_base::space;
1972         otherwise, exit the loop earlier if the mask is one of the
1973         elementary ones.
1975 2005-07-14  Paolo Carlini  <pcarlini@suse.de>
1977         PR libstdc++/21193 (float, double, long double)
1978         * include/tr1/functional (hash<float>, hash<double>):
1979         Reimplement exploiting the Fnv_hash<>::hash helper.
1980         (hash<long double>): Reimplement using frexp (in this
1981         case, due to random padding bits, the former approach
1982         is not generally viable).
1984 2005-07-13  Paolo Carlini  <pcarlini@suse.de>
1986         PR libstdc++/21193 (string & wstring)
1987         * include/tr1/functional (hash<string>, hash<wstring>):
1988         Reimplement using the FNV hash.
1990         * include/tr1/functional: Trivial formatting fixes.
1992 2005-07-11  Paolo Carlini  <pcarlini@suse.de>
1994         * include/bits/ostream.tcc (basic_ostream<>::operator<<(long),
1995         basic_ostream<>::operator<<(long long)): Don't deal with oct
1996         and hex and casts to unsigned here...
1997         * include/bits/locale_facets.tcc (__int_to_char(_CharT*, long,
1998         const _CharT*, ios_base::fmtflags), __int_to_char(_CharT*, long
1999         long, const _CharT*, ios_base::fmtflags)): ... do that here,
2000         instead, as per Table 57.
2001         (num_put<>::_M_insert_int): Tidy treatment of numeric base and
2002         sign.
2003         * include/std/std_ostream.h (operator<<(short), operator<<(int)):
2004         Adjust logic, as per the letter of the resolution of DR117 [WP].
2005         * testsuite/22_locale/num_put/put/char/10.cc: New.
2006         * testsuite/22_locale/num_put/put/wchar_t/10.cc: Likewise.
2007         * testsuite/27_io/basic_ostream/inserters_arithmetic/char/7.cc:
2008         Likewise.
2009         * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/7.cc:
2010         Likewise.
2012 2005-07-07  David Edelsohn  <edelsohn@gnu.org>
2014         * testsuite/ext/pb_assoc/example/tree_order_statistics_join.cc:
2015         Change map_t to map_type.
2017 2005-07-05  Paolo Carlini  <pcarlini@suse.de>
2019         Add class __versa_string, a versatile "basic_string-type" class:
2020         an additional, non-standard, template parameter allows to specify
2021         the preferred base class. Two are provided: __rc_string_base,
2022         which implements a behavior very similar to our standard string,
2023         and __sso_string_base, not reference-counted and optimized for
2024         short strings. 
2025         * include/ext/rc_string_base.h: New.
2026         * include/ext/sso_string_base.h: Likewise.
2027         * include/ext/vstring.h: Likewise.
2028         * include/ext/vstring.tcc: Likewise.
2029         * include/ext/vstring_fwd.h: Likewise.
2030         * include/ext/vstring_util.h: Likewise.
2031         * include/Makefile.am: Add.
2032         * include/Makefile.in: Regenerate.
2033         * testsuite/ext/vstring/explicit_instantiation/1.cc: New.
2034         * testsuite/ext/vstring/explicit_instantiation/2.cc: Likewise.
2035         * testsuite/ext/vstring/explicit_instantiation/char/1.cc: Likewise.
2036         * testsuite/ext/vstring/explicit_instantiation/wchar_t/1.cc: Likewise.
2038         * Makefile.in: Regenerate with autotools 1.9.3 (to date, the version
2039         officially used by v3).
2040         * aclocal.m4: Likewise.
2041         * libmath/Makefile.in: Likewise.
2042         * libsupc++/Makefile.in: Likewise.
2043         * po/Makefile.in: Likewise.
2044         * src/Makefile.in: Likewise.
2045         * testsuite/Makefile.in: Likewise.
2047 2005-07-01  Paolo Carlini  <pcarlini@suse.de>
2049         Port from libstdcxx_so_7-branch:
2050         2004-10-28  Chris Jefferson  <chris@bubblescope.net>
2052         PR libstdc++/17441
2053         * include/bit/stl_algo.h (find(,,,input_iterator_tag),
2054         find(,,,random_access_interator_tag),
2055         find_if(,,,input_iterator_tag),
2056         find_if(,,,random_access_iterator_tag)): Uglify function name.
2057         (find, find_if): Use new uglified specialisation names.
2058         * testsuite/25_algorithms/find/17441.cc: New.
2060 2005-06-30  Ulrich Weigand  <uweigand@de.ibm.com>
2062         * include/ext/pb_assoc/detail/hash_fn/mask_based_range_hashing.hpp
2063         (PB_ASSOC_CLASS_C_DEC::s_highest_bit_1): Cast constant 1 to target
2064         type before shifting.
2066 2005-06-29  Paolo Carlini  <pcarlini@suse.de>
2067             
2068         PR libstdc++/21244 (cont^2)
2069         * include/ext/bitmap_allocator.h: Convert everywhere
2070         bits_per_block to size_t.       
2072 2005-06-29  Jonathan Wakely  <redi@gcc.gnu.org>
2074         * include/bits/basic_string.h, include/bits/locale_facets.h: Fix
2075         Doxygen comments that use wrong parameter and function names.
2077 2005-06-29  Paolo Carlini  <pcarlini@suse.de>
2079         * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 37.
2080         * docs/html/ext/howto.html: Adjust.
2082 2005-06-29  Paolo Carlini  <pcarlini@suse.de>
2084         PR libstdc++/22131
2085         * include/bits/locale_facets.tcc (num_get<>::_M_extract_int,
2086         num_get<>::_M_extract_float, money_get<>::_M_extract):
2087         Adjust to assign the result also when digit grouping is
2088         wrong (but the grammar is correct), as per 22.2.2.1.2, p11-12
2089         (NB: consistently for money_get too).
2090         * config/locale/generic/c_locale.cc (__convert_to_v): Do
2091         not check ios_base::failbit at the outset.
2092         * config/locale/gnu/c_locale.cc: Likewise.
2093         * testsuite/22_locale/money_get/get/char/22131.cc: New.
2094         * testsuite/22_locale/money_get/get/wchar_t/22131.cc: Likewise.
2095         * testsuite/22_locale/num_get/get/char/22131.cc: Likewise.
2096         * testsuite/22_locale/num_get/get/wchar_t/22131.cc: Likewise.
2097         * testsuite/22_locale/num_get/get/char/12.cc: Adjust.
2098         * testsuite/22_locale/num_get/get/wchar_t/12.cc: Likewise.
2099         * testsuite/27_io/basic_istream/extractors_arithmetic/char/07.cc:
2100         Likewise.
2101         * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/07.cc:
2102         Likewise.
2104 2005-06-28  Paul Brook  <paul@codesourcery.com>
2106         * acinclude.m4 (GLIBCXX_ENABLE_SJLJ_EXCEPTIONS): Check for
2107         __cxa_end_cleanup.
2108         * libsupc++/Makefile.am (sources): Add eh_call.c and eh_arm.c.
2109         * libsupc++/eh_arm.cc: New file.
2110         * libsupc++/eh_call.cc: New file.
2111         * libsupc++/eh_catch.cc (__cxa_get_exception_ptr): Use
2112         __gxx_caught_object.
2113         (__cxa_begin_catch): Ditto. Use __is_gxx_exception_class. Call
2114         _Unwind_Complete when using the ARM EABI.
2115         (__cxa_end_catch): Use __is_gxx_exception_class.
2116         * libsupc++/eh_personality.cc: Define NO_SIZE_OF_ENCODED_VALUE when
2117         using the ARM EABI.
2118         (save_caught_exception, restore_caught_exception): New functions.
2119         (_throw_typet): New typedef.
2120         (get_ttype_entry, get_adjusted_ptr, check_exception_spec): Add ARM
2121         EABI implementations.
2122         (PERSONALITY_FUNCTION): Use new functions.  Addd support for ARM EABI
2123         unwinding libary.
2124         (__cxa_unexpected): Disable when using the ARM EABI.
2125         * libsupc++/eh_throw.cc (__cxa_throw): Use __GXX_INIT_EXCEPTION_CLASS.
2126         (__cxa_rethrow): Use __is_gxx_exception_class.  Call
2127         _Unwind_RaiseException when using the ARM EABI.
2128         * libsupc++/unwind-cxx.h (struct __cxa_exception): Add fields for ARM
2129         EABI semantics.
2130         (struct __cxa_eh_globals): Ditto.
2131         (__cxa_call_terminate): Add prototype.
2132         (__cxa_type_match, __cxa_begin_cleanup, __cxa_end_cleanup): Add
2133         prototypes.
2134         (__get_exception_header_from_obj, __get_exception_header_from_ue):
2135         Move earlier in file.
2136         (__is_gxx_exception_class, __GXX_INIT_EXCEPTION_CLASS,
2137         __gxx_caught_object): New functions.
2138         * aclocal.m4: Regenerate.
2139         * configure: Regenerate.
2140         * Makefile.in: Regenerate.
2141         * include/Makefile.in: Regenerate.
2142         * libmath/Makefile.in: Regenerate.
2143         * libsupc++/Makefile.in: Regenerate.
2144         * po/Makefile.in: Regenerate.
2145         * src/Makefie.in: Regenerate.
2146         * testsuite/makefile.in: Regenerate.
2148 2005-06-27  Paolo Carlini  <pcarlini@suse.de>
2150         PR libstdc++/22102
2151         * include/bits/stl_tree.h (insert_unique(iterator, const _Val&),
2152         insert_equal((iterator, const _Val&)): Reimplement to check both
2153         before and after, as per the algorithm "ignore hint if wrong" of
2154         ISO paper N1780.
2156 2005-06-27  Benjamin Kosnik  <bkoz@redhat.com>
2157             Ami Tavory  <pbassoc@gmail.com>
2158         
2159         * docs/html/documentation.html: Add link for policy based
2160         associative containers docs.
2161         * docs/html/ext/pb_assoc/Std_hash_set_impl.jpg: New.
2162         * docs/html/ext/pb_assoc/acks.html: New.
2163         * docs/html/ext/pb_assoc/balls_and_bins.jpg: New.
2164         * docs/html/ext/pb_assoc/basic_assoc_cntnr.html: New.
2165         * docs/html/ext/pb_assoc/basic_assoc_cntnr_compound_data.html: New.
2166         * docs/html/ext/pb_assoc/basic_assoc_cntnr_no_data.html: New.
2167         * docs/html/ext/pb_assoc/basic_ds_tag.html: New.
2168         * docs/html/ext/pb_assoc/basic_hash_assoc_cntnr.html: New.
2169         * docs/html/ext/pb_assoc/basic_hash_ds_tag.html: New.
2170         * docs/html/ext/pb_assoc/basic_invalidation_guarantee.html: New.
2171         * docs/html/ext/pb_assoc/basic_ms_tag.html: New.
2172         * docs/html/ext/pb_assoc/basic_tree_assoc_cntnr.html: New.
2173         * docs/html/ext/pb_assoc/
2174           basic_tree_assoc_cntnr_const_node_iterator.html: New.
2175         * docs/html/ext/pb_assoc/
2176           basic_tree_assoc_cntnr_node_iterator.html: New.
2177         * docs/html/ext/pb_assoc/basic_tree_assoc_cntnr_rev.html: New.
2178         * docs/html/ext/pb_assoc/basic_tree_assoc_cntnr_rev_it.html: New.
2179         * docs/html/ext/pb_assoc/basic_tree_ds_tag.html: New.
2180         * docs/html/ext/pb_assoc/cc_hash_assoc_cntnr.html: New.
2181         * docs/html/ext/pb_assoc/cc_hash_ds_tag.html: New.
2182         * docs/html/ext/pb_assoc/
2183           cc_hash_max_collision_check_resize_trigger.html: New.
2184         * docs/html/ext/pb_assoc/cc_hash_policy_cd.jpg: New.
2185         * docs/html/ext/pb_assoc/cd.jpg: New.
2186         * docs/html/ext/pb_assoc/component_requirements.html: New.
2187         * docs/html/ext/pb_assoc/compound_data_enabled_ms_tag.html: New.
2188         * docs/html/ext/pb_assoc/compound_data_type.html: New.
2189         * docs/html/ext/pb_assoc/compound_ds_tag.html: New.
2190         * docs/html/ext/pb_assoc/concepts.html: New.
2191         * docs/html/ext/pb_assoc/contact.html: New.
2192         * docs/html/ext/pb_assoc/counter_update_metadata.html: New.
2193         * docs/html/ext/pb_assoc/counter_update_policy.html: New.
2194         * docs/html/ext/pb_assoc/data_enabled_ms_tag.html: New.
2195         * docs/html/ext/pb_assoc/design.html: New.
2196         * docs/html/ext/pb_assoc/different_underlying_dss.jpg: New.
2197         * docs/html/ext/pb_assoc/direct_mask_range_hashing.html: New.
2198         * docs/html/ext/pb_assoc/direct_mod_range_hashing.html: New.
2199         * docs/html/ext/pb_assoc/disclaimer.html: New.
2200         * docs/html/ext/pb_assoc/ds_gen.html: New.
2201         * docs/html/ext/pb_assoc/ds_tag_cd.jpg: New.
2202         * docs/html/ext/pb_assoc/ds_traits.html: New.
2203         * docs/html/ext/pb_assoc/embedded_lists_1.jpg: New.
2204         * docs/html/ext/pb_assoc/embedded_lists_2.jpg: New.
2205         * docs/html/ext/pb_assoc/examples.html: New.
2206         * docs/html/ext/pb_assoc/exception_guarantees_specifics.html: New.
2207         * docs/html/ext/pb_assoc/find_invalidation_guarantee.html: New.
2208         * docs/html/ext/pb_assoc/find_iterators_cd.jpg: New.
2209         * docs/html/ext/pb_assoc/find_iterators_range_ops_1.jpg: New.
2210         * docs/html/ext/pb_assoc/find_iterators_range_ops_2.jpg: New.
2211         * docs/html/ext/pb_assoc/generics.html: New.
2212         * docs/html/ext/pb_assoc/gp_hash_assoc_cntnr.html: New.
2213         * docs/html/ext/pb_assoc/gp_hash_ds_tag.html: New.
2214         * docs/html/ext/pb_assoc/gp_hash_policy_cd.jpg: New.
2215         * docs/html/ext/pb_assoc/hash_and_probe_general.html: New.
2216         * docs/html/ext/pb_assoc/hash_based_containers.html: New.
2217         * docs/html/ext/pb_assoc/hash_cd.jpg: New.
2218         * docs/html/ext/pb_assoc/hash_exponential_size_policy.html: New.
2219         * docs/html/ext/pb_assoc/hash_fn.html: New.
2220         * docs/html/ext/pb_assoc/hash_load_check_resize_trigger.html: New.
2221         * docs/html/ext/pb_assoc/hash_policies.html: New.
2222         * docs/html/ext/pb_assoc/hash_policy_cd.jpg: New.
2223         * docs/html/ext/pb_assoc/hash_prime_size_policy.html: New.
2224         * docs/html/ext/pb_assoc/hash_range_hashing_seq_diagram.jpg: New.
2225         * docs/html/ext/pb_assoc/hash_range_hashing_seq_diagram2.jpg: New.
2226         * docs/html/ext/pb_assoc/hash_ranged_hash_range_hashing_fns.jpg: New.
2227         * docs/html/ext/pb_assoc/hash_standard_resize_policy.html: New.
2228         * docs/html/ext/pb_assoc/home.html: New.
2229         * docs/html/ext/pb_assoc/index.html: New.
2230         * docs/html/ext/pb_assoc/insert_resize_sequence_diagram1.jpg: New.
2231         * docs/html/ext/pb_assoc/insert_resize_sequence_diagram2.jpg: New.
2232         * docs/html/ext/pb_assoc/insert_resize_sequence_diagram3.jpg: New.
2233         * docs/html/ext/pb_assoc/insert_type_methods.html: New.
2234         * docs/html/ext/pb_assoc/interface.html: New.
2235         * docs/html/ext/pb_assoc/interval_node_invariants.jpg: New.
2236         * docs/html/ext/pb_assoc/introduction.html: New.
2237         * docs/html/ext/pb_assoc/invalidation_guarantee_cd.jpg: New.
2238         * docs/html/ext/pb_assoc/invalidation_guarantee_erase.jpg: New.
2239         * docs/html/ext/pb_assoc/lib_download.html: New.
2240         * docs/html/ext/pb_assoc/linear_probe_fn.html: New.
2241         * docs/html/ext/pb_assoc/list_updates.html: New.
2242         * docs/html/ext/pb_assoc/lu_assoc_cntnr.html: New.
2243         * docs/html/ext/pb_assoc/lu_based_containers.html: New.
2244         * docs/html/ext/pb_assoc/lu_cd.jpg: New.
2245         * docs/html/ext/pb_assoc/lu_ds_tag.html: New.
2246         * docs/html/ext/pb_assoc/lu_ops.jpg: New.
2247         * docs/html/ext/pb_assoc/mmap_value_utils.html: New.
2248         * docs/html/ext/pb_assoc/motivation.html: New.
2249         * docs/html/ext/pb_assoc/move_to_front_update_metadata.html: New.
2250         * docs/html/ext/pb_assoc/move_to_front_update_policy.html: New.
2251         * docs/html/ext/pb_assoc/ms_cd.jpg: New.
2252         * docs/html/ext/pb_assoc/ms_gen.html: New.
2253         * docs/html/ext/pb_assoc/ms_tag_cd.jpg: New.
2254         * docs/html/ext/pb_assoc/ms_traits.html: New.
2255         * docs/html/ext/pb_assoc/node_invariant_invalidations.jpg: New.
2256         * docs/html/ext/pb_assoc/node_invariants.html: New.
2257         * docs/html/ext/pb_assoc/node_invariants.jpg: New.
2258         * docs/html/ext/pb_assoc/non_unique_mapping.html: New.
2259         * docs/html/ext/pb_assoc/non_unique_mapping_containers.jpg: New.
2260         * docs/html/ext/pb_assoc/null_data_type.html: New.
2261         * docs/html/ext/pb_assoc/null_hash_fn.html: New.
2262         * docs/html/ext/pb_assoc/null_probe_fn.html: New.
2263         * docs/html/ext/pb_assoc/order_by_key.html: New.
2264         * docs/html/ext/pb_assoc/order_statistics_key.html: New.
2265         * docs/html/ext/pb_assoc/order_statistics_key_cmp.html: New.
2266         * docs/html/ext/pb_assoc/order_statistics_node_updator.html: New.
2267         * docs/html/ext/pb_assoc/ov_tree_ds_tag.html: New.
2268         * docs/html/ext/pb_assoc/overview.html: New.
2269         * docs/html/ext/pb_assoc/pb_assoc_ex.html: New.
2270         * docs/html/ext/pb_assoc/portability.html: New.
2271         * docs/html/ext/pb_assoc/quadratic_probe_fn.html: New.
2272         * docs/html/ext/pb_assoc/range_invalidation_guarantee.html: New.
2273         * docs/html/ext/pb_assoc/rank_node_invariants.jpg: New.
2274         * docs/html/ext/pb_assoc/rationale_null_node_updator.jpg: New.
2275         * docs/html/ext/pb_assoc/rb_tree_ds_tag.html: New.
2276         * docs/html/ext/pb_assoc/reference_iterator.jpg: New.
2277         * docs/html/ext/pb_assoc/references.html: New.
2278         * docs/html/ext/pb_assoc/regression_tests.html: New.
2279         * docs/html/ext/pb_assoc/resize_general.html: New.
2280         * docs/html/ext/pb_assoc/resize_policies.html: New.
2281         * docs/html/ext/pb_assoc/resize_policy_cd.jpg: New.
2282         * docs/html/ext/pb_assoc/restoring_node_invariants.jpg: New.
2283         * docs/html/ext/pb_assoc/sample_node_updator.hpp: New.
2284         * docs/html/ext/pb_assoc/sample_probe_fn.hpp: New.
2285         * docs/html/ext/pb_assoc/sample_probe_fn.html: New.
2286         * docs/html/ext/pb_assoc/sample_range_hashing.hpp: New.
2287         * docs/html/ext/pb_assoc/sample_range_hashing.html: New.
2288         * docs/html/ext/pb_assoc/sample_ranged_hash_fn.hpp: New.
2289         * docs/html/ext/pb_assoc/sample_ranged_hash_fn.html: New.
2290         * docs/html/ext/pb_assoc/sample_ranged_probe_fn.hpp: New.
2291         * docs/html/ext/pb_assoc/sample_ranged_probe_fn.html: New.
2292         * docs/html/ext/pb_assoc/sample_resize_policy.hpp: New.
2293         * docs/html/ext/pb_assoc/sample_resize_policy.html: New.
2294         * docs/html/ext/pb_assoc/sample_resize_trigger.hpp: New.
2295         * docs/html/ext/pb_assoc/sample_size_policy.hpp: New.
2296         * docs/html/ext/pb_assoc/sample_update_policy.hpp: New.
2297         * docs/html/ext/pb_assoc/size_policies_general.html: New.
2298         * docs/html/ext/pb_assoc/splay_tree_ds_tag.html: New.
2299         * docs/html/ext/pb_assoc/timing_tests.html: New.
2300         * docs/html/ext/pb_assoc/toc.html: New.
2301         * docs/html/ext/pb_assoc/tree_assoc_cntnr.html: New.
2302         * docs/html/ext/pb_assoc/
2303           tree_assoc_cntnr_const_node_iterator.html: New.
2304         * docs/html/ext/pb_assoc/tree_assoc_cntnr_node_iterator.html: New.
2305         * docs/html/ext/pb_assoc/tree_based_containers.html: New.
2306         * docs/html/ext/pb_assoc/tree_cd.jpg: New.
2307         * docs/html/ext/pb_assoc/trigger_policies_general.html: New.
2308         * docs/html/ext/pb_assoc/tutorial.html: New.
2309         * docs/html/ext/pb_assoc/update_seq_diagram.jpg: New.
2310         * include/Makefile.am: Add assoc_srcdir, assoc_builddir, assoc_subdir,
2311         assoc_headers.
2312         * include/Makefile.in: Regenerate.
2313         * include/ext/typelist.h: New.
2314         * include/ext/pb_assoc/assoc_cntnr.hpp: New.
2315         * include/ext/pb_assoc/data_type.hpp: New.
2316         * include/ext/pb_assoc/ds_trait.hpp: New.
2317         * include/ext/pb_assoc/exception.hpp: New.
2318         * include/ext/pb_assoc/hash_policy.hpp: New.
2319         * include/ext/pb_assoc/lu_policy.hpp: New.
2320         * include/ext/pb_assoc/ms_trait.hpp: New.
2321         * include/ext/pb_assoc/tree_policy.hpp: New.
2322         * include/ext/pb_assoc/trivial_iterator_def.hpp: New.
2323         * include/ext/pb_assoc/detail/assoc_cntnr_base.hpp: New.
2324         * include/ext/pb_assoc/detail/cond_dealtor.hpp: New.
2325         * include/ext/pb_assoc/detail/constructors_destructor_fn_imps.hpp: New.
2326         * include/ext/pb_assoc/detail/ds_trait_imp.hpp: New.
2327         * include/ext/pb_assoc/detail/hash_types_traits.hpp: New.
2328         * include/ext/pb_assoc/detail/map_debug_base.hpp: New.
2329         * include/ext/pb_assoc/detail/mapping_level_imp.hpp: New.
2330         * include/ext/pb_assoc/detail/ms_category_imp.hpp: New.
2331         * include/ext/pb_assoc/detail/ms_trait_imp.hpp: New.
2332         * include/ext/pb_assoc/detail/order_statistics_imp.hpp: New.
2333         * include/ext/pb_assoc/detail/standard_policies.hpp: New.
2334         * include/ext/pb_assoc/detail/standard_sizes.hpp: New.
2335         * include/ext/pb_assoc/detail/type_utils.hpp: New.
2336         * include/ext/pb_assoc/detail/typelist.hpp: New.
2337         * include/ext/pb_assoc/detail/types_traits.hpp: New.
2338         * include/ext/pb_assoc/detail/basic_assoc_cntnr/
2339           constructor_destructor_fn_imps.hpp: New.
2340         * include/ext/pb_assoc/detail/basic_assoc_cntnr/
2341           constructors_destructor_fn_imps.hpp: New.
2342         * include/ext/pb_assoc/detail/basic_assoc_cntnr/d_extract_key.hpp: New.
2343         * include/ext/pb_assoc/detail/basic_assoc_cntnr/
2344           d_find_fn_imps.hpp: New.
2345         * include/ext/pb_assoc/detail/basic_assoc_cntnr/
2346           d_insert_fn_imps.hpp: New.
2347         * include/ext/pb_assoc/detail/basic_assoc_cntnr/erase_fn_imps.hpp: New.
2348         * include/ext/pb_assoc/detail/basic_assoc_cntnr/extract_key.hpp: New.
2349         * include/ext/pb_assoc/detail/basic_assoc_cntnr/info_fn_imps.hpp: New.
2350         * include/ext/pb_assoc/detail/basic_assoc_cntnr/
2351           insert_fn_imps.hpp: New.
2352         * include/ext/pb_assoc/detail/basic_assoc_cntnr/
2353           iterators_fn_imps.hpp: New.
2354         * include/ext/pb_assoc/detail/basic_hash_assoc_cntnr/
2355           constructor_destructor_fn_imps.hpp: New.
2356         * include/ext/pb_assoc/detail/basic_hash_assoc_cntnr/
2357           constructors_destructor_fn_imps.hpp: New.
2358         * include/ext/pb_assoc/detail/basic_hash_assoc_cntnr/
2359           resize_fn_imps.hpp: New.
2360         * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
2361           constructor_destructor_fn_imps.hpp: New.
2362         * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
2363           constructors_destructor_fn_imps.hpp: New.
2364         * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
2365           erase_fn_imps.hpp: New.
2366         * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
2367           node_iteration_fn_imps.hpp: New.
2368         * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
2369           policy_access_fn_imps.hpp: New.
2370         * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
2371           r_erase_fn_imps.hpp: New.
2372         * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
2373           r_range_iteration_fn_imps.hpp: New.
2374         * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
2375           range_iteration_fn_imps.hpp: New.     
2376         * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
2377           split_join_fn_imps.hpp: New.
2378         * include/ext/pb_assoc/detail/bin_search_tree_/
2379           bin_search_tree_.hpp: New.
2380         * include/ext/pb_assoc/detail/bin_search_tree_/
2381           cond_dtor_entry_dealtor.hpp: New.
2382         * include/ext/pb_assoc/detail/bin_search_tree_/
2383           cond_key_dtor_entry_dealtor.hpp: New.
2384         * include/ext/pb_assoc/detail/bin_search_tree_/
2385           constructors_destructor_fn_imps.hpp: New.
2386         * include/ext/pb_assoc/detail/bin_search_tree_/debug_fn_imps.hpp: New.
2387         * include/ext/pb_assoc/detail/bin_search_tree_/erase_fn_imps.hpp: New.
2388         * include/ext/pb_assoc/detail/bin_search_tree_/find_fn_imps.hpp: New.
2389         * include/ext/pb_assoc/detail/bin_search_tree_/find_iterators.hpp: New.
2390         * include/ext/pb_assoc/detail/bin_search_tree_/info_fn_imps.hpp: New.
2391         * include/ext/pb_assoc/detail/bin_search_tree_/insert_fn_imps.hpp: New.
2392         * include/ext/pb_assoc/detail/bin_search_tree_/
2393           iterators_fn_imps.hpp: New.
2394         * include/ext/pb_assoc/detail/bin_search_tree_/node_iterators.hpp: New.
2395         * include/ext/pb_assoc/detail/bin_search_tree_/
2396           r_erase_fn_imps.hpp: New.
2397         * include/ext/pb_assoc/detail/bin_search_tree_/rotate_fn_imps.hpp: New.
2398         * include/ext/pb_assoc/detail/bin_search_tree_/
2399           split_join_fn_imps.hpp: New.
2400         * include/ext/pb_assoc/detail/cc_hash_assoc_cntnr/
2401           constructor_destructor_fn_imps.hpp: New.
2402         * include/ext/pb_assoc/detail/cc_ht_map_/cc_ht_map_.hpp: New.
2403         * include/ext/pb_assoc/detail/cc_ht_map_/cmp_fn_imps.hpp: New.
2404         * include/ext/pb_assoc/detail/cc_ht_map_/
2405           cond_key_dtor_entry_dealtor.hpp: New.
2406         * include/ext/pb_assoc/detail/cc_ht_map_/
2407           constructor_destructor_fn_imps.hpp: New.
2408         * include/ext/pb_assoc/detail/cc_ht_map_/
2409           constructor_destructor_no_store_hash_fn_imps.hpp: New.
2410         * include/ext/pb_assoc/detail/cc_ht_map_/
2411           constructor_destructor_store_hash_fn_imps.hpp: New.
2412         * include/ext/pb_assoc/detail/cc_ht_map_/debug_fn_imps.hpp: New.
2413         * include/ext/pb_assoc/detail/cc_ht_map_/
2414           debug_no_store_hash_fn_imps.hpp: New.
2415         * include/ext/pb_assoc/detail/cc_ht_map_/
2416           debug_store_hash_fn_imps.hpp: New.
2417         * include/ext/pb_assoc/detail/cc_ht_map_/entry_list_fn_imps.hpp: New.
2418         * include/ext/pb_assoc/detail/cc_ht_map_/erase_fn_imps.hpp: New.
2419         * include/ext/pb_assoc/detail/cc_ht_map_/
2420           erase_no_store_hash_fn_imps.hpp: New.
2421         * include/ext/pb_assoc/detail/cc_ht_map_/
2422           erase_store_hash_fn_imps.hpp: New.
2423         * include/ext/pb_assoc/detail/cc_ht_map_/
2424           find_fn_imps.hpp: New.
2425         * include/ext/pb_assoc/detail/cc_ht_map_/
2426           find_no_store_hash_fn_imps.hpp: New.
2427         * include/ext/pb_assoc/detail/cc_ht_map_/
2428           find_store_hash_fn_imps.hpp: New.
2429         * include/ext/pb_assoc/detail/cc_ht_map_/info_fn_imps.hpp: New.
2430         * include/ext/pb_assoc/detail/cc_ht_map_/insert_fn_imps.hpp: New.
2431         * include/ext/pb_assoc/detail/cc_ht_map_/
2432           insert_no_store_hash_fn_imps.hpp: New.
2433         * include/ext/pb_assoc/detail/cc_ht_map_/
2434           insert_store_hash_fn_imps.hpp: New.
2435         * include/ext/pb_assoc/detail/cc_ht_map_/iterators_fn_imps.hpp: New.
2436         * include/ext/pb_assoc/detail/cc_ht_map_/
2437           policy_access_fn_imps.hpp: New.
2438         * include/ext/pb_assoc/detail/cc_ht_map_/resize_fn_imps.hpp: New.
2439         * include/ext/pb_assoc/detail/cc_ht_map_/
2440           resize_no_store_hash_fn_imps.hpp: New.
2441         * include/ext/pb_assoc/detail/cc_ht_map_/
2442           resize_store_hash_fn_imps.hpp: New.
2443         * include/ext/pb_assoc/detail/cc_ht_map_/size_fn_imps.hpp: New.
2444         * include/ext/pb_assoc/detail/cc_ht_map_/standard_policies.hpp: New.
2445         * include/ext/pb_assoc/detail/eq_fn/eq_by_less.hpp: New.
2446         * include/ext/pb_assoc/detail/eq_fn/hash_eq_fn.hpp: New.
2447         * include/ext/pb_assoc/detail/gp_hash_assoc_cntnr/
2448           constructor_destructor_fn_imps.hpp: New.
2449         * include/ext/pb_assoc/detail/gp_ht_map_/
2450           constructor_destructor_fn_imps.hpp: New.
2451         * include/ext/pb_assoc/detail/gp_ht_map_/
2452           constructor_destructor_no_store_hash_fn_imps.hpp: New.
2453         * include/ext/pb_assoc/detail/gp_ht_map_/
2454           constructor_destructor_store_hash_fn_imps.hpp: New.
2455         * include/ext/pb_assoc/detail/gp_ht_map_/debug_fn_imps.hpp: New.
2456         * include/ext/pb_assoc/detail/gp_ht_map_/
2457           debug_no_store_hash_fn_imps.hpp: New.
2458         * include/ext/pb_assoc/detail/gp_ht_map_/
2459           debug_store_hash_fn_imps.hpp: New.
2460         * include/ext/pb_assoc/detail/gp_ht_map_/erase_fn_imps.hpp: New.
2461         * include/ext/pb_assoc/detail/gp_ht_map_/
2462           erase_no_store_hash_fn_imps.hpp: New.
2463         * include/ext/pb_assoc/detail/gp_ht_map_/
2464           erase_store_hash_fn_imps.hpp: New.
2465         * include/ext/pb_assoc/detail/gp_ht_map_/find_fn_imps.hpp: New.
2466         * include/ext/pb_assoc/detail/gp_ht_map_/
2467           find_no_store_hash_fn_imps.hpp: New.
2468         * include/ext/pb_assoc/detail/gp_ht_map_/
2469           find_store_hash_fn_imps.hpp: New.
2470         * include/ext/pb_assoc/detail/gp_ht_map_/gp_ht_map_.hpp: New.
2471         * include/ext/pb_assoc/detail/gp_ht_map_/info_fn_imps.hpp: New.
2472         * include/ext/pb_assoc/detail/gp_ht_map_/insert_fn_imps.hpp: New.
2473         * include/ext/pb_assoc/detail/gp_ht_map_/
2474           insert_no_store_hash_fn_imps.hpp: New.
2475         * include/ext/pb_assoc/detail/gp_ht_map_/
2476           insert_store_hash_fn_imps.hpp: New.
2477         * include/ext/pb_assoc/detail/gp_ht_map_/iterator_fn_imps.hpp: New.
2478         * include/ext/pb_assoc/detail/gp_ht_map_/
2479           policy_access_fn_imps.hpp: New.
2480         * include/ext/pb_assoc/detail/gp_ht_map_/resize_fn_imps.hpp: New.
2481         * include/ext/pb_assoc/detail/gp_ht_map_/
2482           resize_no_store_hash_fn_imps.hpp: New.
2483         * include/ext/pb_assoc/detail/gp_ht_map_/
2484           resize_store_hash_fn_imps.hpp: New.
2485         * include/ext/pb_assoc/detail/hash_fn/
2486           direct_mask_range_hashing_imp.hpp: New.
2487         * include/ext/pb_assoc/detail/hash_fn/
2488           direct_mod_range_hashing_imp.hpp: New.
2489         * include/ext/pb_assoc/detail/hash_fn/linear_probe_fn_imp.hpp: New.
2490         * include/ext/pb_assoc/detail/hash_fn/
2491           mask_based_range_hashing.hpp: New.
2492         * include/ext/pb_assoc/detail/hash_fn/mod_based_range_hashing.hpp: New.
2493         * include/ext/pb_assoc/detail/hash_fn/probe_fn_base.hpp: New.
2494         * include/ext/pb_assoc/detail/hash_fn/quadratic_probe_fn_imp.hpp: New.
2495         * include/ext/pb_assoc/detail/hash_fn/ranged_hash_fn.hpp: New.
2496         * include/ext/pb_assoc/detail/hash_fn/ranged_probe_fn.hpp: New.
2497         * include/ext/pb_assoc/detail/lu_assoc_cntnr/
2498           constructor_destructor_fn_imps.hpp: New.
2499         * include/ext/pb_assoc/detail/lu_assoc_cntnr/
2500           policy_access_fn_imps.hpp: New.
2501         * include/ext/pb_assoc/detail/lu_map_/
2502           constructor_destructor_fn_imps.hpp: New.
2503         * include/ext/pb_assoc/detail/lu_map_/debug_fn_imps.hpp: New.
2504         * include/ext/pb_assoc/detail/lu_map_/erase_fn_imps.hpp: New.
2505         * include/ext/pb_assoc/detail/lu_map_/find_fn_imps.hpp: New.
2506         * include/ext/pb_assoc/detail/lu_map_/info_fn_imps.hpp: New.
2507         * include/ext/pb_assoc/detail/lu_map_/insert_fn_imps.hpp: New.
2508         * include/ext/pb_assoc/detail/lu_map_/iterators_fn_imps.hpp: New.
2509         * include/ext/pb_assoc/detail/lu_map_/lu_map_.hpp: New.
2510         * include/ext/pb_assoc/detail/lu_map_/policy_access_fn_imps.hpp: New.
2511         * include/ext/pb_assoc/detail/lu_policy/
2512           counter_lu_metadata_imp.hpp: New.
2513         * include/ext/pb_assoc/detail/lu_policy/counter_lu_policy_imp.hpp: New.
2514         * include/ext/pb_assoc/detail/lu_policy/mtf_lu_policy_imp.hpp: New.
2515         * include/ext/pb_assoc/detail/ov_tree_map_/cond_dtor.hpp: New.
2516         * include/ext/pb_assoc/detail/ov_tree_map_/
2517           constructors_destructor_fn_imps.hpp: New.
2518         * include/ext/pb_assoc/detail/ov_tree_map_/debug_fn_imps.hpp: New.
2519         * include/ext/pb_assoc/detail/ov_tree_map_/erase_fn_imps.hpp: New.
2520         * include/ext/pb_assoc/detail/ov_tree_map_/find_fn_imps.hpp: New.
2521         * include/ext/pb_assoc/detail/ov_tree_map_/info_fn_imps.hpp: New.
2522         * include/ext/pb_assoc/detail/ov_tree_map_/insert_fn_imps.hpp: New.
2523         * include/ext/pb_assoc/detail/ov_tree_map_/iterators_fn_imps.hpp: New.
2524         * include/ext/pb_assoc/detail/ov_tree_map_/node_iterators.hpp: New.
2525         * include/ext/pb_assoc/detail/ov_tree_map_/ov_tree_map_.hpp: New.
2526         * include/ext/pb_assoc/detail/ov_tree_map_/split_join_fn_imps.hpp: New.
2527         * include/ext/pb_assoc/detail/rb_tree_map_/
2528           constructors_destructor_fn_imps.hpp: New.
2529         * include/ext/pb_assoc/detail/rb_tree_map_/debug_fn_imps.hpp: New.
2530         * include/ext/pb_assoc/detail/rb_tree_map_/erase_fn_imps.hpp: New.
2531         * include/ext/pb_assoc/detail/rb_tree_map_/find_fn_imps.hpp: New.
2532         * include/ext/pb_assoc/detail/rb_tree_map_/info_fn_imps.hpp: New.
2533         * include/ext/pb_assoc/detail/rb_tree_map_/insert_fn_imps.hpp: New.
2534         * include/ext/pb_assoc/detail/rb_tree_map_/node.hpp: New.
2535         * include/ext/pb_assoc/detail/rb_tree_map_/rb_tree_.hpp: New.
2536         * include/ext/pb_assoc/detail/rb_tree_map_/split_join_fn_imps.hpp: New.
2537         * include/ext/pb_assoc/detail/resize_policy/
2538           cc_hash_max_collision_resize_trigger_imp.hpp: New.
2539         * include/ext/pb_assoc/detail/resize_policy/
2540           hash_exponential_size_policy_imp.hpp: New.
2541         * include/ext/pb_assoc/detail/resize_policy/
2542           hash_load_check_resize_trigger_imp.hpp: New.
2543         * include/ext/pb_assoc/detail/resize_policy/
2544           hash_prime_size_policy_imp.hpp: New.
2545         * include/ext/pb_assoc/detail/resize_policy/
2546           hash_standard_resize_policy_imp.hpp: New.
2547         * include/ext/pb_assoc/detail/resize_policy/
2548           ht_prime_size_policy_imp.hpp: New.
2549         * include/ext/pb_assoc/detail/resize_policy/size_base.hpp: New.
2550         * include/ext/pb_assoc/detail/splay_tree_/
2551           constructors_destructor_fn_imps.hpp: New.
2552         * include/ext/pb_assoc/detail/splay_tree_/debug_fn_imps.hpp: New.
2553         * include/ext/pb_assoc/detail/splay_tree_/erase_fn_imps.hpp: New.
2554         * include/ext/pb_assoc/detail/splay_tree_/find_fn_imps.hpp: New.
2555         * include/ext/pb_assoc/detail/splay_tree_/info_fn_imps.hpp: New.
2556         * include/ext/pb_assoc/detail/splay_tree_/insert_fn_imps.hpp: New.
2557         * include/ext/pb_assoc/detail/splay_tree_/node.hpp: New.
2558         * include/ext/pb_assoc/detail/splay_tree_/splay_fn_imps.hpp: New.
2559         * include/ext/pb_assoc/detail/splay_tree_/splay_tree_.hpp: New.
2560         * include/ext/pb_assoc/detail/splay_tree_/split_join_fn_imps.hpp: New.
2561         * include/ext/pb_assoc/detail/tree_assoc_cntnr/
2562           constructor_destructor_fn_imps.hpp: New.
2563         * include/ext/pb_assoc/detail/tree_policy/
2564           null_node_updator_imp.hpp: New.
2565         * include/ext/pb_assoc/detail/tree_policy/
2566           order_statistics_imp.hpp: New.
2567         * include/ext/pb_assoc/detail/typelist/typelist_append.hpp: New.
2568         * include/ext/pb_assoc/detail/typelist/typelist_apply.hpp: New.
2569         * include/ext/pb_assoc/detail/typelist/typelist_at_index.hpp: New.
2570         * include/ext/pb_assoc/detail/typelist/typelist_contains.hpp: New.
2571         * include/ext/pb_assoc/detail/typelist/typelist_filter.hpp: New.
2572         * include/ext/pb_assoc/detail/typelist/typelist_transform.hpp: New.
2573         * include/ext/pb_assoc/detail/typelist/
2574           typelist_typelist_append.hpp: New.
2575         * include/ext/pb_assoc/detail/unordered_iterator/
2576           const_find_iterator.hpp: New.
2577         * include/ext/pb_assoc/detail/unordered_iterator/
2578           const_iterator.hpp: New.
2579         * include/ext/pb_assoc/detail/unordered_iterator/
2580           find_iterator.hpp: New.
2581         * include/ext/pb_assoc/detail/unordered_iterator/iterator.hpp: New.
2582         * include/ext/pb_assoc/detail/value_type_adapter/
2583           constructor_destructor_and_related.hpp: New.
2584         * include/ext/pb_assoc/detail/value_type_adapter/
2585           erase_fn_imps.hpp: New.
2586         * include/ext/pb_assoc/detail/value_type_adapter/
2587           erase_if_pred.hpp: New.
2588         * include/ext/pb_assoc/detail/value_type_adapter/find_fn_imps.hpp: New.
2589         * include/ext/pb_assoc/detail/value_type_adapter/info_fn_imps.hpp: New.
2590         * include/ext/pb_assoc/detail/value_type_adapter/
2591         insert_fn_imps.hpp: New.
2592         * include/ext/pb_assoc/detail/value_type_adapter/
2593         invalidation_guarantee_selector.hpp: New.
2594         * include/ext/pb_assoc/detail/value_type_adapter/
2595         it_value_type_traits.hpp: New.
2596         * include/ext/pb_assoc/detail/value_type_adapter/iterator.hpp: New.
2597         * include/ext/pb_assoc/detail/value_type_adapter/
2598         iterator_fn_imps.hpp: New.
2599         * include/ext/pb_assoc/detail/value_type_adapter/ref_pair.hpp: New.
2600         * include/ext/pb_assoc/detail/value_type_adapter/
2601         value_type_adapter.hpp: New.
2602         * include/ext/pb_assoc/detail/value_type_adapter/
2603         value_type_traits.hpp: New.
2604         * testsuite/Makefile.am (CLEANFILES): Add .o, .dat, .cc.
2605         * testsuite/Makefile.in: Regenerate.
2606         * testsuite/testsuite_common_types.h: New.
2607         * testsuite/testsuite_visualization.h: New.
2608         * testsuite/ext/pb_assoc/example/basic_map.cc: New.
2609         * testsuite/ext/pb_assoc/example/basic_multimap.cc: New.
2610         * testsuite/ext/pb_assoc/example/basic_set.cc: New.
2611         * testsuite/ext/pb_assoc/example/ds_traits.cc: New.
2612         * testsuite/ext/pb_assoc/example/erase_if.cc: New.
2613         * testsuite/ext/pb_assoc/example/extract_key.cc: New.
2614         * testsuite/ext/pb_assoc/example/hash_find_neg.cc: New.
2615         * testsuite/ext/pb_assoc/example/hash_illegal_resize.cc: New.
2616         * testsuite/ext/pb_assoc/example/hash_initial_size.cc: New.
2617         * testsuite/ext/pb_assoc/example/hash_load_set_change.cc: New.
2618         * testsuite/ext/pb_assoc/example/hash_mod.cc: New.
2619         * testsuite/ext/pb_assoc/example/hash_resize.cc: New.
2620         * testsuite/ext/pb_assoc/example/hash_resize_neg.cc: New.
2621         * testsuite/ext/pb_assoc/example/hash_shift_mask.cc: New.
2622         * testsuite/ext/pb_assoc/example/mapping_level.cc: New.
2623         * testsuite/ext/pb_assoc/example/mapping_level_neg.cc: New.
2624         * testsuite/ext/pb_assoc/example/ms_traits.cc: New.
2625         * testsuite/ext/pb_assoc/example/ranged_hash.cc: New.
2626         * testsuite/ext/pb_assoc/example/store_hash.cc: New.
2627         * testsuite/ext/pb_assoc/example/tree_intervals.cc: New.
2628         * testsuite/ext/pb_assoc/example/tree_join.cc: New.
2629         * testsuite/ext/pb_assoc/example/tree_order_statistics.cc: New.
2630         * testsuite/ext/pb_assoc/example/tree_order_statistics_join.cc: New.
2631         * testsuite/ext/pb_assoc/example/tree_split.cc: New.
2632         * testsuite/performance/20_util/allocator/(insert.cc,
2633           insert_insert.cc, list_sort_search.cc, map_mt_find.cc, map_thread.cc,
2634           producer_consumer.cc): Recast to use typelists and move to...
2635         * testsuite/performance/23_containers/find/map.cc: New.
2636         * testsuite/performance/23_containers/index/map.cc: New.
2637         * testsuite/performance/23_containers/insert/associative.cc: New.
2638         * testsuite/performance/23_containers/insert/sequence.cc: New.
2639         * testsuite/performance/23_containers/insert_erase/associative.cc: New.
2640         * testsuite/performance/23_containers/producer_consumer/
2641         (associative.cc, sequence.cc): New.
2642         * testsuite/performance/23_containers/sort_search/list.cc: New.
2643         * testsuite/performance/23_containers/container_benchmark.cc: Remove.
2644         * testsuite/performance/23_containers/map_create_fill.cc: Move...
2645         * testsuite/performance/23_containers/create/map.cc: ...here.
2646         * testsuite/performance/23_containers/set_create_from_sorted.cc: Move.
2647         * testsuite/performance/23_containers/create_from_sorted/set.cc: here.
2648         * testsuite/performance/23_containers/list_create_fill_sort.cc: Move...
2649         * testsuite/performance/23_containers/create_sort/list.cc: ...here.
2650         * testsuite/performance/23_containers/set_insert_from_sorted.cc: Move.
2651         * testsuite/performance/23_containers/insert_from_sorted/set.cc: here.
2652         
2653 2005-06-23  Jakub Jelinek  <jakub@redhat.com>
2655         PR libstdc++/22109
2656         * src/compatibility.cc (_GLIBCXX_SYMVER_COMPATIBILITY): Remove.
2657         (istreambuf_iterator, basic_fstream, basic_ifstream, basic_ofstream,
2658         _M_copy, _M_move, _M_assign, _M_disjunct, _M_check_length,
2659         _M_set_length_and_sharable, ignore, eq): Define to XX suffixed
2660         variants.
2661         (ignore (streamsize)): Remove _W prefixed aliases.
2662         (_GLIBCXX_3_4_SYMVER_SPECIAL, _GLIBCXX_3_4_5_SYMVER_SPECIAL,
2663         _GLIBCXX_APPLY_SYMVER_SPECIAL): Remove.
2664         (_GLIBCXX_3_4_SYMVER, _GLIBCXX_3_4_5_SYMVER): Add XXname argument.
2665         Use #XXname instead of #name as the alias argument.
2666         * config/abi/compatibility.h: Replace uses of
2667         _GLIBCXX_APPLY_SYMVER_SPECIAL with _GLIBCXX_APPLY_SYMVER.  Always
2668         pass 2 arguments to the _GLIBCXX_APPLY_SYMVER macro.
2669         * include/bits/char_traits.h (char_traits::eq): Revert 2005-06-15
2670         change.
2671         * acinclude.m4: Decrease glibcxx_min_gnu_ld_version back to 21400.
2672         * configure: Rebuilt.
2674 2005-06-19  Benjamin Kosnik  <bkoz@redhat.com>
2676         PR libstdc++/22111
2677         * acinclude.m4 (GLIBCXX_CONFIGURE_TESTSUITE): Remove
2678         GLIBCXX_TEST_ABI. Remove duplicate _GLIBCXX_ASM_SYMVER define.
2679         Don't enable abi testing unless versioned.
2680         * configure: Regenerate.
2681         * testsuite/Makefile.am (check-abi): Remove conditional.
2682         * testsuite/Makefile.in: Regenerate.
2683         * testsuite/libstdc++-abi/abi.exp: Call build_support, then check
2684         v3-symver before proceeding.
2685         * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Set v3-symvers
2686         if _GLIBCXX_SYMVER.
2687         
2688 2005-06-17  Paolo Carlini  <pcarlini@suse.de>
2690         Port from libstdcxx_so_7-branch:
2691         2005-01-12  Christopher Jefferson <chris@bubblescope.net>
2693         * include/bits/stl_function.h (mem_fun_t, const_mem_fun_t,
2694         mem_fun_ref_t, const_mem_fun_ref_t, mem_fun1_t, const_mem_fun1_t,
2695         mem_fun1_ref_t, const_mem_fun1_ref_t): Remove overloads for void
2696         return type, just an old HP/SGI workaround.
2697         * testsuite/20_util/functional/binders.cc: Move to...
2698         * testsuite/20_util/functional/binders/3113.cc: ...here.
2699         * testsuite/20_util/functional/binders/1.cc: New.
2701 2005-06-17  Jonathan Wakely  <redi@gcc.gnu.org>
2703         * docs/html/21_strings/gotw29a.txt: Update code to corrected version.
2705 2005-06-17  Jakub Jelinek  <jakub@redhat.com>
2706             Benjamin Kosnik  <bkoz@redhat.com>
2708         * config/abi/alpha-linux-gnu/baseline_symbols.txt: Update.
2709         * config/abi/hppa-linux-gnu/baseline_symbols.txt: Same.
2710         * config/abi/mips-linux-gnu/baseline_symbols.txt: Same.
2711         * config/abi/sparc-linux-gnu/baseline_symbols.txt: Same.
2713         * config/abi/alpha-freebsd5/baseline_symbols.txt: Remove.
2714         * config/abi/i386-freebsd4/baseline_symbols.txt: Same.
2715         * config/abi/i386-freebsd5/baseline_symbols.txt: Same.
2716         * config/abi/sparc-freebsd5/baseline_symbols.txt: Same.
2718         * config/abi/arm-linux-gnu/baseline_symbols.txt: Remove.
2719         * config/abi/m68k-linux-gnu/baseline_symbols.txt: Same.
2721 2005-06-17  Jakub Jelinek  <jakub@redhat.com>
2723         * config/abi/ia64-linux-gnu/baseline_symbols.txt: Update.
2724         * config/abi/s390x-linux-gnu/baseline_symbols.txt: Update.
2725         * config/abi/s390-linux-gnu/baseline_symbols.txt: Update.
2726         * config/abi/x86_64-linux-gnu/baseline_symbols.txt: Update.
2727         * config/abi/x86_64-linux-gnu/32/baseline_symbols.txt: Update.
2728         * config/abi/powerpc-linux-gnu/baseline_symbols.txt: Update.
2729         * config/abi/i486-linux-gnu/baseline_symbols.txt: Update.
2730         * config/abi/i386-linux-gnu/baseline_symbols.txt: Update.
2731         * config/abi/powerpc64-linux-gnu/baseline_symbols.txt: New file.
2732         * config/abi/powerpc64-linux-gnu/32/baseline_symbols.txt: New file.
2734 2005-06-16  Jakub Jelinek  <jakub@redhat.com>
2736         * src/compatibility.cc: Include bits/c++config.h first.
2737         (_GLIBCXX_SYMVER_COMPATIBILITY): Define if _GLIBCXX_SYMVER
2738         and PIC are both defined.
2739         * include/bits/char_traits.h (char_traits::eq): Rename
2740         only if _GLIBCXX_SYMVER_COMPATIBILITY is defined.
2742 2005-06-16  Jakub Jelinek  <jakub@redhat.com>
2744         * acinclude.m4 ((GLIBCXX_ENABLE_SYMVERS): Rename _GLIBCXX_SIZE_T_IS_INT
2745         to _GLIBCXX_SIZE_T_IS_UINT.  Define _GLIBCXX_PTRDIFF_T_IS_INT.
2746         * configure: Regenerate.
2747         * config.h.in: Regenerate.
2748         * src/compatibility.cc (istream:ignore(streamsize)): Use
2749         _GLIBCXX_PTRDIFF_T_IS_INT instead of _GLIBCXX_SIZE_T_IS_INT.
2750         * config/abi/compatibility.h: Rename _GLIBCXX_SIZE_T_IS_INT
2751         to _GLIBCXX_SIZE_T_IS_UINT.  Use _GLIBCXX_PTRDIFF_T_IS_INT
2752         instead for symbols with streamsize arguments.
2754 2005-06-16  Jakub Jelinek  <jakub@redhat.com>
2756         * config/linker-map.gnu: Also export
2757         _ZNSt13basic_istreamIwSt11char_traitsIwEE6ignoreE[il][il].
2759 2005-06-15  Benjamin Kosnik  <bkoz@redhat.com>
2761         * configure.ac (libtool_VERSION): To 6:6:0.
2762         * configure: Regenerate.
2763         * config/linker-map.gnu: Edit.
2764         * src/istream.cc: Move istream::ignore(streamsize) specializations...
2765         * src/compatibility.cc: ...here. New.
2766         * include/bits/char_traits.h (char_traits::eq): Rename when
2767         appropriate.
2768         * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Define _GLIBCXX_SIZE_T_IS_INT.
2769         Bump glibcxx_min_gnu_ld_version to 21590.
2770         * configure: Regenerate.
2771         * acconfig.h: Remove _GLIBCXX_ASM_SYMVER.
2772         * config.h.in: Regenerate.
2773         * src/Makefile.am (sources): Add compatibility.cc.
2774         * src/Makefile.in: Regenerate.
2775         * include/Makefile.am (host_headers_noinst): Add compatibility.h.
2776         * include/Makefile.in: Regenerate.
2777         * testsuite/testsuite_abi.h (symbol): Add data members.
2778         * testsuite/testsuite_abi.cc (check_version): Add GLIBCXX_3.4.5,
2779         GLIBCXX_3.4.6.  Remove deprecated versions. Do a better job
2780         version checking.
2782 2005-06-15  Paolo Carlini  <pcarlini@suse.de>
2784         * include/tr1/hashtable: Trivial formatting fixes.
2785         * include/tr1/unordered_map: Likewise.
2786         * include/tr1/unordered_set: Likewise.
2788 2005-06-14  Tom Tromey  <tromey@redhat.com>
2790         PR libgcj/19877:
2791         * configure, aclocal.m4: Rebuilt.
2792         * Makefile.in, include/Makefile.in, libmath/Makefile.in,
2793         libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in,
2794         testsuite/Makefile.in: Likewise.
2796 2005-06-08  Benjamin Kosnik  <bkoz@redhat.com>
2798         PR libstdc++/21955
2799         * include/std/std_sstream.h (basic_stringbuf::showmanyc): Add.
2800         Remove unnecessary this->_M_mode decoration.
2801         * include/bits/fstream.tcc: Adjust line spacing.        
2802         * testsuite/27_io/basic_streambuf/in_avail/char/1.cc: New, test
2803         base class behavior.
2804         * testsuite/27_io/basic_streambuf/in_avail/wchar_t/1.cc: Same.
2805         * testsuite/27_io/basic_stringbuf/in_avail/char/21955.cc: New.
2806         * testsuite/27_io/basic_stringbuf/in_avail/char/1.cc: Match
2807         filebuf behavior.
2808         * testsuite/27_io/basic_stringbuf/in_avail/wchar_t/1.cc: Same.
2809         * testsuite/27_io/basic_stringbuf/str/wchar_t/1.cc: Same.
2810         * testsuite/27_io/basic_stringbuf/str/char/1.cc: Same.
2811         * testsuite/27_io/basic_streambuf/in_avail/char/9701-3.cc: Move...
2812         * testsuite/27_io/basic_filebuf/in_avail/char/9701-3.cc: ...here.
2813         
2814 2005-06-07  Benjamin Kosnik  <bkoz@redhat.com>
2816         * acinclude.m4 (GLIBCXX_ENABLE_C99): Use C++ compiler for complex
2817         tests.
2818         * configure: Regenerated.
2820 2005-06-07  Adrian Straetling  <straetling@de.ibm.com>
2822         * config/cpu/s390/atomicity.h: (__exchange_and_add, 
2823         __atomic_add): Use the builtins for atomic memory operations.
2825 2005-06-06  Paolo Carlini  <pcarlini@suse.de>
2827         PR libstdc++/21770 (cont: __gnu_debug::string)
2828         * include/debug/string: Use _Base typedefs for pointer, const_pointer,
2829         reference, const_reference, size_type, difference_type.
2830         * testsuite/21_strings/basic_string/2.cc: New.
2832 2005-06-06  Paolo Carlini  <pcarlini@suse.de>
2834         PR libstdc++/21770 (cont: debug-mode)
2835         * include/debug/deque: Use _Base typedefs for pointer, const_pointer,
2836         reference, const_reference.
2837         * include/debug/list: Likewise.
2838         * include/debug/map.h: Likewise.
2839         * include/debug/multimap.h: Likewise.
2840         * include/debug/multiset.h: Likewise.
2841         * include/debug/set.h: Likewise.
2842         * include/debug/vector: Likewise.
2844 2005-06-06  Paolo Carlini  <pcarlini@suse.de>
2846         Port from libstdcxx_so_7-branch:
2847         2004-09-24  Paolo Carlini  <pcarlini@suse.de>
2848                     Jonathan Wakely  <redi@gcc.gnu.org>
2850         * include/bits/stl_list.h (list::list(size_type, value_type,
2851         const allocator_type&): Implement according to the letter of the
2852         standard, i.e., don't use two overloads, not equivalent in case
2853         of non default constructible T.
2854         (list::resize(size_type, const value_type&)): Fix the signature:
2855         according to the standard the second argument is by value; also,
2856         don't use two overloads.
2857         * include/bits/list.tcc (list::resize(size_type, const value_type&)):
2858         Adjust consistently the signature.
2859         * include/bits/stl_deque.h (deque::deque(size_type, value_type,
2860         const allocator_type&)): Likewise.
2861         (deque::resize(size_type, const value_type&)): Likewise.
2862         * include/bits/stl_vector.h (vector::vector(size_type, value_type,
2863         const allocator_type&)): Likewise.
2864         (vector::resize(size_type, const value_type&)): Likewise.
2865         * testsuite/testsuite_hooks.h: Add NonDefaultConstructible test type.
2866         * testsuite/23_containers/deque/explicit_instantiation/2.cc: New.
2867         * testsuite/23_containers/list/explicit_instantiation/2.cc: New.
2868         * testsuite/23_containers/map/explicit_instantiation/2.cc: New.
2869         * testsuite/23_containers/multimap/explicit_instantiation/2.cc: New.
2870         * testsuite/23_containers/multiset/explicit_instantiation/2.cc: New.
2871         * testsuite/23_containers/set/explicit_instantiation/2.cc: New.
2872         * testsuite/23_containers/vector/explicit_instantiation/2.cc: New.
2874         * include/bits/deque.tcc: Minor formatting fix.
2876 2005-06-06  Peter Doerfler  <doerfler@techinfo.rwth-aachen.de>
2878         * include/bits/stl_function.h: ... and another one.
2880 2005-06-06  Peter Doerfler  <doerfler@techinfo.rwth-aachen.de>
2882         * include/bits/stl_function.h: Fix typo in comment.
2884 2005-06-05  Paolo Carlini  <pcarlini@suse.de>
2886         * acinclude.m4 ([GLIBCXX_ENABLE_C99]): Check clog, clogf, clogl
2887         too for ac_c99_complex.
2888         * configure: Regenerate.
2890 2005-06-03  Paolo Carlini  <pcarlini@suse.de>
2892         PR libstdc++/21770
2893         * include/bits/stl_deque.h: Add concept-check. In class _Deque_base
2894         rebind _Alloc to  _Tp_alloc_type, change _Deque_impl to inherit from
2895         the latter and add _M_get_Tp_allocator() which returns it. Use
2896         everywhere _M_get_Tp_allocator() instead of get_allocator().
2897         * include/bits/deque.tcc: Likewise, use _M_get_Tp_allocator().
2898         * include/bits/stl_list.h: Add concept-check. In class _List_base
2899         rebind _Alloc to _Tp_alloc_type and add _M_get_Tp_allocator(), which
2900         returns the allocator (of type _Node_alloc_type) converted to
2901         _Tp_alloc_type. Use everywhere _M_get_Tp_allocator() instead of
2902         get_allocator().
2903         * include/bits/list.tcc: Likewise, use _M_get_Tp_allocator().
2904         * include/bits/stl_vector.h: Add concept-check. In class _Vector_base
2905         rebind _Alloc to _Tp_alloc_type, change _Vector_impl to inherit from
2906         the latter and add _M_get_Tp_allocator() which returns it. Use
2907         everywhere _M_get_Tp_allocator() instead of get_allocator().
2908         * include/bits/vector.tcc: Likewise, use _M_get_Tp_allocator().
2909         * include/bits/stl_map.h: Add concept-check. Rebind _Alloc to
2910         _Pair_alloc_type and use it for _Rb_tree.
2911         * include/bits/stl_multimap.h: Likewise.
2912         * include/bits/stl_multiset.h: Add concept-check. Rebind _Alloc to
2913         _Key_alloc_type and use it for _Rb_tree.
2914         * include/bits/stl_set.h: Likewise.
2915         * include/bits/basic_string.h: Rebind _Alloc to _CharT_alloc_type and
2916         use it for the allocator typedefs.
2917         * testsuite/21_strings/basic_string/1.cc: New.
2918         * testsuite/23_containers/deque/explicit_instantiation.cc: Move to...
2919         * testsuite/23_containers/deque/explicit_instantiation/1.cc: ... here.
2920         * testsuite/23_containers/deque/explicit_instantiation/3.cc: New.
2921         * testsuite/23_containers/list/explicit_instantiation.cc: Move to...
2922         * testsuite/23_containers/list/explicit_instantiation/1.cc: ... here.
2923         * testsuite/23_containers/list/explicit_instantiation/3.cc: New.
2924         * testsuite/23_containers/map/explicit_instantiation.cc: Move to...
2925         * testsuite/23_containers/map/explicit_instantiation/1.cc: ... here.
2926         * testsuite/23_containers/map/explicit_instantiation/3.cc: New.
2927         * testsuite/23_containers/multimap/explicit_instantiation.cc: Move to...
2928         * testsuite/23_containers/multimap/explicit_instantiation/1.cc: .. here.
2929         * testsuite/23_containers/multimap/explicit_instantiation/3.cc: New.
2930         * testsuite/23_containers/multiset/explicit_instantiation.cc: Move to...
2931         * testsuite/23_containers/multiset/explicit_instantiation/1.cc: .. here.
2932         * testsuite/23_containers/multiset/explicit_instantiation/3.cc: New.
2933         * testsuite/23_containers/set/explicit_instantiation.cc: Move to...
2934         * testsuite/23_containers/set/explicit_instantiation/1.cc: .. here.
2935         * testsuite/23_containers/set/explicit_instantiation/3.cc: New.
2936         * testsuite/23_containers/vector/explicit_instantiation.cc: Move to...
2937         * testsuite/23_containers/vector/explicit_instantiation/1.cc: ... here.
2938         * testsuite/23_containers/vector/explicit_instantiation/3.cc: New.
2940 2005-06-02  Nathan Sidwell  <nathan@codesourcery.com>
2942         PR c++/21280
2943         * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust expected errors.
2944         * testsuite/27_io/ios_base/cons/copy_neg.cc: Likewise.
2946 2005-05-31  Paolo Carlini  <pcarlini@suse.de>
2948         PR libstdc++/20534 (contd)
2949         * include/debug/macros.h: Add _GLIBCXX_DEBUG_ABORT, using
2950         __gnu_debug::__fancy_abort.
2951         * src/debug.cc: Define the latter.
2952         * include/debug/debug.h: Use _GLIBCXX_DEBUG_ABORT instead of
2953         assert.
2954         * config/linker-map.gnu (__gnu_debug::__fancy_abort): Add.
2956 2005-05-30  Paolo Carlini  <pcarlini@suse.de>
2958         * include/std/std_complex.h (log(const complex<_Tp>&)): When
2959         _GLIBCXX_USE_C99_COMPLEX, forward to __builtin_clog/clogf/clogl.
2961 2005-05-28  Paolo Carlini  <pcarlini@suse.de>
2963         Revert:
2964         2005-05-18  Paolo Carlini  <pcarlini@suse.de>
2965                     Nathan Myers  <ncm@cantrip.org>
2967         PR libstdc++/19495
2968         * include/bits/basic_string.h (_Raw_bytes_alloc): Rebind to
2969         size_type instead of char and rename to _Raw_alloc.
2970         * include/bits/basic_string.tcc (_Rep::_M_destroy, _Rep::_S_create):
2971         Use the above.
2972         * src/bitmap_allocator.cc: Add instantiation for size_type.
2973         * src/mt_allocator.cc: Likewise.
2974         * src/pool_allocator.cc: Likewise.
2975         * include/ext/array_allocator.h: Tweak slightly, avoid assuming
2976         the existence of an _Array::begin() and size() members.
2977         * testsuite/ext/array_allocator/2.cc: Tweak to use an allocator
2978         of size_type, instead of char, thus avoiding problems with
2979         rebinds, not treated correctly by array_allocator.
2981 2005-05-27  Paolo Carlini  <pcarlini@suse.de>
2983         * docs/html/abi.html: Mention 3.4.0 as the current baseline; add
2984         a notice about the configure options.
2986 2005-05-27  Mark Mitchell  <mark@codesourcery.com>
2988         * docs/html/test.html: Mention PCH_CXXFLAGS.
2989         * testsuite/lib/libstdc++.exp: Set PCH_CXXFLAGS by probing for an
2990         available stcd++.h PCH.
2991         * testsuite/libstdc++-dg/normal.exp: Use PCH_CXXFLAGS.
2993 2005-05-27  Theodore Papadopoulo  <Theodore.Papadopoulo@sophia.inria.fr>
2995         * src/misc-inst.cc: Remove unnecessary included files.
2997 2005-05-27  Benjamin Kosnik  <bkoz@redhat.com>
2999         PR libstdc++/21674
3000         * include/bits/c++config: Remove extern template use when in debug
3001         mode, disable for non-weak systems.
3002         
3003 2005-05-27  Benjamin Kosnik  <bkoz@redhat.com>
3005         PR libstdc++/20534 
3006         * include/debug/debug.h: Forwarding header, that pulls in details
3007         only if in debug mode.
3008         * include/debug/macros.h: ...transfer all the internal macros here.
3009         * include/debug/functions.h: ...transfer all the functions here.
3010         * include/debug/safe_iterator.h: Add functions.h, macros.h includes.
3011         * include/debug/safe_sequence.h: Same.
3012         * include/debug/vector: Tweak.
3013         * include/Makefile.am (debug_headers): Add new includes.
3014         * include/Makefile.in: Regenerate.
3015         * testsuite/17_intro/no_assert_neg.cc: Add.
3017         * include/ext/hash_set: Add debug mode include.
3018         * include/ext/hash_map: Same.
3019         * include/debug/hash_map: Fix included files to match actual files.
3020         * include/debug/hash_set: Same.
3021                 
3022 2005-05-26  Paolo Carlini  <pcarlini@suse.de>
3024         PR libstdc++/13943
3025         * include/c_std/std_cstdlib.h: Do not open code llabs and lldiv,
3026         available when _GLIBCXX_USE_C99 is defined.
3027         * testsuite/26_numerics/cstdlib/13943.cc: New.
3029         * acinclude.m4 ([GLIBCXX_ENABLE_C99]): For completeness, check
3030         also strtoll and strtoull for ac_c99_stdlib.
3031         * configure: Regenerate.
3033 2005-05-25  Benjamin Kosnik  <bkoz@redhat.com>
3035         * config/linker-map.gnu: Add linkage support for no extern templates.
3036         (std::ios_base::_M_call_callbacks): Add.
3037         (std::ios_base::_M_dispose_callbacks): Add.
3038         (std::locale::facet::_S_get_c_name): Add.
3039         (std::__copy_streambufs): Add.
3040         * configure.ac (libtool_VERSION): To 6:5:0.
3041         * configure: Regenerate.
3042         * testsuite/testsuite_abi.cc (check_version): Add GLIBCXX_3.4.5.
3043         
3044 2005-05-25  Paolo Carlini  <pcarlini@suse.de>
3046         * include/bits/basic_string.h (_Rep::_M_set_length_and_sharable):
3047         Use, consistently, traits_type::assign.
3049 2005-05-25  Paolo Carlini  <pcarlini@suse.de>
3051         * config/cpu/alpha/atomicity.h: Use the builtins for
3052         atomic memory operations.
3053         * config/cpu/powerpc/atomicity.h: Likewise.
3054         * config/cpu/ia64/atomicity.h: Do not include ia64intrin.h.
3056 2005-05-24  Paolo Carlini  <pcarlini@suse.de>
3058         * testsuite/25_algorithms/equal.cc: Move to...
3059         * testsuite/25_algorithms/equal: ... here.
3060         * testsuite/25_algorithms/lower_bound.cc: Move to...
3061         * testsuite/25_algorithms/lower_bound: ... here.
3063 2005-05-24  Paolo Carlini  <pcarlini@suse.de>
3065         Port from libstdcxx_so_7-branch:
3066         2005-20-05  Chris Jefferson  <chris@bubblescope.net>
3068         * testsuite/25_algorithms/heap.cc: Move to...
3069         * testsuite/25_algorithms/heap/heap.cc: ...here.
3070         * testsuite/25_algorithms/partition.cc: Move to...
3071         * testsuite/25_algorithms/partition/partition.cc: ...here.
3073         2005-03-29  Christopher Jefferson  <chris@bubblescope.net>
3075         * testsuite/25_algorithms/includes/1.cc: Add tests.
3076         * testsuite/25_algorithms/search/1.cc: Likewise.
3077         * testsuite/25_algorithms/unique_copy/1.cc: Likewise.
3078         * testsuite/25_algorithms/swap_ranges/1.cc: New.
3079         * testsuite/25_algorithms/swap_ranges/check_type.cc: New.
3080         * testsuite/25_algorithms/rotate.cc: Move to...
3081         * testsuite/25_algorithms/rotate/rotate.cc: ... here.
3082         * testsuite/25_algorithms/rotate/1.cc: New.
3083         * testsuite/25_algorithms/rotate/check_type.cc: New.
3084         * testsuite/25_algorithms/search_n/iterator.cc: Fix typo.
3086         2005-03-14  Christopher Jefferson  <chris@bubblescope.net>
3088         * include/bits/stl_algo.h (replace_copy, replace_copy_if):
3089         Don't assume that __new_value and *__first are convertible to
3090         each other.     
3092         * testsuite/25_algorithms/find/1.cc: New.
3093         * testsuite/25_algorithms/find/check_type.cc: New.
3094         * testsuite/25_algorithms/find_if/1.cc: New.
3095         * testsuite/25_algorithms/find_if/check_type.cc: New.
3096         * testsuite/25_algorithms/replace/1.cc: New.
3097         * testsuite/25_algorithms/replace/check_type.cc: New.
3098         * testsuite/25_algorithms/replace_if/1.cc: New.
3099         * testsuite/25_algorithms/replace_if/check_type.cc: New.
3100         * testsuite/25_algorithms/replace_copy/1.cc: New.
3101         * testsuite/25_algorithms/replace_copy/check_type.cc: New.
3102         * testsuite/25_algorithms/replace_copy_if/1.cc: New.
3103         * testsuite/25_algorithms/replace_copy_if/check_type.cc: New.
3104         * testsuite/25_algorithms/remove/1.cc: New.
3105         * testsuite/25_algorithms/remove/check_type.cc: New.
3106         * testsuite/25_algorithms/remove_if/1.cc: New.
3107         * testsuite/25_algorithms/remove_if/check_type.cc: New.
3108         * testsuite/25_algorithms/count/1.cc: New.
3109         * testsuite/25_algorithms/count/check_type.cc: New.
3110         * testsuite/25_algorithms/count_if/1.cc: New.
3111         * testsuite/25_algorithms/count_if/check_type.cc: New.
3113         2005-02-27  Christopher Jefferson  <chris@bubblescope.net>
3114                     Paolo Carlini  <pcarlini@suse.de>
3116         * testsuite/ext/is_heap/check_type.cc: New.
3117         
3118         2005-02-27  Paolo Carlini  <pcarlini@suse.de>
3120         * testsuite/ext/is_heap/1.cc: New.
3122         2005-02-01  Christopher Jefferson  <chris@bubblescope.net>
3124         * testsuite/ext/median.cc: New.
3125         * testsuite/25_algorithms/adjacent_find/1.cc: New.
3126         * testsuite/25_algorithms/adjacent_find/check_type.cc: New.
3127         * testsuite/25_algorithms/search/1.cc: New.
3128         * testsuite/25_algorithms/search/check_type.cc: New.
3129         * testsuite/25_algorithms/unique_copy/1.cc: New.
3130         * testsuite/25_algorithms/unique_copy/check_type.cc: New.
3131         * testsuite/25_algorithms/partial_sort/1.cc: New.
3132         * testsuite/25_algorithms/partial_sort/check_type.cc: New.
3133         * testsuite/25_algorithms/partial_sort_copy/1.cc: New.
3134         * testsuite/25_algorithms/partial_sort_copy/check_type.cc: New.
3135         * testsuite/25_algorithms/lower_bound/1.cc: New.
3136         * testsuite/25_algorithms/lower_bound/check_type.cc: New.
3137         * testsuite/25_algorithms/upper_bound/1.cc: New.
3138         * testsuite/25_algorithms/upper_bound/check_type.cc: New.
3139         * testsuite/25_algorithms/merge/1.cc: New.
3140         * testsuite/25_algorithms/merge/check_type.cc: New.
3141         * testsuite/25_algorithms/inplace_merge/1.cc: New.
3142         * testsuite/25_algorithms/inplace_merge/check_type.cc: New.
3143         * testsuite/25_algorithms/stable_sort/1.cc: New.
3144         * testsuite/25_algorithms/stable_sort/check_type.cc: New.
3145         * testsuite/25_algorithms/nth_element/1.cc: New.
3146         * testsuite/25_algorithms/nth_element/check_type.cc: New.
3147         * testsuite/25_algorithms/equal_range/1.cc: New.
3148         * testsuite/25_algorithms/equal_range/check_type.cc: New.
3149         * testsuite/25_algorithms/binary_search/1.cc: New.
3150         * testsuite/25_algorithms/binary_search/check_type.cc: New.
3151         * testsuite/25_algorithms/includes/1.cc: New.
3152         * testsuite/25_algorithms/includes/check_type.cc: New.
3153         * testsuite/25_algorithms/set_union/1.cc: New.
3154         * testsuite/25_algorithms/set_union/check_type.cc: New.
3155         * testsuite/25_algorithms/set_intersection/1.cc: New.
3156         * testsuite/25_algorithms/set_intersection/check_type.cc: New.
3157         * testsuite/25_algorithms/set_difference/1.cc: New.
3158         * testsuite/25_algorithms/set_difference/check_type.cc: New.
3159         * testsuite/25_algorithms/set_symmetric_difference/1.cc: New.
3160         * testsuite/25_algorithms/set_symmetric_difference/check_type.cc: New.  
3161         * testsuite/25_algorithms/min_element/1.cc: New.
3162         * testsuite/25_algorithms/min_element/check_type.cc: New.
3163         * testsuite/25_algorithms/max_element/1.cc: New.
3164         * testsuite/25_algorithms/max_element/check_type.cc: New.
3165         * testsuite/25_algorithms/prev_permutation/1.cc: New.
3166         * testsuite/25_algorithms/prev_permutation/check_type.cc: New.
3167         * testsuite/25_algorithms/next_permutation/1.cc: New.
3168         * testsuite/25_algorithms/next_permutation/check_type.cc: New.
3169         * testsuite/25_algorithms/find_first_of/1.cc: New.
3170         * testsuite/25_algorithms/find_first_of/check_type.cc: New.
3171         * testsuite/25_algorithms/find_end/1.cc: New.
3172         * testsuite/25_algorithms/find_end/check_type.cc: New.
3173         * testsuite/25_algorithms/equal/check_type.cc: Insert iterator type.
3174         * testsuite/25_algorithms/lexicographical_compare/check_type.cc:
3175         Likewise.
3177         2005-01-10  Christopher Jefferson <chris@bubblescope.net>
3179         * testsuite/25_algorithms/lexicographical_compare/check_type.cc: New.
3180         * testsuite/25_algorithms/lexicographical_compare/1.cc: Likewise.
3181         * testsuite/25_algorithms/mismatch/check_type.cc: Likewise.
3182         * testsuite/25_algorithms/mismatch/1.cc: Likewise.
3183         * testsuite/25_algorithms/equal/check_type.cc: New.
3184         * testsuite/25_algorithms/equal/1.cc: New.
3186 2005-05-24  Benjamin Kosnik  <bkoz@redhat.com>
3188         * include/bits/allocator.h: Change ___glibcxx_base_allocator to
3189         __glibcxx_base_allocator.
3190         * config/allocator/bitmap_allocator_base.h: Same.
3191         * config/allocator/malloc_allocator_base.h: Same.
3192         * config/allocator/mt_allocator_base.h: Same.
3193         * config/allocator/new_allocator_base.h: Same.
3194         * config/allocator/pool_allocator_base.h: Same.
3196 2005-05-24  Jonathan Wakely  <redi@gcc.gnu.org>
3198         * include/debug/string (class basic_string): Add missing
3199         default template arguments; provide typedefs for char
3200         and wchar_t.
3201         (operator[]): Allow s[s.size()] in debug mode, but not
3202         pedantic mode.
3204 2005-05-24  Paolo Carlini  <pcarlini@suse.de>
3206         Port from libstdcxx_so_7-branch:
3207         2005-04-25  Christopher Jefferson  <chris@bubblescope.net>
3209         * include/bits/stl_algo.h (count): Correct concept checks.
3210         (search_n) : Likewise.
3211         * testsuite/25_algorithms/search_n/check_type.cc: New.
3213         * testsuite/testsuite_iterators.h
3214         (random_access_iterator_wrapper::operator+): Move out of
3215         class to external function, and add symmetric version.
3217         2005-03-14  Christopher Jefferson  <chris@bubblescope.net>
3219         * testsuite/testsuite_iterators.h (WritableObject::WritableObject):
3220         Add const.
3221         
3222         2005-02-01  Christopher Jefferson  <chris@bubblescope.net>
3224         * testsuite/testsuite_iterators.h (random_access_iterator_wrapper::
3225         operator--): Fix typo.
3226         (OutputContainer::OutputContainer): Correct zeroing array.
3227         (WritableObject::operator==): Fix typo.
3228         (WritableObject::operator=): make operator= templated 
3229         to allow differing types to be assigned.
3230         (WritableObject::operator++): Fix checking if iterator is
3231         written to multiple times.
3232         (random_access_iterator_wrapper::operator+): Add const.
3233         (random_access_iterator_wrapper::operator-): Likewise.
3234         (random_access_iterator_wrapper::operator[]): Add dereference.
3236 2005-05-23  Jonathan Wakely  <redi@gcc.gnu.org>
3238         * docs/html/debug.html: Explain that _GLIBXX_DEBUG_PEDANTIC
3239         had to be defined for pedantic mode in 3.4 and 4.0.0.
3241 2005-05-20  Jan Beulich  <jbeulich@novell.com>
3243         * libmath/stubs.c: Also implement fabsf/fabsl if not present in the
3244         system libraries.
3246 2005-05-20  Paolo Carlini  <pcarlini@suse.de>
3248         * include/bits/stl_algo.h (__rotate<_RandomAccessIterator>):
3249         Don't qualify __tmp as const, _ValueType is not necessarily
3250         Assignable.
3251         * include/bits/stl_algobase.h (swap, __iter_swap<false>):
3252         Likewise, as an harmless extension.
3254 2005-05-19  Richard Henderson  <rth@redhat.com>
3256         * libsupc++/unwind-cxx.h: Revert gcc_unreachable change.
3258 2005-05-19  Jonathan Wakely  <redi@gcc.gnu.org>
3260         * include/bits/basic_string.h (operator[]): Allow s[s.size()] in
3261         debug mode, but not pedantic mode.
3263 2005-05-19  Jan Beulich  <jbeulich@novell.com>
3265         * libsupc++/unwind-cxx.h: Include cstdlib.
3266         (gcc_unreachable): #define.
3267         * libsupc++/eh_personality.cc (gcc_unreachable): Remove #define.
3269 2005-05-18  Paolo Carlini  <pcarlini@suse.de>
3270             Nathan Myers  <ncm@cantrip.org>
3272         PR libstdc++/19495
3273         * include/bits/basic_string.h (_Raw_bytes_alloc): Rebind to
3274         size_type instead of char and rename to _Raw_alloc.
3275         * include/bits/basic_string.tcc (_Rep::_M_destroy, _Rep::_S_create):
3276         Use the above.
3277         * src/bitmap_allocator.cc: Add instantiation for size_type.
3278         * src/mt_allocator.cc: Likewise.
3279         * src/pool_allocator.cc: Likewise.
3280         * include/ext/array_allocator.h: Tweak slightly, avoid assuming
3281         the existence of an _Array::begin() and size() members.
3282         * testsuite/ext/array_allocator/2.cc: Tweak to use an allocator
3283         of size_type, instead of char, thus avoiding problems with
3284         rebinds, not treated correctly by array_allocator.
3286 2005-05-18  Paolo Carlini  <pcarlini@suse.de>
3288         * testsuite/22_locale/ctype/is/char/2.cc: Adjust dg-require-namedlocale.
3289         * testsuite/22_locale/ctype/is/wchar_t/2.cc: Likewise.
3290         * testsuite/22_locale/time_get/get_year/char/wrapped_env.cc: Add
3291         missing dg-require-namedlocale.
3292         * testsuite/22_locale/time_get/get_year/char/wrapped_locale.cc:
3293         Likewise.
3294         * testsuite/22_locale/time_get/get_year/wchar_t/wrapped_env.cc:
3295         Likewise.
3296         * testsuite/22_locale/time_get/get_year/wchar_t/wrapped_locale.cc:
3297         Likewise.
3299 2005-05-18  Paolo Carlini  <pcarlini@suse.de>
3301         * testsuite/testsuite_hooks.cc: Remove try_named_locale.
3302         * testsuite/testsuite_hooks.h: Remove try_named_locale.
3303         * testsuite/lib/libstdc++.exp (check_v3_target_namedlocale): New.
3304         * testsuite/lib/dg-options.exp (dg-require-namedlocale): New, uses
3305         the above.
3306         * testsuite/22_locale/codecvt/always_noconv/char/wrapped_env.cc: Use
3307         dg-require-namedlocale.
3308         * testsuite/22_locale/codecvt/always_noconv/char/wrapped_locale.cc:
3309         Likewise.
3310         * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: Likewise.
3311         * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: Likewise.
3312         * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: Likewise.
3313         * testsuite/22_locale/codecvt/always_noconv/wchar_t/wrapped_env.cc: 
3314         Likewise.
3315         * testsuite/22_locale/codecvt/always_noconv/wchar_t/wrapped_locale.cc:
3316         Likewise.
3317         * testsuite/22_locale/codecvt/encoding/char/wrapped_env.cc: Likewise.
3318         * testsuite/22_locale/codecvt/encoding/char/wrapped_locale.cc: Likewise.
3319         * testsuite/22_locale/codecvt/encoding/wchar_t/2.cc: Likewise.
3320         * testsuite/22_locale/codecvt/encoding/wchar_t/3.cc: Likewise.
3321         * testsuite/22_locale/codecvt/encoding/wchar_t/4.cc: Likewise.
3322         * testsuite/22_locale/codecvt/encoding/wchar_t/wrapped_env.cc: Likewise.
3323         * testsuite/22_locale/codecvt/encoding/wchar_t/wrapped_locale.cc:
3324         Likewise.
3325         * testsuite/22_locale/codecvt/in/char/wrapped_env.cc: Likewise.
3326         * testsuite/22_locale/codecvt/in/char/wrapped_locale.cc: Likewise.
3327         * testsuite/22_locale/codecvt/in/wchar_t/2.cc: Likewise.
3328         * testsuite/22_locale/codecvt/in/wchar_t/3.cc: Likewise.
3329         * testsuite/22_locale/codecvt/in/wchar_t/4.cc: Likewise.
3330         * testsuite/22_locale/codecvt/in/wchar_t/7.cc: Likewise. 
3331         * testsuite/22_locale/codecvt/in/wchar_t/8.cc: Likewise.
3332         * testsuite/22_locale/codecvt/in/wchar_t/9.cc: Likewise.
3333         * testsuite/22_locale/codecvt/in/wchar_t/wrapped_env.cc: Likewise. 
3334         * testsuite/22_locale/codecvt/in/wchar_t/wrapped_locale.cc: Likewise.    
3335         * testsuite/22_locale/codecvt/length/char/wrapped_env.cc: Likewise. 
3336         * testsuite/22_locale/codecvt/length/char/wrapped_locale.cc: Likewise.    
3337         * testsuite/22_locale/codecvt/length/wchar_t/2.cc: Likewise.   
3338         * testsuite/22_locale/codecvt/length/wchar_t/3.cc: Likewise.   
3339         * testsuite/22_locale/codecvt/length/wchar_t/4.cc: Likewise.   
3340         * testsuite/22_locale/codecvt/length/wchar_t/7.cc: Likewise.   
3341         * testsuite/22_locale/codecvt/length/wchar_t/wrapped_env.cc: Likewise.      
3342         * testsuite/22_locale/codecvt/length/wchar_t/wrapped_locale.cc:
3343         Likewise.
3344         * testsuite/22_locale/codecvt/max_length/char/wrapped_env.cc: Likewise.
3345         * testsuite/22_locale/codecvt/max_length/char/wrapped_locale.cc:
3346         Likewise.  
3347         * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: Likewise.    
3348         * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: Likewise.    
3349         * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: Likewise.    
3350         * testsuite/22_locale/codecvt/max_length/wchar_t/wrapped_env.cc:
3351         Likewise.  
3352         * testsuite/22_locale/codecvt/max_length/wchar_t/wrapped_locale.cc:
3353         Likewise.
3354         * testsuite/22_locale/codecvt/out/char/wrapped_env.cc: Likewise.    
3355         * testsuite/22_locale/codecvt/out/char/wrapped_locale.cc: Likewise. 
3356         * testsuite/22_locale/codecvt/out/wchar_t/2.cc: Likewise.  
3357         * testsuite/22_locale/codecvt/out/wchar_t/3.cc: Likewise.  
3358         * testsuite/22_locale/codecvt/out/wchar_t/4.cc: Likewise.  
3359         * testsuite/22_locale/codecvt/out/wchar_t/7.cc: Likewise.  
3360         * testsuite/22_locale/codecvt/out/wchar_t/wrapped_env.cc: Likewise. 
3361         * testsuite/22_locale/codecvt/out/wchar_t/wrapped_locale.cc: Likewise. 
3362         * testsuite/22_locale/codecvt/unshift/char/wrapped_env.cc: Likewise.   
3363         * testsuite/22_locale/codecvt/unshift/char/wrapped_locale.cc: Likewise.
3364         * testsuite/22_locale/codecvt/unshift/wchar_t/2.cc: Likewise.    
3365         * testsuite/22_locale/codecvt/unshift/wchar_t/3.cc: Likewise.    
3366         * testsuite/22_locale/codecvt/unshift/wchar_t/4.cc: Likewise.    
3367         * testsuite/22_locale/codecvt/unshift/wchar_t/wrapped_env.cc: Likewise.
3368         * testsuite/22_locale/codecvt/unshift/wchar_t/wrapped_locale.cc:
3369         Likewise.
3370         * testsuite/22_locale/collate/compare/char/1.cc: Likewise.  
3371         * testsuite/22_locale/collate/compare/char/2.cc: Likewise.  
3372         * testsuite/22_locale/collate/compare/char/3.cc: Likewise.  
3373         * testsuite/22_locale/collate/compare/char/wrapped_env.cc: Likewise.        
3374         * testsuite/22_locale/collate/compare/char/wrapped_locale.cc: Likewise.     
3375         * testsuite/22_locale/collate/compare/wchar_t/1.cc: Likewise.     
3376         * testsuite/22_locale/collate/compare/wchar_t/2.cc: Likewise.     
3377         * testsuite/22_locale/collate/compare/wchar_t/3.cc: Likewise.     
3378         * testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc: Likewise.
3379         * testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc:
3380         Likewise.  
3381         * testsuite/22_locale/collate/hash/char/2.cc: Likewise.     
3382         * testsuite/22_locale/collate/hash/char/wrapped_env.cc: Likewise.   
3383         * testsuite/22_locale/collate/hash/char/wrapped_locale.cc: Likewise.        
3384         * testsuite/22_locale/collate/hash/wchar_t/2.cc: Likewise.  
3385         * testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc: Likewise.
3386         * testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc: Likewise.     
3387         * testsuite/22_locale/collate/transform/char/2.cc: Likewise.     
3388         * testsuite/22_locale/collate/transform/char/3.cc: Likewise.     
3389         * testsuite/22_locale/collate/transform/char/wrapped_env.cc: Likewise.      
3390         * testsuite/22_locale/collate/transform/char/wrapped_locale.cc:
3391         Likewise.
3392         * testsuite/22_locale/collate/transform/wchar_t/2.cc: Likewise. 
3393         * testsuite/22_locale/collate/transform/wchar_t/3.cc: Likewise. 
3394         * testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc:
3395         Likewise.
3396         * testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc:
3397         Likewise.
3398         * testsuite/22_locale/collate_byname/named_equivalence.cc: Likewise.
3399         * testsuite/22_locale/ctype/cons/char/wrapped_env.cc: Likewise.    
3400         * testsuite/22_locale/ctype/cons/char/wrapped_locale.cc: Likewise. 
3401         * testsuite/22_locale/ctype/is/char/2.cc: Likewise. 
3402         * testsuite/22_locale/ctype/is/char/wrapped_env.cc: Likewise.      
3403         * testsuite/22_locale/ctype/is/char/wrapped_locale.cc: Likewise.  
3404         * testsuite/22_locale/ctype/is/wchar_t/2.cc: Likewise.   
3405         * testsuite/22_locale/ctype/is/wchar_t/wrapped_env.cc: Likewise.  
3406         * testsuite/22_locale/ctype/is/wchar_t/wrapped_locale.cc: Likewise.
3407         * testsuite/22_locale/ctype/narrow/char/wrapped_env.cc: Likewise.
3408         * testsuite/22_locale/ctype/narrow/char/wrapped_locale.cc: Likewise.        
3409         * testsuite/22_locale/ctype/narrow/wchar_t/3.cc: Likewise. 
3410         * testsuite/22_locale/ctype/narrow/wchar_t/wrapped_env.cc: Likewise.        
3411         * testsuite/22_locale/ctype/narrow/wchar_t/wrapped_locale.cc: Likewise.
3412         * testsuite/22_locale/ctype/scan/char/wrapped_env.cc: Likewise.   
3413         * testsuite/22_locale/ctype/scan/char/wrapped_locale.cc: Likewise. 
3414         * testsuite/22_locale/ctype/scan/wchar_t/wrapped_env.cc: Likewise. 
3415         * testsuite/22_locale/ctype/scan/wchar_t/wrapped_locale.cc: Likewise.       
3416         * testsuite/22_locale/ctype/to/char/wrapped_env.cc: Likewise.       
3417         * testsuite/22_locale/ctype/to/char/wrapped_locale.cc: Likewise.    
3418         * testsuite/22_locale/ctype/to/wchar_t/wrapped_env.cc: Likewise.    
3419         * testsuite/22_locale/ctype/to/wchar_t/wrapped_locale.cc: Likewise. 
3420         * testsuite/22_locale/ctype/widen/char/wrapped_env.cc: Likewise.    
3421         * testsuite/22_locale/ctype/widen/char/wrapped_locale.cc: Likewise. 
3422         * testsuite/22_locale/ctype/widen/wchar_t/2.cc: Likewise.   
3423         * testsuite/22_locale/ctype/widen/wchar_t/3.cc: Likewise.   
3424         * testsuite/22_locale/ctype/widen/wchar_t/wrapped_env.cc: Likewise.
3425         * testsuite/22_locale/ctype/widen/wchar_t/wrapped_locale.cc: Likewise.
3426         * testsuite/22_locale/facet/2.cc: Likewise.
3427         * testsuite/22_locale/locale/cons/12352.cc: Likewise.
3428         * testsuite/22_locale/locale/cons/12438.cc: Likewise.
3429         * testsuite/22_locale/locale/cons/12658_thread-1.cc: Likewise. 
3430         * testsuite/22_locale/locale/cons/12658_thread-2.cc: Likewise. 
3431         * testsuite/22_locale/locale/cons/2.cc: Likewise.
3432         * testsuite/22_locale/locale/cons/4.cc: Likewise.
3433         * testsuite/22_locale/locale/cons/5.cc: Likewise.
3434         * testsuite/22_locale/locale/cons/7.cc: Likewise.
3435         * testsuite/22_locale/locale/cons/7222-env.cc: Likewise.  
3436         * testsuite/22_locale/locale/global_locale_objects/14071.cc: Likewise.  
3437         * testsuite/22_locale/locale/global_locale_objects/2.cc: Likewise.
3438         * testsuite/22_locale/messages/members/char/1.cc: Likewise.
3439         * testsuite/22_locale/messages/members/char/2.cc: Likewise.
3440         * testsuite/22_locale/messages/members/char/3.cc: Likewise.
3441         * testsuite/22_locale/messages/members/char/wrapped_env.cc: Likewise.   
3442         * testsuite/22_locale/messages/members/char/wrapped_locale.cc: Likewise.
3443         * testsuite/22_locale/messages_byname/named_equivalence.cc: Likewise.   
3444         * testsuite/22_locale/money_get/get/char/1.cc: Likewise.    
3445         * testsuite/22_locale/money_get/get/char/10.cc: Likewise.   
3446         * testsuite/22_locale/money_get/get/char/11.cc: Likewise.   
3447         * testsuite/22_locale/money_get/get/char/11528.cc: Likewise.
3448         * testsuite/22_locale/money_get/get/char/12.cc: Likewise.   
3449         * testsuite/22_locale/money_get/get/char/13.cc: Likewise.   
3450         * testsuite/22_locale/money_get/get/char/15.cc: Likewise.   
3451         * testsuite/22_locale/money_get/get/char/16.cc: Likewise.   
3452         * testsuite/22_locale/money_get/get/char/17.cc: Likewise.   
3453         * testsuite/22_locale/money_get/get/char/18.cc: Likewise.   
3454         * testsuite/22_locale/money_get/get/char/2.cc: Likewise.    
3455         * testsuite/22_locale/money_get/get/char/3.cc: Likewise.    
3456         * testsuite/22_locale/money_get/get/char/4.cc: Likewise.    
3457         * testsuite/22_locale/money_get/get/char/wrapped_env.cc: Likewise. 
3458         * testsuite/22_locale/money_get/get/char/wrapped_locale.cc: Likewise.  
3459         * testsuite/22_locale/money_get/get/wchar_t/1.cc: Likewise. 
3460         * testsuite/22_locale/money_get/get/wchar_t/10.cc: Likewise.      
3461         * testsuite/22_locale/money_get/get/wchar_t/11.cc: Likewise.      
3462         * testsuite/22_locale/money_get/get/wchar_t/11528.cc: Likewise.
3463         * testsuite/22_locale/money_get/get/wchar_t/12.cc: Likewise.      
3464         * testsuite/22_locale/money_get/get/wchar_t/13.cc: Likewise.      
3465         * testsuite/22_locale/money_get/get/wchar_t/15.cc: Likewise.      
3466         * testsuite/22_locale/money_get/get/wchar_t/16.cc: Likewise.      
3467         * testsuite/22_locale/money_get/get/wchar_t/17.cc: Likewise.      
3468         * testsuite/22_locale/money_get/get/wchar_t/18.cc: Likewise.      
3469         * testsuite/22_locale/money_get/get/wchar_t/2.cc: Likewise. 
3470         * testsuite/22_locale/money_get/get/wchar_t/3.cc: Likewise. 
3471         * testsuite/22_locale/money_get/get/wchar_t/4.cc: Likewise. 
3472         * testsuite/22_locale/money_get/get/wchar_t/wrapped_env.cc: Likewise.      
3473         * testsuite/22_locale/money_get/get/wchar_t/wrapped_locale.cc: Likewise.
3474         * testsuite/22_locale/money_put/put/char/1.cc: Likewise.  
3475         * testsuite/22_locale/money_put/put/char/2.cc: Likewise.  
3476         * testsuite/22_locale/money_put/put/char/3.cc: Likewise.  
3477         * testsuite/22_locale/money_put/put/char/9780-3.cc: Likewise.      
3478         * testsuite/22_locale/money_put/put/char/wrapped_env.cc: Likewise. 
3479         * testsuite/22_locale/money_put/put/char/wrapped_locale.cc: Likewise.  
3480         * testsuite/22_locale/money_put/put/wchar_t/1.cc: Likewise. 
3481         * testsuite/22_locale/money_put/put/wchar_t/2.cc: Likewise. 
3482         * testsuite/22_locale/money_put/put/wchar_t/3.cc: Likewise. 
3483         * testsuite/22_locale/money_put/put/wchar_t/wrapped_env.cc: Likewise.     
3484         * testsuite/22_locale/money_put/put/wchar_t/wrapped_locale.cc: Likewise.
3485         * testsuite/22_locale/moneypunct/members/char/2.cc: Likewise.
3486         * testsuite/22_locale/moneypunct/members/char/wrapped_env.cc: Likewise.    
3487         * testsuite/22_locale/moneypunct/members/char/wrapped_locale.cc:
3488         Likewise. 
3489         * testsuite/22_locale/moneypunct/members/wchar_t/2.cc: Likewise.   
3490         * testsuite/22_locale/moneypunct/members/wchar_t/wrapped_env.cc:
3491         Likewise.
3492         * testsuite/22_locale/moneypunct/members/wchar_t/wrapped_locale.cc:
3493         Likewise.
3494         * testsuite/22_locale/moneypunct_byname/named_equivalence.cc: Likewise.
3495         * testsuite/22_locale/num_get/get/char/1.cc: Likewise.   
3496         * testsuite/22_locale/num_get/get/char/3.cc: Likewise.   
3497         * testsuite/22_locale/num_get/get/char/5.cc: Likewise.   
3498         * testsuite/22_locale/num_get/get/char/6.cc: Likewise.   
3499         * testsuite/22_locale/num_get/get/char/9.cc: Likewise.   
3500         * testsuite/22_locale/num_get/get/char/wrapped_env.cc: Likewise.
3501         * testsuite/22_locale/num_get/get/char/wrapped_locale.cc: Likewise. 
3502         * testsuite/22_locale/num_get/get/wchar_t/1.cc: Likewise.  
3503         * testsuite/22_locale/num_get/get/wchar_t/3.cc: Likewise.  
3504         * testsuite/22_locale/num_get/get/wchar_t/5.cc: Likewise.  
3505         * testsuite/22_locale/num_get/get/wchar_t/6.cc: Likewise.  
3506         * testsuite/22_locale/num_get/get/wchar_t/9.cc: Likewise.  
3507         * testsuite/22_locale/num_get/get/wchar_t/wrapped_env.cc: Likewise. 
3508         * testsuite/22_locale/num_get/get/wchar_t/wrapped_locale.cc: Likewise. 
3509         * testsuite/22_locale/num_put/put/char/1.cc: Likewise.      
3510         * testsuite/22_locale/num_put/put/char/20909.cc: Likewise.  
3511         * testsuite/22_locale/num_put/put/char/20914.cc: Likewise.  
3512         * testsuite/22_locale/num_put/put/char/3.cc: Likewise.      
3513         * testsuite/22_locale/num_put/put/char/5.cc: Likewise.      
3514         * testsuite/22_locale/num_put/put/char/9780-2.cc: Likewise. 
3515         * testsuite/22_locale/num_put/put/char/wrapped_env.cc: Likewise.    
3516         * testsuite/22_locale/num_put/put/char/wrapped_locale.cc: Likewise. 
3517         * testsuite/22_locale/num_put/put/wchar_t/1.cc: Likewise. 
3518         * testsuite/22_locale/num_put/put/wchar_t/20909.cc: Likewise.   
3519         * testsuite/22_locale/num_put/put/wchar_t/20914.cc: Likewise.   
3520         * testsuite/22_locale/num_put/put/wchar_t/3.cc: Likewise. 
3521         * testsuite/22_locale/num_put/put/wchar_t/5.cc: Likewise.
3522         * testsuite/22_locale/num_put/put/wchar_t/wrapped_env.cc: Likewise.
3523         * testsuite/22_locale/num_put/put/wchar_t/wrapped_locale.cc: Likewise. 
3524         * testsuite/22_locale/numpunct/members/char/2.cc: Likewise.
3525         * testsuite/22_locale/numpunct/members/char/3.cc: Likewise.
3526         * testsuite/22_locale/numpunct/members/char/wrapped_env.cc: Likewise.    
3527         * testsuite/22_locale/numpunct/members/char/wrapped_locale.cc: Likewise.
3528         * testsuite/22_locale/numpunct/members/wchar_t/2.cc: Likewise.    
3529         * testsuite/22_locale/numpunct/members/wchar_t/wrapped_env.cc: Likewise.
3530         * testsuite/22_locale/numpunct/members/wchar_t/wrapped_locale.cc:
3531         Likewise. 
3532         * testsuite/22_locale/numpunct_byname/named_equivalence.cc: Likewise.       
3533         * testsuite/22_locale/time_get/date_order/char/wrapped_env.cc: Likewise.    
3534         * testsuite/22_locale/time_get/date_order/char/wrapped_locale.cc:
3535         Likewise. 
3536         * testsuite/22_locale/time_get/date_order/wchar_t/wrapped_env.cc:
3537         Likewise. 
3538         * testsuite/22_locale/time_get/date_order/wchar_t/wrapped_locale.cc:
3539         Likewise.
3540         * testsuite/22_locale/time_get/get_date/char/12750.cc: Likewise.
3541         * testsuite/22_locale/time_get/get_date/char/2.cc: Likewise.   
3542         * testsuite/22_locale/time_get/get_date/char/wrapped_env.cc: Likewise.      
3543         * testsuite/22_locale/time_get/get_date/char/wrapped_locale.cc:
3544         Likewise.
3545         * testsuite/22_locale/time_get/get_date/wchar_t/12750.cc: Likewise. 
3546         * testsuite/22_locale/time_get/get_date/wchar_t/2.cc: Likewise.     
3547         * testsuite/22_locale/time_get/get_date/wchar_t/4.cc: Likewise.     
3548         * testsuite/22_locale/time_get/get_date/wchar_t/wrapped_env.cc:
3549         Likewise.  
3550         * testsuite/22_locale/time_get/get_date/wchar_t/wrapped_locale.cc:
3551         Likewise.
3552         * testsuite/22_locale/time_get/get_monthname/char/2.cc: Likewise.  
3553         * testsuite/22_locale/time_get/get_monthname/char/wrapped_env.cc:
3554         Likewise.
3555         * testsuite/22_locale/time_get/get_monthname/char/wrapped_locale.cc:
3556         Likewise.
3557         * testsuite/22_locale/time_get/get_monthname/wchar_t/2.cc: Likewise.
3558         * testsuite/22_locale/time_get/get_monthname/wchar_t/wrapped_env.cc:
3559         Likewise.
3560         * testsuite/22_locale/time_get/get_monthname/wchar_t/wrapped_locale.cc:
3561         Likewise.
3562         * testsuite/22_locale/time_get/get_time/char/1.cc: Likewise.
3563         * testsuite/22_locale/time_get/get_time/char/2.cc: Likewise.
3564         * testsuite/22_locale/time_get/get_time/char/wrapped_env.cc: Likewise.
3565         * testsuite/22_locale/time_get/get_time/char/wrapped_locale.cc:
3566         Likewise.
3567         * testsuite/22_locale/time_get/get_time/wchar_t/1.cc: Likewise.
3568         * testsuite/22_locale/time_get/get_time/wchar_t/2.cc: Likewise.
3569         * testsuite/22_locale/time_get/get_time/wchar_t/wrapped_env.cc:
3570         Likewise. 
3571         * testsuite/22_locale/time_get/get_time/wchar_t/wrapped_locale.cc:
3572         Likewise.
3573         * testsuite/22_locale/time_get/get_weekday/char/2.cc: Likewise.
3574         * testsuite/22_locale/time_get/get_weekday/char/wrapped_env.cc:
3575         Likewise.
3576         * testsuite/22_locale/time_get/get_weekday/char/wrapped_locale.cc:
3577         Likewise. 
3578         * testsuite/22_locale/time_get/get_weekday/wchar_t/2.cc: Likewise.
3579         * testsuite/22_locale/time_get/get_weekday/wchar_t/wrapped_env.cc:
3580         Likewise.    
3581         * testsuite/22_locale/time_get/get_weekday/wchar_t/wrapped_locale.cc:
3582         Likewise. 
3583         * testsuite/22_locale/time_put/put/char/17038.cc: Likewise. 
3584         * testsuite/22_locale/time_put/put/char/2.cc: Likewise.     
3585         * testsuite/22_locale/time_put/put/char/3.cc: Likewise.     
3586         * testsuite/22_locale/time_put/put/char/4.cc: Likewise.     
3587         * testsuite/22_locale/time_put/put/char/6.cc: Likewise.     
3588         * testsuite/22_locale/time_put/put/char/7.cc: Likewise.     
3589         * testsuite/22_locale/time_put/put/char/8.cc: Likewise.     
3590         * testsuite/22_locale/time_put/put/char/9780-1.cc: Likewise.       
3591         * testsuite/22_locale/time_put/put/char/wrapped_env.cc: Likewise.
3592         * testsuite/22_locale/time_put/put/char/wrapped_locale.cc: Likewise.  
3593         * testsuite/22_locale/time_put/put/wchar_t/17038.cc: Likewise.   
3594         * testsuite/22_locale/time_put/put/wchar_t/2.cc: Likewise.
3595         * testsuite/22_locale/time_put/put/wchar_t/3.cc: Likewise.
3596         * testsuite/22_locale/time_put/put/wchar_t/4.cc: Likewise.
3597         * testsuite/22_locale/time_put/put/wchar_t/6.cc: Likewise.
3598         * testsuite/22_locale/time_put/put/wchar_t/7.cc: Likewise.
3599         * testsuite/22_locale/time_put/put/wchar_t/8.cc: Likewise.
3600         * testsuite/22_locale/time_put/put/wchar_t/wrapped_env.cc: Likewise.     
3601         * testsuite/22_locale/time_put/put/wchar_t/wrapped_locale.cc: Likewise.
3602         * testsuite/27_io/basic_filebuf/imbue/char/13007.cc: Likewise.  
3603         * testsuite/27_io/basic_filebuf/imbue/char/13171-1.cc: Likewise.
3604         * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
3605         * testsuite/27_io/basic_filebuf/imbue/char/13171-4.cc: Likewise.
3606         * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise.
3607         * testsuite/27_io/basic_filebuf/imbue/char/14975-1.cc: Likewise.
3608         * testsuite/27_io/basic_filebuf/imbue/char/2.cc: Likewise. 
3609         * testsuite/27_io/basic_filebuf/imbue/char/9322.cc: Likewise.       
3610         * testsuite/27_io/basic_filebuf/imbue/wchar_t/12868.cc: Likewise.
3611         * testsuite/27_io/basic_filebuf/imbue/wchar_t/13007.cc: Likewise.   
3612         * testsuite/27_io/basic_filebuf/imbue/wchar_t/13171-3.cc: Likewise. 
3613         * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-2.cc: Likewise. 
3614         * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-3.cc: Likewise. 
3615         * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc: Likewise. 
3616         * testsuite/27_io/basic_filebuf/imbue/wchar_t/2.cc: Likewise.       
3617         * testsuite/27_io/basic_filebuf/imbue/wchar_t/9322.cc: Likewise.    
3618         * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1.cc: Likewise.  
3619         * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2.cc: Likewise.  
3620         * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3.cc: Likewise.  
3621         * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4.cc: Likewise.  
3622         * testsuite/27_io/basic_filebuf/seekoff/wchar_t/1.cc: Likewise.    
3623         * testsuite/27_io/basic_filebuf/seekoff/wchar_t/2.cc: Likewise.    
3624         * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9874.cc: Likewise. 
3625         * testsuite/27_io/basic_filebuf/underflow/wchar_t/1.cc: Likewise.  
3626         * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-1.cc: Likewise.  
3627         * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-2.cc: Likewise.  
3628         * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-3.cc: Likewise.  
3629         * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-4.cc: Likewise.  
3630         * testsuite/27_io/basic_filebuf/underflow/wchar_t/2.cc: Likewise.
3631         * testsuite/27_io/basic_filebuf/underflow/wchar_t/3.cc: Likewise.
3632         * testsuite/27_io/basic_filebuf/underflow/wchar_t/4.cc: Likewise.
3633         * testsuite/27_io/basic_filebuf/underflow/wchar_t/5.cc: Likewise.
3634         * testsuite/27_io/basic_filebuf/underflow/wchar_t/9520.cc: Likewise.        
3635         * testsuite/27_io/basic_ios/copyfmt/char/2.cc: Likewise.   
3636         * testsuite/27_io/basic_ostream/inserters_arithmetic/char/2.cc:
3637         Likewise.   
3638         * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/2.cc:
3639         Likewise.
3640         * testsuite/27_io/basic_streambuf/imbue/char/13007-1.cc: Likewise.
3641         * testsuite/27_io/basic_streambuf/imbue/char/13007-2.cc: Likewise.
3642         * testsuite/27_io/basic_streambuf/imbue/char/9322.cc: Likewise.  
3643         * testsuite/27_io/basic_streambuf/imbue/wchar_t/13007-1.cc: Likewise.    
3644         * testsuite/27_io/basic_streambuf/imbue/wchar_t/13007-2.cc: Likewise.    
3645         * testsuite/27_io/basic_streambuf/imbue/wchar_t/9322.cc: Likewise. 
3646         * testsuite/27_io/basic_stringbuf/imbue/char/9322.cc: Likewise.    
3647         * testsuite/27_io/basic_stringbuf/imbue/wchar_t/9322.cc: Likewise.
3648         * testsuite/27_io/objects/wchar_t/10.cc: Likewise. 
3649         * testsuite/27_io/objects/wchar_t/11.cc: Likewise. 
3650         * testsuite/27_io/objects/wchar_t/12.cc: Likewise. 
3651         * testsuite/27_io/objects/wchar_t/13.cc: Likewise. 
3652         * testsuite/27_io/objects/wchar_t/9520.cc: Likewise.
3653         * testsuite/ext/stdio_sync_filebuf/wchar_t/12077.cc: Likewise.
3655 2005-05-17  Nathan Sidwell  <nathan@codesourcery.com>
3657         * libsupc++/eh_personality.cc (gcc_unreachable): Define.
3659 2005-05-16  Paolo Carlini  <pcarlini@suse.de>
3661         * docs/html/install.html: Update list of required named
3662         locales, add "es_ES".
3664 2005-05-13  Magnus Fromreide  <magfr@lysator.liu.se>
3666         * testsuite/27_io/basic_streambuf/sgetn/char/1.cc: Use
3667         initialization instead of copying as the string is used only once.
3668         * testsuite/27_io/basic_streambuf/sgetn/wchar_t/1.cc: Likewise.
3669         * testsuite/27_io/basic_streambuf/sputn/char/1.cc: Likewise.
3670         * testsuite/27_io/basic_streambuf/sputn/wchar_t/1.cc: Likewise.
3672 2005-05-12  Benjamin Kosnik  <bkoz@redhat.com>
3674         * scripts/create_testsuite_files: Fix.
3675         
3676 2005-05-12  Kaz Kojima  <kkojima@gcc.gnu.org>
3678         * testsuite/18_support/numeric_limits.cc (dg-options): Add
3679         -mieee to options on sh*-*-*.
3681 2005-05-10  Jonathan Wakely  <redi@gcc.gnu.org>
3683         * include/debug/debug.h: Fix typo in macro name.
3685 2005-05-09  Paolo Carlini  <pcarlini@suse.de>
3686             Giovanni Bajo  <giovannibajo@gcc.gnu.org>
3687             
3688         PR libstdc++/18604
3689         * include/bits/deque.tcc: Fully qualify names from namespace std.
3690         * include/bits/stl_bvector.h: Likewise.
3691         * include/bits/stl_deque.h: Likewise.
3692         * include/bits/stl_list.h: Likewise.
3693         * include/bits/stl_map.h: Likewise.
3694         * include/bits/stl_multimap.h: Likewise.
3695         * include/bits/stl_multiset.h: Likewise.
3696         * include/bits/stl_set.h: Likewise.
3697         * include/bits/stl_vector.h: Likewise.
3698         * include/bits/vector.tcc: Likewise.
3699         * include/std/std_bitset.h: Likewise.
3700         * testsuite/23_containers/bitset/18604.cc: New.
3701         * testsuite/23_containers/deque/18604.cc: Likewise.
3702         * testsuite/23_containers/list/18604.cc: Likewise.
3703         * testsuite/23_containers/map/18604.cc: Likewise.
3704         * testsuite/23_containers/set/18604.cc: Likewise.
3705         * testsuite/23_containers/vector/18604.cc: Likewise.    
3707 2005-05-09  Mike Stump  <mrs@apple.com>
3709         * configure: Regenerate.
3711 2005-05-09  Jonathan Wakely  <redi@gcc.gnu.org>
3713         DR 434. bitset::to_string() hard to use [Ready]
3714         * include/debug/bitset (to_string): Add three overloads, taking
3715         fewer template arguments.
3717 2005-05-06  Mark Mitchell  <mark@codesourcery.com>
3719         * testsuite/testsuite_hooks.cc (try_mkfifo): Remove.
3720         * testsuite/testsuite_hooks.h (try_mkfifo): Likewise.
3721         * testsuite/27_io/basic_filebuf/close/char/4879.cc: Use
3722         dg-require-fork and dg-require-mkfifo.  Replace try_mkfifo with
3723         mkfifo.
3724         * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise.
3725         * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
3726         * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise.
3727         * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-2.cc:
3728         Likewise.
3729         * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc:
3730         Likewise.
3731         * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise.
3732         * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc:
3733         Likewise.
3734         * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise.
3735         * testsuite/27_io/objects/char/7.cc: Likewise.
3736         * testsuite/27_io/objects/char/9661-1.cc: Likewise.
3737         * testsuite/27_io/objects/wchar_t/7.cc: Likewise.
3738         * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise.
3740 2005-05-04  Benjamin Kosnik  <bkoz@redhat.com>
3742         * acinclude.m4: Remove testsuite_wchar_t and testsuite_thread.
3743         * testsuite/Makefile.am: Same.
3744         * scripts/create_testsuite_files: Same. 
3745         * Makefile.in: Regenerate.
3746         * configure: Same.
3747         * include/Makefile.in: Same.
3748         * libmath/Makefile.in: Same.
3749         * libsupc++/Makefile.in: Same.
3750         * po/Makefile.in: Same.
3751         * src/Makefile.in: Same.
3753 2005-05-04  Mark Mitchell  <mark@codesourcery.com>
3755         * testsuite/lib/libstdc++.exp (v3-build_support): Look for
3756         __GTHREADS, rather than _GLIBCXX_HAVE_GTHR_DEFAULT, to determine
3757         whether or not thread support is available.
3759         * docs/html/test.html: Explain how to run the testsuite on an
3760         installed directory. 
3762 2005-05-01  Paolo Carlini  <pcarlini@suse.de>
3764         * config/os/aix/os_defines.h: Remove obsolete __off_t,
3765         __off64_t, __ssize_t defines.
3766         * config/os/djgpp/os_defines.h: Likewise.
3767         * config/os/hpux/os_defines.h: Likewise.
3768         * config/os/irix/irix5.2/os_defines.h: Likewise.
3769         * config/os/irix/irix6.5/os_defines.h: Likewise.
3770         * config/os/solaris/solaris2.5/os_defines.h: Likewise.
3771         * config/os/solaris/solaris2.6/os_defines.h: Likewise.
3772         * config/os/solaris/solaris2.7/os_defines.h: Likewise.
3773         * docs/html/17_intro/porting.html: Don't discuss the defines.
3774         * docs/html/17_intro/porting.texi: Likewise.
3776 2005-04-29  Paolo Carlini  <pcarlini@suse.de>
3777             Nathan Myers  <ncm@cantrip.org>
3779         PR libstdc++/21286
3780         * include/bits/fstream.tcc (basic_filebuf<>::xsgetn):
3781         Loop on short reads; remove the work-around for
3782         libstdc++/20806, not needed anymore.
3784 2005-04-29  Paolo Carlini  <pcarlini@suse.de>
3786         PR libstdc++/21238
3787         * include/bits/locale_facets.tcc (num_get::_M_extract_float,
3788         num_get::_M_extract_int, num_get::do_get(bool&),
3789         num_put::_M_insert_int, num_put::_M_insert_float,
3790         num_put::do_put(bool), money_get::_M_extract,
3791         money_put::_M_insert): Adjust the __cache_type typedef not to
3792         forward to a numpunct/moneypunct typedef.
3793         * testsuite/testsuite_character.h: Add pod_uint and its numpunct
3794         and moneypunct specializations.
3795         * testsuite/testsuite_character.cc: Add numpunct<pod_uint>::id
3796         and moneypunct<pod_uint>::id.
3797         * testsuite/22_locale/num_get/3.cc: New.
3798         * testsuite/22_locale/num_put/3.cc: Likewise.
3799         * testsuite/22_locale/money_get/3.cc: Likewise.
3800         * testsuite/22_locale/money_put/3.cc: Likewise.
3802         * include/bits/locale_facets.tcc (money_put::_M_insert,
3803         time_get::_M_extract_name): Prefer operator== to operator!=
3804         on char_types.
3806 2005-04-29  Paolo Carlini  <pcarlini@suse.de>
3808         * include/tr1/type_traits (is_convertible): Adjust according
3809         to the resolution of TR1 issue 3.20.
3810         * testsuite/tr1/4_metaprogramming/relationships_between_types/
3811         is_convertible/is_convertible.cc: Add tests.
3813 2005-04-28  Paolo Carlini  <pcarlini@suse.de>
3814             Gabriel Dos Reis  <gdr@integrable-solutions.net>
3816         PR libstdc++/21244 (cont)
3817         * include/bits/cpp_type_traits.h (struct __traitor): Convert
3818         to bool the values.
3819         * include/bits/stl_algo.h: Convert _S_threshold to int.
3820         * include/bits/stl_bvector.h: Revert previous change, convert
3821         _S_word_bit to int.
3822         * include/debug/formatter.h: Convert __max_parameters to
3823         size_t.
3824         * include/ext/mt_allocator.h: Likewise for _S_chunk_size.
3825         * include/ext/pool_allocator.h: Likewise for _S_max_bytes and
3826         _S_align.
3827         * include/ext/rope: Likewise for _S_alloc_granularity; convert
3828         _S_max_rope_depth to int.
3829         * include/ext/ropeimpl.h: Convert _S_path_cache_len to int;
3830         _S_max_rope_depth to int; _S_copy_max to size_t.
3832 2005-04-27  Benjamin Kosnik  <bkoz@redhat.com>
3834         * docs/doxygen/user.cfg.in: Update to doxygen-1.4.2.
3835         * docs/doxygen/doxygroups.cc: Update namespace comments.
3837 2005-04-27  Dominik Strasser  <dominik.strasser@infineon.com>
3838             Paolo Carlini  <pcarlini@suse.de>
3840         PR libstdc++/21244
3841         * include/bits/stl_bvector.h: Change the anonymous enum
3842         at namespace scope to _S_word_bit_enum.
3843         * testsuite/23_containers/vector/bool/21244.cc: New.
3845 2005-04-27  Paolo Carlini  <pcarlini@suse.de>
3847         * include/tr1/type_traits (has_trivial_copy, has_trivial_assign,
3848         has_nothrow_copy, has_nothrow_assign): Adjust according to the
3849         resolution of TR1 issue 3.21.
3850         * testsuite/testsuite_tr1.h (test_copy_property,
3851         test_assign_property): Remove.
3852         * testsuite/tr1/4_metaprogramming/type_properties/
3853         has_nothrow_assign/has_nothrow_assign.cc: Adjust.
3854         * testsuite/tr1/4_metaprogramming/type_properties/
3855         has_nothrow_copy/has_nothrow_copy.cc: Likewise.
3856         * testsuite/tr1/4_metaprogramming/type_properties/
3857         has_trivial_assign/has_trivial_assign.cc: Likewise.
3858         * testsuite/tr1/4_metaprogramming/type_properties/
3859         has_trivial_copy/has_trivial_copy.cc: Likewise.
3861 2005-04-26  Jones Desougi  <jones@ingate.com>
3863         PR libstdc++/21131
3864         * linkage.m4: Fix comments.
3866 2005-04-26  Paolo Carlini  <pcarlini@suse.de>
3868         PR libstdc++/21209
3869         * include/bits/locale_facets.tcc (_M_extract_int): Avoid signed
3870         integer overflow, always use a suited unsigned type in the main
3871         parsing loop.
3872         (struct __to_unsigned_type): New.
3873         * testsuite/22_locale/num_get/get/char/16.cc: New.
3874         * testsuite/22_locale/num_get/get/wchar_t/16.cc: Likewise.
3876 2005-04-25  Paolo Carlini  <pcarlini@suse.de>
3878         PR libstdc++/21035
3879         * include/bits/basic_string.h (compare): Adjust the documentation
3880         to match the implementation and the standard.
3882 2005-04-24  Paolo Carlini  <pcarlini@suse.de>
3884         * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 35.
3886 2005-04-20  Mark Mitchell  <mark@codesourcery.com>
3888         * testsuite/ext/bitmap_allocator/check_allocate_max_size.cpp: Add
3889         explicit instantiations for systems without weak symbols.
3890         * testsuite/ext/bitmap_allocator/check_deallocate_null.cc:
3891         Likewise. 
3893 2005-04-18  Jonathan Wakely  <redi@gcc.gnu.org>
3895         * include/bits/stl_algo.h (rotate_copy): Add missing std qualification.
3897 2005-04-17  Paolo Carlini  <pcarlini@suse.de>
3899         PR libstdc++/20914
3900         * include/bits/locale_facets.tcc (__int_to_char(_CharT*, _ValueT,
3901         const _CharT*, ios_base::fmtflags, bool)): Don't deal with numeric
3902         base or sign here, instead...
3903         (_M_insert_int(_OutIter, ios_base&, _CharT, _ValueT)): ... here,
3904         after adding the grouping. This fixes the bug and also allows to
3905         clean-up the code dealing with integer types.
3906         (_M_group_int(const char*, size_t, _CharT, ios_base&, _CharT*,
3907         _CharT*, int&)): Simplify, remove bits dealing with numeric base.
3908         (__int_to_char(_CharT*, unsigned long, const _CharT*,
3909         ios_base::fmtflags), __int_to_char(_CharT*, unsigned long long,
3910         const _CharT*, ios_base::fmtflags)): Remove hackish fix for
3911         libstdc++/15565.
3912         (__int_to_char(_CharT*, long, const _CharT*, ios_base::fmtflags),
3913         __int_to_char(_CharT*, long long, const _CharT*, ios_base::fmtflags)):
3914         Simplify, don't pass the sign.
3915         (_M_insert_float(_OutIter, ios_base&, _CharT, char, _ValueT)):
3916         Deal with a sign at the beginning of __cs; robustify the grouping
3917         check.
3918         * testsuite/22_locale/num_put/put/char/20914.cc: New.
3919         * testsuite/22_locale/num_put/put/wchar_t/20914.cc: Likewise.
3921 2005-04-14  Benjamin Kosnik  <bkoz@redhat.com>
3923         * include/ext/bitmap_allocator.h
3924         (__gnu_cxx::free_list::_M_get_mutex): New.
3925         (__gnu_cxx::free_list::_M_get_free_list): New.
3926         (__gnu_cxx::free_list::_S_bfl_mutex): Remove.
3927         (__gnu_cxx::free_list::_S_free_list): Remove.
3928         * src/bitmap_allocator.cc: Same.
3929         * config/linker-map.gnu: Remove free_list and mutex export.
3931 2005-04-14  Benjamin Kosnik  <bkoz@redhat.com>
3933         *  include/ext/pod_char_traits.h (__gnu_cxx::character): Add char_type.
3934         (character::to): New.
3935         (character::from): New.
3936         (operator==): Add state parameter.
3937         (operator<): Same.
3938         (char_traits::copy): Use std::copy.
3939         (char_traits::assign): Use std::fill_n.
3940         (char_traits::to_char_type): Use character::from.
3941         (char_traits::to_int_type): Use character::to.
3942         *  testsuite/testsuite_character.h (__gnu_test::character): Remove.
3943         (__gnu_test::conversion_state): Remove.
3944         (__gnu_test::pod_char): Remove.
3945         (pod_char): New typedef.
3946         (pod_uchar): New typedef.
3947         (pod_ushort): New typedef.
3948         *  testsuite/testsuite_character.cc: Fixups.
3949         *  testsuite/21_strings/basic_string/inserters_extractors/pod/
3950         10081-in.cc: Same.
3951         *  testsuite/21_strings/basic_string/inserters_extractors/pod/
3952         10081-out.cc: Same.
3953         *  testsuite/22_locale/numpunct/members/pod/1.cc: Same.
3954         *  testsuite/22_locale/numpunct/members/pod/2.cc: Same.
3955         *  testsuite/27_io/basic_filebuf/close/12790-1.cc: Same.
3956         *  testsuite/27_io/basic_filebuf/open/12790-1.cc: Same.
3957         *  testsuite/27_io/basic_filebuf/seekoff/12790-1.cc: Same.
3958         *  testsuite/27_io/basic_filebuf/seekoff/12790-2.cc: Same.
3959         *  testsuite/27_io/basic_filebuf/seekoff/12790-3.cc: Same.
3960         *  testsuite/27_io/basic_filebuf/seekoff/12790-4.cc: Same.
3961         *  testsuite/27_io/basic_filebuf/seekpos/12790-1.cc: Same.
3962         *  testsuite/27_io/basic_filebuf/seekpos/12790-2.cc: Same.
3963         *  testsuite/27_io/basic_filebuf/seekpos/12790-3.cc: Same.
3964         *  testsuite/27_io/basic_ios/imbue/14072.cc: Same.
3965         *  testsuite/27_io/basic_istream/extractors_arithmetic/pod/
3966         3983-1.cc: Same.
3967         *  testsuite/27_io/basic_istream/extractors_character/pod/
3968         3983-2.cc: Same.
3969         *  testsuite/27_io/basic_istream/extractors_other/pod/3983-3.cc: Same.
3970         *  testsuite/27_io/basic_istream/sentry/pod/1.cc: Same.
3971         *  testsuite/27_io/basic_ostream/sentry/pod/1.cc: Same.
3973 2005-04-12  Mike Stump  <mrs@apple.com>
3975         * configure: Regenerate.
3977 2005-04-08  Benjamin Kosnik  <bkoz@redhat.com>
3979         * testsuite/Makefile.am: Remove libv3test.a.
3980         * testsuite/Makefile.in: Regenerate.
3981         * testsuite/lib/libstdc++.exp (v3_target_compile): Fix comments.
3982         
3983 2005-04-08  Paolo Carlini  <pcarlini@suse.de>
3985         PR libstdc++/20909
3986         * include/bits/locale_facets.tcc (num_put<>::_M_insert_float):
3987         Don't even try to group numbers like 2e20, i.e., no decimal
3988         point, scientific notation.
3989         * testsuite/22_locale/num_put/put/char/20909.cc: New.
3990         * testsuite/22_locale/num_put/put/wchar_t/20909.cc: Likewise.
3992 2005-04-08  Kelley Cook  <kcook@gcc.gnu.org>
3994         * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Define _GLIBCXX_ASM_SYMVER.
3995         * acconfig.h: Delete file.
3996         * Makefile.in, acinclude.m4, configure: Regenerate.
3998 2005-04-08  Kelley Cook  <kcook@gcc.gnu.org>
4000         * linkage.m4 (GLIBCXX_MAYBE_UNDERSCORED_FUNCS): New macro.
4001         (GLIBCXX_CHECK_MATH_DECL_AND_LINKAGE_1,
4002         GLIBCXX_CHECK_MATH_DECL_AND_LINKAGE_2,
4003         GLIBCXX_CHECK_MATH_DECL_AND_LINKAGE_3,
4004         GLIBCXX_CHECK_MATH_DECLS_AND_LINKAGES_1,
4005         GLIBCXX_CHECK_STDLIB_DECL_AND_LINKAGE_2): Use it.
4006         (GLIBCXX_CHECK_MATH_SUPPORT): Delete obsolete comment.
4007         * acconfig.h: Delete redundant macros.
4008         * config.h.in, configure: Regenerate.
4010 2005-04-08  Kelley Cook  <kcook@gcc.gnu.org>
4012         * linkage.m4 (GLIBCXX_CHECK_MATH_DECLS_AND_LINKAGES_1): Eliminate
4013         a subshell and if test fails, test for same functions with 
4014         leading underscore.
4015         (GLIBCXX_CHECK_MATH_SUPPORT): Eliminate seperate checks for _funcs.
4016         * configure: Regenerate.
4018 2005-04-08  Danny Smith  <dannysmith@users.sourceforge.net>
4019             Paolo Carlini  <pcarlini@suse.de>
4020                         
4021         PR libstdc++/20806
4022         * config/os/mingw32/os_defines.h: Define
4023         _GLIBCXX_HAVE_DOS_BASED_FILESYSTEM.
4024         * config/os/newlib/os_defines.h: Likewise, for __CYGWIN__.
4025         * include/bits/fstream.tcc (basic_filebuf<>::showmanyc()):
4026         Use it.
4027         (basic_filebuf<>::xsgetn(_CharT*, streamsize)): Likewise.
4029 2005-04-08  Kelley Cook  <kcook@gcc.gnu.org>
4031         * acconfig.h: Sort the bottom section.
4032         * config.h.in: Regenerate.
4034 2005-04-08  Kelley Cook  <kcook@gcc.gnu.org>
4036         * acconfig.h: Remove redundant HAVE_FLOAT_H.
4037         * config.h.in: Regenerate.
4039 2005-04-08  Kelley Cook  <kcook@gcc.gnu.org>
4041         * configure.ac: Create template for PACKAGE and VERSION.
4042         Update comment on how to regenerate file.  Update minimum
4043         automake version to 1.9.3.
4044         * acconfig.h: Remove PACKAGE and VERSION.
4045         * aclocal.m4, configure, Makefile.in, po/Makefile.in, 
4046         src/Makefile.in, include/Makefile.in, libmath/Makefile.in, 
4047         testsuite/Makefile.in, config.h.in: Regenerate.
4049 2005-04-06  Benjamin Kosnik  <bkoz@redhat.com>
4051         * docs/html/test.html: Update.
4052         * testsuite/printnow.c: Remove.
4053         * scripts/check_survey.in: Remove.
4055         * testsuite/abi_check.cc: To...
4056         * testuite/testsuite_abi_check.cc: ...here.
4057         * testsuite/libstdc++-abi/abi.exp: Change abi_check.cc to
4058         testsuite_abi_check.cc.
4060         * testsuite/testsuite_hooks.h: Move character related bits to...
4061         * testsuite/testsuite_character.h: ...here.
4062         * testsuite/testsuite_character.cc: ... and here.
4063         * testsuite/21_strings/basic_string/inserters_extractors/pod/
4064         10081-in.cc: Use testsuite_character.h.
4065         * testsuite/21_strings/basic_string/inserters_extractors/pod/
4066         10081-out.cc: Same.
4067         * testsuite/22_locale/numpunct/members/pod/1.cc: Same.
4068         * testsuite/22_locale/numpunct/members/pod/2.cc: Same.
4069         * testsuite/27_io/basic_filebuf/2.cc: Same.
4070         * testsuite/27_io/basic_fstream/2.cc: Same.
4071         * testsuite/27_io/basic_istream/2.cc: Same.
4072         * testsuite/27_io/basic_istream/extractors_arithmetic/pod/
4073         3983-1.cc: Same.
4074         * testsuite/27_io/basic_istream/extractors_character/char/
4075         9826.cc: Same.
4076         * testsuite/27_io/basic_istream/extractors_character/pod/
4077         3983-2.cc: Same.
4078         * testsuite/27_io/basic_istream/extractors_other/pod/3983-3.cc: Same.
4079         * testsuite/27_io/basic_istream/sentry/pod/1.cc: Same.
4080         * testsuite/27_io/basic_ostream/2.cc: Same.
4081         * testsuite/27_io/basic_ostream/sentry/pod/1.cc: Same.
4082         * testsuite/27_io/basic_streambuf/2.cc: Same.
4083         * testsuite/27_io/basic_stringbuf/2.cc: Same.
4084         * testsuite/27_io/basic_stringbuf/4.cc: Same.
4085         * testsuite/27_io/basic_stringstream/2.cc: Same.
4086         * testsuite/27_io/fpos/1.cc: Same.
4087         * testsuite/ext/mt_allocator/tune-1.cc: Same.
4088         * testsuite/ext/mt_allocator/tune-2.cc: Same.
4089         * testsuite/ext/stdio_filebuf/char/1.cc: Same.  
4090         * testsuite/lib/libstdc++.exp (v3-build_support): Add
4091         testsuite_character.cc.
4092         * testsuite/Makefile.am (libv3test_a_SOURCES): Add
4093         testsuite_character.cc.
4094         * testsuite/Makefile.in: Regenerate.
4095                 
4096         * configure.ac: Remove use of check_survey.
4097         * configure: Regenerate.
4098         * testsuite/Makefile.am: Remove check-script and
4099         check-script-install rules.
4100         * testsuite/Makefile.in: Regenerate.
4102 2005-04-06  Ulrich Weigand  <uweigand@de.ibm.com>
4104         * config/cpu/s390/atomicity.h (__exchange_and_add): Add "memory"
4105         clobber to inline assembly statement.
4107 2005-04-06  Kelley Cook  <kcook@gcc.gnu.org>
4109         * acinclude.m4 (_GLIBCXX_USE_LONG_LONG,
4110         _GLIBCXX_USE_WCHAR_T, _GLIBCXX_USE_C99, _GLIBCXX_USE_C99_MATH,
4111         _GLIBCXX_USE_C99_COMPLEX, _GLIBCXX_RES_LIMITS, _GLIBCXX_CONCEPT_CHECKS,
4112         _GLIBCXX_SYMVER, _GLIBCXX_USE_LFS, _GLIBCXX_FULLY_DYNAMIC_STRING,
4113         _GLIBCXX_USE_NLS, HAVE_GTHR_DEFAULT, HAVE_MBSTATE_T, HAVE_POLL,
4114         HAVE_S_ISREG, HAVE_S_IFREG, HAVE_WRITEV, HAVE_INT64_T,
4115         HAVE_LC_MESSAGES): Use long form of AC_DEFINE ...
4116         * acconfig.h: ... to eliminate them from here.
4117         (_GLIBCXX_ASM_SYMVER): Move definition below @BOTTOM@.
4118         * config.h.in, configure: Regenerate.
4119         
4120 2005-04-05  Kelley Cook  <kcook@gcc.gnu.org>
4122         * Makefile.am (ACLOCAL_AMFLAGS): Define.
4123         * crossconfig.m4: Wrap file into new GLIBCXX_CROSSCONFIG macro.
4124         * configure.ac: Use it.
4125         * acinclude.m4: Delete explicit m4_includes and sincludes.
4126         * aclocal.m4, configure, Makefile.in, po/Makefile.in, 
4127         src/Makefile.in, include/Makefile.in, libmath/Makefile.in, 
4128         testsuite/Makefile.in: Regenerate.
4130 2005-04-05  Jonathan Wakely  <redi@gcc.gnu.org>
4132         * include/tr1/memory, include/tr1/boost_shared_ptr.h: Use mutex
4133         to make _Sp_counted_base::add_ref_lock() thread-safe. Check whether
4134         to destroy resources by testing for equality, not inequality. Add
4135         empty critical sections to solve memory visibility issues.
4136         * testsuite/tr1/2_general_utilities/memory/
4137         shared_ptr/cons/auto_ptr_neg.cc: Use dg-excess-errors instead of
4138         explicitly listing line numbers which need to be kept in sync.
4139         * testsuite/tr1/2_general_utilities/memory/
4140         shared_ptr/assign/auto_ptr_neg.cc: Same.
4141         * testsuite/tr1/2_general_utilities/memory/
4142         shared_ptr/assign/auto_ptr_rvalue_neg.cc: Same.
4143         * testsuite/tr1/2_general_utilities/memory/
4144         shared_ptr/cons/weak_ptr_expired.cc: Make XFAIL for consistency when
4145         -fno-exceptions.
4146         * testsuite/tr1/2_general_utilities/memory/
4147         enable_shared_from_this/not_shared.cc: Add explanatory comments.
4148         * testsuite/tr1/2_general_utilities/memory/
4149         enable_shared_from_this/not_shared2.cc: Same.
4150         * testsuite/tr1/2_general_utilities/memory/
4151         enable_shared_from_this/not_shared3.cc: Same.
4153 2005-04-05  Kelley Cook  <kcook@gcc.gnu.org>
4155         * acconfig.h: Delete macros already AC_DEFINED.
4156         * config.h.in: Regenerate.
4158 2005-04-05  Kelley Cook  <kcook@gcc.gnu.org>
4160         * acconfig.h (HAVE_MODF): Remove.
4161         * linkage.m4: Check for modf.
4162         * config.h.in, configure: Regenerate.
4164 2005-04-05  Kelley Cook  <kcook@gcc.gnu.org>
4166         * acconfig.h (ENABLE_NLS, HAVE_CATGETS): Remove.
4167         (HAVE_GETTEXT, HAVE_STPCPY): Likewise.
4168         * config.h.in: Regenerate.
4169         
4170 2005-04-05  Kelley Cook  <kcook@gcc.gnu.org>
4172         * linkage.m4 (GLIBCXX_CHECK_BUILTIN_MATH_DEC): Use m4 translit macro 
4173         to convert to uppercase instead of shelling out to tr.
4174         * acconfig.h: Remove now redundant HAVE__BUILTINS_*.
4175         * configure, config.h.in: Regenerate.
4177 2005-04-05  Kelley Cook  <kcook@gcc.gnu.org>
4179         * acconfig.h (HAVE_TANL): Correct cut-and-paste typo.
4180         * config.h.in: Regenerate.
4182 2005-04-04  Mark Mitchell  <mark@codesourcery.com>
4184         * testsuite/Makefile.am (check-local): Remove.
4185         (curent_symbols.txt): Likewise.
4186         (check-abi): Do not depend on current_symbols.txt.
4187         * testsuite/Makefile.in: Regenerated.
4188         * testsuite/libstdc++-abi/abi.exp: Build current_symbols.txt.
4190 2005-04-02  Douglas Gregor  <doug.gregor@gmail.com>
4191         
4192         * include/tr1/tuple_iterate.h (tuple_element): Use new macro
4193         _GLIBCXX_T_NUM_ARGS_PLUS_1 because _T is a macro on Darwin.
4194         * include/tr1/repeat.h (_GLIBCXX_T_NUM_ARGS_PLUS_1): Define for
4195         each iteration.
4196         * scripts/gen_includers.h: Define _GLIBCXX_T_NUM_ARGS_PLUS_1 for
4197         each iteration.
4198         
4199 2005-04-01  Douglas Gregor  <doug.gregor@gmail.com>
4201         * include/tr1/functional (_Maybe_wrap_member_pointer): Wrap up
4202         member pointers in _Mem_fn but let other function objects pass
4203         through unchanged.
4204         * include/tr1/functional_iterator (bind): Reduce number of bind()
4205         overloads to two to eliminate ambiguities. Use
4206         _Maybe_wrap_member_pointer to handle member pointers gracefully.
4207         
4208 2005-04-01  Mark Mitchell  <mark@codesourcery.com>
4210         * testsuite/Makefile.am (noinst_PROGRAMS): Remove.
4211         (site.exp): Write out the path to the baseline file.
4212         (check-abi): Use DejaGNU.
4213         (check-abi-verbose): Remove.
4214         * testsuite/Makefile.in: Regenerated.
4215         * testsuite/abi_check.cc (main): Check the return value from
4216         compare_symbols.
4217         * testsuite/testsuite_abi.cc (compare_symbols): Return a value.
4218         * testsuite/testsuite_abi.h (compare_symbols): Adjust prototype.
4219         * testsuite/libstdc++-abi/abi.exp: New file.
4221 2005-03-31  Chris Jefferson  <chris@bubblescope.net>
4223         * include/tr1/tuple: Support iteration via tuple_iterate.h.
4224         * include/tr1/tuple_iterate.h: Iteration file for tuple.
4226 2005-03-31  Douglas Gregor  <doug.gregor@gmail.com>
4228         * include/Makefile.am (tr1_headers): Add bind and mu repetition
4229         headers and reference_wrapper<> forwarding header.
4230         * include/Makefile.in: Regenerate.
4231         * include/tr1/bind_iterate.h: Implementation of function call
4232         operators for the function object returned from tr1::bind().
4233         * include/tr1/bind_repeat.h: Bind-specific repetition header,
4234         akin to include/tr1/repeat.h.
4235         * include/tr1/functional (_Mem_fn): Bug fix: declare result member
4236         template for use with result_of.
4237         (is_bind_expression): New.
4238         (is_placeholder): New.
4239         (_Placeholder): New. Placeholder type for bind.
4240         (_Mu): New. Implementation detail of bind.
4241         (_Bind, _Bind_result): New. Function objects returned by bind.
4242         (_GLIBCXX_JOIN): New. Required to create bind placeholders.
4243         * include/tr1/functional_iterate.h (_Bind, _Bind_result, bind):
4244         New. Implementation of tr1::bind.
4245         * include/tr1/mu_iterate.h (_Mu): result template and operator()
4246         for the _Mu helper to bind.
4247         * include/tr1/ref_fwd.h (reference_wrapper): Forward declaration
4248         used by tuple header.
4249         (ref): Ditto.
4250         (cref): Ditto.
4251         * include/tr1/repeat.h: Add bind-specific repetition macros.
4252         * include/tr1/tuple: Use reference_wrapper forwarding header for
4253         initial definitions, then include <tr1/functional> at the end, to
4254         make the circular dependencies work.
4255         (tie): Support zero-argument tie() function.
4256         * testsuite/tr1/3_function_objects/bind/all_bound.cc: New test of
4257         bind() functionality with parameters bound.
4258         * testsuite/tr1/3_function_objects/bind/nested.cc: New test of
4259         nested bind() expressions.
4260         * testsuite/tr1/3_function_objects/bind/placeholders.cc: New test
4261         of bind() placeholders.
4262         * testsuite/tr1/3_function_objects/bind/ref.cc: New test of bind()
4263         with arguments bound via reference_wrapper<>.
4264         * scripts/gen_includers.pl: Generate the repetitive part of
4265         include/tr1/repeat.h.
4266         * scripts/gen_bind_includers.pl: Generate the repetitive part of
4267         include/tr1/bind_repeat.h. 
4268         
4269 2005-03-30  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
4271         * testsuite/Makefile.am (CXX): Use ${SHELL}.
4272         (GLIBCXX_INCLUDES): Same.
4273         (AM_CXXFLAGS): Same.
4274         * testsuite/Makefile.in: Regenerate.
4276 2005-03-25  Mark Mitchell  <mark@codesourcery.com>
4278         * testsuite/lib/libstdc++.exp (libstdc++_init): Define LOCALEDIR
4279         when testing an installed compiler.
4280         
4281         * testsuite/lib/libstdc++.exp (v3-build_support): Pass -w when
4282         compiling support objects.
4284 2005-03-24  Benjamin Kosnik  <bkoz@redhat.com>
4286         * include/tr1/memory: Forward to...
4287         * include/tr1/boost_shared_ptr.h: ...here. Add Boost Software License.
4288         * include/Makefile.am (tr1_headers): Add boost_shared_ptr.h.
4289         * include/Makefile.in: Regenerate.
4290         * testsuite/tr1/2_general_utilities/memory/shared_ptr/cons/
4291         auto_ptr_neg.cc: Adjust line numbers.
4293 2005-03-23  Mark Mitchell  <mark@codesourcery.com>
4295         * testsuite/Makefile.am (all-local): Do not build testsuite_files.
4296         * testsuite/Makefile.in: Regenerated. 
4298 2005-03-23  Benjamin Kosnik  <bkoz@redhat.com>
4300         * acinclude.m4: Adjust so that _GLIBCXX_USE_C99 implies
4301         using _GLIBCXX_USE_C99_COMPLEX, _GLIBCXX_USE_C99_MATH, and
4302         _GLIBCXX_USE_C99_WCHAR.
4303         Remove GLIBCXX_ENABLE_C_MBCHAR, consolidate in GLIBCXX_ENABLE_C99
4304         and GLIBCXX_ENABLE_WCHAR_T.
4305         Take C99 bits from GLIBCXX_CHECK_WCHAR_T_SUPPORT and put in 
4306         GLIBCXX_ENABLE_C99.
4307         Change remaining parts of GLIBCXX_CHECK_WCHAR_T_SUPPORT to
4308         GLIBCXX_CHECK_ICONV_SUPPORT.
4309         * configure.ac: Remove GLIBCXX_ENABLE_C_MBCHAR, use
4310         GLIBCXX_CHECK_ICONV_SUPPORT and GLIBCXX_ENABLE_WCHAR_T.
4311         * crossconfig.m4: Same.
4312         * acconfig.h: Same, adjust comments.
4313         * config.h.in: Regenerate.
4314         * configure: Regenerate.
4315         * docs/html/configopts.html: Change --enable-c-mbchar to
4316         --enable-wchar_t.
4318         * config/locale/gnu/c++locale_internal.h: Guard wide functions
4319         with _GLIBCXX_USE_WCHAR_T.
4320         * include/c_std/std_cwctype.h: Alphabetize, remove duplicates.
4321         * include/c_std/std_cstdio.h: Spacing.
4323         * config/locale/gnu/c_locale.h: Tweaks for unused warnings.
4324         * src/debug.cc: Same.
4326 2005-03-23  Mark Mitchell  <mark@codesourcery.com>
4328         * testsuite/libstdc++-dg/normal.exp: Read testsuite_files, if it
4329         exists.
4331         * testsuite/lib/libstdc++.exp (libstdc++_wchar_t): Rename to ...
4332         (v3-wchar_t): ... this.
4333         (libstdc++_threads): Rename to ...
4334         (v3-threads): ... this.
4335         (libstdc++_test_objs): Rename to ...
4336         (v3-test_objs): ... this.
4337         (libstdc++_build_support): Rename to ...
4338         (v3-build_support): ... this.
4339         * testsuite/libstdc++-dg/normal.exp: Adjust to use new names.
4341         * testsuite/lib/libstdc++.exp (libstdc++_init): Improve handling
4342         of compilers not in the build directory.
4343         (libstdc++_wchar_t): New variable.
4344         (libstdc++_threads): Likewise.
4345         (libstdc++_test_objs): Likewise.
4346         (v3_target_compile): Use libstdc++_test_objs.
4347         (v3-list-tests): Remove.
4348         (listdc++_build_support): New function.
4349         * testsuite/libstdc++-dg/normal.exp: Rework to dynamically
4350         generate list of tests.
4352 2005-03-21  Chris Jefferson  <chris@bubblescope.net>
4354         PR libstdc++/20577
4355         * include/bits/stl_algobase.h (iter_swap): Only delegate iter_swap
4356         to swap when the iterator's reference_type is a reference to its
4357         value_type.
4358         * testsuite/25_algorithms/iter_swap/20577.cc: New.
4360 2005-03-21  Zack Weinberg  <zack@codesourcery.com>
4362         * acinclude.m4 (GLIBCXX_CONFIGURE): Delete gcc_version logic.
4363         (GLIBCXX_EXPORT_INSTALL_INFO): Adjust quotation so ${gcc_version}
4364         is expanded by the Makefiles, not by configure.
4365         * fragment.am: Set gcc_version.
4366         * libmath/Makefile.am: Likewise.
4367         * configure, Makefile.in, include/Makefile.in, libmath/Makefile.in
4368         * libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in
4369         * testsuite/Makefile.in: Regenerate.
4371 2005-03-16  Paolo Carlini  <pcarlini@suse.de>
4373         * testsuite/20_util/functional/binders.cc: Remove explicit
4374         instantiations for non-weak systems.
4375         * testsuite/20_util/memory/allocator/1.cc: Likewise.
4376         * testsuite/20_util/memory/allocator/10378.cc: Likewise.
4377         * testsuite/20_util/memory/allocator/10416.cc: Likewise.
4378         * testsuite/20_util/memory/allocator/8230.cc: Likewise.
4379         * testsuite/20_util/utility/rel_ops.cc: Likewise.
4380         * testsuite/22_locale/ctype/is/char/2.cc: Likewise.
4381         * testsuite/22_locale/ctype/is/wchar_t/2.cc: Likewise.
4382         * testsuite/23_containers/deque/cons/1.cc: Likewise.
4383         * testsuite/23_containers/deque/cons/2.cc: Likewise.
4384         * testsuite/23_containers/deque/invalidation/1.cc: Likewise.
4385         * testsuite/23_containers/deque/invalidation/2.cc: Likewise.
4386         * testsuite/23_containers/deque/invalidation/3.cc: Likewise.
4387         * testsuite/23_containers/deque/invalidation/4.cc: Likewise.
4388         * testsuite/23_containers/deque/modifiers/swap.cc: Likewise.
4389         * testsuite/23_containers/deque/operators/1.cc: Likewise.
4390         * testsuite/23_containers/list/capacity/1.cc: Likewise.
4391         * testsuite/23_containers/list/cons/1.cc: Likewise.
4392         * testsuite/23_containers/list/cons/2.cc: Likewise.
4393         * testsuite/23_containers/list/cons/3.cc: Likewise.
4394         * testsuite/23_containers/list/cons/4.cc: Likewise.
4395         * testsuite/23_containers/list/cons/5.cc: Likewise.
4396         * testsuite/23_containers/list/cons/6.cc: Likewise.
4397         * testsuite/23_containers/list/cons/7.cc: Likewise.
4398         * testsuite/23_containers/list/cons/8.cc: Likewise.
4399         * testsuite/23_containers/list/cons/9.cc: Likewise.
4400         * testsuite/23_containers/list/invalidation/1.cc: Likewise.
4401         * testsuite/23_containers/list/invalidation/2.cc: Likewise.
4402         * testsuite/23_containers/list/invalidation/3.cc: Likewise.
4403         * testsuite/23_containers/list/invalidation/4.cc: Likewise.
4404         * testsuite/23_containers/list/modifiers/1.cc: Likewise.
4405         * testsuite/23_containers/list/modifiers/2.cc: Likewise.
4406         * testsuite/23_containers/list/modifiers/3.cc: Likewise.
4407         * testsuite/23_containers/list/operators/1.cc: Likewise.
4408         * testsuite/23_containers/list/operators/2.cc: Likewise.
4409         * testsuite/23_containers/list/operators/3.cc: Likewise.
4410         * testsuite/23_containers/list/operators/4.cc: Likewise.
4411         * testsuite/23_containers/map/insert/1.cc: Likewise.
4412         * testsuite/23_containers/map/invalidation/1.cc: Likewise.
4413         * testsuite/23_containers/map/invalidation/2.cc: Likewise.
4414         * testsuite/23_containers/map/modifiers/swap.cc: Likewise.
4415         * testsuite/23_containers/map/operators/1.cc: Likewise.
4416         * testsuite/23_containers/multimap/invalidation/1.cc: Likewise.
4417         * testsuite/23_containers/multimap/invalidation/2.cc: Likewise.
4418         * testsuite/23_containers/multimap/modifiers/swap.cc: Likewise.
4419         * testsuite/23_containers/multiset/insert/1.cc: Likewise.
4420         * testsuite/23_containers/multiset/insert/2.cc: Likewise.
4421         * testsuite/23_containers/multiset/invalidation/1.cc: Likewise.
4422         * testsuite/23_containers/multiset/invalidation/2.cc: Likewise.
4423         * testsuite/23_containers/multiset/modifiers/swap.cc: Likewise.
4424         * testsuite/23_containers/priority_queue/members/7161.cc: Likewise.
4425         * testsuite/23_containers/queue/members/7157.cc: Likewise.
4426         * testsuite/23_containers/set/insert/1.cc: Likewise.
4427         * testsuite/23_containers/set/invalidation/1.cc: Likewise.
4428         * testsuite/23_containers/set/invalidation/2.cc: Likewise.
4429         * testsuite/23_containers/set/modifiers/swap.cc: Likewise.
4430         * testsuite/23_containers/stack/members/7158.cc: Likewise.
4431         * testsuite/23_containers/vector/bool/6886.cc: Likewise.
4432         * testsuite/23_containers/vector/capacity/1.cc: Likewise.
4433         * testsuite/23_containers/vector/capacity/8230.cc: Likewise.
4434         * testsuite/23_containers/vector/cons/1.cc: Likewise.
4435         * testsuite/23_containers/vector/cons/2.cc: Likewise.
4436         * testsuite/23_containers/vector/cons/3.cc: Likewise.
4437         * testsuite/23_containers/vector/cons/6513.cc: Likewise.
4438         * testsuite/23_containers/vector/element_access/1.cc: Likewise.
4439         * testsuite/23_containers/vector/invalidation/1.cc: Likewise.
4440         * testsuite/23_containers/vector/invalidation/2.cc: Likewise.
4441         * testsuite/23_containers/vector/invalidation/3.cc: Likewise.
4442         * testsuite/23_containers/vector/invalidation/4.cc: Likewise.
4443         * testsuite/23_containers/vector/modifiers/1.cc: Likewise.
4444         * testsuite/23_containers/vector/modifiers/2.cc: Likewise.
4445         * testsuite/23_containers/vector/modifiers/swap.cc: Likewise.
4446         * testsuite/23_containers/vector/resize/1.cc: Likewise.
4447         * testsuite/24_iterators/back_insert_iterator.cc: Likewise.
4448         * testsuite/24_iterators/front_insert_iterator.cc: Likewise.
4449         * testsuite/24_iterators/insert_iterator.cc: Likewise.
4450         * testsuite/24_iterators/iterator.cc: Likewise.
4451         * testsuite/25_algorithms/copy/1.cc: Likewise.
4452         * testsuite/25_algorithms/copy/2.cc: Likewise.
4453         * testsuite/25_algorithms/copy/3.cc: Likewise.
4454         * testsuite/25_algorithms/copy/4.cc: Likewise.
4455         * testsuite/25_algorithms/equal.cc: Likewise.
4456         * testsuite/25_algorithms/fill/1.cc: Likewise.
4457         * testsuite/25_algorithms/fill/2.cc: Likewise.
4458         * testsuite/25_algorithms/min_max.cc: Likewise.
4459         * testsuite/25_algorithms/rotate.cc: Likewise.
4460         * testsuite/25_algorithms/unique/1.cc: Likewise.
4461         * testsuite/25_algorithms/unique/2.cc: Likewise.
4462         * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9874.cc: Likewise.
4463         * testsuite/ext/concept_checks.cc: Likewise.
4464         * testsuite/ext/hash_map/1.cc: Likewise.
4465         * testsuite/ext/hash_set/1.cc: Likewise.
4466         * testsuite/ext/rope/1.cc: Likewise.
4467         * testsuite/ext/rope/2.cc: Likewise.
4468         * testsuite/ext/rope/3.cc: Likewise.
4469         * testsuite/thread/pthread1.cc: Likewise.
4470         * testsuite/thread/pthread4.cc: Likewise.
4471         * testsuite/thread/pthread5.cc: Likewise.
4472         * testsuite/thread/pthread6.cc: Likewise.
4473         * testsuite/thread/pthread7-rope.cc: Likewise.
4475 2005-03-15  Zack Weinberg  <zack@codesourcery.com>
4477         * include/Makefile.am (c++config.h): Depend on DATESTAMP from gcc
4478         subdirectory.  Generate #define of __GLIBCXX__ from contents of
4479         that file.
4480         * include/Makefile.in: Regenerate.
4481         * include/bits/c++config: Do not define __GLIBCXX__.
4483 2005-03-15  Paolo Carlini  <pcarlini@suse.de>
4485         PR libstdc++/20352
4486         * include/std/std_complex.h (pow(const complex<_Tp>&,
4487         const _Tp&)): On non-c99 platforms, don't try to compute
4488         log of complex zero.
4490 2005-03-10  Ben Elliston  <bje@au.ibm.com>
4492         * testsuite/22_locale/locale/cons/12658_thread-1.cc: Don't XFAIL
4493         on GNU/Linux.
4495 2005-03-07  Paolo Carlini  <pcarlini@suse.de>
4497         * include/tr1/type_traits (is_polymorphic): Don't forget
4498         the virtual destructor, thus avoiding warnings.
4499         * testsuite/testsuite_tr1.h (class AbstractClass,
4500         class PolymorphicClass): Likewise.
4502 2005-03-07  Paolo Carlini  <pcarlini@suse.de>
4504         * include/std/std_complex.h (pow(const complex<_Tp>&,
4505         const complex<_Tp>&)): Dispatch to either __complex_pow(__x.__rep(),
4506         __y.__rep()) or __complex_pow(__x, __y) depending on the macro
4507         _GLIBCXX_USE_C99_COMPLEX.
4509 2005-03-07  Paolo Carlini  <pcarlini@suse.de>
4511         * include/std/std_fstream.h (basic_fstream<>::open,
4512         basic_ifstream<>::open, basic_ofstream<>::open): Implement the
4513         resolution of DR 409 [Ready], call clear() on success.
4514         * docs/html/ext/howto.html: Add an entry for DR 409.
4515         * docs/html/faq/index.html (4_4): Clarify the new behavior.
4516         * testsuite/27_io/basic_ifstream/open/char/1.cc: Adjust.
4517         * testsuite/27_io/basic_ofstream/open/char/1.cc: Likewise.
4519 2005-03-05  Joseph S. Myers  <joseph@codesourcery.com>
4521         * testsuite/22_locale/collate/compare/wchar_t/2.cc,
4522         testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc,
4523         testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc,
4524         testsuite/22_locale/collate/hash/wchar_t/2.cc,
4525         testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc,
4526         testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc,
4527         testsuite/22_locale/collate/transform/wchar_t/2.cc,
4528         testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc,
4529         testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc:
4530         XFAIL on *-*-hpux11.23.
4532 2005-03-04  Paolo Carlini  <pcarlini@suse.de>
4534         * include/tr1/type_traits: Add is_base_of.
4535         * testsuite/tr1/4_metaprogramming/relationships_between_types/
4536         is_base_of/is_base_of.cc: New.
4537         * testsuite/tr1/4_metaprogramming/relationships_between_types/
4538         is_base_of/typedefs.cc: Likewise.
4540 2005-03-03  Benjamin Kosnik  <bkoz@redhat.com>
4542         * include/tr1/functional: Convert relative path.
4544         * docs/doxygen/user.cfg.in: Add tr1 includes.
4546 2005-03-03  Paolo Carlini  <pcarlini@suse.de>
4548         * include/tr1/type_traits: Implemenet is_polymorphic.
4549         (is_empty): Minor tweaks.
4550         * testsuite/testsuite_tr1.h: Add test types.
4551         * testsuite/tr1/4_metaprogramming/type_properties/
4552         is_polymorphic/is_polymorphic.cc: New.
4553         * testsuite/tr1/4_metaprogramming/type_properties/
4554         is_polymorphic/typedefs.cc: Likewise.
4555         * testsuite/tr1/4_metaprogramming/composite_type_traits/
4556         is_union_or_class/is_union_or_class.cc: Add tests.
4558 2005-03-02  Douglas Gregor  <doug.gregor@gmail.com>
4560         * include/tr1/functional (_Has_result_type): Cleanup.
4561         (_Result_of_impl): Handle member data pointers correctly.
4562         (reference_wrapper): Support invocation.
4563         Move repetition code into new file include/tr1/repeat.h.
4564         * include/tr1/functional_iterate.h (reference_wrapper): Support
4565         invocation.  Cleanup long lines.
4566         * include/tr1/ref_wrap_iterate.h (reference_wrapper): Declare
4567         invocation operators.
4568         * include/tr1/repeat.h: Code repetition header.
4569         * include/Makefile.am: Add ref_wrap_iterate.h, repeat.h.
4570         * include/Makefile.in: Add ref_wrap_iterate.h, repeat.h.
4571         * testsuite/tr1/3_function_objects/reference_wrapper/invoke.cc:
4572         New test of reference_wrapper invocation.
4573         * testsuite/tr1/3_function_objects/reference_wrapper/typedefs.cc:
4574         New test of reference_wrapper typedefs and base classes.
4575         * testsuite/tr1/3_function_objects/result_of.cc: Trivial cleanup
4576         (e-mail address).
4578 2005-03-02  Douglas Gregor  <doug.gregor@gmail.com>
4580         * include/tr1/function (result_of): New class template.
4581         * include/tr1/functional/iterator.h: Implementation of TR1
4582         result_of.
4583         * testsuite/tr1/3_function_objects/result_of.cc: New test
4585 2005-03-01  Vladimir Merzliakov  <wanderer@rsu.ru>
4587         * testsuite/26_numerics/cmath/c99_classification_macros_c.cc: Tweak.
4589 2005-02-28  Benjamin Kosnik  <bkoz@redhat.com>
4591         * testsuite/tr1/2_general_utilities/memory/shared_ptr/
4592         cons/auto_ptr_neg.cc: Correct line numbers.
4594         * testsuite/testsuite_abi.cc: Add CXXABI_1.3.1.
4596 2005-02-28  Jonathan Wakely  <redi@gcc.gnu.org>
4598         * include/tr1/memory: Replace checked_deleter with (unchecked)
4599         _Sp_deleter as GCC warns about delete on incomplete types anyway.
4601 2005-02-28  Jonathan Wakely  <redi@gcc.gnu.org>
4603         * include/tr1/memory: Add missing "inline" to __throw_bad_weak_ptr.
4605 2005-02-28  Hans-Peter Nilsson  <hp@axis.com>
4607         PR target/19065
4608         * config/cpu/cris/atomicity.h (__exchange_and_add): In asm, use
4609         'Q' constraint, not 'm'.
4611 2005-02-26  Earl Chew  <earl_chew@agilent.com>
4612             Christopher Jefferson  <chris@bubblescope.net>
4614         * include/bits/stl_tree.h (_Rb_tree<>::_M_insert): Don't leak
4615         memory if _M_key_compare throws.
4617 2005-02-25  Paolo Carlini  <pcarlini@suse.de>
4619         * include/tr1/type_traits: Add the trivial is_union and is_class;
4620         add the __is_union_or_class extension.
4621         (is_enum, is_empty): Use the latter.
4622         * include/tr1/type_traits_fwd.h: Add __is_union_or_class.
4623         * testsuite/testsuite_tr1.h: Add UnionType; trivial formatting
4624         fixes.
4625         * testsuite/tr1/4_metaprogramming/composite_type_traits/
4626         is_union_or_class/is_union_or_class.cc: New.
4627         * testsuite/tr1/4_metaprogramming/composite_type_traits/
4628         is_union_or_class/typedefs.cc: Likewise.
4630 2005-02-24  Benjamin Kosnik  <bkoz@redhat.com>
4632         * testsuite/tr1/6_containers/unordered/instantiate/hash.cc: Guard
4633         wchar_t use with _GLIBCXX_USE_WCHAR_T.
4635 2005-02-24  Benjamin Kosnik  <bkoz@redhat.com>
4637         * include/std/std_complex.h: _GLIBCXX_USE_C99_COMPLEX_MATH to
4638         _GLIBCXX_USE_C99_COMPLEX.
4639         * acinclude.m4: Same.
4640         * acconfig.h: Same.
4641         * configure: Regenerate.
4642         * config.h.in: Same.
4644 2005-02-24  Paolo Carlini  <pcarlini@suse.de>
4646         * include/tr1/functional (mem_fn): Avoid _T, badname on
4647         Darwin.
4649 2005-02-23  Douglas Gregor  <doug.gregor@gmail.com>
4651         * include/tr1/functional (function): New class template.
4652         (mem_fn): New function template.
4653         Implementations of TR1 function and mem_fn facilities.
4654         * include/tr1/functional_iterate.h: Implementations of TR1
4655         function and mem_fn facilities.
4656         * testsuite/tr1/3_function_objects/function/1.cc: New
4657         test of std::tr1::function.
4658         * testsuite/tr1/3_function_objects/function/2.cc: New
4659         test of std::tr1::function.
4660         * testsuite/tr1/3_function_objects/function/3.cc: New
4661         test of std::tr1::function.
4662         * testsuite/tr1/3_function_objects/function/4.cc: New
4663         test of std::tr1::function.
4664         * testsuite/tr1/3_function_objects/function/5.cc: New
4665         test of std::tr1::function.
4666         * testsuite/tr1/3_function_objects/function/6.cc: New
4667         test of std::tr1::function.
4668         * testsuite/tr1/3_function_objects/function/7.cc: New
4669         test of std::tr1::function.
4670         * testsuite/tr1/3_function_objects/function/8.cc: New
4671         test of std::tr1::function.
4672         * testsuite/tr1/3_function_objects/function/9.cc: New
4673         test of std::tr1::function.
4674         * testsuite/tr1/3_function_objects/mem_fn.cc: New test of
4675         std::tr1::mem_fn.
4677 2005-02-23  Paolo Carlini  <pcarlini@suse.de>
4679         * include/tr1/type_traits: Implement is_convertible.
4680         * testsuite/tr1/4_metaprogramming/relationships_between_types/
4681         is_convertible/is_convertible.cc: New.
4682         * testsuite/tr1/4_metaprogramming/relationships_between_types/
4683         is_convertible/typedefs.cc: Likewise.
4684         * testsuite/testsuite_tr1.h: Add class DerivedType.
4686         * include/tr1/type_traits (is_function): Don't mistake references
4687         to function types for function types.
4688         * testsuite/tr1/4_metaprogramming/primary_type_categories/
4689         is_function/is_function.cc: Add testcase.
4691 2005-02-22  Benjamin Kosnik  <bkoz@redhat.com>
4693         * scripts/check_performance: Tweaks.
4695         * testsuite/27_io/basic_ostream/inserters_other/wchar_t/2.cc: Name
4696         output file with extension that clean rules can find.
4698 2005-02-22  Richard Henderson  <rth@redhat.com>
4700         PR libstdc++/20091
4701         * libsupc++/eh_catch.cc (__cxa_begin_catch): Don't special case
4702         decrement of uncaughtExceptions for rethrow.
4704 2005-02-22  Paolo Carlini  <pcarlini@suse.de>
4706         * include/tr1/functional: Fix License to GPL with exception.
4707         * include/tr1/hashtable: Likewise.
4708         * include/tr1/tuple: Likewise.
4709         * include/tr1/type_traits: Likewise.
4710         * include/tr1/type_traits_fwd.h: Likewise.
4711         * include/tr1/unordered_map: Likewise.
4712         * include/tr1/unordered_set: Likewise.
4713         * include/tr1/utility: Likewise.
4715 2005-02-22  Paolo Carlini  <pcarlini@suse.de>
4717         * testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/
4718         auto_ptr_neg.cc: Add missing dg-do compile directive.
4719         * testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/
4720         auto_ptr_rvalue_neg.cc: Likewise.
4721         * testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/
4722         shared_ptr_neg.cc: Likewise.
4723         * testsuite/tr1/2_general_utilities/memory/shared_ptr/cons/
4724         auto_ptr_neg.cc: Likewise.
4725         * testsuite/tr1/2_general_utilities/memory/shared_ptr/modifiers/
4726         reset_neg.cc: Likewise.
4727         * testsuite/tr1/2_general_utilities/memory/shared_ptr/modifiers/
4728         swap_neg.cc: Likewise.
4730 2005-02-22  Jonathan Wakely  <redi@gcc.gnu.org>
4732         * include/Makefile.am, include/Makefile.in: Fix accidental extra
4733         change from previous commit.
4735 2005-02-21  Jonathan Wakely  <redi@gcc.gnu.org>
4737         * include/tr1/memory: New file.
4738         * include/Makefile.am, include/Makefile.in: Add new TR1 header.
4739         * testsuite/tr1/2_general_utilities/memory/
4740         enable_shared_from_this/not_shared.cc: New test.
4741         * testsuite/tr1/2_general_utilities/memory/
4742         enable_shared_from_this/not_shared2.cc: New test.
4743         * testsuite/tr1/2_general_utilities/memory/
4744         enable_shared_from_this/not_shared3.cc: New test.
4745         * testsuite/tr1/2_general_utilities/memory/
4746         enable_shared_from_this/shared.cc: New test.
4747         * testsuite/tr1/2_general_utilities/memory/
4748         enable_shared_from_this/still_shared.cc: New test.
4749         * testsuite/tr1/2_general_utilities/memory/
4750         shared_ptr/assign/assign.cc: New test.
4751         * testsuite/tr1/2_general_utilities/memory/
4752         shared_ptr/assign/auto_ptr.cc: New test.
4753         * testsuite/tr1/2_general_utilities/memory/
4754         shared_ptr/assign/auto_ptr_neg.cc: New test.
4755         * testsuite/tr1/2_general_utilities/memory/
4756         shared_ptr/assign/auto_ptr_rvalue_neg.cc: New test.
4757         * testsuite/tr1/2_general_utilities/memory/
4758         shared_ptr/assign/shared_ptr.cc: New test.
4759         * testsuite/tr1/2_general_utilities/memory/
4760         shared_ptr/assign/shared_ptr_neg.cc: New test.
4761         * testsuite/tr1/2_general_utilities/memory/
4762         shared_ptr/comparison/cmp.cc: New test.
4763         * testsuite/tr1/2_general_utilities/memory/
4764         shared_ptr/cons/auto_ptr.cc: New test.
4765         * testsuite/tr1/2_general_utilities/memory/
4766         shared_ptr/cons/auto_ptr_neg.cc: New test.
4767         * testsuite/tr1/2_general_utilities/memory/
4768         shared_ptr/cons/copy.cc: New test.
4769         * testsuite/tr1/2_general_utilities/memory/
4770         shared_ptr/cons/default.cc: New test.
4771         * testsuite/tr1/2_general_utilities/memory/
4772         shared_ptr/cons/pointer.cc: New test.
4773         * testsuite/tr1/2_general_utilities/memory/
4774         shared_ptr/cons/weak_ptr.cc: New test.
4775         * testsuite/tr1/2_general_utilities/memory/
4776         shared_ptr/cons/weak_ptr_expired.cc: New test.
4777         * testsuite/tr1/2_general_utilities/memory/
4778         shared_ptr/dest/dest.cc: New test.
4779         * testsuite/tr1/2_general_utilities/memory/
4780         shared_ptr/misc/io.cc: New test.
4781         * testsuite/tr1/2_general_utilities/memory/
4782         shared_ptr/misc/swap.cc: New test.
4783         * testsuite/tr1/2_general_utilities/memory/
4784         shared_ptr/modifiers/reset.cc: New test.
4785         * testsuite/tr1/2_general_utilities/memory/
4786         shared_ptr/modifiers/reset_neg.cc: New test.
4787         * testsuite/tr1/2_general_utilities/memory/
4788         shared_ptr/modifiers/swap.cc: New test.
4789         * testsuite/tr1/2_general_utilities/memory/
4790         shared_ptr/modifiers/swap_neg.cc: New test.
4791         * testsuite/tr1/2_general_utilities/memory/
4792         shared_ptr/observers/bool_conv.cc: New test.
4793         * testsuite/tr1/2_general_utilities/memory/
4794         shared_ptr/observers/get.cc: New test.
4795         * testsuite/tr1/2_general_utilities/memory/
4796         shared_ptr/observers/unique.cc: New test.
4797         * testsuite/tr1/2_general_utilities/memory/
4798         shared_ptr/observers/use_count.cc: New test.
4800 2005-02-21  Paolo Carlini  <pcarlini@suse.de>
4802         * include/tr1/type_traits (is_member_function_pointer):
4803         Remove ugly workaround for c++/19076.
4805 2005-02-21  Paolo Carlini  <pcarlini@suse.de>
4807         * include/bits/basic_string.tcc (_Rep::_M_destroy): Don't
4808         check for this == &_S_empty_rep, it's always false, here.
4810 2005-02-19  Matt Austern  <austern@gmail.com>
4812         * include/tr1/functional (tr1_hashtable_define_trivial_hash): Make
4813         hash<T>::operator() a const member function for T a fundamental type
4814         * include/tr1/hashtable (extract1st::operator()): Declare const.
4815         (hash_code_base): Declare all member functions const
4816         (hashtable::find): fix call to this->bucket_count()
4817         (hashtable::count): Likewise.
4818         (hashtable::equal_range): m_incr_bucket applies to iterator, not node.
4819         * testsuite/tr1/6_containers/unordered/find/set1.cc: New test.
4820         * testsuite/tr1/6_containers/unordered/find/map1.cc: New test.
4821         * testsuite/tr1/6_containers/unordered/find/multimap1.cc: New test.
4822         * testsuite/tr1/6_containers/unordered/find/multiset1.cc: New test.
4824 2005-02-19  Hans-Peter Nilsson  <hp@axis.com>
4826         PR libstdc++/20071
4827         * include/tr1/functional (hash<std::wstring>): Wrap in #ifdef
4828         _GLIBCXX_USE_WCHAR_T.
4830 2005-02-18  Richard Henderson  <rth@redhat.com>
4832         PR libstdc++/10606
4833         * config/linker-map.gnu (CXXABI_1.3.1): Add __cxa_get_exception_ptr.
4834         * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Increment
4835         uncaughtExceptions here instead of ...
4836         * libsupc++/eh_throw.cc (__cxa_throw) ... here.
4837         (__cxa_rethrow): Increment uncaughtExceptions here instead of ...
4838         * libsupc++/eh_catch.cc (__cxa_end_catch): ... here.
4839         (__cxa_get_exception_ptr): New.
4840         * libsupc++/unwind-cxx.h (__cxa_get_exception_ptr): Declare.
4842 2005-02-18  Matt Austern  <austern@apple.com>
4844         * testsuite/tr1/6_containers/unordered/insert/array_syntax.cc: Fix
4845         test case to use assignment instead of ==
4846         * testsuite/tr1/6_containers/unordered/insert/map_range.cc: New test.
4847         * testsuite/tr1/6_containers/unordered/insert/multimap_range.cc: New test.
4848         * testsuite/tr1/6_containers/unordered/insert/multiset_range.cc: New test.
4849         * testsuite/tr1/6_containers/unordered/insert/set_range.cc: New test.
4851 2005-02-18  Eric Botcazou  <ebotcazou@libertysurf.fr>
4853         * testsuite/thread/pthread1.cc: Do not invoke pthread_setconcurrency
4854         on Solaris 2.6 and below.
4855         * testsuite/thread/pthread2.cc: Likewise.
4856         * testsuite/thread/pthread3.cc: Likewise.
4857         * testsuite/thread/pthread4.cc: Likewise.
4858         * testsuite/thread/pthread5.cc: Likewise.
4859         * testsuite/thread/pthread6.cc: Likewise.
4860         * testsuite/thread/pthread7-rope.cc: Likewise.
4862 2005-02-17  Matt Austern  <austern@apple.com>
4864         * include/tr1/functional (hash): New function object.
4865         * include/tr1/hashtable: New file.
4866         * include/tr1/unordered_set: New file.
4867         * include/tr1/unordered_map: New file.
4868         * include/Makefile.am: Add three new TR1 headers.
4869         * include/Makefile.in: Likewise.
4870         * testsuite/tr1/6_containers/unordered/insert/array_syntax.cc: New test.
4871         * testsuite/tr1/6_containers/unordered/insert/map_single.cc: New test.
4872         * testsuite/tr1/6_containers/unordered/insert/multimap_single.cc: New test.
4873         * testsuite/tr1/6_containers/unordered/insert/multiset_single.cc: New test.
4874         * testsuite/tr1/6_containers/unordered/insert/set_single.cc: New test.
4875         * testsuite/tr1/6_containers/unordered/instantiate/hash.cc: New test.
4876         * testsuite/tr1/6_containers/unordered/instantiate/map.cc: New test.
4877         * testsuite/tr1/6_containers/unordered/instantiate/multimap.cc: New test.
4878         * testsuite/tr1/6_containers/unordered/instantiate/multiset.cc: New test.
4879         * testsuite/tr1/6_containers/unordered/instantiate/set.cc: New test.
4881 2005-02-16  Paolo Carlini  <pcarlini@suse.de>
4883         * testsuite/23_containers/set/modifiers/16728.cc:
4884         Remove redundant include <testsuite_performance.h>.
4886 2005-02-16  Paolo Carlini  <pcarlini@suse.de>
4888         PR libstdc++/19829
4889         * testsuite/21_strings/basic_string/find/char/3.cc: Fix the test
4890         at line #66 to not access str_lit01 beyond its end.
4891         * testsuite/21_strings/basic_string/find/wchar_t/3.cc: Likewise.
4893 2005-02-15  Paolo Carlini  <pcarlini@suse.de>
4894             Jon Grimm  <jgrimm2@us.ibm.com>
4896         PR libstdc++/19955
4897         * include/bits/locale_facets.h (ctype<char>::_M_narrow_init()):
4898         Fix the logic setting _M_narrow_ok: first check whether the
4899         transformation is trivial with a dflt == 0, then deal with the
4900         special case of zero.
4901         * testsuite/22_locale/ctype/narrow/char/19955.cc: New.
4903         * include/bits/locale_facets.h (ctype<char>::_M_widen_init()):
4904         Tweak consistently to use memcmp; minor formatting fixes.
4906 2005-02-15  Jakub Jelinek  <jakub@redhat.com>
4908         PR libstdc++/19946
4909         * testsuite/demangle/abi_examples/01.cc (main): Adjust for 2005-02-13
4910         demangler change.
4911         * testsuite/demangle/abi_examples/02.cc (main): Likewise.
4913 2005-02-13  Richard Guenther  <rguenth@gcc.gnu.org>
4914             Paolo Carlini  <pcarlini@suse.de>
4916         PR libstdc++/11706
4917         * include/c_std/std_cmath.h (pow): Use __builtin_powi[lf]
4918         for integer overloads.
4920         * testsuite/26_numerics/cmath/powi.cc: New.
4922 2005-02-11  Janis Johnson  <janis187@us.ibm.com>
4924         * testsuite/26_numerics/complex/13450.cc: Fix XFAIL selector.
4925         * testsuite/26_numerics/complex/complex_value.cc: Ditto.
4926         * testsuite/26_numerics/complex/pow.cc: Ditto.
4928         * testsuite/lib/libstdc++.exp: Load target-supports-dg.exp.
4929         * testsuite/26_numerics/complex/13450.cc: XFAIL for broken_cplxf_arg.
4930         * testsuite/26_numerics/complex/complex_value.cc: Ditto.
4931         * testsuite/26_numerics/complex/pow.cc: Ditto.
4933 2005-02-09  Mike Stump  <mrs@apple.com>
4935         * libsupc++/del_op.cc: Don't include cstdlib when !_GLIBCXX_HOSTED.
4937 2005-02-09  Janis Johnson  <janis187@us.ibm.com>
4939         * testsuite/ext/array_allocator/2.cc: XFAIL for powerpc*-*-linux*.
4941 2005-02-08  Mark Mitchell  <mark@codesourcery.com>
4943         * config/linker-map.gnu (GLIBCXX_3.4): Add _ZNSdC* and _ZNSdD*.
4945 2005-02-07  Loren J. Rittle  <ljrittle@acm.org>
4947         * testsuite/27_io/basic_istream/getline/wchar_t/5.cc: Make buf static.
4948         * testsuite/27_io/basic_stringbuf/setbuf/wchar_t/4.cc: Make ref and
4949         src static.
4951 2005-02-02  Brad Spencer  <spencer@infointeractive.com>
4953         * debug.html: Fix broken tags.
4954         * documentation.html: Same.
4956 2005-02-02  Andreas Jaeger  <aj@suse.de>
4958         * testsuite/lib/libstdc++.exp: Revert Geoffrey Keating's patch
4959         from 2005-01-28.
4960         * testsuite/Makefile.am: Likewise.
4961         * testsuite/Makefile.in: Likewise.
4963 2005-02-01  Paolo Carlini  <pcarlini@suse.de>
4965         * include/bits/cpp_type_traits.h: Rename _M_type fields to
4966         __value, except for __enable_if, _M_type -> __type, consistently
4967         with the other traits.
4968         * include/bits/stl_algobase.h: Tweak consistently.
4969         * include/bits/stl_tree.h: Likewise.
4970         * include/bits/valarray_array.h: Likewise.
4971         * include/c_std/std_cmath.h: Likewise.
4972         * include/debug/safe_iterator.h: Likewise.
4973         * include/std/std_complex.h: Likewise.
4975 2005-01-31  Brad Spencer  <spencer@infointeractive.com>
4977         * crossconfig.m4: Repair Solaris cross bits for strtold and strtof.
4978         * configure: Regenerated.
4980 2005-01-31  Mark Mitchell  <mark@codesourcery.com>
4982         * include/std/std_limits.h (numeric_limits<float>::has_denorm):
4983         Add required cast.
4984         (numeric_limits<double>::has_denorm): Likewise.
4985         (numeric_limits<long double>::has_denorm): Likewise.
4987 2005-01-31  Paolo Carlini  <pcarlini@suse.de>
4988             Gabriel Dos Reis  <gdr@integrable-solutions.net>
4990         * include/bits/cpp_type_traits.h: Add types to the structs thus
4991         making type_traits.h redundant; exploit new __truth_type and
4992         __traitor helpers.
4993         * include/bits/type_traits.h: Remove.
4994         * include/Makefile.am: Update.
4995         * include/Makefile.in: Regenerate.
4996         * include/backward/tempbuf.h: Include cpp_type_traits.h instead.
4997         * include/bits/basic_string.h (replace(iterator, iterator,
4998         _InputIterator, _InputIterator), _S_construct(_InIterator,
4999         _InIterator, const _Alloc&)): Use __is_integer instead.
5000         * include/bits/stl_bvector.h (vector(_InputIterator,
5001         _InputIterator, const allocator_type&), assign(_InputIterator,
5002         _InputIterator), insert(iterator, _InputIterator, _InputIterator)):
5003         Likewise.
5004         * include/bits/stl_construct.h (_Destroy(_ForwardIterator,
5005         _ForwardIterator)): Use __is_scalar.
5006         * include/bits/stl_deque.h (deque(_InputIterator, _InputIterator,
5007         const allocator_type&), assign(_InputIterator, _InputIterator),
5008         insert(iterator, _InputIterator, _InputIterator)): Use __is_integer.
5009         * include/bits/stl_list.h (assign(_InputIterator, _InputIterator),
5010         insert(iterator, _InputIterator, _InputIterator)): Likewise.
5011         * include/bits/stl_tempbuf.h (_Temporary_buffer(_ForwardIterator,
5012         _ForwardIterator)): Use __is_scalar.
5013         * include/bits/stl_uninitialized.h (uninitialized_copy(_InputIterator,
5014         _InputIterator, _ForwardIterator), uninitialized_fill(_ForwardIterator,
5015         _ForwardIterator, const _Tp&), uninitialized_fill_n(_ForwardIterator,
5016         _Size, const _Tp&)): Likewise.
5017         * include/bits/stl_vector.h (vector(_InputIterator, _InputIterator,
5018         const allocator_type&), assign(_InputIterator, _InputIterator),
5019         insert(iterator, _InputIterator, _InputIterator)): Use __is_integer.
5020         * include/debug/debug.h (__valid_range(const _InputIterator&,
5021         const _InputIterator&)): Use __is_integer.
5022         * include/ext/slist (assign(_InputIterator, _InputIterator)): Likewise.
5023         * include/std/std_string.h: Include cpp_type_traits.h instead.
5025 2005-01-30  Paolo Carlini  <pcarlini@suse.de>
5027         PR libstdc++/19642
5028         * config/locale/generic/c_locale.h (__convert_from_v): Switch only
5029         LC_NUMERIC, and only when actually != "C".
5031 2005-01-28  Paolo Carlini  <pcarlini@suse.de>
5033         * include/tr1/type_traits (is_function): Minor consistency tweaks.
5035 2005-01-28  Geoffrey Keating  <geoffk@apple.com>
5037         * testsuite/lib/libstdc++.exp (libstdc++_init): Search the path
5038         for the compiler.  Don't set cxxflags.
5039         (v3_target_compile): Search for libv3test.a relative to $objdir.
5040         (lsearch_all_inline): New.
5041         (lsearch_all_inline_not): New.
5042         (v3-list-tests): Rewrite to not need generated files.
5043         * testsuite/Makefile.am (IGNORE_WCHAR_T): New.
5044         (IGNORE_THREAD): New.
5045         (TESTS_TO_IGNORE): New.
5046         (site.exp): Set tests_to_ignore, cxxflags.
5047         * aclocal.m4: Regenerate.
5048         * Makefile.in: Regenerate.
5049         * libmath/Makefile.in: Likewise.
5050         * libsupc++/Makefile.in: Likewise.
5051         * po/Makefile.in: Likewise.
5052         * src/Makefile.in: Likewise.
5053         * testsuite/Makefile.in: Likewise.
5055 2005-01-28  Paolo Carlini  <pcarlini@suse.de>
5057         * include/tr1/type_traits: Implement is_empty.
5058         * testsuite/tr1/4_metaprogramming/type_properties/is_empty/
5059         is_empty.cc: New.
5060         * testsuite/tr1/4_metaprogramming/type_properties/is_empty/
5061         typedefs.cc: Likewise.
5063         * include/tr1/type_traits (__is_abstract_helper): Simplify a bit.
5065 2005-01-28  Paolo Carlini  <pcarlini@suse.de>
5067         * include/tr1/type_traits: Implement is_abstract, by exploiting the
5068         resolution of DR core/337.
5069         * testsuite/testsuite_tr1.h: Add AbstractClass.
5070         * testsuite/tr1/4_metaprogramming/type_properties/is_abstract/
5071         is_abstract.cc: New.
5072         * testsuite/tr1/4_metaprogramming/type_properties/is_abstract/
5073         typedefs.cc: Likewise.
5075         * include/tr1/type_traits (is_function): Rewrite, use the conversion
5076         F& -> F* instead, thus avoiding problems with abstract classes.
5077         * testsuite/tr1/4_metaprogramming/primary_type_categories/
5078         is_function/is_function.cc: Add a test for tricky AbstractClass.
5080 2005-01-26  Paolo Carlini  <pcarlini@suse.de>
5082         * include/ext/mt_allocator.h
5083         (struct __per_type_pool_policy<,, false>::_S_get_pool,
5084         struct __per_type_pool_policy<,, true>::_S_get_pool): Scale
5085         _M_chunk_size too with sizeof(_Tp), otherwise the allocator
5086         breaks down as soon as sizeof(_Tp) >~ _S_chunk_size / 128;
5087         reduce to 64 the multiplier for _M_max_bytes (safer wrt
5088         _Binmap_type being a short); trivial reformattings.
5089         * testsuite/ext/mt_allocator/check_allocate_big_per_type.cc: New.
5091 2005-01-26  Paolo Carlini  <pcarlini@suse.de>
5093         * acinclude.m4 ([GLIBCXX_ENABLE_C99]): Add ac_c99_complex
5094         to the final test for enable_c99, thus robustifying it; remove
5095         duplicate final test on ac_99_math.
5096         * configure: Regenerate.
5098         * include/std/std_complex.h: Remove usages of the dead
5099         _GLIBCXX_BUGGY_COMPLEX macro.
5101         * testsuite/26_numerics/cmath/19322.cc: Protect with
5102         _GLIBCXX_USE_C99_MATH instead of the stronger _GLIBCXX_USE_C99,
5103         since only C99 math facilities are involved.
5104         * testsuite/26_numerics/cmath/c99_classification_macros_c++.cc:
5105         Likewise.
5107 2005-01-25  Loren J. Rittle  <ljrittle@acm.org>
5109         * acinclude.m4 (GLIBCXX_ENABLE_CLOCALE): Map FreeBSD to darwin
5110         instead of generic.  Change autoconf report to "darwin or freebsd".
5111         * configure: Regenerate.
5112         * config/os/bsd/freebsd/ctype_inline.h (ctype<wchar_t>::do_is): Add.
5113         (ctype<wchar_t>::do_scan_is): Likewise.
5114         (ctype<wchar_t>::do_scan_not): Likewise.
5116 2005-01-25  Benjamin Kosnik  <bkoz@redhat.com>
5118         * acinclude.m4 (GLIBCXX_ENABLE_C99): Test for complex math
5119         functions, and enable _GLIBCXX_USE_C99_COMPLEX_MATH if they exist.
5120         * acconfig.h: Add _GLIBCXX_USE_C99_COMPLEX_MATH.
5121         * config.h.in: Regenerate.
5122         * configure: Regenerate.
5123         * include/std/std_complex.h: Protect complex builtins with
5124         _GLIBCXX_USE_C99_COMPLEX_MATH.
5126 2005-01-24  Paolo Carlini  <pcarlini@suse.de>
5128         * include/tr1/type_traits: Implement is_signed and is_unsigned.
5129         * testsuite/tr1/4_metaprogramming/type_properties/
5130         is_signed/is_signed.cc: New.
5131         * testsuite/tr1/4_metaprogramming/type_properties/
5132         is_signed/typedefs.cc: Likewise.
5133         * testsuite/tr1/4_metaprogramming/type_properties/
5134         is_unsigned/is_unsigned.cc: Likewise.
5135         * testsuite/tr1/4_metaprogramming/type_properties/
5136         is_unsigned/typedefs.cc: Likewise.
5138 2005-01-23  Paolo Carlini  <pcarlini@suse.de>
5140         * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 34.
5142 2005-01-23  Paolo Carlini  <pcarlini@suse.de>
5144         * testsuite/27_io/basic_ostream/cons/wchar_t/9827.cc: New.
5145         * testsuite/27_io/basic_ostream/endl/wchar_t/1.cc: Likewise.
5146         * testsuite/27_io/basic_ostream/ends/wchar_t/1.cc: Likewise.
5147         * testsuite/27_io/basic_ostream/ends/wchar_t/2.cc: Likewise.
5148         * testsuite/27_io/basic_ostream/exceptions/wchar_t/9561.cc: Likewise.
5149         * testsuite/27_io/basic_ostream/flush/wchar_t/1.cc: Likewise.
5150         * testsuite/27_io/basic_ostream/flush/wchar_t/2.cc: Likewise.
5151         * testsuite/27_io/basic_ostream/flush/wchar_t/
5152         exceptions_badbit_throw.cc: Likewise.
5153         * testsuite/27_io/basic_ostream/inserters_arithmetic/
5154         wchar_t/2.cc: Likewise.
5155         * testsuite/27_io/basic_ostream/inserters_arithmetic/
5156         wchar_t/3.cc: Likewise.
5157         * testsuite/27_io/basic_ostream/inserters_arithmetic/
5158         wchar_t/4.cc: Likewise.
5159         * testsuite/27_io/basic_ostream/inserters_arithmetic/
5160         wchar_t/4402.cc: Likewise.
5161         * testsuite/27_io/basic_ostream/inserters_arithmetic/
5162         wchar_t/5.cc: Likewise.
5163         * testsuite/27_io/basic_ostream/inserters_arithmetic/
5164         wchar_t/6.cc: Likewise.
5165         * testsuite/27_io/basic_ostream/inserters_arithmetic/
5166         wchar_t/9555-oa.cc: Likewise.
5167         * testsuite/27_io/basic_ostream/inserters_arithmetic/
5168         wchar_t/exceptions_badbit_throw.cc: Likewise.
5169         * testsuite/27_io/basic_ostream/inserters_arithmetic/
5170         wchar_t/exceptions_failbit_throw.cc: Likewise.
5171         * testsuite/27_io/basic_ostream/inserters_character/
5172         wchar_t/1.cc: Likewise.
5173         * testsuite/27_io/basic_ostream/inserters_character/
5174         wchar_t/2.cc: Likewise.
5175         * testsuite/27_io/basic_ostream/inserters_character/
5176         wchar_t/3.cc: Likewise.
5177         * testsuite/27_io/basic_ostream/inserters_character/
5178         wchar_t/4.cc: Likewise.
5179         * testsuite/27_io/basic_ostream/inserters_character/
5180         wchar_t/5.cc: Likewise.
5181         * testsuite/27_io/basic_ostream/inserters_character/
5182         wchar_t/6.cc: Likewise.
5183         * testsuite/27_io/basic_ostream/inserters_character/
5184         wchar_t/9555-oc.cc: Likewise.
5185         * testsuite/27_io/basic_ostream/inserters_other/
5186         wchar_t/1.cc: Likewise.
5187         * testsuite/27_io/basic_ostream/inserters_other/
5188         wchar_t/2.cc: Likewise.
5189         * testsuite/27_io/basic_ostream/inserters_other/
5190         wchar_t/3.cc: Likewise.
5191         * testsuite/27_io/basic_ostream/inserters_other/
5192         wchar_t/4.cc: Likewise.
5193         * testsuite/27_io/basic_ostream/inserters_other/
5194         wchar_t/5.cc: Likewise.
5195         * testsuite/27_io/basic_ostream/inserters_other/
5196         wchar_t/9318-out.cc: Likewise.
5197         * testsuite/27_io/basic_ostream/inserters_other/
5198         wchar_t/9424-out.cc: Likewise.
5199         * testsuite/27_io/basic_ostream/inserters_other/
5200         wchar_t/9555-oo.cc: Likewise.
5201         * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
5202         error_failbit.cc: Likewise.
5203         * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
5204         exceptions_badbit_throw.cc: Likewise.
5205         * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
5206         exceptions_failbit_throw.cc: Likewise.
5207         * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
5208         exceptions_null.cc: Likewise.
5209         * testsuite/27_io/basic_ostream/put/char/1.cc: Likewise.
5210         * testsuite/27_io/basic_ostream/put/wchar_t/1.cc: Likewise.
5211         * testsuite/27_io/basic_ostream/seekp/char/
5212         exceptions_badbit_throw.cc: Likewise.
5213         * testsuite/27_io/basic_ostream/seekp/wchar_t/
5214         2346-fstream.cc: Likewise.
5215         * testsuite/27_io/basic_ostream/seekp/wchar_t/
5216         2346-sstream.cc: Likewise.
5217         * testsuite/27_io/basic_ostream/seekp/wchar_t/
5218         exceptions_badbit_throw.cc: Likewise.
5219         * testsuite/27_io/basic_ostream/sentry/wchar_t/1.cc: Likewise.
5220         * testsuite/27_io/basic_ostream/sentry/wchar_t/2.cc: Likewise.
5221         * testsuite/27_io/basic_ostream/tellp/wchar_t/1.cc: Likewise.
5222         * testsuite/27_io/basic_ostream/tellp/wchar_t/2.cc: Likewise.
5223         * testsuite/27_io/basic_ostream/tellp/wchar_t/
5224         exceptions_badbit_throw.cc: Likewise.
5225         * testsuite/27_io/basic_ostream/write/wchar_t/1.cc: Likewise.
5227         * testsuite/data/wostream_inserter_char-1.tst: Likewise.
5228         * testsuite/data/wostream_inserter_char-1.txt: Likewise.
5229         * testsuite/data/wostream_inserter_other-1.tst: Likewise.
5230         * testsuite/data/wostream_inserter_other-2.tst: Likewise.
5231         * testsuite/data/wostream_seeks-1.tst: Likewise.
5233         * testsuite/27_io/basic_ostream/endl/char/1.cc: Minor tweaks.
5234         * testsuite/27_io/basic_ostream/ends/char/1.cc: Likewise.
5235         * testsuite/27_io/basic_ostream/exceptions/char/9561.cc: Likewise.
5236         * testsuite/27_io/basic_ostream/flush/char/1.cc: Likewise.
5237         * testsuite/27_io/basic_ostream/flush/char/2.cc: Likewise.
5238         * testsuite/27_io/basic_ostream/flush/char/
5239         exceptions_badbit_throw.cc: Likewise.
5240         * testsuite/27_io/basic_ostream/inserters_arithmetic/
5241         char/2.cc: Likewise.
5242         * testsuite/27_io/basic_ostream/inserters_arithmetic/
5243         char/3.cc: Likewise.
5244         * testsuite/27_io/basic_ostream/inserters_arithmetic/
5245         char/4.cc: Likewise.
5246         * testsuite/27_io/basic_ostream/inserters_arithmetic/
5247         char/4402.cc: Likewise.
5248         * testsuite/27_io/basic_ostream/inserters_arithmetic/
5249         char/5.cc: Likewise.
5250         * testsuite/27_io/basic_ostream/inserters_arithmetic/
5251         char/6.cc: Likewise.
5252         * testsuite/27_io/basic_ostream/inserters_character/
5253         char/4.cc: Likewise.
5254         * testsuite/27_io/basic_ostream/inserters_other/char/
5255         2.cc: Likewise.
5256         * testsuite/27_io/basic_ostream/inserters_other/char/
5257         5.cc: Likewise.
5258         * testsuite/27_io/basic_ostream/inserters_other/char/
5259         error_failbit.cc: Likewise.
5260         * testsuite/27_io/basic_ostream/inserters_other/char/
5261         exceptions_badbit_throw.cc: Likewise.
5262         * testsuite/27_io/basic_ostream/inserters_other/char/
5263         exceptions_failbit_throw.cc: Likewise.
5264         * testsuite/27_io/basic_ostream/inserters_other/char/
5265         exceptions_null.cc: Likewise.
5266         * testsuite/27_io/basic_ostream/put/char/1.cc: Likewise.
5267         * testsuite/27_io/basic_ostream/seekp/char/
5268         exceptions_badbit_throw.cc: Likewise.
5269         * testsuite/27_io/basic_ostream/sentry/char/2.cc: Likewise.
5270         * testsuite/27_io/basic_ostream/write/char/1.cc: Likewise.
5272 2005-01-23  Paolo Carlini  <pcarlini@suse.de>
5274         * include/tr1/type_traits (aligned_storage): Use __aligned__ instead
5275         of aligned.
5277 2005-01-23  Paolo Carlini  <pcarlini@suse.de>
5278             Andreas Jaeger  <aj@suse.de>
5280         PR libstdc++/19343
5281         * include/bits/functexcept.h: Mark the helpers as 'noreturn'.
5283 2005-01-21  Loren J. Rittle  <ljrittle@acm.org>
5285         * testsuite/27_io/basic_filebuf/open/char/9507.cc: Allow
5286         lseek on fifo to succeed.  Thus, check for consistent report.
5288 2005-01-21  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
5290         PR libstdc++/19510
5291         * include/bits/stl_list.h (_List_iterator): Initialize _M_node
5292         in constructor.
5293         (_List_const_iterator): Likewise.
5294         * include/bits/stl_tree.h (_Rb_tree_iterator): Likewise.
5295         (_Rb_tree_const_iterator): Likewise.
5297         * testsuite/23_containers/map/operators/1_neg.cc: Adjust line numbers.
5298         * testsuite/23_containers/set/operators/1_neg.cc: Likewise.
5300 2005-01-20  Benjamin Kosnik  <bkoz@redhat.com>
5302         * testsuite/Makefile.am (check-compile): New.
5303         * testsuite/Makefile.in: Regenerate.
5304         * scripts/check_compile_time: New.
5305         * scripts/check_performance: Tweaks.
5307 2005-01-19  Paolo Carlini  <pcarlini@suse.de>
5309         PR libstdc++/19535
5310         * include/tr1/utility (struct __pair_get<1>::__get, __const_get):
5311         Fix typo in the return type.
5312         * testsuite/tr1/6_containers/utility/19535.cc: New.
5314 2005-01-19  Loren J. Rittle  <ljrittle@acm.org>
5316         * include/ext/array_allocator.h (array_allocator<>::allocate):
5317         Avoid __used.  Use __array_used instead.
5318         * docs/html/17_intro/BADNAMES: Add list for FreeBSD.
5320 2005-01-18  David Edelsohn  <edelsohn@gnu.org>
5322         * config/os/aix/os_defines.h (_XOPEN_SOURCE): Delete.
5323         (_XOPEN_SOURCE_EXTENDED): Delete.
5325 2005-01-18  Benjamin Kosnik  <bkoz@redhat.com>
5327         * testsuite/testsuite_performance.h (time_counter::start):
5328         Clear. Tweaks.
5329         (clear_counters): Inline.
5330         (start_counters): Inline.
5331         (stop_counters): Inline.
5332         * testsuite/performance/20_util/allocator/map_thread.cc: Return.
5333         * testsuite/performance/20_util/allocator/insert.cc: Remove bogus
5334         return, add return.
5335         * testsuite/performance/20_util/allocator/map_thread.cc: Same.
5337 2005-01-17  Paolo Carlini  <pcarlini@suse.de>
5339         PR libstdc++/19433
5340         * include/bits/stl_tree.h (_Rb_tree<>::insert_unique(iterator,
5341         const _Val&), _Rb_tree<>::insert_equal(iterator, const _Val&)):
5342         Obtain amortized constant complexity if t is inserted right after
5343         p - not before p - as per Table 69.
5344         * testsuite/performance/23_containers/set_insert_from_sorted.cc: New.
5346         * testsuite/23_containers/multiset/insert/2.cc: New.
5347         * testsuite/23_containers/set/insert/1.cc: Likewise.
5349         * testsuite/performance/23_containers/set_create_from_sorted.cc:
5350         Simplify.
5352         * include/bits/stl_tree.h: Add a few missing std:: qualifications.
5354 2005-01-16  Jonathan Wakely  <redi@gcc.gnu.org>
5356         * include/ext/rope: Qualify calls to std::copy() by sequence_buffer.
5357         * testsuite/ext/rope/4.cc: Add.
5359 2005-01-16  Lorenz Minder  <lminder@gmx.net>
5360             Paolo Carlini  <pcarlini@suse.de>
5362         PR libstdc++/19322
5363         * include/c_std/std_cmath.h: Define the C99 classification facilities
5364         directly inside namespace std:.
5365         * testsuite/26_numerics/cmath/19322.cc: New.
5367 2005-01-15  David Edelsohn  <edelsohn@gnu.org>
5369         * config/os/aix/os_defines.h (_G_USING_THUNKS): Delete.
5371 2005-01-14  Paolo Carlini  <pcarlini@suse.de>
5373         PR libstdc++/19422
5374         * include/bits/stl_tree.h (_Rb_tree<>::insert_equal(_II, _II),
5375         _Rb_tree<>::insert_unique(_II, _II)): Use insert_equal (insert_unique,
5376         respectively) with hint (end()).
5377         * testsuite/performance/23_containers/set_create_from_sorted.cc: New.
5379 2005-01-13  Geoffrey Keating  <geoffk@apple.com>
5381         * configure.host (darwin): On darwin8 or later, no need to build
5382         libstdc++ with -flat_namespace.
5384 2005-01-13  Jonathan Wakely  <redi@gcc.gnu.org>
5386         * docs/doxygen/user.cfg.in: Set HAVE_DOT back to YES.
5388 2005-01-13  Paolo Carlini  <pcarlini@suse.de>
5390         * testsuite/26_numerics/cmath/c99_classification_macros_c++.cc:
5391         Re-enable commented-out test for double type.
5393 2005-01-11  Paolo Carlini  <pcarlini@suse.de>
5394             Benjamin Kosnik  <bkoz@redhat.com>
5396         * src/istream.cc (basic_istream<char>::ignore(streamsize),
5397         basic_istream<char>::ignore(streamsize, int_type),
5398         basic_istream<wchar_t>::ignore(streamsize),
5399         basic_istream<wchar_t>::ignore(streamsize, int_type)): In case
5400         more than numeric_limits<streamsize>::max() chars are skipped,
5401         set _M_gcount = max().
5402         * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
5403         int_type)): Likewise; keep simple, don't forward.
5405 2005-01-11  Paolo Carlini  <pcarlini@suse.de>
5407         * src/istream.cc (basic_istream<char>::ignore(streamsize),
5408         basic_istream<char>::ignore(streamsize, int_type),
5409         basic_istream<wchar_t>::ignore(streamsize),
5410         basic_istream<wchar_t>::ignore(streamsize, int_type)): Revert
5411         2005-01-05 change: actually, the previous behavior is conforming
5412         and consistent with that of get(char_type*, streamsize, char_type),
5413         albeit slightly different from that of 3.3/3.4 in a corner case
5414         due to the use of snextc.
5415         * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
5416         int_type)): Likewise.
5417         * testsuite/27_io/basic_istream/ignore/char/4.cc: Remove.
5418         * testsuite/27_io/basic_istream/ignore/wchar_t/4.cc: Likewise.
5420 2005-01-11  Paolo Carlini  <pcarlini@suse.de>
5422         * include/tr1/type_traits: Implement alignment_of and aligned_storage.
5423         * testsuite/tr1/4_metaprogramming/other_transformations/
5424         aligned_storage/aligned_storage.cc: New.
5425         * testsuite/tr1/4_metaprogramming/other_transformations/
5426         aligned_storage/typedefs.cc: Likewise.
5427         * testsuite/tr1/4_metaprogramming/type_properties/
5428         alignment_of/alignment_of.cc: Likewise.
5429         * testsuite/tr1/4_metaprogramming/type_properties/
5430         alignment_of/typedefs.cc: Likewise.
5432 2005-01-10  Paolo Carlini  <pcarlini@suse.de>
5434         * Makefile.in: Regenerate.
5435         * libmath/Makefile.in: Likewise.
5436         * libsupc++/Makefile.in: Likewise.
5437         * po/Makefile.in: Likewise.
5438         * src/Makefile.in: Likewise.
5439         * testsuite/Makefile.in: Likewise.
5441 2005-01-10  Paolo Carlini  <pcarlini@suse.de>
5443         * include/bits/stl_algobase.h (lexicographical_compare):
5444         Fix concept check.
5446 2005-01-07  Benjamin Kosnik  <bkoz@redhat.com>
5448         * acinclude.m4: Remove CCODECVT_H.
5449         * configure: Regenerate.
5450         * include/Makefile.am (host_headers_extra): Move to...
5451         (ext_headers): ...here.
5452         * include/Makefile.in: Regenerate.
5453         * include/ext/enc_filebuf: Remove enc_filebuf, consolidate
5454         enc_traits to...
5455         * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Move...
5456         * include/ext/codecvt_specializations.h: ...here. Remove
5457         _GLIBCXX_USE___ENC_TRAITS.
5458         (__enc_traits): To __encoding_state, put in __gnu_cxx namespace.
5459         (enc_char_traits): To __encoding_char_traits, put in __gnu_cxx
5460         namespace.
5461         * config/locale/generic/codecvt_specializations.h: Remove.
5462         * include/bits/codecvt.h: Remove codecvt_specializations.h include.
5463         * src/codecvt.cc: Remove __enc_traits::_S_max_size.
5465 2005-01-06  Benjamin Kosnik  <bkoz@redhat.com>
5467         * include/bits/fstream.tcc: Remove unnecessary qualifications for
5468         uglified data members of basic_filebuf, including _M_buf,
5469         _M_buf_size, _M_mode, _M_pback_init.
5470         * include/std/std_fstream.h: Same.
5472 2005-01-05  Benjamin Kosnik  <bkoz@redhat.com>
5474         * testsuite/testsuite_hooks.h:
5475         (copy_constructor::mark_call):  Use __throw_runtime_error.
5476         (assignment_operator::mark_call): Same.
5477         * testsuite/testsuite_hooks.cc (verify_demangle): Same.
5478         (locale_data): Remove, just use runtime_error directly.
5479         (environment_variable): Same.
5480         (not_found): Same.
5481         (run_tests_wrapped_locale): Use __throw_runtime_error.
5482         (run_tests_wrapped_env): Same.
5483         (semaphore::semaphore): Same.
5484         (semaphore::signal): Same.
5485         (semaphore::wait): Same.
5486         * testsuite/testsuite_abi.h (symbol_error): Remove, use logic_error.
5487         * testsuite/testsuite_abi.cc (get_symbol): Use __throw_logic_error.
5488         (create_symbols): Use __throw_runtime_error.
5489         * src/bitmap_allocator.cc: Use __throw_bad_alloc.
5491 2005-01-05  Mark Mitchell  <mark@codesourcery.com>
5493         * testsuite/27_io/basic_filebuf/open/char/9507.cc: Remove child
5494         process.
5496 2005-01-05  Paolo Carlini  <pcarlini@suse.de>
5498         * src/istream.cc (basic_istream<char>::ignore(streamsize),
5499         basic_istream<char>::ignore(streamsize, int_type),
5500         basic_istream<wchar_t>::ignore(streamsize),
5501         basic_istream<wchar_t>::ignore(streamsize, int_type)): At the end,
5502         first check _M_gcount vs __n.
5503         * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
5504         int_type)): Likewise.
5505         * testsuite/27_io/basic_istream/ignore/char/4.cc: New.
5506         * testsuite/27_io/basic_istream/ignore/wchar_t/4.cc: Likewise.
5508 2005-01-03  Mark Mitchell  <mark@codesourcery.com>
5510         * testsuite/testsuite_hooks.cc: Use __throw_exception_again
5511         instead of just throw.
5513         * testsuite/testsuite_hooks.cc: Update coypright and follow style
5514         guidelines.
5515         * testsuite/testsuite_hooks.h: Likewise.
5516         * testsuite/27_io/basic_filebuf/close/char/4879.cc: Use
5517         semaphores, not sleep.
5518         * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise.
5519         * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
5520         * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise.
5521         * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc:
5522         Likewise.
5523         * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise.
5524         * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise.
5525         * testsuite/27_io/objects/char/7.cc: Likewise.
5526         * testsuite/27_io/objects/char/9661-1.cc: Likewise.
5527         * testsuite/27_io/objects/wchar_t/7.cc: Likewise.
5528         * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise.
5530         * configure.ac: Check for sys/ipc.h and sys/sem.h.
5531         * config.h.in: Regenerated.
5532         * configure: Likewise.
5533         * testsuite/testsuite_hooks.cc (_GLIBCXX_SYSV_SEM): Conditionally
5534         define.
5535         (sys/types.h): Include.
5536         (sys/ipc.h): Likewise.
5537         (sys/sem.h): Likewise.
5538         (__gnu_test::semun): New type.
5539         (__gnu_test::semaphore::sempaphore): New function.
5540         (__gnu_test::semaphore::~semaphore): Likewise.
5541         (__gnu_test::semaphore::wait): Likewise.
5542         (__gnu_test::semaphore::signal): Likewise.
5543         * testsuite/testsuite_hooks.h (__gnu_test::semaphore): New class.
5544         * testsuite/27_io/basic_filebuf/close/char/4879.cc: Use
5545         semaphores, not sleep.
5546         * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise.
5547         * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
5548         * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise.
5549         * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc:
5550         Likewise.
5551         * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise.
5552         * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise.
5553         * testsuite/27_io/objects/char/7.cc: Likewise.
5554         * testsuite/27_io/objects/char/9661-1.cc: Likewise.
5555         * testsuite/27_io/objects/wchar_t/7.cc: Likewise.
5556         * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise.
5558 2005-01-03  Paolo Carlini  <pcarlini@suse.de>
5560         * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
5561         int_type)): Reset _M_gcount to numeric_limits<streamsize>::min().
5562         * src/istream.cc (basic_istream<char>::ignore(streamsize, int_type),
5563         basic_istream<wchar_t>::ignore(streamsize, int_type)): Likewise.
5564         * src/istream.cc (basic_istream<char>::ignore(streamsize),
5565         basic_istream<wchar_t>::ignore(streamsize)): Likewise; fix a typo.
5567 2005-01-02  Paolo Carlini  <pcarlini@suse.de>
5569         * src/istream.cc (basic_istream<char>::ignore(streamsize),
5570         basic_istream<char>::ignore(streamsize, int_type),
5571         basic_istream<wchar_t>::ignore(streamsize),
5572         basic_istream<wchar_t>::ignore(streamsize, int_type)): Avoid
5573         _M_gcount overflows.
5574         * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
5575         int_type)): Likewise; use snextc in the main loop, consistently
5576         with the specializations above.
5578 2005-01-02  Chris Jefferson  <chris@bubblescope.net>
5580         * include/bits/stl_algobase.h (mismatch): Correct concept check.
5582 2005-01-01  Paolo Carlini  <pcarlini@suse.de>
5584         * testsuite/ext/enc_filebuf/char/13189.cc: Fix, first include
5585         testsuite_hooks.h, to know whether including ext/enc_filebuf.h.
5586         * testsuite/ext/enc_filebuf/wchar_t/13189.cc: Likewise.
5588 2005-01-01  Paolo Carlini  <pcarlini@suse.de>
5590         * testsuite/27_io/basic_istream/extractors_character/char/1.cc: Fix,
5591         null-terminate array1 at the outset.
5592         * testsuite/27_io/basic_istream/extractors_character/wchar_t/1.cc:
5593         Likewise.