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