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