OSDN Git Service

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