OSDN Git Service

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