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