OSDN Git Service

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