OSDN Git Service

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