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