1 2005-11-23 Paolo Carlini <pcarlini@suse.de>
3 PR libstdc++/24975 (basic_string)
4 * include/bits/basic_string.h (_Rep::_S_empty_rep): Avoid
5 strict-aliasing warnings.
7 2005-11-22 Paolo Carlini <pcarlini@suse.de>
10 * include/bits/stl_set.h (insert(iterator, const value_type&),
11 erase(iterator), erase(iterator, iterator)): Don't break aliasing
12 rules casting to _Rep_iterator&, forward to _Rb_tree facilities.
13 * include/bits/stl_multiset.h (insert(iterator, const value_type&),
14 erase(iterator), erase(iterator, iterator)): Likewise.
15 * include/bits/stl_tree.h (_Rb_tree<>::_M_insert(_Const_Base_ptr,
16 _Const_Base_ptr, const value_type&), insert_unique(const_iterator,
17 const value_type&), insert_equal(const_iterator, const value_type&),
18 erase(const_iterator), erase(const_iterator, const_iterator)): New,
19 _Rb_tree<>::const_iterator counterparts of existing facilities.
21 2005-11-21 Benjamin Kosnik <bkoz@redhat.com>
22 Ulrich Drepper <drepper@redhat.com>
25 * scripts/create_testsuite_files: Support for "C" test files.
26 * testsuite/lib/libstdc++.exp: Same.
27 * testsuite/libstdc++-dg/normal.exp: Same.
28 * testsuite/ext/mt_allocator/22309_thread.cc: Update names.
29 * testsuite/19_diagnostics/23591_thread-1.c: New.
30 * testsuite/testsuite_shared.cc: Add tests, rename existing functions.
31 * libsupc++/eh_globals.cc: Make global thread local if possible.
32 * configure.ac: Use GCC_CHECK_TLS.
33 * acinclude.m4: Include tls.m4.
34 * configure: Regenerate.
37 2005-11-21 Benjamin Kosnik <bkoz@redhat.com>
39 * libsupc++/del_op.cc: Include c++config.h first.
40 * libsupc++/eh_alloc.cc: Same.
41 * libsupc++/new_opv.cc: Same.
42 * libsupc++/eh_throw.cc: Same.
43 * libsupc++/new_op.cc: Same.
44 * libsupc++/del_opv.cc: Same.
45 * libsupc++/eh_catch.cc: Same.
46 * libsupc++/guard.cc: Same.
47 * libsupc++/del_opnt.cc: Same.
48 * libsupc++/eh_exception.cc: Same.
49 * libsupc++/new_opvnt.cc: Same.
50 * libsupc++/eh_term_handler.cc: Same.
51 * libsupc++/eh_personality.cc: Same.
52 * libsupc++/eh_call.cc: Same.
53 * libsupc++/new_opnt.cc: Same.
54 * libsupc++/del_opvnt.cc: Same.
56 2005-11-21 Benjamin Kosnik <bkoz@redhat.com>
58 * src/Makefile.am (LTCXXCOMPILE): CXXFLAGS last.
59 * libsupc++/Makefile.am: Same.
60 * src/Makefile.in: Regenerate.
61 * libsupc++/Makefile.in: Same.
63 2005-11-21 Paolo Carlini <pcarlini@suse.de>
65 * include/ext/sso_string_base.h: Minor formatting and stylistic fixes.
66 (__sso_string_base<>::_M_get_allocator): Return by const ref.
67 * include/ext/rc_string_base.h: Likewise.
68 (__rc_string_base<>::_M_get_allocator): Return by const ref.
69 (__rc_string_base<>::_M_dispose): Take void, use _M_get_allocator.
70 (__rc_string_base<>::_M_grab): Take one alloc, use _M_get_allocator.
71 (__rc_string_base<>::~__rc_string_base,
72 __rc_string_base(const __rc_string_base&), _M_assign, _M_reserve,
74 * include/ext/vstring_util.h: Minor stylistic fixes.
76 2005-11-18 Paolo Carlini <pcarlini@suse.de>
78 * include/ext/rc_string_base.h (__rc_string_base<>::_Rep): Avoid the
79 anonymous struct extension, adjust everywhere.
81 * include/ext/rc_string_base.h (__rc_string_base<>::_S_empty_rep()):
82 Just use a static member.
83 (__rc_string_base<>::__rc_string_base(), _S_construct): Adjust.
85 * include/ext/rc_string_base.h (__rc_string_base<>::_Rep): Use
86 anonymous union together with _CharT to fix alignment issues,
87 rebind to _Rep and rename _Raw_alloc to _Rep_alloc_type.
88 (__rc_string_base<>::_Rep::_S_create, _M_destroy): Adjust consistently.
90 * include/ext/vstring_util.h (__is_null_p): Move inside struct
91 __vstring_utility as static _S_is_null_pointer.
92 * include/ext/sso_string.h
93 (__sso_string_base<>::_M_construct(std::forward_iterator_tag): Adjust.
94 * include/ext/rc_string_base.h
95 (__rc_string_base<>::_S_construct(std::forward_iterator_tag): Likewise.
97 Implement Option 3 of DR 431 for ext/vstring - both available bases.
98 * include/bits/cpp_type_traits.h (struct __is_empty): Add.
99 * include/ext/vstring.h (__versa_string<>::swap): Delegate to
101 * include/ext/vstring.tcc (__versa_string<>::swap): Remove.
102 * include/ext/vstring_util.h (struct __vstring_utility<>): Add struct
103 _Alloc_hider<>, augmented of allocator swapping facility, specialized
104 to nop for empty allocators.
105 * include/ext/rc_string_base.h (__rc_string_base<>::_M_swap): Use it.
106 (__rc_string_base<>::_M_is_leaked, _M_set_sharable): Change to private.
107 * include/ext/sso_string_base.h (__sso_string_base<>::_M_swap):
109 (__sso_string_base<>::_M_is_leaked, _M_set_sharable): Remove, unused.
110 * include/ext/rc_string_base.h (__rc_string_base<>::_M_data(_CharT*):
112 * include/ext/sso_string_base.h (__sso_string_base<>::_M_data(_CharT*):
115 2005-11-17 Geoffrey Keating <geoffk@apple.com>
117 * config/os/bsd/darwin/ppc-extra.ver: New.
118 * src/Makefile.am (libstdc++-symbol.ver): Move outside conditionals,
119 and make dependent on port symbol files.
120 (libstdc++-symbol.explist): Use the generated .ver file, not
122 * src/compatibility.cc [APPLE] (__eprintf): New.
123 * src/Makefile.in: Regenerate.
124 * configure.host (powerpc*-*-darwin*): Define
125 port_specific_symbol_files.
127 2005-11-16 Nathan Sidwell <nathan@codesourcery.com>
129 * libsupc++/eh_arm.cc (__cxa_begin_cleanup): Remember a
130 foreign exception too.
131 (__gnu_end_cleanup): Recover a foreign exception too.
132 * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Cope
133 with forced unwinding.
134 * libsupc++/eh_throw.cc (__cxxabiv1::__cxa_rethrow): Use
135 _Unwind_Resume_or_Rethrow for ARM EABI.
137 2005-11-14 Geoffrey Keating <geoffk@apple.com>
139 * acinclude.m4 (GLIBCXX_CHECK_LINKER_FEATURES): Don't check for
140 shared libgcc for darwin exports.
141 * configure: Regenerate.
143 2005-11-13 Jonathan Wakely <redi@gcc.gnu.org>
145 * include/tr1/boost_shared_ptr.h (get_deleter):
146 Declare before shared_ptr.
147 (shared_ptr<>): Declare get_deleter as friend.
148 (shared_ptr<>:_M_get_deleter): Private.
150 2005-11-13 Douglas Gregor <doug.gregor@gmail.com>
153 * include/tr1/ref_wrap_iterate.h
154 (reference_wrapper::operator()()): Don't dereferene the result of
155 get() before calling it; it's already a reference.
156 * testsuite/tr1/3_function_objects/reference_wrapper/invoke.cc:
157 Test nullary calls to reference_wrappers.
159 2005-11-11 Paolo Carlini <pcarlini@suse.de>
162 * include/tr1/type_traits (__is_abstract_helper): Rename to __in_array
163 (with complemented logic).
164 (is_function): Use it, don't use __conv_helper.
165 (is_abstract): Adjust.
166 (__conv_helper): Rename to __is_convertible_simple.
167 (is_convertible): Adjust.
168 * testsuite/testsuite_tr1.h (class IncompleteClass): Add.
169 * testsuite/tr1/4_metaprogramming/composite_type_traits/is_object/
171 * testsuite/tr1/4_metaprogramming/primary_type_categories/is_enum/
173 * testsuite/tr1/4_metaprogramming/primary_type_categories/is_function/
176 2005-11-11 Paolo Carlini <pcarlini@suse.de>
179 * include/tr1/functional (hash): Inherit from std::unary_function.
180 * testsuite/tr1/6_containers/unordered/hash/24799.cc: New.
183 * include/tr1/boost_shared_ptr.h (swap(shared_ptr<>&, shared_ptr<>&),
184 swap(weak_ptr<>&, weak_ptr<>&)): Move inside namespace tr1.
185 * testsuite/tr1/2_general_utilities/memory/shared_ptr/modifiers/
189 * include/tr1/type_traits (__is_polymorhpic_helper): Adjust destructor.
190 * testsuite/tr1/4_metaprogramming/type_properties/is_polymorphic/
193 2005-11-10 Paolo Carlini <pcarlini@suse.de>
195 * testsuite/tr1/2_general_utilities/memory/
196 enable_shared_from_this/not_shared.cc: Adjust, remove xfail.
197 * testsuite/tr1/2_general_utilities/memory/
198 enable_shared_from_this/not_shared2.cc: Likewise.
199 * testsuite/tr1/2_general_utilities/memory/
200 enable_shared_from_this/not_shared3.cc: Likewise.
202 2005-11-10 Paolo Carlini <pcarlini@suse.de>
204 * include/tr1/boost_shared_ptr.h (_Sp_counted_base::release,
205 weak_release): Protect barriers with __GTHREADS.
207 2005-11-10 Paolo Carlini <pcarlini@suse.de>
208 Peter Dimov <pdimov@mmltd.net>
210 * include/tr1/boost_shared_ptr.h (_Sp_counted_base::release):
211 Optimize by manually inlining weak_release.
213 * include/tr1/boost_shared_ptr.h (_Sp_counted_base::release,
214 weak_release): Use explicit memory barriers.
216 2005-11-09 Benjamin Kosnik <bkoz@redhat.com>
217 Paolo Carlini <pcarlini@suse.de>
218 Gabriel Dos Reis <gdr@integrable-solutions.net>
221 * numeric_limits.cc: Split into...
222 * numeric_limits/specialization.cc: ..this.
223 * numeric_limits/is_iec559.cc: Same.
224 * numeric_limits/sign.cc: Same.
225 * numeric_limits/quiet_NaN.cc: Same.
226 * numeric_limits/digits10.cc: Same.
227 * numeric_limits/denorm_min.cc: Same.
228 * numeric_limits/min_max.cc: Same.
229 * numeric_limits/epsilon.cc: Same.
230 * numeric_limits/infinity.cc: Same.
231 * numeric_limits/traps.cc: New.
233 2005-11-09 Paolo Carlini <pcarlini@suse.de>
235 * include/tr1/boost_shared_ptr.h: Trivial formatting fixes.
237 2005-11-08 Benjamin Kosnik <bkoz@redhat.com>
239 * testsuite/lib/libstdc++.exp (check_v3_target_debug_mode): Use
240 exe as the executable extension.
242 * acinclude.m4 (GLIBCXX_ENABLE_ALLOCATOR): Change gnu defaults to
244 (GLIBCXX_ENABLE_PCH): Adjust message order.
245 * configure: Regenerate.
247 * scripts/testsuite_flags.in (query): Correct print_usagex typo.
249 * include/bits/functexcept.h: Remove argument names.
251 * src/mt_allocator.cc: Adjust comment.
253 2005-11-06 Paolo Carlini <pcarlini@suse.de>
256 * include/bits/stl_queue.h (priority_queue): Tweak a bit the
257 comment describing the container.
259 2005-11-05 Paolo Carlini <pcarlini@suse.de>
261 * configure.host: Add | rs6000 to the cpu_defines_dir switch,
262 consistently with the try_cpu one.
264 2005-11-05 Paolo Carlini <pcarlini@suse.de>
267 * include/bits/c++config: Include cpu_defines.h.
268 * include/Makefile.am: Add cpu_defines.h to host_headers.
269 * configure.host: Add cpu_defines_dir.
270 * configure.ac: Use it.
271 * config/cpu/powerpc/cpu_defines.h: New.
272 * config/cpu/generic/cpu_defines.h: Likewise.
273 * configure: Regenerate.
274 * Makefile.in: Likewise.
275 * include/Makefile.in: Likewise.
276 * libmath/Makefile.in: Likewise.
277 * libsupc++/Makefile.in: Likewise.
278 * po/Makefile.in: Likewise.
279 * src/Makefile.in: Likewise.
280 * testsuite/Makefile.in: Likewise.
282 2005-11-03 Paolo Carlini <pcarlini@suse.de>
284 * include/ext/sso_string_base.h (__sso_string_base<>::_M_swap):
285 Change the various traits_type::copy call to always copy the
286 entire local buffer; return early and don't do a full swap on
287 the lengths for two common cases; change two _S_copy to plain
290 2005-11-02 Thomas Kho <tkho@ucla.edu>
293 * include/bits/stl_vector.h (vector<>::clear): Open code
294 in terms of _Destroy.
296 2005-11-02 Paolo Carlini <pcarlini@suse.de>
298 * include/bits/vector.tcc (vector<>::_M_fill_assign): Qualify fill_n.
300 2005-11-01 Paolo Carlini <pcarlini@suse.de>
303 * include/tr1/boost_shared_ptr.h (shared_ptr<>::get_deleter):
304 Move out of shared_ptr.
305 * testsuite/tr1/2_general_utilities/memory/shared_ptr/misc/24595.cc:
308 2005-10-30 Paolo Carlini <pcarlini@suse.de>
311 * include/c_std/std_csignal.h: Adjust comment as per 17.4.1.2/4.
312 * include/c_std/std_cstdlib.h: Likewise.
313 * include/c_std/std_cstdio.h: Likewise.
314 * include/c_std/std_cstdarg.h: Likewise.
315 * include/c_std/std_cctype.h: Likewise.
316 * include/c_std/std_cerrno.h: Likewise.
317 * include/c_std/std_cmath.h: Likewise.
318 * include/c_std/std_ciso646.h: Likewise.
319 * include/c_std/std_ctime.h: Likewise.
320 * include/c_std/std_clocale.h: Likewise.
321 * include/c_std/std_climits.h: Likewise.
322 * include/c_std/std_cassert.h: Likewise.
323 * include/c_std/std_csetjmp.h: Likewise.
324 * include/c_std/std_cwchar.h: Likewise.
325 * include/c_std/std_cfloat.h: Likewise.
326 * include/c_std/std_cstring.h: Likewise.
327 * include/c_std/std_cstddef.h: Likewise.
328 * include/c_std/std_cwctype.h: Likewise.
330 2005-10-29 Carey Evans <carey.evans@gmail.com>
333 * config/os/djgpp/ctype_inline.h: Fix.
334 * config/os/djgpp/ctype_noninline.h: Likewise.
336 2005-10-28 Paolo Carlini <pcarlini@suse.de>
339 * include/c_std/std_cwchar.h (wcspbrk): Adjust signature.
340 * testsuite/21_strings/c_strings/wchar_t/24559.cc: New.
342 2005-10-25 Paolo Carlini <pcarlini@suse.de>
344 * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 39.
345 * docs/html/ext/howto.html: Adjust.
347 2005-10-21 Paolo Carlini <pcarlini@suse.de>
350 * config/locale/generic/time_members.h (__timepunct<>::
351 __timepunct(__c_locale, const char*, size_t)): Avoid leaking
352 memory if new throws inside _M_initialize_timepunct.
353 * config/locale/gnu/time_members.h (__timepunct<>::
354 __timepunct(__c_locale, const char*, size_t)): Likewise.
355 * config/locale/gnu/message_members.h (messages<>::
356 messages(__c_locale, const char*, size_t)): Rearrange to
359 2005-10-19 Paolo Carlini <pcarlini@suse.de>
361 * include/ext/sso_string_base.h (_M_swap): Rewrite.
363 2005-10-19 Paolo Carlini <pcarlini@suse.de>
365 * include/ext/rc_string_base.h (_S_terminal): Remove.
366 (_M_set_length): Adjust.
367 (_S_max_size): Change to anonymous enum.
368 (_M_max_size()): Add, returns the latter.
369 * include/ext/sso_string_base.h: Likewise.
370 * include/ext/vstring.h (max_size): Adjust.
372 2005-10-17 Jonathan Wakely <redi@gcc.gnu.org>
375 * include/tr1/boost_shared_ptr.h
376 (_Sp_counted_base::_Sp_counted_base()): When __GTHREAD_MUTEX_INIT
377 is defined, initialize the mutex.
379 2005-10-15 Paolo Carlini <pcarlini@suse.de>
381 * include/tr1/functional: Add missing #pragma GCC system_header.
383 2005-10-14 Paolo Carlini <pcarlini@suse.de>
385 * include/tr1/hashtable (hashtable::m_erase): Rename to erase_node.
386 (hashtable::erase(iterator), erase(const_iterator)): Adjust.
388 2005-10-13 Richard Earnshaw <richard.earnsahw@arm.com>
391 * acinclude.m4 (port_specific_symbol_files): More symbol versioning
393 * configure: Regenerate.
395 2005-10-13 Hans-Peter Nilsson <hp@axis.com>
397 * testsuite/lib/libstdc++.exp (libstdc++_init): Require
398 native testing before setting v3-sharedlib to 1.
400 2005-10-12 Joe Buck <Joe.Buck@synopsys.com>
402 * docs/html/27_io/howto.html: Use reference to ifstream when
405 2005-10-11 Andrew Pinski <pinskia@physics.uc.edu>
408 * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Fix typo in check
410 * configure: Regenerate.
412 2005-10-10 Benjamin Kosnik <bkoz@redhat.com>
414 * configure.ac (libtool_VERSION): To 6:7:0.
415 * configure: Regenerate.
416 * testsuite/testsuite_abi.cc (check_version): Add GLIBCXX_3.4.7.
417 * config/linker-map.gnu: Export locale::_Impl::_M_install_cache.
419 2005-10-10 Ian Lance Taylor <ian@airs.com>
422 * include/bits/locale_classes.h (locale::_Impl::_M_install_cache):
424 * src/locale.cc: Define here, add mutex.
426 2005-10-09 Paolo Carlini <pcarlini@suse.de>
428 PR libstdc++/24061 (issue 6.19)
429 * include/tr1/hashtable (struct node_const_iterator, struct
430 hashtable_const_iterator): New, add const variants to enable separate
431 overloadings for iterator and const_iterator in unordered_set and
432 unordered_multiset (as required by issue 6.19).
433 (class hashtable): Change the mutable_iterators template parameter
434 to constant_iterators and adjust throughout the logic.
435 (hashtable::insert(iterator, const value_type&), erase(iterator)
436 erase(iterator, iterator)): New, as per issue 6.19.
437 (hashtable::m_erase(node*, node**)): New, called by erase(iterator)
438 and erase(const_iterator).
439 (hashtable::Insert_Conv_Type): New, used by insert(iterator,
440 const value_type&) and insert(const_iterator, const value_type&)
441 to delegate the work to insert(const value_type&).
442 * include/tr1/unordered_map (class unordered_map, unordered_multimap):
444 * include/tr1/unordered_set (class unordered_set, unordered_multiset):
446 * testsuite/tr1/6_containers/unordered/erase/24061-map.cc: New.
447 * testsuite/tr1/6_containers/unordered/erase/24061-multimap.cc: New.
448 * testsuite/tr1/6_containers/unordered/erase/24061-multiset.cc: New.
449 * testsuite/tr1/6_containers/unordered/erase/24061-set.cc: New.
450 * testsuite/tr1/6_containers/unordered/insert/24061-map.cc: New.
451 * testsuite/tr1/6_containers/unordered/insert/24061-multimap.cc: New.
452 * testsuite/tr1/6_containers/unordered/insert/24061-multiset.cc: New.
453 * testsuite/tr1/6_containers/unordered/insert/24061-set.cc: New.
455 2005-10-08 Kazu Hirata <kazu@codesourcery.com>
457 Merge from csl-arm-branch:
458 2004-12-15 Daniel Jacobowitz <dan@codesourcery.com>
459 * libstdc++-v3/config/linker-map.gnu: Add ARM EABI symbols.
461 2005-10-07 Paolo Carlini <pcarlini@suse.de>
463 Fix libstdc++/24196 for ext/vstring/rc by returning to the behavior
464 of basic_string pre-2003-06-13; remove fully-dynamic-string stuff.
465 * include/ext/rc_string_base.h (_M_refcopy): Move inside the
466 _Rep class and remove code in macro.
467 (__rc_string_base()): Construct with _S_empty_rep()._M_refcopy().
468 (_M_dispose, _M_leak_hard): Remove code in macro.
469 (_S_construct): Return _S_empty_rep()._M_refcopy() for empty string.
472 * include/ext/rc_string_base.h (_Rep::_M_refdata()): Minor tweak,
475 2005-10-07 Benjamin Kosnik <bkoz@redhat.com>
477 * docs/doxygen/user.cfg.in: Update to Doyxygen 1.4.4.
479 2005-10-05 Paolo Carlini <pcarlini@suse.de>
481 * include/ext/sso_string_base.h (struct __sso_string_local):
482 Remove, actually POD types cannot have user defined constructors
483 (being aggregates) and therefore can always be members of unions.
484 (class __sso_string_base): Adjust consistently.
486 2005-10-05 Paolo Carlini <pcarlini@suse.de>
489 * testsuite/27_io/basic_filebuf/3.cc: Use __gnu_test::pod_ushort
491 * testsuite/27_io/basic_filebuf/seekoff/10132-2.cc: Likewise.
492 * testsuite/27_io/basic_filebuf/seekpos/10132-3.cc: Likewise.
493 * testsuite/27_io/basic_fstream/3.cc: Likewise; run the test.
494 * testsuite/27_io/basic_ifstream/3.cc: Likewise; run the test.
495 * testsuite/27_io/basic_ios/3.cc: Likewise.
496 * testsuite/27_io/basic_iostream/3.cc: Likewise; run the test.
497 * testsuite/27_io/basic_istream/3.cc: Likewise; run the test.
498 * testsuite/27_io/basic_istringstream/3.cc: Likewise; run the test.
499 * testsuite/27_io/basic_ofstream/3.cc: Likewise; run the test.
500 * testsuite/27_io/basic_ostream/3.cc: Likewise; run the test.
501 * testsuite/27_io/basic_ostringstream/3.cc: Likewise; run the test.
502 * testsuite/27_io/basic_streambuf/3.cc: Likewise.
503 * testsuite/27_io/basic_stringbuf/3.cc: Likewise.
504 * testsuite/27_io/basic_stringstream/3.cc: Likewise; run the test.
506 2005-10-05 Paolo Carlini <pcarlini@suse.de>
508 PR libstdc++/11729 (DR 280, [Ready])
509 * include/bits/stl_iterator.h: Add reverse_iterator global
510 functions with two template parameters (operator==, !=, <,
512 * testsuite/24_iterators/reverse_iterator/11729.cc: New.
513 * docs/html/ext/howto.html: Add an entry for issue 280.
515 2005-10-03 Paolo Carlini <pcarlini@suse.de>
517 * include/tr1/hashtable
518 (node_iterator::node_iterator(const node_iterator<,true,>&)): Fix to
519 take a "false" (i.e., is_const == false) node_iterator.
520 (hashtable_iterator::hashtable_iterator(const hashtable_iterator<,
521 true,>&)): Likewise for hashtable_iterator.
522 (hashtable::const_local_iterator): Fix typedef (is_const == true).
523 (hashtable::const_iterator): Likewise.
524 * testsuite/tr1/6_containers/unordered/types/map_iterator.cc: New.
525 * testsuite/tr1/6_containers/unordered/types/multimap_iterator.cc: New.
526 * testsuite/tr1/6_containers/unordered/types/set_iterator.cc: New.
527 * testsuite/tr1/6_containers/unordered/types/multiset_iterator.cc: New.
529 2005-10-02 Paolo Carlini <pcarlini@suse.de>
532 * include/tr1/hashtable (erase(const key_type&)): Return the
533 number of elements erased.
534 * testsuite/tr1/6_containers/unordered/hashtable/24054.cc: New.
536 2005-10-01 Kenny Simpson <theonetruekenny@yahoo.com>
538 * include/tr1/tuple_iterate.h (tuple::operator=(const std::pair<>&)):
541 2005-09-30 Paolo Carlini <pcarlini@suse.de>
544 * include/tr1/hashtable (hash_code_base<>::store_code): Add.
545 (hashtable<>::insert(const value_type&)): Use it.
546 * testsuite/tr1/6_containers/unordered/hashtable/24064.cc: New.
548 2005-09-30 Paolo Carlini <pcarlini@suse.de>
551 * include/bits/locale_facets.tcc (__numpunct_cache<>::_M_cache,
552 __moneypunct_cache<>::_M_cache): Check that grouping()[0] > 0.
553 (__verify_grouping): Do the last check only if __grouping[__min] > 0.
554 (__add_grouping<>): End recursion if *__gbeg <= 0.
555 * testsuite/22_locale/num_get/get/char/23953.cc: New.
556 * testsuite/22_locale/num_get/get/wchar_t/23953.cc: Likewise.
557 * testsuite/22_locale/num_put/put/char/23953.cc: Likewise.
558 * testsuite/22_locale/num_put/put/wchar_t/23953.cc: Likewise.
560 2005-09-29 Chris Jefferson <chris@bubblescope.net>
563 * include/tr1/tuple_iterate.h (tuple): Add operator=(std::pair).
564 * testsuite/tr1/6_containers/tuple/creation_functions/23978.cc: New.
566 * include/tr1/functional (ref, cref): Make inline.
567 * include/tr1/tuple_iterate.h (tie): Correct formatting.
568 (make_tuple): Make inline.
570 2005-09-25 Benjamin Kosnik <bkoz@redhat.com>
571 Eric Botcazou <ebotcazou@libertysurf.fr>
573 * include/ext/mt_allocator.h
574 (__per_type_pool<...true>::_S_initialize_once): Always call
576 (__common_pool<...true>::_S_initialize_once): Same.
578 2005-09-23 Benjamin Kosnik <bkoz@redhat.com>
580 * testsuite/ext/mt_allocator/tune-1.cc: Clarify for single-thread.
581 * testsuite/ext/mt_allocator/tune-2.cc: Same.
582 * testsuite/ext/mt_allocator/tune-3.cc: Same.
583 * testsuite/ext/mt_allocator/tune-4.cc: Same.
585 2005-09-21 Guillaume Melquiond <guillaume.melquiond@ens-lyon.fr>
588 * include/ext/mt_allocator.h: Remove excess
589 policy_type::_S_get_pool calls in constructors.
591 2005-09-18 Paolo Carlini <pcarlini@suse.de>
593 PR libstdc++/23417 (cont)
594 * include/bits/stl_tree.h (_Rb_tree_impl<true>): Use member
595 initialization list for -Weffc++.
597 2005-09-16 Janis Johnson <janis187@us.ibm.com>
599 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/23871.cc:
602 2005-09-15 Benjamin Kosnik <bkoz@redhat.com>
607 * include/bits/c++config: Set _GLIBCXX_STD regardless of __GXX_WEAK__.
608 Add in check for __NO_INLINE__ for warning.
609 * testsuite/lib/dg-options.exp (dg-require-debug-mode): New.
610 * testsuite/lib/libstdc++.exp (check_v3_target_debug_mode): New.
611 * testsuite/21_strings/basic_string/element_access/char/21674.cc:
613 * testsuite/21_strings/basic_string/element_access/wchar_t/21674.cc:
616 2005-09-15 Paolo Carlini <pcarlini@suse.de>
619 * include/std/std_ostream.h (operator<<(short), operator<<(unsigned
620 short), operator<<(int), operator<<(unsigned int), operator<<(float)):
621 Don't call operator<<(long), operator<<(unsigned long), or
622 operator<<(double), do the work mandated by the resolution of DR117...
623 * include/bits/ostream.tcc (operator<<(short), operator<<(unsigned
624 short), operator<<(int), operator<<(unsigned int), operator<<(float)):
626 * testsuite/27_io/basic_ostream/inserters_arithmetic/pod/23875.cc: New.
628 2005-09-15 Mark Mitchell <mark@codesourcery.com>
630 * testsuite/testsuite_character.h: Specialize character<>
631 templates in __gnu_cxx, not in __gnu_test.
633 2005-09-13 Jonathan Wakely <cow@compsoc.man.ac.uk>
634 Benjamin Kosnik <bkoz@redhat.com>
637 * testsuite/21_strings/basic_string/element_access/char/21674.cc: New.
638 * testsuite/21_strings/basic_string/element_access/wchar_t/21674.cc:
641 2005-09-12 David Edelsohn <dje@gcc.gnu.org>
645 * include/Makefile.am (stamp-assoc): Install each subgroup
646 of headers separately.
647 * include/Makefile.in: Regenerate.
649 2005-09-12 Benjamin Kosnik <bkoz@redhat.com>
651 * testsuite/ext/mt_allocator/22309_thread.cc: Remove dg-do run.
652 * testsuite/lib/libstdc++.exp ( proc libstdc++_init): Enable
653 shared only for linux.
655 2005-09-12 Benjamin Kosnik <bkoz@redhat.com>
656 David Edelsohn <dje@gcc.gnu.org>
660 * include/Makefile.am (assoc_headers): Break into five sub values.
661 (install-headers): Use them.
663 * include/Makefile.in: Regenerate.
665 2005-09-12 Chris Jefferson <chris@bubblescope.net>
667 * include/bits/stl_algo.h (search_n): Delegate to specializations.
668 (search_n(,,,,binary_predicate)): Likewise.
669 (__search_n(forward_iterator_tag)): Original search_n, tweak to
670 remove an unnecessary comparison.
671 (__search_n(,,,,binary_predicate,forward_iterator_tag)): Likewise.
673 2005-09-12 Jim Xochellis <jimxoch@yahoo.gr>
675 * include/bits/stl_algo.h
676 (__search_n(std::random_access_iterator_tag)): Add specialization.
677 (__search_n(,,,,binary_predicate,std::random_access_iterator_tag)):
680 2005-09-12 Benjamin Kosnik <bkoz@redhat.com>
683 * include/bits/stl_list.h (_List_impl): Use member initialization
685 * include/bits/stl_tree.h (_Rb_tree_impl): Same.
687 2005-09-12 Paolo Carlini <pcarlini@suse.de>
690 * include/bits/stl_iterator.h (__normal_iterator::
691 __normal_iterator<>(const __normal_iterator<_Iter, _Container>&)):
692 Enable only when _Iter is equal to _Container::pointer.
693 * testsuite/21_strings/basic_string/types/23767.cc: New.
694 * testsuite/23_containers/vector/types/23767.cc: Likewise.
695 * testsuite/ext/vstring/types/23767.cc: Likewise.
697 2005-09-11 Benjamin Kosnik <bkoz@redhat.com>
701 * include/ext/mt_allocator.h
702 (__gnu_cxx::__create_handler): Remove.
703 (__pool<true>::_M_destroy_thread_key): Compatibility only.
704 (__pool<true>::_M_initialize(__destroy): Same.
705 (__pool<true>::_M_initialize): New.
706 (__pool<true>::_M_initialize_once): Nothing fancy.
707 (__pool<true>::_M_once): Remove.
708 (__common_pool): New.
709 (__common_pool_base): New.
710 (__per_type_pool): New.
711 (__per_type_pool_base): New.
712 * src/mt_allocator.cc: Same.
713 * config/linker-map.gnu (__pool<true>::_M_initialize()): Add.
715 2005-09-11 Jakub Jelinek <jakub@redhat.com>
719 * src/mt_allocator.cc (__gnu_internal::freelist_mutex): Make static.
720 (__gnu_internal::__freelist): New type.
721 (__gnu_internal::freelist): New variable.
722 (__gnu_internal::_M_destroy_thread_key): New function.
723 (__gnu_cxx::__pool<true>::_M_destroy): Don't delete
724 _M_thread_freelist_initial.
725 (__gnu_cxx::__pool<true>::_M_initialize): Make argument nameless.
726 Don't use _M_thread_freelist and _M_thread_freelist_initial
727 __pool<true> fields, instead use __gnu_internal::freelist fields, call
728 gthread_key_create just once. Use
729 __gnu_internal::_M_destroy_thread_key as key destructor.
730 (__gnu_cxx::__pool<true>::_M_get_thread_id): Store size_t id
731 rather than _Thread_record* in the thread specific value. Don't
732 use _M_thread_freelist __pool<true> field, instead use
733 __gnu_internal::freelist fields.
734 (__gnu_cxx::__pool<true>::_M_destroy_thread_key): Do nothing.
736 2005-09-11 Benjamin Kosnik <bkoz@redhat.com>
737 Jakub Jelinek <jakub@redhat.com>
741 * testsuite/testsuite_shared.cc: New.
742 * testsuite/lib/dg-options.exp (dg-require-sharedlib): New.
743 * testsuite/lib/libstdc++.exp (libstdc++_init): Look for shared
744 library, and set v3-sharedlib based on this.
745 (check_v3_target_sharedlib): New.
746 (proc v3-build_support): Build shared objects.
747 * testsuite/ext/mt_allocator/22309_thread.cc: New, use above.
749 2005-09-11 Paolo Carlini <pcarlini@suse.de>
752 * include/bits/stl_list.h (_List_iterator<>::
753 _List_iterator(_List_node_base*), _List_const_iterator<>::
754 _List_const_iterator(const _List_node_base*)): Make explicit.
755 (list<>::begin(), list<>::end(), list<>::pop_back()): Adjust
757 * include/bits/list.tcc (list<>::insert, list<>::erase): Adjust
759 * include/bits/stl_tree.h (_Rb_tree_iterator<>::
760 _Rb_tree_iterator(_Link_type), _Rb_tree_const_iterator<>::
761 _Rb_tree_const_iterator(_Link_type)): Make explicit.
762 (_Rb_tree<>::begin(), _Rb_tree<>::end()): Adjust consistently.
763 * include/ext/slist (_Slist_iterator<>::_Slist_iterator(_Node*)):
765 (slist<>::erase(iterator), slist<>::erase(iterator, iterator)):
767 * include/tr1/hashtable (hashtable_iterator<>::
768 hashtable_iterator(hash_node<>**)): Make explicit.
769 * testsuite/23_containers/list/23781.cc: New.
770 * testsuite/23_containers/map/23781.cc: Likewise.
771 * testsuite/23_containers/multimap/23781.cc: Likewise.
772 * testsuite/23_containers/multiset/23781.cc: Likewise.
773 * testsuite/23_containers/set/23781.cc: Likewise.
774 * testsuite/ext/slist/23781.cc: Likewise.
775 * testsuite/tr1/6_containers/unordered/23781.cc: Likewise.
776 * testsuite/23_containers/map/operators/1_neg.cc: Adjust dg-error
778 * testsuite/23_containers/set/operators/1_neg.cc: Likewise.
780 * include/tr1/array (array<>::begin(), array<>::end()): Adjust
781 stylistically for consistency with the other containers.
783 2005-09-10 Joseph S. Myers <joseph@codesourcery.com>
785 * testsuite/26_numerics/cmath/c99_classification_macros_c.cc:
786 XFAIL on *-*-linux*, not *-*-linux-gnu.
788 2005-09-09 Benjamin Kosnik <bkoz@redhat.com>
789 Jakub Jelinek <jakub@redhat.com>
791 * src/debug.cc (iterator_base_mutex): Make static for internal
793 * src/locale_init.cc (locale_mutex): Same.
794 * src/mt_allocator.cc (freelist_mutex): Same.
795 * src/pool_allocator.cc (palloc_init_mutex): Same.
797 2005-09-02 Paolo Carlini <pcarlini@suse.de>
799 * testsuite/tr1/6_containers/unordered/hashtable/23465.cc:
800 Reduce maximum size and lf.
802 2005-09-01 Benjamin Kosnik <bkoz@redhat.com>
804 * include/c_std/std_cmath.h: Declare C99 functions and helper
807 2005-09-01 Benjamin Kosnik <bkoz@redhat.com>
808 Paolo Carlini <pcarlini@suse.de>
810 * testsuite/lib/libstdc++.exp (check_v3_target_cxa_atexit): Fix
813 2005-09-01 Benjamin Kosnik <bkoz@redhat.com>
815 * testsuite/lib/libstdc++.exp (check_v3_target_cxa_atexit): New.
816 * testsuite/lib/dg-options.exp (dg-require-cxa-atexit): New.
817 * testsuite/ext/mt_allocator/deallocate_local-6.cc: New.
818 * testsuite/ext/mt_allocator/deallocate_local-8.cc: New.
819 * testsuite/ext/mt_allocator/deallocate_local_thread-5.cc: New.
820 * testsuite/ext/mt_allocator/deallocate_local_thread-7.cc: New.
821 * docs/html/ext/mt_allocator.html: Add link to examples.
822 * testsuite/testsuite_allocator.h: Tweak.
823 * testsuite/ext/mt_allocator/deallocate_global-2.cc: Same.
824 * testsuite/ext/mt_allocator/deallocate_global-4.cc: Same.
825 * testsuite/ext/mt_allocator/deallocate_global_thread-1.cc: Same.
826 * testsuite/ext/mt_allocator/deallocate_global_thread-3.cc: Same.
827 * testsuite/ext/mt_allocator/deallocate_local-2.cc: Same.
828 * testsuite/ext/mt_allocator/deallocate_local-4.cc: Same.
829 * testsuite/ext/mt_allocator/deallocate_local_thread-1.cc: Same.
830 * testsuite/ext/mt_allocator/deallocate_local_thread-3.cc: Same.
831 * testsuite/ext/new_allocator/deallocate_global.cc: Same.
832 * testsuite/ext/new_allocator/deallocate_local.cc: Same.
834 2005-08-31 Paolo Carlini <pcarlini@suse.de>
835 Kaspar Fischer <fischerk@inf.ethz.ch>
838 * include/bits/stl_bvector.h (_Bit_iterator::operator[],
839 _Bit_const_iterator::operator[]): Const-ify.
840 * testsuite/23_containers/vector/bool/23632.cc: New.
842 2005-08-30 Paolo Carlini <pcarlini@suse.de>
844 PR libstdc++/23578 (cont)
845 * include/bits/stl_bvector.h (class vector<bool>): Add
846 a dummy data() to avoid problems in debug-mode.
848 2005-08-30 Paolo Carlini <pcarlini@suse.de>
850 * testsuite/ext/hash_map/23528.cc: New.
852 2005-08-29 Paolo Carlini <pcarlini@suse.de>
854 * include/bits/stl_map.h (class map): ... and a missing @a.
856 2005-08-29 Paolo Carlini <pcarlini@suse.de>
858 * include/bits/stl_map.h (class map): Add missing % in comment.
860 2005-08-29 Paolo Carlini <pcarlini@suse.de>
862 PR libstdc++/23578 (DR 464 [Ready])
863 * include/bits/stl_map.h (class map): Add at(const key_type&)
865 * include/bits/stl_vector.h (class vector): Add data() member
867 * include/debug/map.h (class map): Adjust consistently.
868 * include/debug/vector (class vector): Likewise.
869 * testsuite/23_containers/map/element_access/1.cc: New.
870 * testsuite/23_containers/vector/data_access/1.cc: Likewise.
871 * docs/html/ext/howto.html: Add an entry for DR 464.
873 2005-08-26 Benjamin Kosnik <bkoz@redhat.com>
875 PR libstdc++/20534 (contd)
876 * src/debug.cc (__gnu_debug): Remove __fancy_abort definition.
877 Remove cstdio and cstdlib includes.
878 * include/debug/debug.h: Define inline here. Remove
879 _GLIBCXX_DEBUG_ABORT.
880 * include/debug/macros.h: Remove __fancy_abort declaration,
881 _GLIBXX_DEBUG_ABORT definition.
882 * config/linker-map.gnu: Remove export.
884 2005-08-26 Benjamin Kosnik <bkoz@redhat.com>
886 * scripts/check_compile (UNIQUE_ID): New. Use to name output files.
888 2005-08-26 Paolo Carlini <pcarlini@suse.de>
891 * include/tr1/array: Implement members back(), front(), data(),
892 and the tuple interface; tidy.
893 * testsuite/tr1/6_containers/array/element_access/back.cc: New.
894 * testsuite/tr1/6_containers/array/element_access/data.cc: Likewise.
895 * testsuite/tr1/6_containers/array/element_access/front.cc: Likewise.
896 * testsuite/tr1/6_containers/array/tuple_interface/get.cc: Likewise.
897 * testsuite/tr1/6_containers/array/tuple_interface/tuple_element.cc:
899 * testsuite/tr1/6_containers/array/tuple_interface/tuple_size.cc:
902 2005-08-25 Paolo Carlini <pcarlini@suse.de>
904 * include/tr1/hashtable: Use __throw_exception_again,
905 not naked throw, in the catch clauses.
907 2005-08-24 Lawrence Lim <llim@redhat.com>
908 Jakub Jelinek <jakub@redhat.com>
909 Benjamin Kosnik <bkoz@redhat.com>
912 * testsuite/21_strings/char_traits/requirements/char/1.cc
913 (test01): Simplify counting.
914 * testsuite/21_strings/char_traits/requirements/wchar_t/1.cc
917 2005-08-24 Paolo Carlini <pcarlini@suse.de>
918 Chris Jefferson <chris@bubblescope.net>
921 * include/tr1/hashtable (hash_code_base::m_swap): Use
923 (hashtable<>::hashtable(const hashtable&)): Use copy_code;
924 fix m_allocate_node call.
925 * testsuite/tr1/6_containers/unordered/hashtable/23465.cc: New.
927 2005-08-23 Kelley Cook <kcook@gcc.gnu.org>
930 * testsuite/data/sgetn.txt: Revert to previous FSF address.
932 2005-08-23 Thomas Kho <tkho@ucla.edu>
935 * include/bits/stl_construct.h (_Destroy(_ForwardIterator,
936 _ForwardIterator, allocator<_Tp>)): Removed unused template parameter.
938 2005-08-22 Geoffrey Keating <geoffk@apple.com>
940 * testsuite/23_containers/vector/resize/1.cc: XFAIL on darwin8.
941 * testsuite/27_io/ios_base/storage/2.cc: Likewise.
943 2005-08-19 J"orn Rennecke <joern.rennecke@st.com>
945 * config/cpu/sh/atomicity.h: Replace broken generic code with current
946 copy of generic/atomicity.h .
948 2005-08-17 Kelley Cook <kcook@gcc.gnu.org>
950 * All files: Update FSF address.
952 2005-08-09 Andrew Pinski <pinskia@physics.uc.edu>
954 * testsuite/26_numerics/cmath/c99_classification_macros_c.cc:
955 xfail on *-*-darwin*.
957 2005-08-03 Geoffrey Keating <geoffk@apple.com>
959 * configure.ac: Don't use GCC_NO_EXECUTABLES or clear
960 GLIBCXX_IS_NATIVE on Darwin crosses.
961 * acinclude.m4 (GLIBCXX_CONFIGURE_TESTSUITE): Don't skip configuring
962 the testsuite just because there's no symbol versioning.
963 * configure: Regenerate.
965 * acinclude.m4 (GLIBCXX_CHECK_SETRLIMIT_ancilliary): Print
967 (GLIBCXX_CHECK_S_ISREG_OR_S_IFREG): Likewise.
968 (GLIBCXX_CHECK_POLL): Likewise.
969 (GLIBCXX_CHECK_WRITEV): Likewise.
970 (GLIBCXX_CHECK_INT64_T): Likewise.
971 (GLIBCXX_CHECK_LFS): Likewise.
972 * configure: Regenerate.
974 2005-07-30 Andrew Pinski <pinskia@physics.uc.edu>
976 * scripts/make_exports.pl: Pass --strip-underscores to c++filt.
978 2005-07-29 H.J. Lu <hongjiu.lu@intel.com>
981 * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Revert
982 the change to info.ttype_base.
984 2005-07-28 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
986 * include/std/std_valarray.h: Fix grammar in comments.
988 2005-07-25 Geoffrey Keating <geoffk@apple.com>
990 * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Handle darwin-export,
991 and make it the default for Darwin.
992 * scripts/make-exports.pl: New.
993 * src/Makefile.am: Update for changes to GLIBCXX_ENABLE_SYMVERS.
994 Handle darwin-export.
995 * configure: Regenerate.
996 * include/Makefile.in: Regenerate.
997 * libmath/Makefile.in: Regenerate.
998 * libsupc++/Makefile.in: Regenerate.
999 * po/Makefile.in: Regenerate.
1000 * src/Makefile.in: Regenerate.
1001 * testsuite/Makefile.in: Regenerate.
1003 2005-07-25 Dave Odell <evilalias@hotmail.com>
1006 * include/tr1/hashtable (hashtable<>::find_node): Const-ify.
1007 * testsuite/tr1/6_containers/unordered/hashtable/23053.cc: New.
1009 2005-07-25 Paolo Carlini <pcarlini@suse.de>
1012 * include/bits/basic_string.h: Declare the specialization
1013 operator>>(basic_istream<char>&, basic_string<char>&).
1014 * include/std/std_istream.h: Declate the specialization
1015 operator>>(basic_istream<char>&, char*).
1016 * include/std/std_streambuf.h (basic_streambuf): Add friend
1017 declarations for the above.
1018 * src/istream.cc: Define the above.
1019 * testsuite/27_io/basic_istream/extractors_character/char/4.cc: New.
1020 * testsuite/27_io/basic_istream/extractors_character/wchar_t/4.cc:
1022 * testsuite/performance/27_io/ifstream_extract_chars.cc: Likewise.
1024 2005-07-20 Paolo Carlini <pcarlini@suse.de>
1026 * include/bits/streambuf.tcc (xsgetn, xsputn): Use streamsize
1028 * src/streambuf.cc (__copy_streambufs): Likewise.
1030 2005-07-18 Paolo Carlini <pcarlini@suse.de>
1032 * config/locale/gnu/ctype_members.cc (do_is(mask, wchar_t)):
1033 Speed-up for the common case of mask == ctype_base::space;
1034 otherwise, exit the loop earlier if the mask is one of the
1037 2005-07-14 Paolo Carlini <pcarlini@suse.de>
1039 PR libstdc++/21193 (float, double, long double)
1040 * include/tr1/functional (hash<float>, hash<double>):
1041 Reimplement exploiting the Fnv_hash<>::hash helper.
1042 (hash<long double>): Reimplement using frexp (in this
1043 case, due to random padding bits, the former approach
1044 is not generally viable).
1046 2005-07-13 Paolo Carlini <pcarlini@suse.de>
1048 PR libstdc++/21193 (string & wstring)
1049 * include/tr1/functional (hash<string>, hash<wstring>):
1050 Reimplement using the FNV hash.
1052 * include/tr1/functional: Trivial formatting fixes.
1054 2005-07-11 Paolo Carlini <pcarlini@suse.de>
1056 * include/bits/ostream.tcc (basic_ostream<>::operator<<(long),
1057 basic_ostream<>::operator<<(long long)): Don't deal with oct
1058 and hex and casts to unsigned here...
1059 * include/bits/locale_facets.tcc (__int_to_char(_CharT*, long,
1060 const _CharT*, ios_base::fmtflags), __int_to_char(_CharT*, long
1061 long, const _CharT*, ios_base::fmtflags)): ... do that here,
1062 instead, as per Table 57.
1063 (num_put<>::_M_insert_int): Tidy treatment of numeric base and
1065 * include/std/std_ostream.h (operator<<(short), operator<<(int)):
1066 Adjust logic, as per the letter of the resolution of DR117 [WP].
1067 * testsuite/22_locale/num_put/put/char/10.cc: New.
1068 * testsuite/22_locale/num_put/put/wchar_t/10.cc: Likewise.
1069 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/7.cc:
1071 * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/7.cc:
1074 2005-07-07 David Edelsohn <edelsohn@gnu.org>
1076 * testsuite/ext/pb_assoc/example/tree_order_statistics_join.cc:
1077 Change map_t to map_type.
1079 2005-07-05 Paolo Carlini <pcarlini@suse.de>
1081 Add class __versa_string, a versatile "basic_string-type" class:
1082 an additional, non-standard, template parameter allows to specify
1083 the preferred base class. Two are provided: __rc_string_base,
1084 which implements a behavior very similar to our standard string,
1085 and __sso_string_base, not reference-counted and optimized for
1087 * include/ext/rc_string_base.h: New.
1088 * include/ext/sso_string_base.h: Likewise.
1089 * include/ext/vstring.h: Likewise.
1090 * include/ext/vstring.tcc: Likewise.
1091 * include/ext/vstring_fwd.h: Likewise.
1092 * include/ext/vstring_util.h: Likewise.
1093 * include/Makefile.am: Add.
1094 * include/Makefile.in: Regenerate.
1095 * testsuite/ext/vstring/explicit_instantiation/1.cc: New.
1096 * testsuite/ext/vstring/explicit_instantiation/2.cc: Likewise.
1097 * testsuite/ext/vstring/explicit_instantiation/char/1.cc: Likewise.
1098 * testsuite/ext/vstring/explicit_instantiation/wchar_t/1.cc: Likewise.
1100 * Makefile.in: Regenerate with autotools 1.9.3 (to date, the version
1101 officially used by v3).
1102 * aclocal.m4: Likewise.
1103 * libmath/Makefile.in: Likewise.
1104 * libsupc++/Makefile.in: Likewise.
1105 * po/Makefile.in: Likewise.
1106 * src/Makefile.in: Likewise.
1107 * testsuite/Makefile.in: Likewise.
1109 2005-07-01 Paolo Carlini <pcarlini@suse.de>
1111 Port from libstdcxx_so_7-branch:
1112 2004-10-28 Chris Jefferson <chris@bubblescope.net>
1115 * include/bit/stl_algo.h (find(,,,input_iterator_tag),
1116 find(,,,random_access_interator_tag),
1117 find_if(,,,input_iterator_tag),
1118 find_if(,,,random_access_iterator_tag)): Uglify function name.
1119 (find, find_if): Use new uglified specialisation names.
1120 * testsuite/25_algorithms/find/17441.cc: New.
1122 2005-06-30 Ulrich Weigand <uweigand@de.ibm.com>
1124 * include/ext/pb_assoc/detail/hash_fn/mask_based_range_hashing.hpp
1125 (PB_ASSOC_CLASS_C_DEC::s_highest_bit_1): Cast constant 1 to target
1126 type before shifting.
1128 2005-06-29 Paolo Carlini <pcarlini@suse.de>
1130 PR libstdc++/21244 (cont^2)
1131 * include/ext/bitmap_allocator.h: Convert everywhere
1132 bits_per_block to size_t.
1134 2005-06-29 Jonathan Wakely <redi@gcc.gnu.org>
1136 * include/bits/basic_string.h, include/bits/locale_facets.h: Fix
1137 Doxygen comments that use wrong parameter and function names.
1139 2005-06-29 Paolo Carlini <pcarlini@suse.de>
1141 * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 37.
1142 * docs/html/ext/howto.html: Adjust.
1144 2005-06-29 Paolo Carlini <pcarlini@suse.de>
1147 * include/bits/locale_facets.tcc (num_get<>::_M_extract_int,
1148 num_get<>::_M_extract_float, money_get<>::_M_extract):
1149 Adjust to assign the result also when digit grouping is
1150 wrong (but the grammar is correct), as per 22.2.2.1.2, p11-12
1151 (NB: consistently for money_get too).
1152 * config/locale/generic/c_locale.cc (__convert_to_v): Do
1153 not check ios_base::failbit at the outset.
1154 * config/locale/gnu/c_locale.cc: Likewise.
1155 * testsuite/22_locale/money_get/get/char/22131.cc: New.
1156 * testsuite/22_locale/money_get/get/wchar_t/22131.cc: Likewise.
1157 * testsuite/22_locale/num_get/get/char/22131.cc: Likewise.
1158 * testsuite/22_locale/num_get/get/wchar_t/22131.cc: Likewise.
1159 * testsuite/22_locale/num_get/get/char/12.cc: Adjust.
1160 * testsuite/22_locale/num_get/get/wchar_t/12.cc: Likewise.
1161 * testsuite/27_io/basic_istream/extractors_arithmetic/char/07.cc:
1163 * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/07.cc:
1166 2005-06-28 Paul Brook <paul@codesourcery.com>
1168 * acinclude.m4 (GLIBCXX_ENABLE_SJLJ_EXCEPTIONS): Check for
1170 * libsupc++/Makefile.am (sources): Add eh_call.c and eh_arm.c.
1171 * libsupc++/eh_arm.cc: New file.
1172 * libsupc++/eh_call.cc: New file.
1173 * libsupc++/eh_catch.cc (__cxa_get_exception_ptr): Use
1174 __gxx_caught_object.
1175 (__cxa_begin_catch): Ditto. Use __is_gxx_exception_class. Call
1176 _Unwind_Complete when using the ARM EABI.
1177 (__cxa_end_catch): Use __is_gxx_exception_class.
1178 * libsupc++/eh_personality.cc: Define NO_SIZE_OF_ENCODED_VALUE when
1180 (save_caught_exception, restore_caught_exception): New functions.
1181 (_throw_typet): New typedef.
1182 (get_ttype_entry, get_adjusted_ptr, check_exception_spec): Add ARM
1183 EABI implementations.
1184 (PERSONALITY_FUNCTION): Use new functions. Addd support for ARM EABI
1186 (__cxa_unexpected): Disable when using the ARM EABI.
1187 * libsupc++/eh_throw.cc (__cxa_throw): Use __GXX_INIT_EXCEPTION_CLASS.
1188 (__cxa_rethrow): Use __is_gxx_exception_class. Call
1189 _Unwind_RaiseException when using the ARM EABI.
1190 * libsupc++/unwind-cxx.h (struct __cxa_exception): Add fields for ARM
1192 (struct __cxa_eh_globals): Ditto.
1193 (__cxa_call_terminate): Add prototype.
1194 (__cxa_type_match, __cxa_begin_cleanup, __cxa_end_cleanup): Add
1196 (__get_exception_header_from_obj, __get_exception_header_from_ue):
1197 Move earlier in file.
1198 (__is_gxx_exception_class, __GXX_INIT_EXCEPTION_CLASS,
1199 __gxx_caught_object): New functions.
1200 * aclocal.m4: Regenerate.
1201 * configure: Regenerate.
1202 * Makefile.in: Regenerate.
1203 * include/Makefile.in: Regenerate.
1204 * libmath/Makefile.in: Regenerate.
1205 * libsupc++/Makefile.in: Regenerate.
1206 * po/Makefile.in: Regenerate.
1207 * src/Makefie.in: Regenerate.
1208 * testsuite/makefile.in: Regenerate.
1210 2005-06-27 Paolo Carlini <pcarlini@suse.de>
1213 * include/bits/stl_tree.h (insert_unique(iterator, const _Val&),
1214 insert_equal((iterator, const _Val&)): Reimplement to check both
1215 before and after, as per the algorithm "ignore hint if wrong" of
1218 2005-06-27 Benjamin Kosnik <bkoz@redhat.com>
1219 Ami Tavory <pbassoc@gmail.com>
1221 * docs/html/documentation.html: Add link for policy based
1222 associative containers docs.
1223 * docs/html/ext/pb_assoc/Std_hash_set_impl.jpg: New.
1224 * docs/html/ext/pb_assoc/acks.html: New.
1225 * docs/html/ext/pb_assoc/balls_and_bins.jpg: New.
1226 * docs/html/ext/pb_assoc/basic_assoc_cntnr.html: New.
1227 * docs/html/ext/pb_assoc/basic_assoc_cntnr_compound_data.html: New.
1228 * docs/html/ext/pb_assoc/basic_assoc_cntnr_no_data.html: New.
1229 * docs/html/ext/pb_assoc/basic_ds_tag.html: New.
1230 * docs/html/ext/pb_assoc/basic_hash_assoc_cntnr.html: New.
1231 * docs/html/ext/pb_assoc/basic_hash_ds_tag.html: New.
1232 * docs/html/ext/pb_assoc/basic_invalidation_guarantee.html: New.
1233 * docs/html/ext/pb_assoc/basic_ms_tag.html: New.
1234 * docs/html/ext/pb_assoc/basic_tree_assoc_cntnr.html: New.
1235 * docs/html/ext/pb_assoc/
1236 basic_tree_assoc_cntnr_const_node_iterator.html: New.
1237 * docs/html/ext/pb_assoc/
1238 basic_tree_assoc_cntnr_node_iterator.html: New.
1239 * docs/html/ext/pb_assoc/basic_tree_assoc_cntnr_rev.html: New.
1240 * docs/html/ext/pb_assoc/basic_tree_assoc_cntnr_rev_it.html: New.
1241 * docs/html/ext/pb_assoc/basic_tree_ds_tag.html: New.
1242 * docs/html/ext/pb_assoc/cc_hash_assoc_cntnr.html: New.
1243 * docs/html/ext/pb_assoc/cc_hash_ds_tag.html: New.
1244 * docs/html/ext/pb_assoc/
1245 cc_hash_max_collision_check_resize_trigger.html: New.
1246 * docs/html/ext/pb_assoc/cc_hash_policy_cd.jpg: New.
1247 * docs/html/ext/pb_assoc/cd.jpg: New.
1248 * docs/html/ext/pb_assoc/component_requirements.html: New.
1249 * docs/html/ext/pb_assoc/compound_data_enabled_ms_tag.html: New.
1250 * docs/html/ext/pb_assoc/compound_data_type.html: New.
1251 * docs/html/ext/pb_assoc/compound_ds_tag.html: New.
1252 * docs/html/ext/pb_assoc/concepts.html: New.
1253 * docs/html/ext/pb_assoc/contact.html: New.
1254 * docs/html/ext/pb_assoc/counter_update_metadata.html: New.
1255 * docs/html/ext/pb_assoc/counter_update_policy.html: New.
1256 * docs/html/ext/pb_assoc/data_enabled_ms_tag.html: New.
1257 * docs/html/ext/pb_assoc/design.html: New.
1258 * docs/html/ext/pb_assoc/different_underlying_dss.jpg: New.
1259 * docs/html/ext/pb_assoc/direct_mask_range_hashing.html: New.
1260 * docs/html/ext/pb_assoc/direct_mod_range_hashing.html: New.
1261 * docs/html/ext/pb_assoc/disclaimer.html: New.
1262 * docs/html/ext/pb_assoc/ds_gen.html: New.
1263 * docs/html/ext/pb_assoc/ds_tag_cd.jpg: New.
1264 * docs/html/ext/pb_assoc/ds_traits.html: New.
1265 * docs/html/ext/pb_assoc/embedded_lists_1.jpg: New.
1266 * docs/html/ext/pb_assoc/embedded_lists_2.jpg: New.
1267 * docs/html/ext/pb_assoc/examples.html: New.
1268 * docs/html/ext/pb_assoc/exception_guarantees_specifics.html: New.
1269 * docs/html/ext/pb_assoc/find_invalidation_guarantee.html: New.
1270 * docs/html/ext/pb_assoc/find_iterators_cd.jpg: New.
1271 * docs/html/ext/pb_assoc/find_iterators_range_ops_1.jpg: New.
1272 * docs/html/ext/pb_assoc/find_iterators_range_ops_2.jpg: New.
1273 * docs/html/ext/pb_assoc/generics.html: New.
1274 * docs/html/ext/pb_assoc/gp_hash_assoc_cntnr.html: New.
1275 * docs/html/ext/pb_assoc/gp_hash_ds_tag.html: New.
1276 * docs/html/ext/pb_assoc/gp_hash_policy_cd.jpg: New.
1277 * docs/html/ext/pb_assoc/hash_and_probe_general.html: New.
1278 * docs/html/ext/pb_assoc/hash_based_containers.html: New.
1279 * docs/html/ext/pb_assoc/hash_cd.jpg: New.
1280 * docs/html/ext/pb_assoc/hash_exponential_size_policy.html: New.
1281 * docs/html/ext/pb_assoc/hash_fn.html: New.
1282 * docs/html/ext/pb_assoc/hash_load_check_resize_trigger.html: New.
1283 * docs/html/ext/pb_assoc/hash_policies.html: New.
1284 * docs/html/ext/pb_assoc/hash_policy_cd.jpg: New.
1285 * docs/html/ext/pb_assoc/hash_prime_size_policy.html: New.
1286 * docs/html/ext/pb_assoc/hash_range_hashing_seq_diagram.jpg: New.
1287 * docs/html/ext/pb_assoc/hash_range_hashing_seq_diagram2.jpg: New.
1288 * docs/html/ext/pb_assoc/hash_ranged_hash_range_hashing_fns.jpg: New.
1289 * docs/html/ext/pb_assoc/hash_standard_resize_policy.html: New.
1290 * docs/html/ext/pb_assoc/home.html: New.
1291 * docs/html/ext/pb_assoc/index.html: New.
1292 * docs/html/ext/pb_assoc/insert_resize_sequence_diagram1.jpg: New.
1293 * docs/html/ext/pb_assoc/insert_resize_sequence_diagram2.jpg: New.
1294 * docs/html/ext/pb_assoc/insert_resize_sequence_diagram3.jpg: New.
1295 * docs/html/ext/pb_assoc/insert_type_methods.html: New.
1296 * docs/html/ext/pb_assoc/interface.html: New.
1297 * docs/html/ext/pb_assoc/interval_node_invariants.jpg: New.
1298 * docs/html/ext/pb_assoc/introduction.html: New.
1299 * docs/html/ext/pb_assoc/invalidation_guarantee_cd.jpg: New.
1300 * docs/html/ext/pb_assoc/invalidation_guarantee_erase.jpg: New.
1301 * docs/html/ext/pb_assoc/lib_download.html: New.
1302 * docs/html/ext/pb_assoc/linear_probe_fn.html: New.
1303 * docs/html/ext/pb_assoc/list_updates.html: New.
1304 * docs/html/ext/pb_assoc/lu_assoc_cntnr.html: New.
1305 * docs/html/ext/pb_assoc/lu_based_containers.html: New.
1306 * docs/html/ext/pb_assoc/lu_cd.jpg: New.
1307 * docs/html/ext/pb_assoc/lu_ds_tag.html: New.
1308 * docs/html/ext/pb_assoc/lu_ops.jpg: New.
1309 * docs/html/ext/pb_assoc/mmap_value_utils.html: New.
1310 * docs/html/ext/pb_assoc/motivation.html: New.
1311 * docs/html/ext/pb_assoc/move_to_front_update_metadata.html: New.
1312 * docs/html/ext/pb_assoc/move_to_front_update_policy.html: New.
1313 * docs/html/ext/pb_assoc/ms_cd.jpg: New.
1314 * docs/html/ext/pb_assoc/ms_gen.html: New.
1315 * docs/html/ext/pb_assoc/ms_tag_cd.jpg: New.
1316 * docs/html/ext/pb_assoc/ms_traits.html: New.
1317 * docs/html/ext/pb_assoc/node_invariant_invalidations.jpg: New.
1318 * docs/html/ext/pb_assoc/node_invariants.html: New.
1319 * docs/html/ext/pb_assoc/node_invariants.jpg: New.
1320 * docs/html/ext/pb_assoc/non_unique_mapping.html: New.
1321 * docs/html/ext/pb_assoc/non_unique_mapping_containers.jpg: New.
1322 * docs/html/ext/pb_assoc/null_data_type.html: New.
1323 * docs/html/ext/pb_assoc/null_hash_fn.html: New.
1324 * docs/html/ext/pb_assoc/null_probe_fn.html: New.
1325 * docs/html/ext/pb_assoc/order_by_key.html: New.
1326 * docs/html/ext/pb_assoc/order_statistics_key.html: New.
1327 * docs/html/ext/pb_assoc/order_statistics_key_cmp.html: New.
1328 * docs/html/ext/pb_assoc/order_statistics_node_updator.html: New.
1329 * docs/html/ext/pb_assoc/ov_tree_ds_tag.html: New.
1330 * docs/html/ext/pb_assoc/overview.html: New.
1331 * docs/html/ext/pb_assoc/pb_assoc_ex.html: New.
1332 * docs/html/ext/pb_assoc/portability.html: New.
1333 * docs/html/ext/pb_assoc/quadratic_probe_fn.html: New.
1334 * docs/html/ext/pb_assoc/range_invalidation_guarantee.html: New.
1335 * docs/html/ext/pb_assoc/rank_node_invariants.jpg: New.
1336 * docs/html/ext/pb_assoc/rationale_null_node_updator.jpg: New.
1337 * docs/html/ext/pb_assoc/rb_tree_ds_tag.html: New.
1338 * docs/html/ext/pb_assoc/reference_iterator.jpg: New.
1339 * docs/html/ext/pb_assoc/references.html: New.
1340 * docs/html/ext/pb_assoc/regression_tests.html: New.
1341 * docs/html/ext/pb_assoc/resize_general.html: New.
1342 * docs/html/ext/pb_assoc/resize_policies.html: New.
1343 * docs/html/ext/pb_assoc/resize_policy_cd.jpg: New.
1344 * docs/html/ext/pb_assoc/restoring_node_invariants.jpg: New.
1345 * docs/html/ext/pb_assoc/sample_node_updator.hpp: New.
1346 * docs/html/ext/pb_assoc/sample_probe_fn.hpp: New.
1347 * docs/html/ext/pb_assoc/sample_probe_fn.html: New.
1348 * docs/html/ext/pb_assoc/sample_range_hashing.hpp: New.
1349 * docs/html/ext/pb_assoc/sample_range_hashing.html: New.
1350 * docs/html/ext/pb_assoc/sample_ranged_hash_fn.hpp: New.
1351 * docs/html/ext/pb_assoc/sample_ranged_hash_fn.html: New.
1352 * docs/html/ext/pb_assoc/sample_ranged_probe_fn.hpp: New.
1353 * docs/html/ext/pb_assoc/sample_ranged_probe_fn.html: New.
1354 * docs/html/ext/pb_assoc/sample_resize_policy.hpp: New.
1355 * docs/html/ext/pb_assoc/sample_resize_policy.html: New.
1356 * docs/html/ext/pb_assoc/sample_resize_trigger.hpp: New.
1357 * docs/html/ext/pb_assoc/sample_size_policy.hpp: New.
1358 * docs/html/ext/pb_assoc/sample_update_policy.hpp: New.
1359 * docs/html/ext/pb_assoc/size_policies_general.html: New.
1360 * docs/html/ext/pb_assoc/splay_tree_ds_tag.html: New.
1361 * docs/html/ext/pb_assoc/timing_tests.html: New.
1362 * docs/html/ext/pb_assoc/toc.html: New.
1363 * docs/html/ext/pb_assoc/tree_assoc_cntnr.html: New.
1364 * docs/html/ext/pb_assoc/
1365 tree_assoc_cntnr_const_node_iterator.html: New.
1366 * docs/html/ext/pb_assoc/tree_assoc_cntnr_node_iterator.html: New.
1367 * docs/html/ext/pb_assoc/tree_based_containers.html: New.
1368 * docs/html/ext/pb_assoc/tree_cd.jpg: New.
1369 * docs/html/ext/pb_assoc/trigger_policies_general.html: New.
1370 * docs/html/ext/pb_assoc/tutorial.html: New.
1371 * docs/html/ext/pb_assoc/update_seq_diagram.jpg: New.
1372 * include/Makefile.am: Add assoc_srcdir, assoc_builddir, assoc_subdir,
1374 * include/Makefile.in: Regenerate.
1375 * include/ext/typelist.h: New.
1376 * include/ext/pb_assoc/assoc_cntnr.hpp: New.
1377 * include/ext/pb_assoc/data_type.hpp: New.
1378 * include/ext/pb_assoc/ds_trait.hpp: New.
1379 * include/ext/pb_assoc/exception.hpp: New.
1380 * include/ext/pb_assoc/hash_policy.hpp: New.
1381 * include/ext/pb_assoc/lu_policy.hpp: New.
1382 * include/ext/pb_assoc/ms_trait.hpp: New.
1383 * include/ext/pb_assoc/tree_policy.hpp: New.
1384 * include/ext/pb_assoc/trivial_iterator_def.hpp: New.
1385 * include/ext/pb_assoc/detail/assoc_cntnr_base.hpp: New.
1386 * include/ext/pb_assoc/detail/cond_dealtor.hpp: New.
1387 * include/ext/pb_assoc/detail/constructors_destructor_fn_imps.hpp: New.
1388 * include/ext/pb_assoc/detail/ds_trait_imp.hpp: New.
1389 * include/ext/pb_assoc/detail/hash_types_traits.hpp: New.
1390 * include/ext/pb_assoc/detail/map_debug_base.hpp: New.
1391 * include/ext/pb_assoc/detail/mapping_level_imp.hpp: New.
1392 * include/ext/pb_assoc/detail/ms_category_imp.hpp: New.
1393 * include/ext/pb_assoc/detail/ms_trait_imp.hpp: New.
1394 * include/ext/pb_assoc/detail/order_statistics_imp.hpp: New.
1395 * include/ext/pb_assoc/detail/standard_policies.hpp: New.
1396 * include/ext/pb_assoc/detail/standard_sizes.hpp: New.
1397 * include/ext/pb_assoc/detail/type_utils.hpp: New.
1398 * include/ext/pb_assoc/detail/typelist.hpp: New.
1399 * include/ext/pb_assoc/detail/types_traits.hpp: New.
1400 * include/ext/pb_assoc/detail/basic_assoc_cntnr/
1401 constructor_destructor_fn_imps.hpp: New.
1402 * include/ext/pb_assoc/detail/basic_assoc_cntnr/
1403 constructors_destructor_fn_imps.hpp: New.
1404 * include/ext/pb_assoc/detail/basic_assoc_cntnr/d_extract_key.hpp: New.
1405 * include/ext/pb_assoc/detail/basic_assoc_cntnr/
1406 d_find_fn_imps.hpp: New.
1407 * include/ext/pb_assoc/detail/basic_assoc_cntnr/
1408 d_insert_fn_imps.hpp: New.
1409 * include/ext/pb_assoc/detail/basic_assoc_cntnr/erase_fn_imps.hpp: New.
1410 * include/ext/pb_assoc/detail/basic_assoc_cntnr/extract_key.hpp: New.
1411 * include/ext/pb_assoc/detail/basic_assoc_cntnr/info_fn_imps.hpp: New.
1412 * include/ext/pb_assoc/detail/basic_assoc_cntnr/
1413 insert_fn_imps.hpp: New.
1414 * include/ext/pb_assoc/detail/basic_assoc_cntnr/
1415 iterators_fn_imps.hpp: New.
1416 * include/ext/pb_assoc/detail/basic_hash_assoc_cntnr/
1417 constructor_destructor_fn_imps.hpp: New.
1418 * include/ext/pb_assoc/detail/basic_hash_assoc_cntnr/
1419 constructors_destructor_fn_imps.hpp: New.
1420 * include/ext/pb_assoc/detail/basic_hash_assoc_cntnr/
1421 resize_fn_imps.hpp: New.
1422 * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
1423 constructor_destructor_fn_imps.hpp: New.
1424 * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
1425 constructors_destructor_fn_imps.hpp: New.
1426 * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
1427 erase_fn_imps.hpp: New.
1428 * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
1429 node_iteration_fn_imps.hpp: New.
1430 * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
1431 policy_access_fn_imps.hpp: New.
1432 * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
1433 r_erase_fn_imps.hpp: New.
1434 * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
1435 r_range_iteration_fn_imps.hpp: New.
1436 * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
1437 range_iteration_fn_imps.hpp: New.
1438 * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
1439 split_join_fn_imps.hpp: New.
1440 * include/ext/pb_assoc/detail/bin_search_tree_/
1441 bin_search_tree_.hpp: New.
1442 * include/ext/pb_assoc/detail/bin_search_tree_/
1443 cond_dtor_entry_dealtor.hpp: New.
1444 * include/ext/pb_assoc/detail/bin_search_tree_/
1445 cond_key_dtor_entry_dealtor.hpp: New.
1446 * include/ext/pb_assoc/detail/bin_search_tree_/
1447 constructors_destructor_fn_imps.hpp: New.
1448 * include/ext/pb_assoc/detail/bin_search_tree_/debug_fn_imps.hpp: New.
1449 * include/ext/pb_assoc/detail/bin_search_tree_/erase_fn_imps.hpp: New.
1450 * include/ext/pb_assoc/detail/bin_search_tree_/find_fn_imps.hpp: New.
1451 * include/ext/pb_assoc/detail/bin_search_tree_/find_iterators.hpp: New.
1452 * include/ext/pb_assoc/detail/bin_search_tree_/info_fn_imps.hpp: New.
1453 * include/ext/pb_assoc/detail/bin_search_tree_/insert_fn_imps.hpp: New.
1454 * include/ext/pb_assoc/detail/bin_search_tree_/
1455 iterators_fn_imps.hpp: New.
1456 * include/ext/pb_assoc/detail/bin_search_tree_/node_iterators.hpp: New.
1457 * include/ext/pb_assoc/detail/bin_search_tree_/
1458 r_erase_fn_imps.hpp: New.
1459 * include/ext/pb_assoc/detail/bin_search_tree_/rotate_fn_imps.hpp: New.
1460 * include/ext/pb_assoc/detail/bin_search_tree_/
1461 split_join_fn_imps.hpp: New.
1462 * include/ext/pb_assoc/detail/cc_hash_assoc_cntnr/
1463 constructor_destructor_fn_imps.hpp: New.
1464 * include/ext/pb_assoc/detail/cc_ht_map_/cc_ht_map_.hpp: New.
1465 * include/ext/pb_assoc/detail/cc_ht_map_/cmp_fn_imps.hpp: New.
1466 * include/ext/pb_assoc/detail/cc_ht_map_/
1467 cond_key_dtor_entry_dealtor.hpp: New.
1468 * include/ext/pb_assoc/detail/cc_ht_map_/
1469 constructor_destructor_fn_imps.hpp: New.
1470 * include/ext/pb_assoc/detail/cc_ht_map_/
1471 constructor_destructor_no_store_hash_fn_imps.hpp: New.
1472 * include/ext/pb_assoc/detail/cc_ht_map_/
1473 constructor_destructor_store_hash_fn_imps.hpp: New.
1474 * include/ext/pb_assoc/detail/cc_ht_map_/debug_fn_imps.hpp: New.
1475 * include/ext/pb_assoc/detail/cc_ht_map_/
1476 debug_no_store_hash_fn_imps.hpp: New.
1477 * include/ext/pb_assoc/detail/cc_ht_map_/
1478 debug_store_hash_fn_imps.hpp: New.
1479 * include/ext/pb_assoc/detail/cc_ht_map_/entry_list_fn_imps.hpp: New.
1480 * include/ext/pb_assoc/detail/cc_ht_map_/erase_fn_imps.hpp: New.
1481 * include/ext/pb_assoc/detail/cc_ht_map_/
1482 erase_no_store_hash_fn_imps.hpp: New.
1483 * include/ext/pb_assoc/detail/cc_ht_map_/
1484 erase_store_hash_fn_imps.hpp: New.
1485 * include/ext/pb_assoc/detail/cc_ht_map_/
1486 find_fn_imps.hpp: New.
1487 * include/ext/pb_assoc/detail/cc_ht_map_/
1488 find_no_store_hash_fn_imps.hpp: New.
1489 * include/ext/pb_assoc/detail/cc_ht_map_/
1490 find_store_hash_fn_imps.hpp: New.
1491 * include/ext/pb_assoc/detail/cc_ht_map_/info_fn_imps.hpp: New.
1492 * include/ext/pb_assoc/detail/cc_ht_map_/insert_fn_imps.hpp: New.
1493 * include/ext/pb_assoc/detail/cc_ht_map_/
1494 insert_no_store_hash_fn_imps.hpp: New.
1495 * include/ext/pb_assoc/detail/cc_ht_map_/
1496 insert_store_hash_fn_imps.hpp: New.
1497 * include/ext/pb_assoc/detail/cc_ht_map_/iterators_fn_imps.hpp: New.
1498 * include/ext/pb_assoc/detail/cc_ht_map_/
1499 policy_access_fn_imps.hpp: New.
1500 * include/ext/pb_assoc/detail/cc_ht_map_/resize_fn_imps.hpp: New.
1501 * include/ext/pb_assoc/detail/cc_ht_map_/
1502 resize_no_store_hash_fn_imps.hpp: New.
1503 * include/ext/pb_assoc/detail/cc_ht_map_/
1504 resize_store_hash_fn_imps.hpp: New.
1505 * include/ext/pb_assoc/detail/cc_ht_map_/size_fn_imps.hpp: New.
1506 * include/ext/pb_assoc/detail/cc_ht_map_/standard_policies.hpp: New.
1507 * include/ext/pb_assoc/detail/eq_fn/eq_by_less.hpp: New.
1508 * include/ext/pb_assoc/detail/eq_fn/hash_eq_fn.hpp: New.
1509 * include/ext/pb_assoc/detail/gp_hash_assoc_cntnr/
1510 constructor_destructor_fn_imps.hpp: New.
1511 * include/ext/pb_assoc/detail/gp_ht_map_/
1512 constructor_destructor_fn_imps.hpp: New.
1513 * include/ext/pb_assoc/detail/gp_ht_map_/
1514 constructor_destructor_no_store_hash_fn_imps.hpp: New.
1515 * include/ext/pb_assoc/detail/gp_ht_map_/
1516 constructor_destructor_store_hash_fn_imps.hpp: New.
1517 * include/ext/pb_assoc/detail/gp_ht_map_/debug_fn_imps.hpp: New.
1518 * include/ext/pb_assoc/detail/gp_ht_map_/
1519 debug_no_store_hash_fn_imps.hpp: New.
1520 * include/ext/pb_assoc/detail/gp_ht_map_/
1521 debug_store_hash_fn_imps.hpp: New.
1522 * include/ext/pb_assoc/detail/gp_ht_map_/erase_fn_imps.hpp: New.
1523 * include/ext/pb_assoc/detail/gp_ht_map_/
1524 erase_no_store_hash_fn_imps.hpp: New.
1525 * include/ext/pb_assoc/detail/gp_ht_map_/
1526 erase_store_hash_fn_imps.hpp: New.
1527 * include/ext/pb_assoc/detail/gp_ht_map_/find_fn_imps.hpp: New.
1528 * include/ext/pb_assoc/detail/gp_ht_map_/
1529 find_no_store_hash_fn_imps.hpp: New.
1530 * include/ext/pb_assoc/detail/gp_ht_map_/
1531 find_store_hash_fn_imps.hpp: New.
1532 * include/ext/pb_assoc/detail/gp_ht_map_/gp_ht_map_.hpp: New.
1533 * include/ext/pb_assoc/detail/gp_ht_map_/info_fn_imps.hpp: New.
1534 * include/ext/pb_assoc/detail/gp_ht_map_/insert_fn_imps.hpp: New.
1535 * include/ext/pb_assoc/detail/gp_ht_map_/
1536 insert_no_store_hash_fn_imps.hpp: New.
1537 * include/ext/pb_assoc/detail/gp_ht_map_/
1538 insert_store_hash_fn_imps.hpp: New.
1539 * include/ext/pb_assoc/detail/gp_ht_map_/iterator_fn_imps.hpp: New.
1540 * include/ext/pb_assoc/detail/gp_ht_map_/
1541 policy_access_fn_imps.hpp: New.
1542 * include/ext/pb_assoc/detail/gp_ht_map_/resize_fn_imps.hpp: New.
1543 * include/ext/pb_assoc/detail/gp_ht_map_/
1544 resize_no_store_hash_fn_imps.hpp: New.
1545 * include/ext/pb_assoc/detail/gp_ht_map_/
1546 resize_store_hash_fn_imps.hpp: New.
1547 * include/ext/pb_assoc/detail/hash_fn/
1548 direct_mask_range_hashing_imp.hpp: New.
1549 * include/ext/pb_assoc/detail/hash_fn/
1550 direct_mod_range_hashing_imp.hpp: New.
1551 * include/ext/pb_assoc/detail/hash_fn/linear_probe_fn_imp.hpp: New.
1552 * include/ext/pb_assoc/detail/hash_fn/
1553 mask_based_range_hashing.hpp: New.
1554 * include/ext/pb_assoc/detail/hash_fn/mod_based_range_hashing.hpp: New.
1555 * include/ext/pb_assoc/detail/hash_fn/probe_fn_base.hpp: New.
1556 * include/ext/pb_assoc/detail/hash_fn/quadratic_probe_fn_imp.hpp: New.
1557 * include/ext/pb_assoc/detail/hash_fn/ranged_hash_fn.hpp: New.
1558 * include/ext/pb_assoc/detail/hash_fn/ranged_probe_fn.hpp: New.
1559 * include/ext/pb_assoc/detail/lu_assoc_cntnr/
1560 constructor_destructor_fn_imps.hpp: New.
1561 * include/ext/pb_assoc/detail/lu_assoc_cntnr/
1562 policy_access_fn_imps.hpp: New.
1563 * include/ext/pb_assoc/detail/lu_map_/
1564 constructor_destructor_fn_imps.hpp: New.
1565 * include/ext/pb_assoc/detail/lu_map_/debug_fn_imps.hpp: New.
1566 * include/ext/pb_assoc/detail/lu_map_/erase_fn_imps.hpp: New.
1567 * include/ext/pb_assoc/detail/lu_map_/find_fn_imps.hpp: New.
1568 * include/ext/pb_assoc/detail/lu_map_/info_fn_imps.hpp: New.
1569 * include/ext/pb_assoc/detail/lu_map_/insert_fn_imps.hpp: New.
1570 * include/ext/pb_assoc/detail/lu_map_/iterators_fn_imps.hpp: New.
1571 * include/ext/pb_assoc/detail/lu_map_/lu_map_.hpp: New.
1572 * include/ext/pb_assoc/detail/lu_map_/policy_access_fn_imps.hpp: New.
1573 * include/ext/pb_assoc/detail/lu_policy/
1574 counter_lu_metadata_imp.hpp: New.
1575 * include/ext/pb_assoc/detail/lu_policy/counter_lu_policy_imp.hpp: New.
1576 * include/ext/pb_assoc/detail/lu_policy/mtf_lu_policy_imp.hpp: New.
1577 * include/ext/pb_assoc/detail/ov_tree_map_/cond_dtor.hpp: New.
1578 * include/ext/pb_assoc/detail/ov_tree_map_/
1579 constructors_destructor_fn_imps.hpp: New.
1580 * include/ext/pb_assoc/detail/ov_tree_map_/debug_fn_imps.hpp: New.
1581 * include/ext/pb_assoc/detail/ov_tree_map_/erase_fn_imps.hpp: New.
1582 * include/ext/pb_assoc/detail/ov_tree_map_/find_fn_imps.hpp: New.
1583 * include/ext/pb_assoc/detail/ov_tree_map_/info_fn_imps.hpp: New.
1584 * include/ext/pb_assoc/detail/ov_tree_map_/insert_fn_imps.hpp: New.
1585 * include/ext/pb_assoc/detail/ov_tree_map_/iterators_fn_imps.hpp: New.
1586 * include/ext/pb_assoc/detail/ov_tree_map_/node_iterators.hpp: New.
1587 * include/ext/pb_assoc/detail/ov_tree_map_/ov_tree_map_.hpp: New.
1588 * include/ext/pb_assoc/detail/ov_tree_map_/split_join_fn_imps.hpp: New.
1589 * include/ext/pb_assoc/detail/rb_tree_map_/
1590 constructors_destructor_fn_imps.hpp: New.
1591 * include/ext/pb_assoc/detail/rb_tree_map_/debug_fn_imps.hpp: New.
1592 * include/ext/pb_assoc/detail/rb_tree_map_/erase_fn_imps.hpp: New.
1593 * include/ext/pb_assoc/detail/rb_tree_map_/find_fn_imps.hpp: New.
1594 * include/ext/pb_assoc/detail/rb_tree_map_/info_fn_imps.hpp: New.
1595 * include/ext/pb_assoc/detail/rb_tree_map_/insert_fn_imps.hpp: New.
1596 * include/ext/pb_assoc/detail/rb_tree_map_/node.hpp: New.
1597 * include/ext/pb_assoc/detail/rb_tree_map_/rb_tree_.hpp: New.
1598 * include/ext/pb_assoc/detail/rb_tree_map_/split_join_fn_imps.hpp: New.
1599 * include/ext/pb_assoc/detail/resize_policy/
1600 cc_hash_max_collision_resize_trigger_imp.hpp: New.
1601 * include/ext/pb_assoc/detail/resize_policy/
1602 hash_exponential_size_policy_imp.hpp: New.
1603 * include/ext/pb_assoc/detail/resize_policy/
1604 hash_load_check_resize_trigger_imp.hpp: New.
1605 * include/ext/pb_assoc/detail/resize_policy/
1606 hash_prime_size_policy_imp.hpp: New.
1607 * include/ext/pb_assoc/detail/resize_policy/
1608 hash_standard_resize_policy_imp.hpp: New.
1609 * include/ext/pb_assoc/detail/resize_policy/
1610 ht_prime_size_policy_imp.hpp: New.
1611 * include/ext/pb_assoc/detail/resize_policy/size_base.hpp: New.
1612 * include/ext/pb_assoc/detail/splay_tree_/
1613 constructors_destructor_fn_imps.hpp: New.
1614 * include/ext/pb_assoc/detail/splay_tree_/debug_fn_imps.hpp: New.
1615 * include/ext/pb_assoc/detail/splay_tree_/erase_fn_imps.hpp: New.
1616 * include/ext/pb_assoc/detail/splay_tree_/find_fn_imps.hpp: New.
1617 * include/ext/pb_assoc/detail/splay_tree_/info_fn_imps.hpp: New.
1618 * include/ext/pb_assoc/detail/splay_tree_/insert_fn_imps.hpp: New.
1619 * include/ext/pb_assoc/detail/splay_tree_/node.hpp: New.
1620 * include/ext/pb_assoc/detail/splay_tree_/splay_fn_imps.hpp: New.
1621 * include/ext/pb_assoc/detail/splay_tree_/splay_tree_.hpp: New.
1622 * include/ext/pb_assoc/detail/splay_tree_/split_join_fn_imps.hpp: New.
1623 * include/ext/pb_assoc/detail/tree_assoc_cntnr/
1624 constructor_destructor_fn_imps.hpp: New.
1625 * include/ext/pb_assoc/detail/tree_policy/
1626 null_node_updator_imp.hpp: New.
1627 * include/ext/pb_assoc/detail/tree_policy/
1628 order_statistics_imp.hpp: New.
1629 * include/ext/pb_assoc/detail/typelist/typelist_append.hpp: New.
1630 * include/ext/pb_assoc/detail/typelist/typelist_apply.hpp: New.
1631 * include/ext/pb_assoc/detail/typelist/typelist_at_index.hpp: New.
1632 * include/ext/pb_assoc/detail/typelist/typelist_contains.hpp: New.
1633 * include/ext/pb_assoc/detail/typelist/typelist_filter.hpp: New.
1634 * include/ext/pb_assoc/detail/typelist/typelist_transform.hpp: New.
1635 * include/ext/pb_assoc/detail/typelist/
1636 typelist_typelist_append.hpp: New.
1637 * include/ext/pb_assoc/detail/unordered_iterator/
1638 const_find_iterator.hpp: New.
1639 * include/ext/pb_assoc/detail/unordered_iterator/
1640 const_iterator.hpp: New.
1641 * include/ext/pb_assoc/detail/unordered_iterator/
1642 find_iterator.hpp: New.
1643 * include/ext/pb_assoc/detail/unordered_iterator/iterator.hpp: New.
1644 * include/ext/pb_assoc/detail/value_type_adapter/
1645 constructor_destructor_and_related.hpp: New.
1646 * include/ext/pb_assoc/detail/value_type_adapter/
1647 erase_fn_imps.hpp: New.
1648 * include/ext/pb_assoc/detail/value_type_adapter/
1649 erase_if_pred.hpp: New.
1650 * include/ext/pb_assoc/detail/value_type_adapter/find_fn_imps.hpp: New.
1651 * include/ext/pb_assoc/detail/value_type_adapter/info_fn_imps.hpp: New.
1652 * include/ext/pb_assoc/detail/value_type_adapter/
1653 insert_fn_imps.hpp: New.
1654 * include/ext/pb_assoc/detail/value_type_adapter/
1655 invalidation_guarantee_selector.hpp: New.
1656 * include/ext/pb_assoc/detail/value_type_adapter/
1657 it_value_type_traits.hpp: New.
1658 * include/ext/pb_assoc/detail/value_type_adapter/iterator.hpp: New.
1659 * include/ext/pb_assoc/detail/value_type_adapter/
1660 iterator_fn_imps.hpp: New.
1661 * include/ext/pb_assoc/detail/value_type_adapter/ref_pair.hpp: New.
1662 * include/ext/pb_assoc/detail/value_type_adapter/
1663 value_type_adapter.hpp: New.
1664 * include/ext/pb_assoc/detail/value_type_adapter/
1665 value_type_traits.hpp: New.
1666 * testsuite/Makefile.am (CLEANFILES): Add .o, .dat, .cc.
1667 * testsuite/Makefile.in: Regenerate.
1668 * testsuite/testsuite_common_types.h: New.
1669 * testsuite/testsuite_visualization.h: New.
1670 * testsuite/ext/pb_assoc/example/basic_map.cc: New.
1671 * testsuite/ext/pb_assoc/example/basic_multimap.cc: New.
1672 * testsuite/ext/pb_assoc/example/basic_set.cc: New.
1673 * testsuite/ext/pb_assoc/example/ds_traits.cc: New.
1674 * testsuite/ext/pb_assoc/example/erase_if.cc: New.
1675 * testsuite/ext/pb_assoc/example/extract_key.cc: New.
1676 * testsuite/ext/pb_assoc/example/hash_find_neg.cc: New.
1677 * testsuite/ext/pb_assoc/example/hash_illegal_resize.cc: New.
1678 * testsuite/ext/pb_assoc/example/hash_initial_size.cc: New.
1679 * testsuite/ext/pb_assoc/example/hash_load_set_change.cc: New.
1680 * testsuite/ext/pb_assoc/example/hash_mod.cc: New.
1681 * testsuite/ext/pb_assoc/example/hash_resize.cc: New.
1682 * testsuite/ext/pb_assoc/example/hash_resize_neg.cc: New.
1683 * testsuite/ext/pb_assoc/example/hash_shift_mask.cc: New.
1684 * testsuite/ext/pb_assoc/example/mapping_level.cc: New.
1685 * testsuite/ext/pb_assoc/example/mapping_level_neg.cc: New.
1686 * testsuite/ext/pb_assoc/example/ms_traits.cc: New.
1687 * testsuite/ext/pb_assoc/example/ranged_hash.cc: New.
1688 * testsuite/ext/pb_assoc/example/store_hash.cc: New.
1689 * testsuite/ext/pb_assoc/example/tree_intervals.cc: New.
1690 * testsuite/ext/pb_assoc/example/tree_join.cc: New.
1691 * testsuite/ext/pb_assoc/example/tree_order_statistics.cc: New.
1692 * testsuite/ext/pb_assoc/example/tree_order_statistics_join.cc: New.
1693 * testsuite/ext/pb_assoc/example/tree_split.cc: New.
1694 * testsuite/performance/20_util/allocator/(insert.cc,
1695 insert_insert.cc, list_sort_search.cc, map_mt_find.cc, map_thread.cc,
1696 producer_consumer.cc): Recast to use typelists and move to...
1697 * testsuite/performance/23_containers/find/map.cc: New.
1698 * testsuite/performance/23_containers/index/map.cc: New.
1699 * testsuite/performance/23_containers/insert/associative.cc: New.
1700 * testsuite/performance/23_containers/insert/sequence.cc: New.
1701 * testsuite/performance/23_containers/insert_erase/associative.cc: New.
1702 * testsuite/performance/23_containers/producer_consumer/
1703 (associative.cc, sequence.cc): New.
1704 * testsuite/performance/23_containers/sort_search/list.cc: New.
1705 * testsuite/performance/23_containers/container_benchmark.cc: Remove.
1706 * testsuite/performance/23_containers/map_create_fill.cc: Move...
1707 * testsuite/performance/23_containers/create/map.cc: ...here.
1708 * testsuite/performance/23_containers/set_create_from_sorted.cc: Move.
1709 * testsuite/performance/23_containers/create_from_sorted/set.cc: here.
1710 * testsuite/performance/23_containers/list_create_fill_sort.cc: Move...
1711 * testsuite/performance/23_containers/create_sort/list.cc: ...here.
1712 * testsuite/performance/23_containers/set_insert_from_sorted.cc: Move.
1713 * testsuite/performance/23_containers/insert_from_sorted/set.cc: here.
1715 2005-06-23 Jakub Jelinek <jakub@redhat.com>
1718 * src/compatibility.cc (_GLIBCXX_SYMVER_COMPATIBILITY): Remove.
1719 (istreambuf_iterator, basic_fstream, basic_ifstream, basic_ofstream,
1720 _M_copy, _M_move, _M_assign, _M_disjunct, _M_check_length,
1721 _M_set_length_and_sharable, ignore, eq): Define to XX suffixed
1723 (ignore (streamsize)): Remove _W prefixed aliases.
1724 (_GLIBCXX_3_4_SYMVER_SPECIAL, _GLIBCXX_3_4_5_SYMVER_SPECIAL,
1725 _GLIBCXX_APPLY_SYMVER_SPECIAL): Remove.
1726 (_GLIBCXX_3_4_SYMVER, _GLIBCXX_3_4_5_SYMVER): Add XXname argument.
1727 Use #XXname instead of #name as the alias argument.
1728 * config/abi/compatibility.h: Replace uses of
1729 _GLIBCXX_APPLY_SYMVER_SPECIAL with _GLIBCXX_APPLY_SYMVER. Always
1730 pass 2 arguments to the _GLIBCXX_APPLY_SYMVER macro.
1731 * include/bits/char_traits.h (char_traits::eq): Revert 2005-06-15
1733 * acinclude.m4: Decrease glibcxx_min_gnu_ld_version back to 21400.
1734 * configure: Rebuilt.
1736 2005-06-19 Benjamin Kosnik <bkoz@redhat.com>
1739 * acinclude.m4 (GLIBCXX_CONFIGURE_TESTSUITE): Remove
1740 GLIBCXX_TEST_ABI. Remove duplicate _GLIBCXX_ASM_SYMVER define.
1741 Don't enable abi testing unless versioned.
1742 * configure: Regenerate.
1743 * testsuite/Makefile.am (check-abi): Remove conditional.
1744 * testsuite/Makefile.in: Regenerate.
1745 * testsuite/libstdc++-abi/abi.exp: Call build_support, then check
1746 v3-symver before proceeding.
1747 * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Set v3-symvers
1750 2005-06-17 Paolo Carlini <pcarlini@suse.de>
1752 Port from libstdcxx_so_7-branch:
1753 2005-01-12 Christopher Jefferson <chris@bubblescope.net>
1755 * include/bits/stl_function.h (mem_fun_t, const_mem_fun_t,
1756 mem_fun_ref_t, const_mem_fun_ref_t, mem_fun1_t, const_mem_fun1_t,
1757 mem_fun1_ref_t, const_mem_fun1_ref_t): Remove overloads for void
1758 return type, just an old HP/SGI workaround.
1759 * testsuite/20_util/functional/binders.cc: Move to...
1760 * testsuite/20_util/functional/binders/3113.cc: ...here.
1761 * testsuite/20_util/functional/binders/1.cc: New.
1763 2005-06-17 Jonathan Wakely <redi@gcc.gnu.org>
1765 * docs/html/21_strings/gotw29a.txt: Update code to corrected version.
1767 2005-06-17 Jakub Jelinek <jakub@redhat.com>
1768 Benjamin Kosnik <bkoz@redhat.com>
1770 * config/abi/alpha-linux-gnu/baseline_symbols.txt: Update.
1771 * config/abi/hppa-linux-gnu/baseline_symbols.txt: Same.
1772 * config/abi/mips-linux-gnu/baseline_symbols.txt: Same.
1773 * config/abi/sparc-linux-gnu/baseline_symbols.txt: Same.
1775 * config/abi/alpha-freebsd5/baseline_symbols.txt: Remove.
1776 * config/abi/i386-freebsd4/baseline_symbols.txt: Same.
1777 * config/abi/i386-freebsd5/baseline_symbols.txt: Same.
1778 * config/abi/sparc-freebsd5/baseline_symbols.txt: Same.
1780 * config/abi/arm-linux-gnu/baseline_symbols.txt: Remove.
1781 * config/abi/m68k-linux-gnu/baseline_symbols.txt: Same.
1783 2005-06-17 Jakub Jelinek <jakub@redhat.com>
1785 * config/abi/ia64-linux-gnu/baseline_symbols.txt: Update.
1786 * config/abi/s390x-linux-gnu/baseline_symbols.txt: Update.
1787 * config/abi/s390-linux-gnu/baseline_symbols.txt: Update.
1788 * config/abi/x86_64-linux-gnu/baseline_symbols.txt: Update.
1789 * config/abi/x86_64-linux-gnu/32/baseline_symbols.txt: Update.
1790 * config/abi/powerpc-linux-gnu/baseline_symbols.txt: Update.
1791 * config/abi/i486-linux-gnu/baseline_symbols.txt: Update.
1792 * config/abi/i386-linux-gnu/baseline_symbols.txt: Update.
1793 * config/abi/powerpc64-linux-gnu/baseline_symbols.txt: New file.
1794 * config/abi/powerpc64-linux-gnu/32/baseline_symbols.txt: New file.
1796 2005-06-16 Jakub Jelinek <jakub@redhat.com>
1798 * src/compatibility.cc: Include bits/c++config.h first.
1799 (_GLIBCXX_SYMVER_COMPATIBILITY): Define if _GLIBCXX_SYMVER
1800 and PIC are both defined.
1801 * include/bits/char_traits.h (char_traits::eq): Rename
1802 only if _GLIBCXX_SYMVER_COMPATIBILITY is defined.
1804 2005-06-16 Jakub Jelinek <jakub@redhat.com>
1806 * acinclude.m4 ((GLIBCXX_ENABLE_SYMVERS): Rename _GLIBCXX_SIZE_T_IS_INT
1807 to _GLIBCXX_SIZE_T_IS_UINT. Define _GLIBCXX_PTRDIFF_T_IS_INT.
1808 * configure: Regenerate.
1809 * config.h.in: Regenerate.
1810 * src/compatibility.cc (istream:ignore(streamsize)): Use
1811 _GLIBCXX_PTRDIFF_T_IS_INT instead of _GLIBCXX_SIZE_T_IS_INT.
1812 * config/abi/compatibility.h: Rename _GLIBCXX_SIZE_T_IS_INT
1813 to _GLIBCXX_SIZE_T_IS_UINT. Use _GLIBCXX_PTRDIFF_T_IS_INT
1814 instead for symbols with streamsize arguments.
1816 2005-06-16 Jakub Jelinek <jakub@redhat.com>
1818 * config/linker-map.gnu: Also export
1819 _ZNSt13basic_istreamIwSt11char_traitsIwEE6ignoreE[il][il].
1821 2005-06-15 Benjamin Kosnik <bkoz@redhat.com>
1823 * configure.ac (libtool_VERSION): To 6:6:0.
1824 * configure: Regenerate.
1825 * config/linker-map.gnu: Edit.
1826 * src/istream.cc: Move istream::ignore(streamsize) specializations...
1827 * src/compatibility.cc: ...here. New.
1828 * include/bits/char_traits.h (char_traits::eq): Rename when
1830 * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Define _GLIBCXX_SIZE_T_IS_INT.
1831 Bump glibcxx_min_gnu_ld_version to 21590.
1832 * configure: Regenerate.
1833 * acconfig.h: Remove _GLIBCXX_ASM_SYMVER.
1834 * config.h.in: Regenerate.
1835 * src/Makefile.am (sources): Add compatibility.cc.
1836 * src/Makefile.in: Regenerate.
1837 * include/Makefile.am (host_headers_noinst): Add compatibility.h.
1838 * include/Makefile.in: Regenerate.
1839 * testsuite/testsuite_abi.h (symbol): Add data members.
1840 * testsuite/testsuite_abi.cc (check_version): Add GLIBCXX_3.4.5,
1841 GLIBCXX_3.4.6. Remove deprecated versions. Do a better job
1844 2005-06-15 Paolo Carlini <pcarlini@suse.de>
1846 * include/tr1/hashtable: Trivial formatting fixes.
1847 * include/tr1/unordered_map: Likewise.
1848 * include/tr1/unordered_set: Likewise.
1850 2005-06-14 Tom Tromey <tromey@redhat.com>
1853 * configure, aclocal.m4: Rebuilt.
1854 * Makefile.in, include/Makefile.in, libmath/Makefile.in,
1855 libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in,
1856 testsuite/Makefile.in: Likewise.
1858 2005-06-08 Benjamin Kosnik <bkoz@redhat.com>
1861 * include/std/std_sstream.h (basic_stringbuf::showmanyc): Add.
1862 Remove unnecessary this->_M_mode decoration.
1863 * include/bits/fstream.tcc: Adjust line spacing.
1864 * testsuite/27_io/basic_streambuf/in_avail/char/1.cc: New, test
1865 base class behavior.
1866 * testsuite/27_io/basic_streambuf/in_avail/wchar_t/1.cc: Same.
1867 * testsuite/27_io/basic_stringbuf/in_avail/char/21955.cc: New.
1868 * testsuite/27_io/basic_stringbuf/in_avail/char/1.cc: Match
1870 * testsuite/27_io/basic_stringbuf/in_avail/wchar_t/1.cc: Same.
1871 * testsuite/27_io/basic_stringbuf/str/wchar_t/1.cc: Same.
1872 * testsuite/27_io/basic_stringbuf/str/char/1.cc: Same.
1873 * testsuite/27_io/basic_streambuf/in_avail/char/9701-3.cc: Move...
1874 * testsuite/27_io/basic_filebuf/in_avail/char/9701-3.cc: ...here.
1876 2005-06-07 Benjamin Kosnik <bkoz@redhat.com>
1878 * acinclude.m4 (GLIBCXX_ENABLE_C99): Use C++ compiler for complex
1880 * configure: Regenerated.
1882 2005-06-07 Adrian Straetling <straetling@de.ibm.com>
1884 * config/cpu/s390/atomicity.h: (__exchange_and_add,
1885 __atomic_add): Use the builtins for atomic memory operations.
1887 2005-06-06 Paolo Carlini <pcarlini@suse.de>
1889 PR libstdc++/21770 (cont: __gnu_debug::string)
1890 * include/debug/string: Use _Base typedefs for pointer, const_pointer,
1891 reference, const_reference, size_type, difference_type.
1892 * testsuite/21_strings/basic_string/2.cc: New.
1894 2005-06-06 Paolo Carlini <pcarlini@suse.de>
1896 PR libstdc++/21770 (cont: debug-mode)
1897 * include/debug/deque: Use _Base typedefs for pointer, const_pointer,
1898 reference, const_reference.
1899 * include/debug/list: Likewise.
1900 * include/debug/map.h: Likewise.
1901 * include/debug/multimap.h: Likewise.
1902 * include/debug/multiset.h: Likewise.
1903 * include/debug/set.h: Likewise.
1904 * include/debug/vector: Likewise.
1906 2005-06-06 Paolo Carlini <pcarlini@suse.de>
1908 Port from libstdcxx_so_7-branch:
1909 2004-09-24 Paolo Carlini <pcarlini@suse.de>
1910 Jonathan Wakely <redi@gcc.gnu.org>
1912 * include/bits/stl_list.h (list::list(size_type, value_type,
1913 const allocator_type&): Implement according to the letter of the
1914 standard, i.e., don't use two overloads, not equivalent in case
1915 of non default constructible T.
1916 (list::resize(size_type, const value_type&)): Fix the signature:
1917 according to the standard the second argument is by value; also,
1918 don't use two overloads.
1919 * include/bits/list.tcc (list::resize(size_type, const value_type&)):
1920 Adjust consistently the signature.
1921 * include/bits/stl_deque.h (deque::deque(size_type, value_type,
1922 const allocator_type&)): Likewise.
1923 (deque::resize(size_type, const value_type&)): Likewise.
1924 * include/bits/stl_vector.h (vector::vector(size_type, value_type,
1925 const allocator_type&)): Likewise.
1926 (vector::resize(size_type, const value_type&)): Likewise.
1927 * testsuite/testsuite_hooks.h: Add NonDefaultConstructible test type.
1928 * testsuite/23_containers/deque/explicit_instantiation/2.cc: New.
1929 * testsuite/23_containers/list/explicit_instantiation/2.cc: New.
1930 * testsuite/23_containers/map/explicit_instantiation/2.cc: New.
1931 * testsuite/23_containers/multimap/explicit_instantiation/2.cc: New.
1932 * testsuite/23_containers/multiset/explicit_instantiation/2.cc: New.
1933 * testsuite/23_containers/set/explicit_instantiation/2.cc: New.
1934 * testsuite/23_containers/vector/explicit_instantiation/2.cc: New.
1936 * include/bits/deque.tcc: Minor formatting fix.
1938 2005-06-06 Peter Doerfler <doerfler@techinfo.rwth-aachen.de>
1940 * include/bits/stl_function.h: ... and another one.
1942 2005-06-06 Peter Doerfler <doerfler@techinfo.rwth-aachen.de>
1944 * include/bits/stl_function.h: Fix typo in comment.
1946 2005-06-05 Paolo Carlini <pcarlini@suse.de>
1948 * acinclude.m4 ([GLIBCXX_ENABLE_C99]): Check clog, clogf, clogl
1949 too for ac_c99_complex.
1950 * configure: Regenerate.
1952 2005-06-03 Paolo Carlini <pcarlini@suse.de>
1955 * include/bits/stl_deque.h: Add concept-check. In class _Deque_base
1956 rebind _Alloc to _Tp_alloc_type, change _Deque_impl to inherit from
1957 the latter and add _M_get_Tp_allocator() which returns it. Use
1958 everywhere _M_get_Tp_allocator() instead of get_allocator().
1959 * include/bits/deque.tcc: Likewise, use _M_get_Tp_allocator().
1960 * include/bits/stl_list.h: Add concept-check. In class _List_base
1961 rebind _Alloc to _Tp_alloc_type and add _M_get_Tp_allocator(), which
1962 returns the allocator (of type _Node_alloc_type) converted to
1963 _Tp_alloc_type. Use everywhere _M_get_Tp_allocator() instead of
1965 * include/bits/list.tcc: Likewise, use _M_get_Tp_allocator().
1966 * include/bits/stl_vector.h: Add concept-check. In class _Vector_base
1967 rebind _Alloc to _Tp_alloc_type, change _Vector_impl to inherit from
1968 the latter and add _M_get_Tp_allocator() which returns it. Use
1969 everywhere _M_get_Tp_allocator() instead of get_allocator().
1970 * include/bits/vector.tcc: Likewise, use _M_get_Tp_allocator().
1971 * include/bits/stl_map.h: Add concept-check. Rebind _Alloc to
1972 _Pair_alloc_type and use it for _Rb_tree.
1973 * include/bits/stl_multimap.h: Likewise.
1974 * include/bits/stl_multiset.h: Add concept-check. Rebind _Alloc to
1975 _Key_alloc_type and use it for _Rb_tree.
1976 * include/bits/stl_set.h: Likewise.
1977 * include/bits/basic_string.h: Rebind _Alloc to _CharT_alloc_type and
1978 use it for the allocator typedefs.
1979 * testsuite/21_strings/basic_string/1.cc: New.
1980 * testsuite/23_containers/deque/explicit_instantiation.cc: Move to...
1981 * testsuite/23_containers/deque/explicit_instantiation/1.cc: ... here.
1982 * testsuite/23_containers/deque/explicit_instantiation/3.cc: New.
1983 * testsuite/23_containers/list/explicit_instantiation.cc: Move to...
1984 * testsuite/23_containers/list/explicit_instantiation/1.cc: ... here.
1985 * testsuite/23_containers/list/explicit_instantiation/3.cc: New.
1986 * testsuite/23_containers/map/explicit_instantiation.cc: Move to...
1987 * testsuite/23_containers/map/explicit_instantiation/1.cc: ... here.
1988 * testsuite/23_containers/map/explicit_instantiation/3.cc: New.
1989 * testsuite/23_containers/multimap/explicit_instantiation.cc: Move to...
1990 * testsuite/23_containers/multimap/explicit_instantiation/1.cc: .. here.
1991 * testsuite/23_containers/multimap/explicit_instantiation/3.cc: New.
1992 * testsuite/23_containers/multiset/explicit_instantiation.cc: Move to...
1993 * testsuite/23_containers/multiset/explicit_instantiation/1.cc: .. here.
1994 * testsuite/23_containers/multiset/explicit_instantiation/3.cc: New.
1995 * testsuite/23_containers/set/explicit_instantiation.cc: Move to...
1996 * testsuite/23_containers/set/explicit_instantiation/1.cc: .. here.
1997 * testsuite/23_containers/set/explicit_instantiation/3.cc: New.
1998 * testsuite/23_containers/vector/explicit_instantiation.cc: Move to...
1999 * testsuite/23_containers/vector/explicit_instantiation/1.cc: ... here.
2000 * testsuite/23_containers/vector/explicit_instantiation/3.cc: New.
2002 2005-06-02 Nathan Sidwell <nathan@codesourcery.com>
2005 * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust expected errors.
2006 * testsuite/27_io/ios_base/cons/copy_neg.cc: Likewise.
2008 2005-05-31 Paolo Carlini <pcarlini@suse.de>
2010 PR libstdc++/20534 (contd)
2011 * include/debug/macros.h: Add _GLIBCXX_DEBUG_ABORT, using
2012 __gnu_debug::__fancy_abort.
2013 * src/debug.cc: Define the latter.
2014 * include/debug/debug.h: Use _GLIBCXX_DEBUG_ABORT instead of
2016 * config/linker-map.gnu (__gnu_debug::__fancy_abort): Add.
2018 2005-05-30 Paolo Carlini <pcarlini@suse.de>
2020 * include/std/std_complex.h (log(const complex<_Tp>&)): When
2021 _GLIBCXX_USE_C99_COMPLEX, forward to __builtin_clog/clogf/clogl.
2023 2005-05-28 Paolo Carlini <pcarlini@suse.de>
2026 2005-05-18 Paolo Carlini <pcarlini@suse.de>
2027 Nathan Myers <ncm@cantrip.org>
2030 * include/bits/basic_string.h (_Raw_bytes_alloc): Rebind to
2031 size_type instead of char and rename to _Raw_alloc.
2032 * include/bits/basic_string.tcc (_Rep::_M_destroy, _Rep::_S_create):
2034 * src/bitmap_allocator.cc: Add instantiation for size_type.
2035 * src/mt_allocator.cc: Likewise.
2036 * src/pool_allocator.cc: Likewise.
2037 * include/ext/array_allocator.h: Tweak slightly, avoid assuming
2038 the existence of an _Array::begin() and size() members.
2039 * testsuite/ext/array_allocator/2.cc: Tweak to use an allocator
2040 of size_type, instead of char, thus avoiding problems with
2041 rebinds, not treated correctly by array_allocator.
2043 2005-05-27 Paolo Carlini <pcarlini@suse.de>
2045 * docs/html/abi.html: Mention 3.4.0 as the current baseline; add
2046 a notice about the configure options.
2048 2005-05-27 Mark Mitchell <mark@codesourcery.com>
2050 * docs/html/test.html: Mention PCH_CXXFLAGS.
2051 * testsuite/lib/libstdc++.exp: Set PCH_CXXFLAGS by probing for an
2052 available stcd++.h PCH.
2053 * testsuite/libstdc++-dg/normal.exp: Use PCH_CXXFLAGS.
2055 2005-05-27 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
2057 * src/misc-inst.cc: Remove unnecessary included files.
2059 2005-05-27 Benjamin Kosnik <bkoz@redhat.com>
2062 * include/bits/c++config: Remove extern template use when in debug
2063 mode, disable for non-weak systems.
2065 2005-05-27 Benjamin Kosnik <bkoz@redhat.com>
2068 * include/debug/debug.h: Forwarding header, that pulls in details
2069 only if in debug mode.
2070 * include/debug/macros.h: ...transfer all the internal macros here.
2071 * include/debug/functions.h: ...transfer all the functions here.
2072 * include/debug/safe_iterator.h: Add functions.h, macros.h includes.
2073 * include/debug/safe_sequence.h: Same.
2074 * include/debug/vector: Tweak.
2075 * include/Makefile.am (debug_headers): Add new includes.
2076 * include/Makefile.in: Regenerate.
2077 * testsuite/17_intro/no_assert_neg.cc: Add.
2079 * include/ext/hash_set: Add debug mode include.
2080 * include/ext/hash_map: Same.
2081 * include/debug/hash_map: Fix included files to match actual files.
2082 * include/debug/hash_set: Same.
2084 2005-05-26 Paolo Carlini <pcarlini@suse.de>
2087 * include/c_std/std_cstdlib.h: Do not open code llabs and lldiv,
2088 available when _GLIBCXX_USE_C99 is defined.
2089 * testsuite/26_numerics/cstdlib/13943.cc: New.
2091 * acinclude.m4 ([GLIBCXX_ENABLE_C99]): For completeness, check
2092 also strtoll and strtoull for ac_c99_stdlib.
2093 * configure: Regenerate.
2095 2005-05-25 Benjamin Kosnik <bkoz@redhat.com>
2097 * config/linker-map.gnu: Add linkage support for no extern templates.
2098 (std::ios_base::_M_call_callbacks): Add.
2099 (std::ios_base::_M_dispose_callbacks): Add.
2100 (std::locale::facet::_S_get_c_name): Add.
2101 (std::__copy_streambufs): Add.
2102 * configure.ac (libtool_VERSION): To 6:5:0.
2103 * configure: Regenerate.
2104 * testsuite/testsuite_abi.cc (check_version): Add GLIBCXX_3.4.5.
2106 2005-05-25 Paolo Carlini <pcarlini@suse.de>
2108 * include/bits/basic_string.h (_Rep::_M_set_length_and_sharable):
2109 Use, consistently, traits_type::assign.
2111 2005-05-25 Paolo Carlini <pcarlini@suse.de>
2113 * config/cpu/alpha/atomicity.h: Use the builtins for
2114 atomic memory operations.
2115 * config/cpu/powerpc/atomicity.h: Likewise.
2116 * config/cpu/ia64/atomicity.h: Do not include ia64intrin.h.
2118 2005-05-24 Paolo Carlini <pcarlini@suse.de>
2120 * testsuite/25_algorithms/equal.cc: Move to...
2121 * testsuite/25_algorithms/equal: ... here.
2122 * testsuite/25_algorithms/lower_bound.cc: Move to...
2123 * testsuite/25_algorithms/lower_bound: ... here.
2125 2005-05-24 Paolo Carlini <pcarlini@suse.de>
2127 Port from libstdcxx_so_7-branch:
2128 2005-20-05 Chris Jefferson <chris@bubblescope.net>
2130 * testsuite/25_algorithms/heap.cc: Move to...
2131 * testsuite/25_algorithms/heap/heap.cc: ...here.
2132 * testsuite/25_algorithms/partition.cc: Move to...
2133 * testsuite/25_algorithms/partition/partition.cc: ...here.
2135 2005-03-29 Christopher Jefferson <chris@bubblescope.net>
2137 * testsuite/25_algorithms/includes/1.cc: Add tests.
2138 * testsuite/25_algorithms/search/1.cc: Likewise.
2139 * testsuite/25_algorithms/unique_copy/1.cc: Likewise.
2140 * testsuite/25_algorithms/swap_ranges/1.cc: New.
2141 * testsuite/25_algorithms/swap_ranges/check_type.cc: New.
2142 * testsuite/25_algorithms/rotate.cc: Move to...
2143 * testsuite/25_algorithms/rotate/rotate.cc: ... here.
2144 * testsuite/25_algorithms/rotate/1.cc: New.
2145 * testsuite/25_algorithms/rotate/check_type.cc: New.
2146 * testsuite/25_algorithms/search_n/iterator.cc: Fix typo.
2148 2005-03-14 Christopher Jefferson <chris@bubblescope.net>
2150 * include/bits/stl_algo.h (replace_copy, replace_copy_if):
2151 Don't assume that __new_value and *__first are convertible to
2154 * testsuite/25_algorithms/find/1.cc: New.
2155 * testsuite/25_algorithms/find/check_type.cc: New.
2156 * testsuite/25_algorithms/find_if/1.cc: New.
2157 * testsuite/25_algorithms/find_if/check_type.cc: New.
2158 * testsuite/25_algorithms/replace/1.cc: New.
2159 * testsuite/25_algorithms/replace/check_type.cc: New.
2160 * testsuite/25_algorithms/replace_if/1.cc: New.
2161 * testsuite/25_algorithms/replace_if/check_type.cc: New.
2162 * testsuite/25_algorithms/replace_copy/1.cc: New.
2163 * testsuite/25_algorithms/replace_copy/check_type.cc: New.
2164 * testsuite/25_algorithms/replace_copy_if/1.cc: New.
2165 * testsuite/25_algorithms/replace_copy_if/check_type.cc: New.
2166 * testsuite/25_algorithms/remove/1.cc: New.
2167 * testsuite/25_algorithms/remove/check_type.cc: New.
2168 * testsuite/25_algorithms/remove_if/1.cc: New.
2169 * testsuite/25_algorithms/remove_if/check_type.cc: New.
2170 * testsuite/25_algorithms/count/1.cc: New.
2171 * testsuite/25_algorithms/count/check_type.cc: New.
2172 * testsuite/25_algorithms/count_if/1.cc: New.
2173 * testsuite/25_algorithms/count_if/check_type.cc: New.
2175 2005-02-27 Christopher Jefferson <chris@bubblescope.net>
2176 Paolo Carlini <pcarlini@suse.de>
2178 * testsuite/ext/is_heap/check_type.cc: New.
2180 2005-02-27 Paolo Carlini <pcarlini@suse.de>
2182 * testsuite/ext/is_heap/1.cc: New.
2184 2005-02-01 Christopher Jefferson <chris@bubblescope.net>
2186 * testsuite/ext/median.cc: New.
2187 * testsuite/25_algorithms/adjacent_find/1.cc: New.
2188 * testsuite/25_algorithms/adjacent_find/check_type.cc: New.
2189 * testsuite/25_algorithms/search/1.cc: New.
2190 * testsuite/25_algorithms/search/check_type.cc: New.
2191 * testsuite/25_algorithms/unique_copy/1.cc: New.
2192 * testsuite/25_algorithms/unique_copy/check_type.cc: New.
2193 * testsuite/25_algorithms/partial_sort/1.cc: New.
2194 * testsuite/25_algorithms/partial_sort/check_type.cc: New.
2195 * testsuite/25_algorithms/partial_sort_copy/1.cc: New.
2196 * testsuite/25_algorithms/partial_sort_copy/check_type.cc: New.
2197 * testsuite/25_algorithms/lower_bound/1.cc: New.
2198 * testsuite/25_algorithms/lower_bound/check_type.cc: New.
2199 * testsuite/25_algorithms/upper_bound/1.cc: New.
2200 * testsuite/25_algorithms/upper_bound/check_type.cc: New.
2201 * testsuite/25_algorithms/merge/1.cc: New.
2202 * testsuite/25_algorithms/merge/check_type.cc: New.
2203 * testsuite/25_algorithms/inplace_merge/1.cc: New.
2204 * testsuite/25_algorithms/inplace_merge/check_type.cc: New.
2205 * testsuite/25_algorithms/stable_sort/1.cc: New.
2206 * testsuite/25_algorithms/stable_sort/check_type.cc: New.
2207 * testsuite/25_algorithms/nth_element/1.cc: New.
2208 * testsuite/25_algorithms/nth_element/check_type.cc: New.
2209 * testsuite/25_algorithms/equal_range/1.cc: New.
2210 * testsuite/25_algorithms/equal_range/check_type.cc: New.
2211 * testsuite/25_algorithms/binary_search/1.cc: New.
2212 * testsuite/25_algorithms/binary_search/check_type.cc: New.
2213 * testsuite/25_algorithms/includes/1.cc: New.
2214 * testsuite/25_algorithms/includes/check_type.cc: New.
2215 * testsuite/25_algorithms/set_union/1.cc: New.
2216 * testsuite/25_algorithms/set_union/check_type.cc: New.
2217 * testsuite/25_algorithms/set_intersection/1.cc: New.
2218 * testsuite/25_algorithms/set_intersection/check_type.cc: New.
2219 * testsuite/25_algorithms/set_difference/1.cc: New.
2220 * testsuite/25_algorithms/set_difference/check_type.cc: New.
2221 * testsuite/25_algorithms/set_symmetric_difference/1.cc: New.
2222 * testsuite/25_algorithms/set_symmetric_difference/check_type.cc: New.
2223 * testsuite/25_algorithms/min_element/1.cc: New.
2224 * testsuite/25_algorithms/min_element/check_type.cc: New.
2225 * testsuite/25_algorithms/max_element/1.cc: New.
2226 * testsuite/25_algorithms/max_element/check_type.cc: New.
2227 * testsuite/25_algorithms/prev_permutation/1.cc: New.
2228 * testsuite/25_algorithms/prev_permutation/check_type.cc: New.
2229 * testsuite/25_algorithms/next_permutation/1.cc: New.
2230 * testsuite/25_algorithms/next_permutation/check_type.cc: New.
2231 * testsuite/25_algorithms/find_first_of/1.cc: New.
2232 * testsuite/25_algorithms/find_first_of/check_type.cc: New.
2233 * testsuite/25_algorithms/find_end/1.cc: New.
2234 * testsuite/25_algorithms/find_end/check_type.cc: New.
2235 * testsuite/25_algorithms/equal/check_type.cc: Insert iterator type.
2236 * testsuite/25_algorithms/lexicographical_compare/check_type.cc:
2239 2005-01-10 Christopher Jefferson <chris@bubblescope.net>
2241 * testsuite/25_algorithms/lexicographical_compare/check_type.cc: New.
2242 * testsuite/25_algorithms/lexicographical_compare/1.cc: Likewise.
2243 * testsuite/25_algorithms/mismatch/check_type.cc: Likewise.
2244 * testsuite/25_algorithms/mismatch/1.cc: Likewise.
2245 * testsuite/25_algorithms/equal/check_type.cc: New.
2246 * testsuite/25_algorithms/equal/1.cc: New.
2248 2005-05-24 Benjamin Kosnik <bkoz@redhat.com>
2250 * include/bits/allocator.h: Change ___glibcxx_base_allocator to
2251 __glibcxx_base_allocator.
2252 * config/allocator/bitmap_allocator_base.h: Same.
2253 * config/allocator/malloc_allocator_base.h: Same.
2254 * config/allocator/mt_allocator_base.h: Same.
2255 * config/allocator/new_allocator_base.h: Same.
2256 * config/allocator/pool_allocator_base.h: Same.
2258 2005-05-24 Jonathan Wakely <redi@gcc.gnu.org>
2260 * include/debug/string (class basic_string): Add missing
2261 default template arguments; provide typedefs for char
2263 (operator[]): Allow s[s.size()] in debug mode, but not
2266 2005-05-24 Paolo Carlini <pcarlini@suse.de>
2268 Port from libstdcxx_so_7-branch:
2269 2005-04-25 Christopher Jefferson <chris@bubblescope.net>
2271 * include/bits/stl_algo.h (count): Correct concept checks.
2272 (search_n) : Likewise.
2273 * testsuite/25_algorithms/search_n/check_type.cc: New.
2275 * testsuite/testsuite_iterators.h
2276 (random_access_iterator_wrapper::operator+): Move out of
2277 class to external function, and add symmetric version.
2279 2005-03-14 Christopher Jefferson <chris@bubblescope.net>
2281 * testsuite/testsuite_iterators.h (WritableObject::WritableObject):
2284 2005-02-01 Christopher Jefferson <chris@bubblescope.net>
2286 * testsuite/testsuite_iterators.h (random_access_iterator_wrapper::
2287 operator--): Fix typo.
2288 (OutputContainer::OutputContainer): Correct zeroing array.
2289 (WritableObject::operator==): Fix typo.
2290 (WritableObject::operator=): make operator= templated
2291 to allow differing types to be assigned.
2292 (WritableObject::operator++): Fix checking if iterator is
2293 written to multiple times.
2294 (random_access_iterator_wrapper::operator+): Add const.
2295 (random_access_iterator_wrapper::operator-): Likewise.
2296 (random_access_iterator_wrapper::operator[]): Add dereference.
2298 2005-05-23 Jonathan Wakely <redi@gcc.gnu.org>
2300 * docs/html/debug.html: Explain that _GLIBXX_DEBUG_PEDANTIC
2301 had to be defined for pedantic mode in 3.4 and 4.0.0.
2303 2005-05-20 Jan Beulich <jbeulich@novell.com>
2305 * libmath/stubs.c: Also implement fabsf/fabsl if not present in the
2308 2005-05-20 Paolo Carlini <pcarlini@suse.de>
2310 * include/bits/stl_algo.h (__rotate<_RandomAccessIterator>):
2311 Don't qualify __tmp as const, _ValueType is not necessarily
2313 * include/bits/stl_algobase.h (swap, __iter_swap<false>):
2314 Likewise, as an harmless extension.
2316 2005-05-19 Richard Henderson <rth@redhat.com>
2318 * libsupc++/unwind-cxx.h: Revert gcc_unreachable change.
2320 2005-05-19 Jonathan Wakely <redi@gcc.gnu.org>
2322 * include/bits/basic_string.h (operator[]): Allow s[s.size()] in
2323 debug mode, but not pedantic mode.
2325 2005-05-19 Jan Beulich <jbeulich@novell.com>
2327 * libsupc++/unwind-cxx.h: Include cstdlib.
2328 (gcc_unreachable): #define.
2329 * libsupc++/eh_personality.cc (gcc_unreachable): Remove #define.
2331 2005-05-18 Paolo Carlini <pcarlini@suse.de>
2332 Nathan Myers <ncm@cantrip.org>
2335 * include/bits/basic_string.h (_Raw_bytes_alloc): Rebind to
2336 size_type instead of char and rename to _Raw_alloc.
2337 * include/bits/basic_string.tcc (_Rep::_M_destroy, _Rep::_S_create):
2339 * src/bitmap_allocator.cc: Add instantiation for size_type.
2340 * src/mt_allocator.cc: Likewise.
2341 * src/pool_allocator.cc: Likewise.
2342 * include/ext/array_allocator.h: Tweak slightly, avoid assuming
2343 the existence of an _Array::begin() and size() members.
2344 * testsuite/ext/array_allocator/2.cc: Tweak to use an allocator
2345 of size_type, instead of char, thus avoiding problems with
2346 rebinds, not treated correctly by array_allocator.
2348 2005-05-18 Paolo Carlini <pcarlini@suse.de>
2350 * testsuite/22_locale/ctype/is/char/2.cc: Adjust dg-require-namedlocale.
2351 * testsuite/22_locale/ctype/is/wchar_t/2.cc: Likewise.
2352 * testsuite/22_locale/time_get/get_year/char/wrapped_env.cc: Add
2353 missing dg-require-namedlocale.
2354 * testsuite/22_locale/time_get/get_year/char/wrapped_locale.cc:
2356 * testsuite/22_locale/time_get/get_year/wchar_t/wrapped_env.cc:
2358 * testsuite/22_locale/time_get/get_year/wchar_t/wrapped_locale.cc:
2361 2005-05-18 Paolo Carlini <pcarlini@suse.de>
2363 * testsuite/testsuite_hooks.cc: Remove try_named_locale.
2364 * testsuite/testsuite_hooks.h: Remove try_named_locale.
2365 * testsuite/lib/libstdc++.exp (check_v3_target_namedlocale): New.
2366 * testsuite/lib/dg-options.exp (dg-require-namedlocale): New, uses
2368 * testsuite/22_locale/codecvt/always_noconv/char/wrapped_env.cc: Use
2369 dg-require-namedlocale.
2370 * testsuite/22_locale/codecvt/always_noconv/char/wrapped_locale.cc:
2372 * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: Likewise.
2373 * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: Likewise.
2374 * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: Likewise.
2375 * testsuite/22_locale/codecvt/always_noconv/wchar_t/wrapped_env.cc:
2377 * testsuite/22_locale/codecvt/always_noconv/wchar_t/wrapped_locale.cc:
2379 * testsuite/22_locale/codecvt/encoding/char/wrapped_env.cc: Likewise.
2380 * testsuite/22_locale/codecvt/encoding/char/wrapped_locale.cc: Likewise.
2381 * testsuite/22_locale/codecvt/encoding/wchar_t/2.cc: Likewise.
2382 * testsuite/22_locale/codecvt/encoding/wchar_t/3.cc: Likewise.
2383 * testsuite/22_locale/codecvt/encoding/wchar_t/4.cc: Likewise.
2384 * testsuite/22_locale/codecvt/encoding/wchar_t/wrapped_env.cc: Likewise.
2385 * testsuite/22_locale/codecvt/encoding/wchar_t/wrapped_locale.cc:
2387 * testsuite/22_locale/codecvt/in/char/wrapped_env.cc: Likewise.
2388 * testsuite/22_locale/codecvt/in/char/wrapped_locale.cc: Likewise.
2389 * testsuite/22_locale/codecvt/in/wchar_t/2.cc: Likewise.
2390 * testsuite/22_locale/codecvt/in/wchar_t/3.cc: Likewise.
2391 * testsuite/22_locale/codecvt/in/wchar_t/4.cc: Likewise.
2392 * testsuite/22_locale/codecvt/in/wchar_t/7.cc: Likewise.
2393 * testsuite/22_locale/codecvt/in/wchar_t/8.cc: Likewise.
2394 * testsuite/22_locale/codecvt/in/wchar_t/9.cc: Likewise.
2395 * testsuite/22_locale/codecvt/in/wchar_t/wrapped_env.cc: Likewise.
2396 * testsuite/22_locale/codecvt/in/wchar_t/wrapped_locale.cc: Likewise.
2397 * testsuite/22_locale/codecvt/length/char/wrapped_env.cc: Likewise.
2398 * testsuite/22_locale/codecvt/length/char/wrapped_locale.cc: Likewise.
2399 * testsuite/22_locale/codecvt/length/wchar_t/2.cc: Likewise.
2400 * testsuite/22_locale/codecvt/length/wchar_t/3.cc: Likewise.
2401 * testsuite/22_locale/codecvt/length/wchar_t/4.cc: Likewise.
2402 * testsuite/22_locale/codecvt/length/wchar_t/7.cc: Likewise.
2403 * testsuite/22_locale/codecvt/length/wchar_t/wrapped_env.cc: Likewise.
2404 * testsuite/22_locale/codecvt/length/wchar_t/wrapped_locale.cc:
2406 * testsuite/22_locale/codecvt/max_length/char/wrapped_env.cc: Likewise.
2407 * testsuite/22_locale/codecvt/max_length/char/wrapped_locale.cc:
2409 * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: Likewise.
2410 * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: Likewise.
2411 * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: Likewise.
2412 * testsuite/22_locale/codecvt/max_length/wchar_t/wrapped_env.cc:
2414 * testsuite/22_locale/codecvt/max_length/wchar_t/wrapped_locale.cc:
2416 * testsuite/22_locale/codecvt/out/char/wrapped_env.cc: Likewise.
2417 * testsuite/22_locale/codecvt/out/char/wrapped_locale.cc: Likewise.
2418 * testsuite/22_locale/codecvt/out/wchar_t/2.cc: Likewise.
2419 * testsuite/22_locale/codecvt/out/wchar_t/3.cc: Likewise.
2420 * testsuite/22_locale/codecvt/out/wchar_t/4.cc: Likewise.
2421 * testsuite/22_locale/codecvt/out/wchar_t/7.cc: Likewise.
2422 * testsuite/22_locale/codecvt/out/wchar_t/wrapped_env.cc: Likewise.
2423 * testsuite/22_locale/codecvt/out/wchar_t/wrapped_locale.cc: Likewise.
2424 * testsuite/22_locale/codecvt/unshift/char/wrapped_env.cc: Likewise.
2425 * testsuite/22_locale/codecvt/unshift/char/wrapped_locale.cc: Likewise.
2426 * testsuite/22_locale/codecvt/unshift/wchar_t/2.cc: Likewise.
2427 * testsuite/22_locale/codecvt/unshift/wchar_t/3.cc: Likewise.
2428 * testsuite/22_locale/codecvt/unshift/wchar_t/4.cc: Likewise.
2429 * testsuite/22_locale/codecvt/unshift/wchar_t/wrapped_env.cc: Likewise.
2430 * testsuite/22_locale/codecvt/unshift/wchar_t/wrapped_locale.cc:
2432 * testsuite/22_locale/collate/compare/char/1.cc: Likewise.
2433 * testsuite/22_locale/collate/compare/char/2.cc: Likewise.
2434 * testsuite/22_locale/collate/compare/char/3.cc: Likewise.
2435 * testsuite/22_locale/collate/compare/char/wrapped_env.cc: Likewise.
2436 * testsuite/22_locale/collate/compare/char/wrapped_locale.cc: Likewise.
2437 * testsuite/22_locale/collate/compare/wchar_t/1.cc: Likewise.
2438 * testsuite/22_locale/collate/compare/wchar_t/2.cc: Likewise.
2439 * testsuite/22_locale/collate/compare/wchar_t/3.cc: Likewise.
2440 * testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc: Likewise.
2441 * testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc:
2443 * testsuite/22_locale/collate/hash/char/2.cc: Likewise.
2444 * testsuite/22_locale/collate/hash/char/wrapped_env.cc: Likewise.
2445 * testsuite/22_locale/collate/hash/char/wrapped_locale.cc: Likewise.
2446 * testsuite/22_locale/collate/hash/wchar_t/2.cc: Likewise.
2447 * testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc: Likewise.
2448 * testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc: Likewise.
2449 * testsuite/22_locale/collate/transform/char/2.cc: Likewise.
2450 * testsuite/22_locale/collate/transform/char/3.cc: Likewise.
2451 * testsuite/22_locale/collate/transform/char/wrapped_env.cc: Likewise.
2452 * testsuite/22_locale/collate/transform/char/wrapped_locale.cc:
2454 * testsuite/22_locale/collate/transform/wchar_t/2.cc: Likewise.
2455 * testsuite/22_locale/collate/transform/wchar_t/3.cc: Likewise.
2456 * testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc:
2458 * testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc:
2460 * testsuite/22_locale/collate_byname/named_equivalence.cc: Likewise.
2461 * testsuite/22_locale/ctype/cons/char/wrapped_env.cc: Likewise.
2462 * testsuite/22_locale/ctype/cons/char/wrapped_locale.cc: Likewise.
2463 * testsuite/22_locale/ctype/is/char/2.cc: Likewise.
2464 * testsuite/22_locale/ctype/is/char/wrapped_env.cc: Likewise.
2465 * testsuite/22_locale/ctype/is/char/wrapped_locale.cc: Likewise.
2466 * testsuite/22_locale/ctype/is/wchar_t/2.cc: Likewise.
2467 * testsuite/22_locale/ctype/is/wchar_t/wrapped_env.cc: Likewise.
2468 * testsuite/22_locale/ctype/is/wchar_t/wrapped_locale.cc: Likewise.
2469 * testsuite/22_locale/ctype/narrow/char/wrapped_env.cc: Likewise.
2470 * testsuite/22_locale/ctype/narrow/char/wrapped_locale.cc: Likewise.
2471 * testsuite/22_locale/ctype/narrow/wchar_t/3.cc: Likewise.
2472 * testsuite/22_locale/ctype/narrow/wchar_t/wrapped_env.cc: Likewise.
2473 * testsuite/22_locale/ctype/narrow/wchar_t/wrapped_locale.cc: Likewise.
2474 * testsuite/22_locale/ctype/scan/char/wrapped_env.cc: Likewise.
2475 * testsuite/22_locale/ctype/scan/char/wrapped_locale.cc: Likewise.
2476 * testsuite/22_locale/ctype/scan/wchar_t/wrapped_env.cc: Likewise.
2477 * testsuite/22_locale/ctype/scan/wchar_t/wrapped_locale.cc: Likewise.
2478 * testsuite/22_locale/ctype/to/char/wrapped_env.cc: Likewise.
2479 * testsuite/22_locale/ctype/to/char/wrapped_locale.cc: Likewise.
2480 * testsuite/22_locale/ctype/to/wchar_t/wrapped_env.cc: Likewise.
2481 * testsuite/22_locale/ctype/to/wchar_t/wrapped_locale.cc: Likewise.
2482 * testsuite/22_locale/ctype/widen/char/wrapped_env.cc: Likewise.
2483 * testsuite/22_locale/ctype/widen/char/wrapped_locale.cc: Likewise.
2484 * testsuite/22_locale/ctype/widen/wchar_t/2.cc: Likewise.
2485 * testsuite/22_locale/ctype/widen/wchar_t/3.cc: Likewise.
2486 * testsuite/22_locale/ctype/widen/wchar_t/wrapped_env.cc: Likewise.
2487 * testsuite/22_locale/ctype/widen/wchar_t/wrapped_locale.cc: Likewise.
2488 * testsuite/22_locale/facet/2.cc: Likewise.
2489 * testsuite/22_locale/locale/cons/12352.cc: Likewise.
2490 * testsuite/22_locale/locale/cons/12438.cc: Likewise.
2491 * testsuite/22_locale/locale/cons/12658_thread-1.cc: Likewise.
2492 * testsuite/22_locale/locale/cons/12658_thread-2.cc: Likewise.
2493 * testsuite/22_locale/locale/cons/2.cc: Likewise.
2494 * testsuite/22_locale/locale/cons/4.cc: Likewise.
2495 * testsuite/22_locale/locale/cons/5.cc: Likewise.
2496 * testsuite/22_locale/locale/cons/7.cc: Likewise.
2497 * testsuite/22_locale/locale/cons/7222-env.cc: Likewise.
2498 * testsuite/22_locale/locale/global_locale_objects/14071.cc: Likewise.
2499 * testsuite/22_locale/locale/global_locale_objects/2.cc: Likewise.
2500 * testsuite/22_locale/messages/members/char/1.cc: Likewise.
2501 * testsuite/22_locale/messages/members/char/2.cc: Likewise.
2502 * testsuite/22_locale/messages/members/char/3.cc: Likewise.
2503 * testsuite/22_locale/messages/members/char/wrapped_env.cc: Likewise.
2504 * testsuite/22_locale/messages/members/char/wrapped_locale.cc: Likewise.
2505 * testsuite/22_locale/messages_byname/named_equivalence.cc: Likewise.
2506 * testsuite/22_locale/money_get/get/char/1.cc: Likewise.
2507 * testsuite/22_locale/money_get/get/char/10.cc: Likewise.
2508 * testsuite/22_locale/money_get/get/char/11.cc: Likewise.
2509 * testsuite/22_locale/money_get/get/char/11528.cc: Likewise.
2510 * testsuite/22_locale/money_get/get/char/12.cc: Likewise.
2511 * testsuite/22_locale/money_get/get/char/13.cc: Likewise.
2512 * testsuite/22_locale/money_get/get/char/15.cc: Likewise.
2513 * testsuite/22_locale/money_get/get/char/16.cc: Likewise.
2514 * testsuite/22_locale/money_get/get/char/17.cc: Likewise.
2515 * testsuite/22_locale/money_get/get/char/18.cc: Likewise.
2516 * testsuite/22_locale/money_get/get/char/2.cc: Likewise.
2517 * testsuite/22_locale/money_get/get/char/3.cc: Likewise.
2518 * testsuite/22_locale/money_get/get/char/4.cc: Likewise.
2519 * testsuite/22_locale/money_get/get/char/wrapped_env.cc: Likewise.
2520 * testsuite/22_locale/money_get/get/char/wrapped_locale.cc: Likewise.
2521 * testsuite/22_locale/money_get/get/wchar_t/1.cc: Likewise.
2522 * testsuite/22_locale/money_get/get/wchar_t/10.cc: Likewise.
2523 * testsuite/22_locale/money_get/get/wchar_t/11.cc: Likewise.
2524 * testsuite/22_locale/money_get/get/wchar_t/11528.cc: Likewise.
2525 * testsuite/22_locale/money_get/get/wchar_t/12.cc: Likewise.
2526 * testsuite/22_locale/money_get/get/wchar_t/13.cc: Likewise.
2527 * testsuite/22_locale/money_get/get/wchar_t/15.cc: Likewise.
2528 * testsuite/22_locale/money_get/get/wchar_t/16.cc: Likewise.
2529 * testsuite/22_locale/money_get/get/wchar_t/17.cc: Likewise.
2530 * testsuite/22_locale/money_get/get/wchar_t/18.cc: Likewise.
2531 * testsuite/22_locale/money_get/get/wchar_t/2.cc: Likewise.
2532 * testsuite/22_locale/money_get/get/wchar_t/3.cc: Likewise.
2533 * testsuite/22_locale/money_get/get/wchar_t/4.cc: Likewise.
2534 * testsuite/22_locale/money_get/get/wchar_t/wrapped_env.cc: Likewise.
2535 * testsuite/22_locale/money_get/get/wchar_t/wrapped_locale.cc: Likewise.
2536 * testsuite/22_locale/money_put/put/char/1.cc: Likewise.
2537 * testsuite/22_locale/money_put/put/char/2.cc: Likewise.
2538 * testsuite/22_locale/money_put/put/char/3.cc: Likewise.
2539 * testsuite/22_locale/money_put/put/char/9780-3.cc: Likewise.
2540 * testsuite/22_locale/money_put/put/char/wrapped_env.cc: Likewise.
2541 * testsuite/22_locale/money_put/put/char/wrapped_locale.cc: Likewise.
2542 * testsuite/22_locale/money_put/put/wchar_t/1.cc: Likewise.
2543 * testsuite/22_locale/money_put/put/wchar_t/2.cc: Likewise.
2544 * testsuite/22_locale/money_put/put/wchar_t/3.cc: Likewise.
2545 * testsuite/22_locale/money_put/put/wchar_t/wrapped_env.cc: Likewise.
2546 * testsuite/22_locale/money_put/put/wchar_t/wrapped_locale.cc: Likewise.
2547 * testsuite/22_locale/moneypunct/members/char/2.cc: Likewise.
2548 * testsuite/22_locale/moneypunct/members/char/wrapped_env.cc: Likewise.
2549 * testsuite/22_locale/moneypunct/members/char/wrapped_locale.cc:
2551 * testsuite/22_locale/moneypunct/members/wchar_t/2.cc: Likewise.
2552 * testsuite/22_locale/moneypunct/members/wchar_t/wrapped_env.cc:
2554 * testsuite/22_locale/moneypunct/members/wchar_t/wrapped_locale.cc:
2556 * testsuite/22_locale/moneypunct_byname/named_equivalence.cc: Likewise.
2557 * testsuite/22_locale/num_get/get/char/1.cc: Likewise.
2558 * testsuite/22_locale/num_get/get/char/3.cc: Likewise.
2559 * testsuite/22_locale/num_get/get/char/5.cc: Likewise.
2560 * testsuite/22_locale/num_get/get/char/6.cc: Likewise.
2561 * testsuite/22_locale/num_get/get/char/9.cc: Likewise.
2562 * testsuite/22_locale/num_get/get/char/wrapped_env.cc: Likewise.
2563 * testsuite/22_locale/num_get/get/char/wrapped_locale.cc: Likewise.
2564 * testsuite/22_locale/num_get/get/wchar_t/1.cc: Likewise.
2565 * testsuite/22_locale/num_get/get/wchar_t/3.cc: Likewise.
2566 * testsuite/22_locale/num_get/get/wchar_t/5.cc: Likewise.
2567 * testsuite/22_locale/num_get/get/wchar_t/6.cc: Likewise.
2568 * testsuite/22_locale/num_get/get/wchar_t/9.cc: Likewise.
2569 * testsuite/22_locale/num_get/get/wchar_t/wrapped_env.cc: Likewise.
2570 * testsuite/22_locale/num_get/get/wchar_t/wrapped_locale.cc: Likewise.
2571 * testsuite/22_locale/num_put/put/char/1.cc: Likewise.
2572 * testsuite/22_locale/num_put/put/char/20909.cc: Likewise.
2573 * testsuite/22_locale/num_put/put/char/20914.cc: Likewise.
2574 * testsuite/22_locale/num_put/put/char/3.cc: Likewise.
2575 * testsuite/22_locale/num_put/put/char/5.cc: Likewise.
2576 * testsuite/22_locale/num_put/put/char/9780-2.cc: Likewise.
2577 * testsuite/22_locale/num_put/put/char/wrapped_env.cc: Likewise.
2578 * testsuite/22_locale/num_put/put/char/wrapped_locale.cc: Likewise.
2579 * testsuite/22_locale/num_put/put/wchar_t/1.cc: Likewise.
2580 * testsuite/22_locale/num_put/put/wchar_t/20909.cc: Likewise.
2581 * testsuite/22_locale/num_put/put/wchar_t/20914.cc: Likewise.
2582 * testsuite/22_locale/num_put/put/wchar_t/3.cc: Likewise.
2583 * testsuite/22_locale/num_put/put/wchar_t/5.cc: Likewise.
2584 * testsuite/22_locale/num_put/put/wchar_t/wrapped_env.cc: Likewise.
2585 * testsuite/22_locale/num_put/put/wchar_t/wrapped_locale.cc: Likewise.
2586 * testsuite/22_locale/numpunct/members/char/2.cc: Likewise.
2587 * testsuite/22_locale/numpunct/members/char/3.cc: Likewise.
2588 * testsuite/22_locale/numpunct/members/char/wrapped_env.cc: Likewise.
2589 * testsuite/22_locale/numpunct/members/char/wrapped_locale.cc: Likewise.
2590 * testsuite/22_locale/numpunct/members/wchar_t/2.cc: Likewise.
2591 * testsuite/22_locale/numpunct/members/wchar_t/wrapped_env.cc: Likewise.
2592 * testsuite/22_locale/numpunct/members/wchar_t/wrapped_locale.cc:
2594 * testsuite/22_locale/numpunct_byname/named_equivalence.cc: Likewise.
2595 * testsuite/22_locale/time_get/date_order/char/wrapped_env.cc: Likewise.
2596 * testsuite/22_locale/time_get/date_order/char/wrapped_locale.cc:
2598 * testsuite/22_locale/time_get/date_order/wchar_t/wrapped_env.cc:
2600 * testsuite/22_locale/time_get/date_order/wchar_t/wrapped_locale.cc:
2602 * testsuite/22_locale/time_get/get_date/char/12750.cc: Likewise.
2603 * testsuite/22_locale/time_get/get_date/char/2.cc: Likewise.
2604 * testsuite/22_locale/time_get/get_date/char/wrapped_env.cc: Likewise.
2605 * testsuite/22_locale/time_get/get_date/char/wrapped_locale.cc:
2607 * testsuite/22_locale/time_get/get_date/wchar_t/12750.cc: Likewise.
2608 * testsuite/22_locale/time_get/get_date/wchar_t/2.cc: Likewise.
2609 * testsuite/22_locale/time_get/get_date/wchar_t/4.cc: Likewise.
2610 * testsuite/22_locale/time_get/get_date/wchar_t/wrapped_env.cc:
2612 * testsuite/22_locale/time_get/get_date/wchar_t/wrapped_locale.cc:
2614 * testsuite/22_locale/time_get/get_monthname/char/2.cc: Likewise.
2615 * testsuite/22_locale/time_get/get_monthname/char/wrapped_env.cc:
2617 * testsuite/22_locale/time_get/get_monthname/char/wrapped_locale.cc:
2619 * testsuite/22_locale/time_get/get_monthname/wchar_t/2.cc: Likewise.
2620 * testsuite/22_locale/time_get/get_monthname/wchar_t/wrapped_env.cc:
2622 * testsuite/22_locale/time_get/get_monthname/wchar_t/wrapped_locale.cc:
2624 * testsuite/22_locale/time_get/get_time/char/1.cc: Likewise.
2625 * testsuite/22_locale/time_get/get_time/char/2.cc: Likewise.
2626 * testsuite/22_locale/time_get/get_time/char/wrapped_env.cc: Likewise.
2627 * testsuite/22_locale/time_get/get_time/char/wrapped_locale.cc:
2629 * testsuite/22_locale/time_get/get_time/wchar_t/1.cc: Likewise.
2630 * testsuite/22_locale/time_get/get_time/wchar_t/2.cc: Likewise.
2631 * testsuite/22_locale/time_get/get_time/wchar_t/wrapped_env.cc:
2633 * testsuite/22_locale/time_get/get_time/wchar_t/wrapped_locale.cc:
2635 * testsuite/22_locale/time_get/get_weekday/char/2.cc: Likewise.
2636 * testsuite/22_locale/time_get/get_weekday/char/wrapped_env.cc:
2638 * testsuite/22_locale/time_get/get_weekday/char/wrapped_locale.cc:
2640 * testsuite/22_locale/time_get/get_weekday/wchar_t/2.cc: Likewise.
2641 * testsuite/22_locale/time_get/get_weekday/wchar_t/wrapped_env.cc:
2643 * testsuite/22_locale/time_get/get_weekday/wchar_t/wrapped_locale.cc:
2645 * testsuite/22_locale/time_put/put/char/17038.cc: Likewise.
2646 * testsuite/22_locale/time_put/put/char/2.cc: Likewise.
2647 * testsuite/22_locale/time_put/put/char/3.cc: Likewise.
2648 * testsuite/22_locale/time_put/put/char/4.cc: Likewise.
2649 * testsuite/22_locale/time_put/put/char/6.cc: Likewise.
2650 * testsuite/22_locale/time_put/put/char/7.cc: Likewise.
2651 * testsuite/22_locale/time_put/put/char/8.cc: Likewise.
2652 * testsuite/22_locale/time_put/put/char/9780-1.cc: Likewise.
2653 * testsuite/22_locale/time_put/put/char/wrapped_env.cc: Likewise.
2654 * testsuite/22_locale/time_put/put/char/wrapped_locale.cc: Likewise.
2655 * testsuite/22_locale/time_put/put/wchar_t/17038.cc: Likewise.
2656 * testsuite/22_locale/time_put/put/wchar_t/2.cc: Likewise.
2657 * testsuite/22_locale/time_put/put/wchar_t/3.cc: Likewise.
2658 * testsuite/22_locale/time_put/put/wchar_t/4.cc: Likewise.
2659 * testsuite/22_locale/time_put/put/wchar_t/6.cc: Likewise.
2660 * testsuite/22_locale/time_put/put/wchar_t/7.cc: Likewise.
2661 * testsuite/22_locale/time_put/put/wchar_t/8.cc: Likewise.
2662 * testsuite/22_locale/time_put/put/wchar_t/wrapped_env.cc: Likewise.
2663 * testsuite/22_locale/time_put/put/wchar_t/wrapped_locale.cc: Likewise.
2664 * testsuite/27_io/basic_filebuf/imbue/char/13007.cc: Likewise.
2665 * testsuite/27_io/basic_filebuf/imbue/char/13171-1.cc: Likewise.
2666 * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
2667 * testsuite/27_io/basic_filebuf/imbue/char/13171-4.cc: Likewise.
2668 * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise.
2669 * testsuite/27_io/basic_filebuf/imbue/char/14975-1.cc: Likewise.
2670 * testsuite/27_io/basic_filebuf/imbue/char/2.cc: Likewise.
2671 * testsuite/27_io/basic_filebuf/imbue/char/9322.cc: Likewise.
2672 * testsuite/27_io/basic_filebuf/imbue/wchar_t/12868.cc: Likewise.
2673 * testsuite/27_io/basic_filebuf/imbue/wchar_t/13007.cc: Likewise.
2674 * testsuite/27_io/basic_filebuf/imbue/wchar_t/13171-3.cc: Likewise.
2675 * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-2.cc: Likewise.
2676 * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-3.cc: Likewise.
2677 * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc: Likewise.
2678 * testsuite/27_io/basic_filebuf/imbue/wchar_t/2.cc: Likewise.
2679 * testsuite/27_io/basic_filebuf/imbue/wchar_t/9322.cc: Likewise.
2680 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1.cc: Likewise.
2681 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2.cc: Likewise.
2682 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3.cc: Likewise.
2683 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4.cc: Likewise.
2684 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/1.cc: Likewise.
2685 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/2.cc: Likewise.
2686 * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9874.cc: Likewise.
2687 * testsuite/27_io/basic_filebuf/underflow/wchar_t/1.cc: Likewise.
2688 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-1.cc: Likewise.
2689 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-2.cc: Likewise.
2690 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-3.cc: Likewise.
2691 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-4.cc: Likewise.
2692 * testsuite/27_io/basic_filebuf/underflow/wchar_t/2.cc: Likewise.
2693 * testsuite/27_io/basic_filebuf/underflow/wchar_t/3.cc: Likewise.
2694 * testsuite/27_io/basic_filebuf/underflow/wchar_t/4.cc: Likewise.
2695 * testsuite/27_io/basic_filebuf/underflow/wchar_t/5.cc: Likewise.
2696 * testsuite/27_io/basic_filebuf/underflow/wchar_t/9520.cc: Likewise.
2697 * testsuite/27_io/basic_ios/copyfmt/char/2.cc: Likewise.
2698 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/2.cc:
2700 * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/2.cc:
2702 * testsuite/27_io/basic_streambuf/imbue/char/13007-1.cc: Likewise.
2703 * testsuite/27_io/basic_streambuf/imbue/char/13007-2.cc: Likewise.
2704 * testsuite/27_io/basic_streambuf/imbue/char/9322.cc: Likewise.
2705 * testsuite/27_io/basic_streambuf/imbue/wchar_t/13007-1.cc: Likewise.
2706 * testsuite/27_io/basic_streambuf/imbue/wchar_t/13007-2.cc: Likewise.
2707 * testsuite/27_io/basic_streambuf/imbue/wchar_t/9322.cc: Likewise.
2708 * testsuite/27_io/basic_stringbuf/imbue/char/9322.cc: Likewise.
2709 * testsuite/27_io/basic_stringbuf/imbue/wchar_t/9322.cc: Likewise.
2710 * testsuite/27_io/objects/wchar_t/10.cc: Likewise.
2711 * testsuite/27_io/objects/wchar_t/11.cc: Likewise.
2712 * testsuite/27_io/objects/wchar_t/12.cc: Likewise.
2713 * testsuite/27_io/objects/wchar_t/13.cc: Likewise.
2714 * testsuite/27_io/objects/wchar_t/9520.cc: Likewise.
2715 * testsuite/ext/stdio_sync_filebuf/wchar_t/12077.cc: Likewise.
2717 2005-05-17 Nathan Sidwell <nathan@codesourcery.com>
2719 * libsupc++/eh_personality.cc (gcc_unreachable): Define.
2721 2005-05-16 Paolo Carlini <pcarlini@suse.de>
2723 * docs/html/install.html: Update list of required named
2724 locales, add "es_ES".
2726 2005-05-13 Magnus Fromreide <magfr@lysator.liu.se>
2728 * testsuite/27_io/basic_streambuf/sgetn/char/1.cc: Use
2729 initialization instead of copying as the string is used only once.
2730 * testsuite/27_io/basic_streambuf/sgetn/wchar_t/1.cc: Likewise.
2731 * testsuite/27_io/basic_streambuf/sputn/char/1.cc: Likewise.
2732 * testsuite/27_io/basic_streambuf/sputn/wchar_t/1.cc: Likewise.
2734 2005-05-12 Benjamin Kosnik <bkoz@redhat.com>
2736 * scripts/create_testsuite_files: Fix.
2738 2005-05-12 Kaz Kojima <kkojima@gcc.gnu.org>
2740 * testsuite/18_support/numeric_limits.cc (dg-options): Add
2741 -mieee to options on sh*-*-*.
2743 2005-05-10 Jonathan Wakely <redi@gcc.gnu.org>
2745 * include/debug/debug.h: Fix typo in macro name.
2747 2005-05-09 Paolo Carlini <pcarlini@suse.de>
2748 Giovanni Bajo <giovannibajo@gcc.gnu.org>
2751 * include/bits/deque.tcc: Fully qualify names from namespace std.
2752 * include/bits/stl_bvector.h: Likewise.
2753 * include/bits/stl_deque.h: Likewise.
2754 * include/bits/stl_list.h: Likewise.
2755 * include/bits/stl_map.h: Likewise.
2756 * include/bits/stl_multimap.h: Likewise.
2757 * include/bits/stl_multiset.h: Likewise.
2758 * include/bits/stl_set.h: Likewise.
2759 * include/bits/stl_vector.h: Likewise.
2760 * include/bits/vector.tcc: Likewise.
2761 * include/std/std_bitset.h: Likewise.
2762 * testsuite/23_containers/bitset/18604.cc: New.
2763 * testsuite/23_containers/deque/18604.cc: Likewise.
2764 * testsuite/23_containers/list/18604.cc: Likewise.
2765 * testsuite/23_containers/map/18604.cc: Likewise.
2766 * testsuite/23_containers/set/18604.cc: Likewise.
2767 * testsuite/23_containers/vector/18604.cc: Likewise.
2769 2005-05-09 Mike Stump <mrs@apple.com>
2771 * configure: Regenerate.
2773 2005-05-09 Jonathan Wakely <redi@gcc.gnu.org>
2775 DR 434. bitset::to_string() hard to use [Ready]
2776 * include/debug/bitset (to_string): Add three overloads, taking
2777 fewer template arguments.
2779 2005-05-06 Mark Mitchell <mark@codesourcery.com>
2781 * testsuite/testsuite_hooks.cc (try_mkfifo): Remove.
2782 * testsuite/testsuite_hooks.h (try_mkfifo): Likewise.
2783 * testsuite/27_io/basic_filebuf/close/char/4879.cc: Use
2784 dg-require-fork and dg-require-mkfifo. Replace try_mkfifo with
2786 * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise.
2787 * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
2788 * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise.
2789 * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-2.cc:
2791 * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc:
2793 * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise.
2794 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc:
2796 * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise.
2797 * testsuite/27_io/objects/char/7.cc: Likewise.
2798 * testsuite/27_io/objects/char/9661-1.cc: Likewise.
2799 * testsuite/27_io/objects/wchar_t/7.cc: Likewise.
2800 * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise.
2802 2005-05-04 Benjamin Kosnik <bkoz@redhat.com>
2804 * acinclude.m4: Remove testsuite_wchar_t and testsuite_thread.
2805 * testsuite/Makefile.am: Same.
2806 * scripts/create_testsuite_files: Same.
2807 * Makefile.in: Regenerate.
2809 * include/Makefile.in: Same.
2810 * libmath/Makefile.in: Same.
2811 * libsupc++/Makefile.in: Same.
2812 * po/Makefile.in: Same.
2813 * src/Makefile.in: Same.
2815 2005-05-04 Mark Mitchell <mark@codesourcery.com>
2817 * testsuite/lib/libstdc++.exp (v3-build_support): Look for
2818 __GTHREADS, rather than _GLIBCXX_HAVE_GTHR_DEFAULT, to determine
2819 whether or not thread support is available.
2821 * docs/html/test.html: Explain how to run the testsuite on an
2822 installed directory.
2824 2005-05-01 Paolo Carlini <pcarlini@suse.de>
2826 * config/os/aix/os_defines.h: Remove obsolete __off_t,
2827 __off64_t, __ssize_t defines.
2828 * config/os/djgpp/os_defines.h: Likewise.
2829 * config/os/hpux/os_defines.h: Likewise.
2830 * config/os/irix/irix5.2/os_defines.h: Likewise.
2831 * config/os/irix/irix6.5/os_defines.h: Likewise.
2832 * config/os/solaris/solaris2.5/os_defines.h: Likewise.
2833 * config/os/solaris/solaris2.6/os_defines.h: Likewise.
2834 * config/os/solaris/solaris2.7/os_defines.h: Likewise.
2835 * docs/html/17_intro/porting.html: Don't discuss the defines.
2836 * docs/html/17_intro/porting.texi: Likewise.
2838 2005-04-29 Paolo Carlini <pcarlini@suse.de>
2839 Nathan Myers <ncm@cantrip.org>
2842 * include/bits/fstream.tcc (basic_filebuf<>::xsgetn):
2843 Loop on short reads; remove the work-around for
2844 libstdc++/20806, not needed anymore.
2846 2005-04-29 Paolo Carlini <pcarlini@suse.de>
2849 * include/bits/locale_facets.tcc (num_get::_M_extract_float,
2850 num_get::_M_extract_int, num_get::do_get(bool&),
2851 num_put::_M_insert_int, num_put::_M_insert_float,
2852 num_put::do_put(bool), money_get::_M_extract,
2853 money_put::_M_insert): Adjust the __cache_type typedef not to
2854 forward to a numpunct/moneypunct typedef.
2855 * testsuite/testsuite_character.h: Add pod_uint and its numpunct
2856 and moneypunct specializations.
2857 * testsuite/testsuite_character.cc: Add numpunct<pod_uint>::id
2858 and moneypunct<pod_uint>::id.
2859 * testsuite/22_locale/num_get/3.cc: New.
2860 * testsuite/22_locale/num_put/3.cc: Likewise.
2861 * testsuite/22_locale/money_get/3.cc: Likewise.
2862 * testsuite/22_locale/money_put/3.cc: Likewise.
2864 * include/bits/locale_facets.tcc (money_put::_M_insert,
2865 time_get::_M_extract_name): Prefer operator== to operator!=
2868 2005-04-29 Paolo Carlini <pcarlini@suse.de>
2870 * include/tr1/type_traits (is_convertible): Adjust according
2871 to the resolution of TR1 issue 3.20.
2872 * testsuite/tr1/4_metaprogramming/relationships_between_types/
2873 is_convertible/is_convertible.cc: Add tests.
2875 2005-04-28 Paolo Carlini <pcarlini@suse.de>
2876 Gabriel Dos Reis <gdr@integrable-solutions.net>
2878 PR libstdc++/21244 (cont)
2879 * include/bits/cpp_type_traits.h (struct __traitor): Convert
2881 * include/bits/stl_algo.h: Convert _S_threshold to int.
2882 * include/bits/stl_bvector.h: Revert previous change, convert
2884 * include/debug/formatter.h: Convert __max_parameters to
2886 * include/ext/mt_allocator.h: Likewise for _S_chunk_size.
2887 * include/ext/pool_allocator.h: Likewise for _S_max_bytes and
2889 * include/ext/rope: Likewise for _S_alloc_granularity; convert
2890 _S_max_rope_depth to int.
2891 * include/ext/ropeimpl.h: Convert _S_path_cache_len to int;
2892 _S_max_rope_depth to int; _S_copy_max to size_t.
2894 2005-04-27 Benjamin Kosnik <bkoz@redhat.com>
2896 * docs/doxygen/user.cfg.in: Update to doxygen-1.4.2.
2897 * docs/doxygen/doxygroups.cc: Update namespace comments.
2899 2005-04-27 Dominik Strasser <dominik.strasser@infineon.com>
2900 Paolo Carlini <pcarlini@suse.de>
2903 * include/bits/stl_bvector.h: Change the anonymous enum
2904 at namespace scope to _S_word_bit_enum.
2905 * testsuite/23_containers/vector/bool/21244.cc: New.
2907 2005-04-27 Paolo Carlini <pcarlini@suse.de>
2909 * include/tr1/type_traits (has_trivial_copy, has_trivial_assign,
2910 has_nothrow_copy, has_nothrow_assign): Adjust according to the
2911 resolution of TR1 issue 3.21.
2912 * testsuite/testsuite_tr1.h (test_copy_property,
2913 test_assign_property): Remove.
2914 * testsuite/tr1/4_metaprogramming/type_properties/
2915 has_nothrow_assign/has_nothrow_assign.cc: Adjust.
2916 * testsuite/tr1/4_metaprogramming/type_properties/
2917 has_nothrow_copy/has_nothrow_copy.cc: Likewise.
2918 * testsuite/tr1/4_metaprogramming/type_properties/
2919 has_trivial_assign/has_trivial_assign.cc: Likewise.
2920 * testsuite/tr1/4_metaprogramming/type_properties/
2921 has_trivial_copy/has_trivial_copy.cc: Likewise.
2923 2005-04-26 Jones Desougi <jones@ingate.com>
2926 * linkage.m4: Fix comments.
2928 2005-04-26 Paolo Carlini <pcarlini@suse.de>
2931 * include/bits/locale_facets.tcc (_M_extract_int): Avoid signed
2932 integer overflow, always use a suited unsigned type in the main
2934 (struct __to_unsigned_type): New.
2935 * testsuite/22_locale/num_get/get/char/16.cc: New.
2936 * testsuite/22_locale/num_get/get/wchar_t/16.cc: Likewise.
2938 2005-04-25 Paolo Carlini <pcarlini@suse.de>
2941 * include/bits/basic_string.h (compare): Adjust the documentation
2942 to match the implementation and the standard.
2944 2005-04-24 Paolo Carlini <pcarlini@suse.de>
2946 * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 35.
2948 2005-04-20 Mark Mitchell <mark@codesourcery.com>
2950 * testsuite/ext/bitmap_allocator/check_allocate_max_size.cpp: Add
2951 explicit instantiations for systems without weak symbols.
2952 * testsuite/ext/bitmap_allocator/check_deallocate_null.cc:
2955 2005-04-18 Jonathan Wakely <redi@gcc.gnu.org>
2957 * include/bits/stl_algo.h (rotate_copy): Add missing std qualification.
2959 2005-04-17 Paolo Carlini <pcarlini@suse.de>
2962 * include/bits/locale_facets.tcc (__int_to_char(_CharT*, _ValueT,
2963 const _CharT*, ios_base::fmtflags, bool)): Don't deal with numeric
2964 base or sign here, instead...
2965 (_M_insert_int(_OutIter, ios_base&, _CharT, _ValueT)): ... here,
2966 after adding the grouping. This fixes the bug and also allows to
2967 clean-up the code dealing with integer types.
2968 (_M_group_int(const char*, size_t, _CharT, ios_base&, _CharT*,
2969 _CharT*, int&)): Simplify, remove bits dealing with numeric base.
2970 (__int_to_char(_CharT*, unsigned long, const _CharT*,
2971 ios_base::fmtflags), __int_to_char(_CharT*, unsigned long long,
2972 const _CharT*, ios_base::fmtflags)): Remove hackish fix for
2974 (__int_to_char(_CharT*, long, const _CharT*, ios_base::fmtflags),
2975 __int_to_char(_CharT*, long long, const _CharT*, ios_base::fmtflags)):
2976 Simplify, don't pass the sign.
2977 (_M_insert_float(_OutIter, ios_base&, _CharT, char, _ValueT)):
2978 Deal with a sign at the beginning of __cs; robustify the grouping
2980 * testsuite/22_locale/num_put/put/char/20914.cc: New.
2981 * testsuite/22_locale/num_put/put/wchar_t/20914.cc: Likewise.
2983 2005-04-14 Benjamin Kosnik <bkoz@redhat.com>
2985 * include/ext/bitmap_allocator.h
2986 (__gnu_cxx::free_list::_M_get_mutex): New.
2987 (__gnu_cxx::free_list::_M_get_free_list): New.
2988 (__gnu_cxx::free_list::_S_bfl_mutex): Remove.
2989 (__gnu_cxx::free_list::_S_free_list): Remove.
2990 * src/bitmap_allocator.cc: Same.
2991 * config/linker-map.gnu: Remove free_list and mutex export.
2993 2005-04-14 Benjamin Kosnik <bkoz@redhat.com>
2995 * include/ext/pod_char_traits.h (__gnu_cxx::character): Add char_type.
2996 (character::to): New.
2997 (character::from): New.
2998 (operator==): Add state parameter.
3000 (char_traits::copy): Use std::copy.
3001 (char_traits::assign): Use std::fill_n.
3002 (char_traits::to_char_type): Use character::from.
3003 (char_traits::to_int_type): Use character::to.
3004 * testsuite/testsuite_character.h (__gnu_test::character): Remove.
3005 (__gnu_test::conversion_state): Remove.
3006 (__gnu_test::pod_char): Remove.
3007 (pod_char): New typedef.
3008 (pod_uchar): New typedef.
3009 (pod_ushort): New typedef.
3010 * testsuite/testsuite_character.cc: Fixups.
3011 * testsuite/21_strings/basic_string/inserters_extractors/pod/
3013 * testsuite/21_strings/basic_string/inserters_extractors/pod/
3015 * testsuite/22_locale/numpunct/members/pod/1.cc: Same.
3016 * testsuite/22_locale/numpunct/members/pod/2.cc: Same.
3017 * testsuite/27_io/basic_filebuf/close/12790-1.cc: Same.
3018 * testsuite/27_io/basic_filebuf/open/12790-1.cc: Same.
3019 * testsuite/27_io/basic_filebuf/seekoff/12790-1.cc: Same.
3020 * testsuite/27_io/basic_filebuf/seekoff/12790-2.cc: Same.
3021 * testsuite/27_io/basic_filebuf/seekoff/12790-3.cc: Same.
3022 * testsuite/27_io/basic_filebuf/seekoff/12790-4.cc: Same.
3023 * testsuite/27_io/basic_filebuf/seekpos/12790-1.cc: Same.
3024 * testsuite/27_io/basic_filebuf/seekpos/12790-2.cc: Same.
3025 * testsuite/27_io/basic_filebuf/seekpos/12790-3.cc: Same.
3026 * testsuite/27_io/basic_ios/imbue/14072.cc: Same.
3027 * testsuite/27_io/basic_istream/extractors_arithmetic/pod/
3029 * testsuite/27_io/basic_istream/extractors_character/pod/
3031 * testsuite/27_io/basic_istream/extractors_other/pod/3983-3.cc: Same.
3032 * testsuite/27_io/basic_istream/sentry/pod/1.cc: Same.
3033 * testsuite/27_io/basic_ostream/sentry/pod/1.cc: Same.
3035 2005-04-12 Mike Stump <mrs@apple.com>
3037 * configure: Regenerate.
3039 2005-04-08 Benjamin Kosnik <bkoz@redhat.com>
3041 * testsuite/Makefile.am: Remove libv3test.a.
3042 * testsuite/Makefile.in: Regenerate.
3043 * testsuite/lib/libstdc++.exp (v3_target_compile): Fix comments.
3045 2005-04-08 Paolo Carlini <pcarlini@suse.de>
3048 * include/bits/locale_facets.tcc (num_put<>::_M_insert_float):
3049 Don't even try to group numbers like 2e20, i.e., no decimal
3050 point, scientific notation.
3051 * testsuite/22_locale/num_put/put/char/20909.cc: New.
3052 * testsuite/22_locale/num_put/put/wchar_t/20909.cc: Likewise.
3054 2005-04-08 Kelley Cook <kcook@gcc.gnu.org>
3056 * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Define _GLIBCXX_ASM_SYMVER.
3057 * acconfig.h: Delete file.
3058 * Makefile.in, acinclude.m4, configure: Regenerate.
3060 2005-04-08 Kelley Cook <kcook@gcc.gnu.org>
3062 * linkage.m4 (GLIBCXX_MAYBE_UNDERSCORED_FUNCS): New macro.
3063 (GLIBCXX_CHECK_MATH_DECL_AND_LINKAGE_1,
3064 GLIBCXX_CHECK_MATH_DECL_AND_LINKAGE_2,
3065 GLIBCXX_CHECK_MATH_DECL_AND_LINKAGE_3,
3066 GLIBCXX_CHECK_MATH_DECLS_AND_LINKAGES_1,
3067 GLIBCXX_CHECK_STDLIB_DECL_AND_LINKAGE_2): Use it.
3068 (GLIBCXX_CHECK_MATH_SUPPORT): Delete obsolete comment.
3069 * acconfig.h: Delete redundant macros.
3070 * config.h.in, configure: Regenerate.
3072 2005-04-08 Kelley Cook <kcook@gcc.gnu.org>
3074 * linkage.m4 (GLIBCXX_CHECK_MATH_DECLS_AND_LINKAGES_1): Eliminate
3075 a subshell and if test fails, test for same functions with
3077 (GLIBCXX_CHECK_MATH_SUPPORT): Eliminate seperate checks for _funcs.
3078 * configure: Regenerate.
3080 2005-04-08 Danny Smith <dannysmith@users.sourceforge.net>
3081 Paolo Carlini <pcarlini@suse.de>
3084 * config/os/mingw32/os_defines.h: Define
3085 _GLIBCXX_HAVE_DOS_BASED_FILESYSTEM.
3086 * config/os/newlib/os_defines.h: Likewise, for __CYGWIN__.
3087 * include/bits/fstream.tcc (basic_filebuf<>::showmanyc()):
3089 (basic_filebuf<>::xsgetn(_CharT*, streamsize)): Likewise.
3091 2005-04-08 Kelley Cook <kcook@gcc.gnu.org>
3093 * acconfig.h: Sort the bottom section.
3094 * config.h.in: Regenerate.
3096 2005-04-08 Kelley Cook <kcook@gcc.gnu.org>
3098 * acconfig.h: Remove redundant HAVE_FLOAT_H.
3099 * config.h.in: Regenerate.
3101 2005-04-08 Kelley Cook <kcook@gcc.gnu.org>
3103 * configure.ac: Create template for PACKAGE and VERSION.
3104 Update comment on how to regenerate file. Update minimum
3105 automake version to 1.9.3.
3106 * acconfig.h: Remove PACKAGE and VERSION.
3107 * aclocal.m4, configure, Makefile.in, po/Makefile.in,
3108 src/Makefile.in, include/Makefile.in, libmath/Makefile.in,
3109 testsuite/Makefile.in, config.h.in: Regenerate.
3111 2005-04-06 Benjamin Kosnik <bkoz@redhat.com>
3113 * docs/html/test.html: Update.
3114 * testsuite/printnow.c: Remove.
3115 * scripts/check_survey.in: Remove.
3117 * testsuite/abi_check.cc: To...
3118 * testuite/testsuite_abi_check.cc: ...here.
3119 * testsuite/libstdc++-abi/abi.exp: Change abi_check.cc to
3120 testsuite_abi_check.cc.
3122 * testsuite/testsuite_hooks.h: Move character related bits to...
3123 * testsuite/testsuite_character.h: ...here.
3124 * testsuite/testsuite_character.cc: ... and here.
3125 * testsuite/21_strings/basic_string/inserters_extractors/pod/
3126 10081-in.cc: Use testsuite_character.h.
3127 * testsuite/21_strings/basic_string/inserters_extractors/pod/
3129 * testsuite/22_locale/numpunct/members/pod/1.cc: Same.
3130 * testsuite/22_locale/numpunct/members/pod/2.cc: Same.
3131 * testsuite/27_io/basic_filebuf/2.cc: Same.
3132 * testsuite/27_io/basic_fstream/2.cc: Same.
3133 * testsuite/27_io/basic_istream/2.cc: Same.
3134 * testsuite/27_io/basic_istream/extractors_arithmetic/pod/
3136 * testsuite/27_io/basic_istream/extractors_character/char/
3138 * testsuite/27_io/basic_istream/extractors_character/pod/
3140 * testsuite/27_io/basic_istream/extractors_other/pod/3983-3.cc: Same.
3141 * testsuite/27_io/basic_istream/sentry/pod/1.cc: Same.
3142 * testsuite/27_io/basic_ostream/2.cc: Same.
3143 * testsuite/27_io/basic_ostream/sentry/pod/1.cc: Same.
3144 * testsuite/27_io/basic_streambuf/2.cc: Same.
3145 * testsuite/27_io/basic_stringbuf/2.cc: Same.
3146 * testsuite/27_io/basic_stringbuf/4.cc: Same.
3147 * testsuite/27_io/basic_stringstream/2.cc: Same.
3148 * testsuite/27_io/fpos/1.cc: Same.
3149 * testsuite/ext/mt_allocator/tune-1.cc: Same.
3150 * testsuite/ext/mt_allocator/tune-2.cc: Same.
3151 * testsuite/ext/stdio_filebuf/char/1.cc: Same.
3152 * testsuite/lib/libstdc++.exp (v3-build_support): Add
3153 testsuite_character.cc.
3154 * testsuite/Makefile.am (libv3test_a_SOURCES): Add
3155 testsuite_character.cc.
3156 * testsuite/Makefile.in: Regenerate.
3158 * configure.ac: Remove use of check_survey.
3159 * configure: Regenerate.
3160 * testsuite/Makefile.am: Remove check-script and
3161 check-script-install rules.
3162 * testsuite/Makefile.in: Regenerate.
3164 2005-04-06 Ulrich Weigand <uweigand@de.ibm.com>
3166 * config/cpu/s390/atomicity.h (__exchange_and_add): Add "memory"
3167 clobber to inline assembly statement.
3169 2005-04-06 Kelley Cook <kcook@gcc.gnu.org>
3171 * acinclude.m4 (_GLIBCXX_USE_LONG_LONG,
3172 _GLIBCXX_USE_WCHAR_T, _GLIBCXX_USE_C99, _GLIBCXX_USE_C99_MATH,
3173 _GLIBCXX_USE_C99_COMPLEX, _GLIBCXX_RES_LIMITS, _GLIBCXX_CONCEPT_CHECKS,
3174 _GLIBCXX_SYMVER, _GLIBCXX_USE_LFS, _GLIBCXX_FULLY_DYNAMIC_STRING,
3175 _GLIBCXX_USE_NLS, HAVE_GTHR_DEFAULT, HAVE_MBSTATE_T, HAVE_POLL,
3176 HAVE_S_ISREG, HAVE_S_IFREG, HAVE_WRITEV, HAVE_INT64_T,
3177 HAVE_LC_MESSAGES): Use long form of AC_DEFINE ...
3178 * acconfig.h: ... to eliminate them from here.
3179 (_GLIBCXX_ASM_SYMVER): Move definition below @BOTTOM@.
3180 * config.h.in, configure: Regenerate.
3182 2005-04-05 Kelley Cook <kcook@gcc.gnu.org>
3184 * Makefile.am (ACLOCAL_AMFLAGS): Define.
3185 * crossconfig.m4: Wrap file into new GLIBCXX_CROSSCONFIG macro.
3186 * configure.ac: Use it.
3187 * acinclude.m4: Delete explicit m4_includes and sincludes.
3188 * aclocal.m4, configure, Makefile.in, po/Makefile.in,
3189 src/Makefile.in, include/Makefile.in, libmath/Makefile.in,
3190 testsuite/Makefile.in: Regenerate.
3192 2005-04-05 Jonathan Wakely <redi@gcc.gnu.org>
3194 * include/tr1/memory, include/tr1/boost_shared_ptr.h: Use mutex
3195 to make _Sp_counted_base::add_ref_lock() thread-safe. Check whether
3196 to destroy resources by testing for equality, not inequality. Add
3197 empty critical sections to solve memory visibility issues.
3198 * testsuite/tr1/2_general_utilities/memory/
3199 shared_ptr/cons/auto_ptr_neg.cc: Use dg-excess-errors instead of
3200 explicitly listing line numbers which need to be kept in sync.
3201 * testsuite/tr1/2_general_utilities/memory/
3202 shared_ptr/assign/auto_ptr_neg.cc: Same.
3203 * testsuite/tr1/2_general_utilities/memory/
3204 shared_ptr/assign/auto_ptr_rvalue_neg.cc: Same.
3205 * testsuite/tr1/2_general_utilities/memory/
3206 shared_ptr/cons/weak_ptr_expired.cc: Make XFAIL for consistency when
3208 * testsuite/tr1/2_general_utilities/memory/
3209 enable_shared_from_this/not_shared.cc: Add explanatory comments.
3210 * testsuite/tr1/2_general_utilities/memory/
3211 enable_shared_from_this/not_shared2.cc: Same.
3212 * testsuite/tr1/2_general_utilities/memory/
3213 enable_shared_from_this/not_shared3.cc: Same.
3215 2005-04-05 Kelley Cook <kcook@gcc.gnu.org>
3217 * acconfig.h: Delete macros already AC_DEFINED.
3218 * config.h.in: Regenerate.
3220 2005-04-05 Kelley Cook <kcook@gcc.gnu.org>
3222 * acconfig.h (HAVE_MODF): Remove.
3223 * linkage.m4: Check for modf.
3224 * config.h.in, configure: Regenerate.
3226 2005-04-05 Kelley Cook <kcook@gcc.gnu.org>
3228 * acconfig.h (ENABLE_NLS, HAVE_CATGETS): Remove.
3229 (HAVE_GETTEXT, HAVE_STPCPY): Likewise.
3230 * config.h.in: Regenerate.
3232 2005-04-05 Kelley Cook <kcook@gcc.gnu.org>
3234 * linkage.m4 (GLIBCXX_CHECK_BUILTIN_MATH_DEC): Use m4 translit macro
3235 to convert to uppercase instead of shelling out to tr.
3236 * acconfig.h: Remove now redundant HAVE__BUILTINS_*.
3237 * configure, config.h.in: Regenerate.
3239 2005-04-05 Kelley Cook <kcook@gcc.gnu.org>
3241 * acconfig.h (HAVE_TANL): Correct cut-and-paste typo.
3242 * config.h.in: Regenerate.
3244 2005-04-04 Mark Mitchell <mark@codesourcery.com>
3246 * testsuite/Makefile.am (check-local): Remove.
3247 (curent_symbols.txt): Likewise.
3248 (check-abi): Do not depend on current_symbols.txt.
3249 * testsuite/Makefile.in: Regenerated.
3250 * testsuite/libstdc++-abi/abi.exp: Build current_symbols.txt.
3252 2005-04-02 Douglas Gregor <doug.gregor@gmail.com>
3254 * include/tr1/tuple_iterate.h (tuple_element): Use new macro
3255 _GLIBCXX_T_NUM_ARGS_PLUS_1 because _T is a macro on Darwin.
3256 * include/tr1/repeat.h (_GLIBCXX_T_NUM_ARGS_PLUS_1): Define for
3258 * scripts/gen_includers.h: Define _GLIBCXX_T_NUM_ARGS_PLUS_1 for
3261 2005-04-01 Douglas Gregor <doug.gregor@gmail.com>
3263 * include/tr1/functional (_Maybe_wrap_member_pointer): Wrap up
3264 member pointers in _Mem_fn but let other function objects pass
3266 * include/tr1/functional_iterator (bind): Reduce number of bind()
3267 overloads to two to eliminate ambiguities. Use
3268 _Maybe_wrap_member_pointer to handle member pointers gracefully.
3270 2005-04-01 Mark Mitchell <mark@codesourcery.com>
3272 * testsuite/Makefile.am (noinst_PROGRAMS): Remove.
3273 (site.exp): Write out the path to the baseline file.
3274 (check-abi): Use DejaGNU.
3275 (check-abi-verbose): Remove.
3276 * testsuite/Makefile.in: Regenerated.
3277 * testsuite/abi_check.cc (main): Check the return value from
3279 * testsuite/testsuite_abi.cc (compare_symbols): Return a value.
3280 * testsuite/testsuite_abi.h (compare_symbols): Adjust prototype.
3281 * testsuite/libstdc++-abi/abi.exp: New file.
3283 2005-03-31 Chris Jefferson <chris@bubblescope.net>
3285 * include/tr1/tuple: Support iteration via tuple_iterate.h.
3286 * include/tr1/tuple_iterate.h: Iteration file for tuple.
3288 2005-03-31 Douglas Gregor <doug.gregor@gmail.com>
3290 * include/Makefile.am (tr1_headers): Add bind and mu repetition
3291 headers and reference_wrapper<> forwarding header.
3292 * include/Makefile.in: Regenerate.
3293 * include/tr1/bind_iterate.h: Implementation of function call
3294 operators for the function object returned from tr1::bind().
3295 * include/tr1/bind_repeat.h: Bind-specific repetition header,
3296 akin to include/tr1/repeat.h.
3297 * include/tr1/functional (_Mem_fn): Bug fix: declare result member
3298 template for use with result_of.
3299 (is_bind_expression): New.
3300 (is_placeholder): New.
3301 (_Placeholder): New. Placeholder type for bind.
3302 (_Mu): New. Implementation detail of bind.
3303 (_Bind, _Bind_result): New. Function objects returned by bind.
3304 (_GLIBCXX_JOIN): New. Required to create bind placeholders.
3305 * include/tr1/functional_iterate.h (_Bind, _Bind_result, bind):
3306 New. Implementation of tr1::bind.
3307 * include/tr1/mu_iterate.h (_Mu): result template and operator()
3308 for the _Mu helper to bind.
3309 * include/tr1/ref_fwd.h (reference_wrapper): Forward declaration
3310 used by tuple header.
3313 * include/tr1/repeat.h: Add bind-specific repetition macros.
3314 * include/tr1/tuple: Use reference_wrapper forwarding header for
3315 initial definitions, then include <tr1/functional> at the end, to
3316 make the circular dependencies work.
3317 (tie): Support zero-argument tie() function.
3318 * testsuite/tr1/3_function_objects/bind/all_bound.cc: New test of
3319 bind() functionality with parameters bound.
3320 * testsuite/tr1/3_function_objects/bind/nested.cc: New test of
3321 nested bind() expressions.
3322 * testsuite/tr1/3_function_objects/bind/placeholders.cc: New test
3323 of bind() placeholders.
3324 * testsuite/tr1/3_function_objects/bind/ref.cc: New test of bind()
3325 with arguments bound via reference_wrapper<>.
3326 * scripts/gen_includers.pl: Generate the repetitive part of
3327 include/tr1/repeat.h.
3328 * scripts/gen_bind_includers.pl: Generate the repetitive part of
3329 include/tr1/bind_repeat.h.
3331 2005-03-30 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
3333 * testsuite/Makefile.am (CXX): Use ${SHELL}.
3334 (GLIBCXX_INCLUDES): Same.
3335 (AM_CXXFLAGS): Same.
3336 * testsuite/Makefile.in: Regenerate.
3338 2005-03-25 Mark Mitchell <mark@codesourcery.com>
3340 * testsuite/lib/libstdc++.exp (libstdc++_init): Define LOCALEDIR
3341 when testing an installed compiler.
3343 * testsuite/lib/libstdc++.exp (v3-build_support): Pass -w when
3344 compiling support objects.
3346 2005-03-24 Benjamin Kosnik <bkoz@redhat.com>
3348 * include/tr1/memory: Forward to...
3349 * include/tr1/boost_shared_ptr.h: ...here. Add Boost Software License.
3350 * include/Makefile.am (tr1_headers): Add boost_shared_ptr.h.
3351 * include/Makefile.in: Regenerate.
3352 * testsuite/tr1/2_general_utilities/memory/shared_ptr/cons/
3353 auto_ptr_neg.cc: Adjust line numbers.
3355 2005-03-23 Mark Mitchell <mark@codesourcery.com>
3357 * testsuite/Makefile.am (all-local): Do not build testsuite_files.
3358 * testsuite/Makefile.in: Regenerated.
3360 2005-03-23 Benjamin Kosnik <bkoz@redhat.com>
3362 * acinclude.m4: Adjust so that _GLIBCXX_USE_C99 implies
3363 using _GLIBCXX_USE_C99_COMPLEX, _GLIBCXX_USE_C99_MATH, and
3364 _GLIBCXX_USE_C99_WCHAR.
3365 Remove GLIBCXX_ENABLE_C_MBCHAR, consolidate in GLIBCXX_ENABLE_C99
3366 and GLIBCXX_ENABLE_WCHAR_T.
3367 Take C99 bits from GLIBCXX_CHECK_WCHAR_T_SUPPORT and put in
3369 Change remaining parts of GLIBCXX_CHECK_WCHAR_T_SUPPORT to
3370 GLIBCXX_CHECK_ICONV_SUPPORT.
3371 * configure.ac: Remove GLIBCXX_ENABLE_C_MBCHAR, use
3372 GLIBCXX_CHECK_ICONV_SUPPORT and GLIBCXX_ENABLE_WCHAR_T.
3373 * crossconfig.m4: Same.
3374 * acconfig.h: Same, adjust comments.
3375 * config.h.in: Regenerate.
3376 * configure: Regenerate.
3377 * docs/html/configopts.html: Change --enable-c-mbchar to
3380 * config/locale/gnu/c++locale_internal.h: Guard wide functions
3381 with _GLIBCXX_USE_WCHAR_T.
3382 * include/c_std/std_cwctype.h: Alphabetize, remove duplicates.
3383 * include/c_std/std_cstdio.h: Spacing.
3385 * config/locale/gnu/c_locale.h: Tweaks for unused warnings.
3386 * src/debug.cc: Same.
3388 2005-03-23 Mark Mitchell <mark@codesourcery.com>
3390 * testsuite/libstdc++-dg/normal.exp: Read testsuite_files, if it
3393 * testsuite/lib/libstdc++.exp (libstdc++_wchar_t): Rename to ...
3394 (v3-wchar_t): ... this.
3395 (libstdc++_threads): Rename to ...
3396 (v3-threads): ... this.
3397 (libstdc++_test_objs): Rename to ...
3398 (v3-test_objs): ... this.
3399 (libstdc++_build_support): Rename to ...
3400 (v3-build_support): ... this.
3401 * testsuite/libstdc++-dg/normal.exp: Adjust to use new names.
3403 * testsuite/lib/libstdc++.exp (libstdc++_init): Improve handling
3404 of compilers not in the build directory.
3405 (libstdc++_wchar_t): New variable.
3406 (libstdc++_threads): Likewise.
3407 (libstdc++_test_objs): Likewise.
3408 (v3_target_compile): Use libstdc++_test_objs.
3409 (v3-list-tests): Remove.
3410 (listdc++_build_support): New function.
3411 * testsuite/libstdc++-dg/normal.exp: Rework to dynamically
3412 generate list of tests.
3414 2005-03-21 Chris Jefferson <chris@bubblescope.net>
3417 * include/bits/stl_algobase.h (iter_swap): Only delegate iter_swap
3418 to swap when the iterator's reference_type is a reference to its
3420 * testsuite/25_algorithms/iter_swap/20577.cc: New.
3422 2005-03-21 Zack Weinberg <zack@codesourcery.com>
3424 * acinclude.m4 (GLIBCXX_CONFIGURE): Delete gcc_version logic.
3425 (GLIBCXX_EXPORT_INSTALL_INFO): Adjust quotation so ${gcc_version}
3426 is expanded by the Makefiles, not by configure.
3427 * fragment.am: Set gcc_version.
3428 * libmath/Makefile.am: Likewise.
3429 * configure, Makefile.in, include/Makefile.in, libmath/Makefile.in
3430 * libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in
3431 * testsuite/Makefile.in: Regenerate.
3433 2005-03-16 Paolo Carlini <pcarlini@suse.de>
3435 * testsuite/20_util/functional/binders.cc: Remove explicit
3436 instantiations for non-weak systems.
3437 * testsuite/20_util/memory/allocator/1.cc: Likewise.
3438 * testsuite/20_util/memory/allocator/10378.cc: Likewise.
3439 * testsuite/20_util/memory/allocator/10416.cc: Likewise.
3440 * testsuite/20_util/memory/allocator/8230.cc: Likewise.
3441 * testsuite/20_util/utility/rel_ops.cc: Likewise.
3442 * testsuite/22_locale/ctype/is/char/2.cc: Likewise.
3443 * testsuite/22_locale/ctype/is/wchar_t/2.cc: Likewise.
3444 * testsuite/23_containers/deque/cons/1.cc: Likewise.
3445 * testsuite/23_containers/deque/cons/2.cc: Likewise.
3446 * testsuite/23_containers/deque/invalidation/1.cc: Likewise.
3447 * testsuite/23_containers/deque/invalidation/2.cc: Likewise.
3448 * testsuite/23_containers/deque/invalidation/3.cc: Likewise.
3449 * testsuite/23_containers/deque/invalidation/4.cc: Likewise.
3450 * testsuite/23_containers/deque/modifiers/swap.cc: Likewise.
3451 * testsuite/23_containers/deque/operators/1.cc: Likewise.
3452 * testsuite/23_containers/list/capacity/1.cc: Likewise.
3453 * testsuite/23_containers/list/cons/1.cc: Likewise.
3454 * testsuite/23_containers/list/cons/2.cc: Likewise.
3455 * testsuite/23_containers/list/cons/3.cc: Likewise.
3456 * testsuite/23_containers/list/cons/4.cc: Likewise.
3457 * testsuite/23_containers/list/cons/5.cc: Likewise.
3458 * testsuite/23_containers/list/cons/6.cc: Likewise.
3459 * testsuite/23_containers/list/cons/7.cc: Likewise.
3460 * testsuite/23_containers/list/cons/8.cc: Likewise.
3461 * testsuite/23_containers/list/cons/9.cc: Likewise.
3462 * testsuite/23_containers/list/invalidation/1.cc: Likewise.
3463 * testsuite/23_containers/list/invalidation/2.cc: Likewise.
3464 * testsuite/23_containers/list/invalidation/3.cc: Likewise.
3465 * testsuite/23_containers/list/invalidation/4.cc: Likewise.
3466 * testsuite/23_containers/list/modifiers/1.cc: Likewise.
3467 * testsuite/23_containers/list/modifiers/2.cc: Likewise.
3468 * testsuite/23_containers/list/modifiers/3.cc: Likewise.
3469 * testsuite/23_containers/list/operators/1.cc: Likewise.
3470 * testsuite/23_containers/list/operators/2.cc: Likewise.
3471 * testsuite/23_containers/list/operators/3.cc: Likewise.
3472 * testsuite/23_containers/list/operators/4.cc: Likewise.
3473 * testsuite/23_containers/map/insert/1.cc: Likewise.
3474 * testsuite/23_containers/map/invalidation/1.cc: Likewise.
3475 * testsuite/23_containers/map/invalidation/2.cc: Likewise.
3476 * testsuite/23_containers/map/modifiers/swap.cc: Likewise.
3477 * testsuite/23_containers/map/operators/1.cc: Likewise.
3478 * testsuite/23_containers/multimap/invalidation/1.cc: Likewise.
3479 * testsuite/23_containers/multimap/invalidation/2.cc: Likewise.
3480 * testsuite/23_containers/multimap/modifiers/swap.cc: Likewise.
3481 * testsuite/23_containers/multiset/insert/1.cc: Likewise.
3482 * testsuite/23_containers/multiset/insert/2.cc: Likewise.
3483 * testsuite/23_containers/multiset/invalidation/1.cc: Likewise.
3484 * testsuite/23_containers/multiset/invalidation/2.cc: Likewise.
3485 * testsuite/23_containers/multiset/modifiers/swap.cc: Likewise.
3486 * testsuite/23_containers/priority_queue/members/7161.cc: Likewise.
3487 * testsuite/23_containers/queue/members/7157.cc: Likewise.
3488 * testsuite/23_containers/set/insert/1.cc: Likewise.
3489 * testsuite/23_containers/set/invalidation/1.cc: Likewise.
3490 * testsuite/23_containers/set/invalidation/2.cc: Likewise.
3491 * testsuite/23_containers/set/modifiers/swap.cc: Likewise.
3492 * testsuite/23_containers/stack/members/7158.cc: Likewise.
3493 * testsuite/23_containers/vector/bool/6886.cc: Likewise.
3494 * testsuite/23_containers/vector/capacity/1.cc: Likewise.
3495 * testsuite/23_containers/vector/capacity/8230.cc: Likewise.
3496 * testsuite/23_containers/vector/cons/1.cc: Likewise.
3497 * testsuite/23_containers/vector/cons/2.cc: Likewise.
3498 * testsuite/23_containers/vector/cons/3.cc: Likewise.
3499 * testsuite/23_containers/vector/cons/6513.cc: Likewise.
3500 * testsuite/23_containers/vector/element_access/1.cc: Likewise.
3501 * testsuite/23_containers/vector/invalidation/1.cc: Likewise.
3502 * testsuite/23_containers/vector/invalidation/2.cc: Likewise.
3503 * testsuite/23_containers/vector/invalidation/3.cc: Likewise.
3504 * testsuite/23_containers/vector/invalidation/4.cc: Likewise.
3505 * testsuite/23_containers/vector/modifiers/1.cc: Likewise.
3506 * testsuite/23_containers/vector/modifiers/2.cc: Likewise.
3507 * testsuite/23_containers/vector/modifiers/swap.cc: Likewise.
3508 * testsuite/23_containers/vector/resize/1.cc: Likewise.
3509 * testsuite/24_iterators/back_insert_iterator.cc: Likewise.
3510 * testsuite/24_iterators/front_insert_iterator.cc: Likewise.
3511 * testsuite/24_iterators/insert_iterator.cc: Likewise.
3512 * testsuite/24_iterators/iterator.cc: Likewise.
3513 * testsuite/25_algorithms/copy/1.cc: Likewise.
3514 * testsuite/25_algorithms/copy/2.cc: Likewise.
3515 * testsuite/25_algorithms/copy/3.cc: Likewise.
3516 * testsuite/25_algorithms/copy/4.cc: Likewise.
3517 * testsuite/25_algorithms/equal.cc: Likewise.
3518 * testsuite/25_algorithms/fill/1.cc: Likewise.
3519 * testsuite/25_algorithms/fill/2.cc: Likewise.
3520 * testsuite/25_algorithms/min_max.cc: Likewise.
3521 * testsuite/25_algorithms/rotate.cc: Likewise.
3522 * testsuite/25_algorithms/unique/1.cc: Likewise.
3523 * testsuite/25_algorithms/unique/2.cc: Likewise.
3524 * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9874.cc: Likewise.
3525 * testsuite/ext/concept_checks.cc: Likewise.
3526 * testsuite/ext/hash_map/1.cc: Likewise.
3527 * testsuite/ext/hash_set/1.cc: Likewise.
3528 * testsuite/ext/rope/1.cc: Likewise.
3529 * testsuite/ext/rope/2.cc: Likewise.
3530 * testsuite/ext/rope/3.cc: Likewise.
3531 * testsuite/thread/pthread1.cc: Likewise.
3532 * testsuite/thread/pthread4.cc: Likewise.
3533 * testsuite/thread/pthread5.cc: Likewise.
3534 * testsuite/thread/pthread6.cc: Likewise.
3535 * testsuite/thread/pthread7-rope.cc: Likewise.
3537 2005-03-15 Zack Weinberg <zack@codesourcery.com>
3539 * include/Makefile.am (c++config.h): Depend on DATESTAMP from gcc
3540 subdirectory. Generate #define of __GLIBCXX__ from contents of
3542 * include/Makefile.in: Regenerate.
3543 * include/bits/c++config: Do not define __GLIBCXX__.
3545 2005-03-15 Paolo Carlini <pcarlini@suse.de>
3548 * include/std/std_complex.h (pow(const complex<_Tp>&,
3549 const _Tp&)): On non-c99 platforms, don't try to compute
3550 log of complex zero.
3552 2005-03-10 Ben Elliston <bje@au.ibm.com>
3554 * testsuite/22_locale/locale/cons/12658_thread-1.cc: Don't XFAIL
3557 2005-03-07 Paolo Carlini <pcarlini@suse.de>
3559 * include/tr1/type_traits (is_polymorphic): Don't forget
3560 the virtual destructor, thus avoiding warnings.
3561 * testsuite/testsuite_tr1.h (class AbstractClass,
3562 class PolymorphicClass): Likewise.
3564 2005-03-07 Paolo Carlini <pcarlini@suse.de>
3566 * include/std/std_complex.h (pow(const complex<_Tp>&,
3567 const complex<_Tp>&)): Dispatch to either __complex_pow(__x.__rep(),
3568 __y.__rep()) or __complex_pow(__x, __y) depending on the macro
3569 _GLIBCXX_USE_C99_COMPLEX.
3571 2005-03-07 Paolo Carlini <pcarlini@suse.de>
3573 * include/std/std_fstream.h (basic_fstream<>::open,
3574 basic_ifstream<>::open, basic_ofstream<>::open): Implement the
3575 resolution of DR 409 [Ready], call clear() on success.
3576 * docs/html/ext/howto.html: Add an entry for DR 409.
3577 * docs/html/faq/index.html (4_4): Clarify the new behavior.
3578 * testsuite/27_io/basic_ifstream/open/char/1.cc: Adjust.
3579 * testsuite/27_io/basic_ofstream/open/char/1.cc: Likewise.
3581 2005-03-05 Joseph S. Myers <joseph@codesourcery.com>
3583 * testsuite/22_locale/collate/compare/wchar_t/2.cc,
3584 testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc,
3585 testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc,
3586 testsuite/22_locale/collate/hash/wchar_t/2.cc,
3587 testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc,
3588 testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc,
3589 testsuite/22_locale/collate/transform/wchar_t/2.cc,
3590 testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc,
3591 testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc:
3592 XFAIL on *-*-hpux11.23.
3594 2005-03-04 Paolo Carlini <pcarlini@suse.de>
3596 * include/tr1/type_traits: Add is_base_of.
3597 * testsuite/tr1/4_metaprogramming/relationships_between_types/
3598 is_base_of/is_base_of.cc: New.
3599 * testsuite/tr1/4_metaprogramming/relationships_between_types/
3600 is_base_of/typedefs.cc: Likewise.
3602 2005-03-03 Benjamin Kosnik <bkoz@redhat.com>
3604 * include/tr1/functional: Convert relative path.
3606 * docs/doxygen/user.cfg.in: Add tr1 includes.
3608 2005-03-03 Paolo Carlini <pcarlini@suse.de>
3610 * include/tr1/type_traits: Implemenet is_polymorphic.
3611 (is_empty): Minor tweaks.
3612 * testsuite/testsuite_tr1.h: Add test types.
3613 * testsuite/tr1/4_metaprogramming/type_properties/
3614 is_polymorphic/is_polymorphic.cc: New.
3615 * testsuite/tr1/4_metaprogramming/type_properties/
3616 is_polymorphic/typedefs.cc: Likewise.
3617 * testsuite/tr1/4_metaprogramming/composite_type_traits/
3618 is_union_or_class/is_union_or_class.cc: Add tests.
3620 2005-03-02 Douglas Gregor <doug.gregor@gmail.com>
3622 * include/tr1/functional (_Has_result_type): Cleanup.
3623 (_Result_of_impl): Handle member data pointers correctly.
3624 (reference_wrapper): Support invocation.
3625 Move repetition code into new file include/tr1/repeat.h.
3626 * include/tr1/functional_iterate.h (reference_wrapper): Support
3627 invocation. Cleanup long lines.
3628 * include/tr1/ref_wrap_iterate.h (reference_wrapper): Declare
3629 invocation operators.
3630 * include/tr1/repeat.h: Code repetition header.
3631 * include/Makefile.am: Add ref_wrap_iterate.h, repeat.h.
3632 * include/Makefile.in: Add ref_wrap_iterate.h, repeat.h.
3633 * testsuite/tr1/3_function_objects/reference_wrapper/invoke.cc:
3634 New test of reference_wrapper invocation.
3635 * testsuite/tr1/3_function_objects/reference_wrapper/typedefs.cc:
3636 New test of reference_wrapper typedefs and base classes.
3637 * testsuite/tr1/3_function_objects/result_of.cc: Trivial cleanup
3640 2005-03-02 Douglas Gregor <doug.gregor@gmail.com>
3642 * include/tr1/function (result_of): New class template.
3643 * include/tr1/functional/iterator.h: Implementation of TR1
3645 * testsuite/tr1/3_function_objects/result_of.cc: New test
3647 2005-03-01 Vladimir Merzliakov <wanderer@rsu.ru>
3649 * testsuite/26_numerics/cmath/c99_classification_macros_c.cc: Tweak.
3651 2005-02-28 Benjamin Kosnik <bkoz@redhat.com>
3653 * testsuite/tr1/2_general_utilities/memory/shared_ptr/
3654 cons/auto_ptr_neg.cc: Correct line numbers.
3656 * testsuite/testsuite_abi.cc: Add CXXABI_1.3.1.
3658 2005-02-28 Jonathan Wakely <redi@gcc.gnu.org>
3660 * include/tr1/memory: Replace checked_deleter with (unchecked)
3661 _Sp_deleter as GCC warns about delete on incomplete types anyway.
3663 2005-02-28 Jonathan Wakely <redi@gcc.gnu.org>
3665 * include/tr1/memory: Add missing "inline" to __throw_bad_weak_ptr.
3667 2005-02-28 Hans-Peter Nilsson <hp@axis.com>
3670 * config/cpu/cris/atomicity.h (__exchange_and_add): In asm, use
3671 'Q' constraint, not 'm'.
3673 2005-02-26 Earl Chew <earl_chew@agilent.com>
3674 Christopher Jefferson <chris@bubblescope.net>
3676 * include/bits/stl_tree.h (_Rb_tree<>::_M_insert): Don't leak
3677 memory if _M_key_compare throws.
3679 2005-02-25 Paolo Carlini <pcarlini@suse.de>
3681 * include/tr1/type_traits: Add the trivial is_union and is_class;
3682 add the __is_union_or_class extension.
3683 (is_enum, is_empty): Use the latter.
3684 * include/tr1/type_traits_fwd.h: Add __is_union_or_class.
3685 * testsuite/testsuite_tr1.h: Add UnionType; trivial formatting
3687 * testsuite/tr1/4_metaprogramming/composite_type_traits/
3688 is_union_or_class/is_union_or_class.cc: New.
3689 * testsuite/tr1/4_metaprogramming/composite_type_traits/
3690 is_union_or_class/typedefs.cc: Likewise.
3692 2005-02-24 Benjamin Kosnik <bkoz@redhat.com>
3694 * testsuite/tr1/6_containers/unordered/instantiate/hash.cc: Guard
3695 wchar_t use with _GLIBCXX_USE_WCHAR_T.
3697 2005-02-24 Benjamin Kosnik <bkoz@redhat.com>
3699 * include/std/std_complex.h: _GLIBCXX_USE_C99_COMPLEX_MATH to
3700 _GLIBCXX_USE_C99_COMPLEX.
3701 * acinclude.m4: Same.
3703 * configure: Regenerate.
3704 * config.h.in: Same.
3706 2005-02-24 Paolo Carlini <pcarlini@suse.de>
3708 * include/tr1/functional (mem_fn): Avoid _T, badname on
3711 2005-02-23 Douglas Gregor <doug.gregor@gmail.com>
3713 * include/tr1/functional (function): New class template.
3714 (mem_fn): New function template.
3715 Implementations of TR1 function and mem_fn facilities.
3716 * include/tr1/functional_iterate.h: Implementations of TR1
3717 function and mem_fn facilities.
3718 * testsuite/tr1/3_function_objects/function/1.cc: New
3719 test of std::tr1::function.
3720 * testsuite/tr1/3_function_objects/function/2.cc: New
3721 test of std::tr1::function.
3722 * testsuite/tr1/3_function_objects/function/3.cc: New
3723 test of std::tr1::function.
3724 * testsuite/tr1/3_function_objects/function/4.cc: New
3725 test of std::tr1::function.
3726 * testsuite/tr1/3_function_objects/function/5.cc: New
3727 test of std::tr1::function.
3728 * testsuite/tr1/3_function_objects/function/6.cc: New
3729 test of std::tr1::function.
3730 * testsuite/tr1/3_function_objects/function/7.cc: New
3731 test of std::tr1::function.
3732 * testsuite/tr1/3_function_objects/function/8.cc: New
3733 test of std::tr1::function.
3734 * testsuite/tr1/3_function_objects/function/9.cc: New
3735 test of std::tr1::function.
3736 * testsuite/tr1/3_function_objects/mem_fn.cc: New test of
3739 2005-02-23 Paolo Carlini <pcarlini@suse.de>
3741 * include/tr1/type_traits: Implement is_convertible.
3742 * testsuite/tr1/4_metaprogramming/relationships_between_types/
3743 is_convertible/is_convertible.cc: New.
3744 * testsuite/tr1/4_metaprogramming/relationships_between_types/
3745 is_convertible/typedefs.cc: Likewise.
3746 * testsuite/testsuite_tr1.h: Add class DerivedType.
3748 * include/tr1/type_traits (is_function): Don't mistake references
3749 to function types for function types.
3750 * testsuite/tr1/4_metaprogramming/primary_type_categories/
3751 is_function/is_function.cc: Add testcase.
3753 2005-02-22 Benjamin Kosnik <bkoz@redhat.com>
3755 * scripts/check_performance: Tweaks.
3757 * testsuite/27_io/basic_ostream/inserters_other/wchar_t/2.cc: Name
3758 output file with extension that clean rules can find.
3760 2005-02-22 Richard Henderson <rth@redhat.com>
3763 * libsupc++/eh_catch.cc (__cxa_begin_catch): Don't special case
3764 decrement of uncaughtExceptions for rethrow.
3766 2005-02-22 Paolo Carlini <pcarlini@suse.de>
3768 * include/tr1/functional: Fix License to GPL with exception.
3769 * include/tr1/hashtable: Likewise.
3770 * include/tr1/tuple: Likewise.
3771 * include/tr1/type_traits: Likewise.
3772 * include/tr1/type_traits_fwd.h: Likewise.
3773 * include/tr1/unordered_map: Likewise.
3774 * include/tr1/unordered_set: Likewise.
3775 * include/tr1/utility: Likewise.
3777 2005-02-22 Paolo Carlini <pcarlini@suse.de>
3779 * testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/
3780 auto_ptr_neg.cc: Add missing dg-do compile directive.
3781 * testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/
3782 auto_ptr_rvalue_neg.cc: Likewise.
3783 * testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/
3784 shared_ptr_neg.cc: Likewise.
3785 * testsuite/tr1/2_general_utilities/memory/shared_ptr/cons/
3786 auto_ptr_neg.cc: Likewise.
3787 * testsuite/tr1/2_general_utilities/memory/shared_ptr/modifiers/
3788 reset_neg.cc: Likewise.
3789 * testsuite/tr1/2_general_utilities/memory/shared_ptr/modifiers/
3790 swap_neg.cc: Likewise.
3792 2005-02-22 Jonathan Wakely <redi@gcc.gnu.org>
3794 * include/Makefile.am, include/Makefile.in: Fix accidental extra
3795 change from previous commit.
3797 2005-02-21 Jonathan Wakely <redi@gcc.gnu.org>
3799 * include/tr1/memory: New file.
3800 * include/Makefile.am, include/Makefile.in: Add new TR1 header.
3801 * testsuite/tr1/2_general_utilities/memory/
3802 enable_shared_from_this/not_shared.cc: New test.
3803 * testsuite/tr1/2_general_utilities/memory/
3804 enable_shared_from_this/not_shared2.cc: New test.
3805 * testsuite/tr1/2_general_utilities/memory/
3806 enable_shared_from_this/not_shared3.cc: New test.
3807 * testsuite/tr1/2_general_utilities/memory/
3808 enable_shared_from_this/shared.cc: New test.
3809 * testsuite/tr1/2_general_utilities/memory/
3810 enable_shared_from_this/still_shared.cc: New test.
3811 * testsuite/tr1/2_general_utilities/memory/
3812 shared_ptr/assign/assign.cc: New test.
3813 * testsuite/tr1/2_general_utilities/memory/
3814 shared_ptr/assign/auto_ptr.cc: New test.
3815 * testsuite/tr1/2_general_utilities/memory/
3816 shared_ptr/assign/auto_ptr_neg.cc: New test.
3817 * testsuite/tr1/2_general_utilities/memory/
3818 shared_ptr/assign/auto_ptr_rvalue_neg.cc: New test.
3819 * testsuite/tr1/2_general_utilities/memory/
3820 shared_ptr/assign/shared_ptr.cc: New test.
3821 * testsuite/tr1/2_general_utilities/memory/
3822 shared_ptr/assign/shared_ptr_neg.cc: New test.
3823 * testsuite/tr1/2_general_utilities/memory/
3824 shared_ptr/comparison/cmp.cc: New test.
3825 * testsuite/tr1/2_general_utilities/memory/
3826 shared_ptr/cons/auto_ptr.cc: New test.
3827 * testsuite/tr1/2_general_utilities/memory/
3828 shared_ptr/cons/auto_ptr_neg.cc: New test.
3829 * testsuite/tr1/2_general_utilities/memory/
3830 shared_ptr/cons/copy.cc: New test.
3831 * testsuite/tr1/2_general_utilities/memory/
3832 shared_ptr/cons/default.cc: New test.
3833 * testsuite/tr1/2_general_utilities/memory/
3834 shared_ptr/cons/pointer.cc: New test.
3835 * testsuite/tr1/2_general_utilities/memory/
3836 shared_ptr/cons/weak_ptr.cc: New test.
3837 * testsuite/tr1/2_general_utilities/memory/
3838 shared_ptr/cons/weak_ptr_expired.cc: New test.
3839 * testsuite/tr1/2_general_utilities/memory/
3840 shared_ptr/dest/dest.cc: New test.
3841 * testsuite/tr1/2_general_utilities/memory/
3842 shared_ptr/misc/io.cc: New test.
3843 * testsuite/tr1/2_general_utilities/memory/
3844 shared_ptr/misc/swap.cc: New test.
3845 * testsuite/tr1/2_general_utilities/memory/
3846 shared_ptr/modifiers/reset.cc: New test.
3847 * testsuite/tr1/2_general_utilities/memory/
3848 shared_ptr/modifiers/reset_neg.cc: New test.
3849 * testsuite/tr1/2_general_utilities/memory/
3850 shared_ptr/modifiers/swap.cc: New test.
3851 * testsuite/tr1/2_general_utilities/memory/
3852 shared_ptr/modifiers/swap_neg.cc: New test.
3853 * testsuite/tr1/2_general_utilities/memory/
3854 shared_ptr/observers/bool_conv.cc: New test.
3855 * testsuite/tr1/2_general_utilities/memory/
3856 shared_ptr/observers/get.cc: New test.
3857 * testsuite/tr1/2_general_utilities/memory/
3858 shared_ptr/observers/unique.cc: New test.
3859 * testsuite/tr1/2_general_utilities/memory/
3860 shared_ptr/observers/use_count.cc: New test.
3862 2005-02-21 Paolo Carlini <pcarlini@suse.de>
3864 * include/tr1/type_traits (is_member_function_pointer):
3865 Remove ugly workaround for c++/19076.
3867 2005-02-21 Paolo Carlini <pcarlini@suse.de>
3869 * include/bits/basic_string.tcc (_Rep::_M_destroy): Don't
3870 check for this == &_S_empty_rep, it's always false, here.
3872 2005-02-19 Matt Austern <austern@gmail.com>
3874 * include/tr1/functional (tr1_hashtable_define_trivial_hash): Make
3875 hash<T>::operator() a const member function for T a fundamental type
3876 * include/tr1/hashtable (extract1st::operator()): Declare const.
3877 (hash_code_base): Declare all member functions const
3878 (hashtable::find): fix call to this->bucket_count()
3879 (hashtable::count): Likewise.
3880 (hashtable::equal_range): m_incr_bucket applies to iterator, not node.
3881 * testsuite/tr1/6_containers/unordered/find/set1.cc: New test.
3882 * testsuite/tr1/6_containers/unordered/find/map1.cc: New test.
3883 * testsuite/tr1/6_containers/unordered/find/multimap1.cc: New test.
3884 * testsuite/tr1/6_containers/unordered/find/multiset1.cc: New test.
3886 2005-02-19 Hans-Peter Nilsson <hp@axis.com>
3889 * include/tr1/functional (hash<std::wstring>): Wrap in #ifdef
3890 _GLIBCXX_USE_WCHAR_T.
3892 2005-02-18 Richard Henderson <rth@redhat.com>
3895 * config/linker-map.gnu (CXXABI_1.3.1): Add __cxa_get_exception_ptr.
3896 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Increment
3897 uncaughtExceptions here instead of ...
3898 * libsupc++/eh_throw.cc (__cxa_throw) ... here.
3899 (__cxa_rethrow): Increment uncaughtExceptions here instead of ...
3900 * libsupc++/eh_catch.cc (__cxa_end_catch): ... here.
3901 (__cxa_get_exception_ptr): New.
3902 * libsupc++/unwind-cxx.h (__cxa_get_exception_ptr): Declare.
3904 2005-02-18 Matt Austern <austern@apple.com>
3906 * testsuite/tr1/6_containers/unordered/insert/array_syntax.cc: Fix
3907 test case to use assignment instead of ==
3908 * testsuite/tr1/6_containers/unordered/insert/map_range.cc: New test.
3909 * testsuite/tr1/6_containers/unordered/insert/multimap_range.cc: New test.
3910 * testsuite/tr1/6_containers/unordered/insert/multiset_range.cc: New test.
3911 * testsuite/tr1/6_containers/unordered/insert/set_range.cc: New test.
3913 2005-02-18 Eric Botcazou <ebotcazou@libertysurf.fr>
3915 * testsuite/thread/pthread1.cc: Do not invoke pthread_setconcurrency
3916 on Solaris 2.6 and below.
3917 * testsuite/thread/pthread2.cc: Likewise.
3918 * testsuite/thread/pthread3.cc: Likewise.
3919 * testsuite/thread/pthread4.cc: Likewise.
3920 * testsuite/thread/pthread5.cc: Likewise.
3921 * testsuite/thread/pthread6.cc: Likewise.
3922 * testsuite/thread/pthread7-rope.cc: Likewise.
3924 2005-02-17 Matt Austern <austern@apple.com>
3926 * include/tr1/functional (hash): New function object.
3927 * include/tr1/hashtable: New file.
3928 * include/tr1/unordered_set: New file.
3929 * include/tr1/unordered_map: New file.
3930 * include/Makefile.am: Add three new TR1 headers.
3931 * include/Makefile.in: Likewise.
3932 * testsuite/tr1/6_containers/unordered/insert/array_syntax.cc: New test.
3933 * testsuite/tr1/6_containers/unordered/insert/map_single.cc: New test.
3934 * testsuite/tr1/6_containers/unordered/insert/multimap_single.cc: New test.
3935 * testsuite/tr1/6_containers/unordered/insert/multiset_single.cc: New test.
3936 * testsuite/tr1/6_containers/unordered/insert/set_single.cc: New test.
3937 * testsuite/tr1/6_containers/unordered/instantiate/hash.cc: New test.
3938 * testsuite/tr1/6_containers/unordered/instantiate/map.cc: New test.
3939 * testsuite/tr1/6_containers/unordered/instantiate/multimap.cc: New test.
3940 * testsuite/tr1/6_containers/unordered/instantiate/multiset.cc: New test.
3941 * testsuite/tr1/6_containers/unordered/instantiate/set.cc: New test.
3943 2005-02-16 Paolo Carlini <pcarlini@suse.de>
3945 * testsuite/23_containers/set/modifiers/16728.cc:
3946 Remove redundant include <testsuite_performance.h>.
3948 2005-02-16 Paolo Carlini <pcarlini@suse.de>
3951 * testsuite/21_strings/basic_string/find/char/3.cc: Fix the test
3952 at line #66 to not access str_lit01 beyond its end.
3953 * testsuite/21_strings/basic_string/find/wchar_t/3.cc: Likewise.
3955 2005-02-15 Paolo Carlini <pcarlini@suse.de>
3956 Jon Grimm <jgrimm2@us.ibm.com>
3959 * include/bits/locale_facets.h (ctype<char>::_M_narrow_init()):
3960 Fix the logic setting _M_narrow_ok: first check whether the
3961 transformation is trivial with a dflt == 0, then deal with the
3962 special case of zero.
3963 * testsuite/22_locale/ctype/narrow/char/19955.cc: New.
3965 * include/bits/locale_facets.h (ctype<char>::_M_widen_init()):
3966 Tweak consistently to use memcmp; minor formatting fixes.
3968 2005-02-15 Jakub Jelinek <jakub@redhat.com>
3971 * testsuite/demangle/abi_examples/01.cc (main): Adjust for 2005-02-13
3973 * testsuite/demangle/abi_examples/02.cc (main): Likewise.
3975 2005-02-13 Richard Guenther <rguenth@gcc.gnu.org>
3976 Paolo Carlini <pcarlini@suse.de>
3979 * include/c_std/std_cmath.h (pow): Use __builtin_powi[lf]
3980 for integer overloads.
3982 * testsuite/26_numerics/cmath/powi.cc: New.
3984 2005-02-11 Janis Johnson <janis187@us.ibm.com>
3986 * testsuite/26_numerics/complex/13450.cc: Fix XFAIL selector.
3987 * testsuite/26_numerics/complex/complex_value.cc: Ditto.
3988 * testsuite/26_numerics/complex/pow.cc: Ditto.
3990 * testsuite/lib/libstdc++.exp: Load target-supports-dg.exp.
3991 * testsuite/26_numerics/complex/13450.cc: XFAIL for broken_cplxf_arg.
3992 * testsuite/26_numerics/complex/complex_value.cc: Ditto.
3993 * testsuite/26_numerics/complex/pow.cc: Ditto.
3995 2005-02-09 Mike Stump <mrs@apple.com>
3997 * libsupc++/del_op.cc: Don't include cstdlib when !_GLIBCXX_HOSTED.
3999 2005-02-09 Janis Johnson <janis187@us.ibm.com>
4001 * testsuite/ext/array_allocator/2.cc: XFAIL for powerpc*-*-linux*.
4003 2005-02-08 Mark Mitchell <mark@codesourcery.com>
4005 * config/linker-map.gnu (GLIBCXX_3.4): Add _ZNSdC* and _ZNSdD*.
4007 2005-02-07 Loren J. Rittle <ljrittle@acm.org>
4009 * testsuite/27_io/basic_istream/getline/wchar_t/5.cc: Make buf static.
4010 * testsuite/27_io/basic_stringbuf/setbuf/wchar_t/4.cc: Make ref and
4013 2005-02-02 Brad Spencer <spencer@infointeractive.com>
4015 * debug.html: Fix broken tags.
4016 * documentation.html: Same.
4018 2005-02-02 Andreas Jaeger <aj@suse.de>
4020 * testsuite/lib/libstdc++.exp: Revert Geoffrey Keating's patch
4022 * testsuite/Makefile.am: Likewise.
4023 * testsuite/Makefile.in: Likewise.
4025 2005-02-01 Paolo Carlini <pcarlini@suse.de>
4027 * include/bits/cpp_type_traits.h: Rename _M_type fields to
4028 __value, except for __enable_if, _M_type -> __type, consistently
4029 with the other traits.
4030 * include/bits/stl_algobase.h: Tweak consistently.
4031 * include/bits/stl_tree.h: Likewise.
4032 * include/bits/valarray_array.h: Likewise.
4033 * include/c_std/std_cmath.h: Likewise.
4034 * include/debug/safe_iterator.h: Likewise.
4035 * include/std/std_complex.h: Likewise.
4037 2005-01-31 Brad Spencer <spencer@infointeractive.com>
4039 * crossconfig.m4: Repair Solaris cross bits for strtold and strtof.
4040 * configure: Regenerated.
4042 2005-01-31 Mark Mitchell <mark@codesourcery.com>
4044 * include/std/std_limits.h (numeric_limits<float>::has_denorm):
4046 (numeric_limits<double>::has_denorm): Likewise.
4047 (numeric_limits<long double>::has_denorm): Likewise.
4049 2005-01-31 Paolo Carlini <pcarlini@suse.de>
4050 Gabriel Dos Reis <gdr@integrable-solutions.net>
4052 * include/bits/cpp_type_traits.h: Add types to the structs thus
4053 making type_traits.h redundant; exploit new __truth_type and
4055 * include/bits/type_traits.h: Remove.
4056 * include/Makefile.am: Update.
4057 * include/Makefile.in: Regenerate.
4058 * include/backward/tempbuf.h: Include cpp_type_traits.h instead.
4059 * include/bits/basic_string.h (replace(iterator, iterator,
4060 _InputIterator, _InputIterator), _S_construct(_InIterator,
4061 _InIterator, const _Alloc&)): Use __is_integer instead.
4062 * include/bits/stl_bvector.h (vector(_InputIterator,
4063 _InputIterator, const allocator_type&), assign(_InputIterator,
4064 _InputIterator), insert(iterator, _InputIterator, _InputIterator)):
4066 * include/bits/stl_construct.h (_Destroy(_ForwardIterator,
4067 _ForwardIterator)): Use __is_scalar.
4068 * include/bits/stl_deque.h (deque(_InputIterator, _InputIterator,
4069 const allocator_type&), assign(_InputIterator, _InputIterator),
4070 insert(iterator, _InputIterator, _InputIterator)): Use __is_integer.
4071 * include/bits/stl_list.h (assign(_InputIterator, _InputIterator),
4072 insert(iterator, _InputIterator, _InputIterator)): Likewise.
4073 * include/bits/stl_tempbuf.h (_Temporary_buffer(_ForwardIterator,
4074 _ForwardIterator)): Use __is_scalar.
4075 * include/bits/stl_uninitialized.h (uninitialized_copy(_InputIterator,
4076 _InputIterator, _ForwardIterator), uninitialized_fill(_ForwardIterator,
4077 _ForwardIterator, const _Tp&), uninitialized_fill_n(_ForwardIterator,
4078 _Size, const _Tp&)): Likewise.
4079 * include/bits/stl_vector.h (vector(_InputIterator, _InputIterator,
4080 const allocator_type&), assign(_InputIterator, _InputIterator),
4081 insert(iterator, _InputIterator, _InputIterator)): Use __is_integer.
4082 * include/debug/debug.h (__valid_range(const _InputIterator&,
4083 const _InputIterator&)): Use __is_integer.
4084 * include/ext/slist (assign(_InputIterator, _InputIterator)): Likewise.
4085 * include/std/std_string.h: Include cpp_type_traits.h instead.
4087 2005-01-30 Paolo Carlini <pcarlini@suse.de>
4090 * config/locale/generic/c_locale.h (__convert_from_v): Switch only
4091 LC_NUMERIC, and only when actually != "C".
4093 2005-01-28 Paolo Carlini <pcarlini@suse.de>
4095 * include/tr1/type_traits (is_function): Minor consistency tweaks.
4097 2005-01-28 Geoffrey Keating <geoffk@apple.com>
4099 * testsuite/lib/libstdc++.exp (libstdc++_init): Search the path
4100 for the compiler. Don't set cxxflags.
4101 (v3_target_compile): Search for libv3test.a relative to $objdir.
4102 (lsearch_all_inline): New.
4103 (lsearch_all_inline_not): New.
4104 (v3-list-tests): Rewrite to not need generated files.
4105 * testsuite/Makefile.am (IGNORE_WCHAR_T): New.
4106 (IGNORE_THREAD): New.
4107 (TESTS_TO_IGNORE): New.
4108 (site.exp): Set tests_to_ignore, cxxflags.
4109 * aclocal.m4: Regenerate.
4110 * Makefile.in: Regenerate.
4111 * libmath/Makefile.in: Likewise.
4112 * libsupc++/Makefile.in: Likewise.
4113 * po/Makefile.in: Likewise.
4114 * src/Makefile.in: Likewise.
4115 * testsuite/Makefile.in: Likewise.
4117 2005-01-28 Paolo Carlini <pcarlini@suse.de>
4119 * include/tr1/type_traits: Implement is_empty.
4120 * testsuite/tr1/4_metaprogramming/type_properties/is_empty/
4122 * testsuite/tr1/4_metaprogramming/type_properties/is_empty/
4123 typedefs.cc: Likewise.
4125 * include/tr1/type_traits (__is_abstract_helper): Simplify a bit.
4127 2005-01-28 Paolo Carlini <pcarlini@suse.de>
4129 * include/tr1/type_traits: Implement is_abstract, by exploiting the
4130 resolution of DR core/337.
4131 * testsuite/testsuite_tr1.h: Add AbstractClass.
4132 * testsuite/tr1/4_metaprogramming/type_properties/is_abstract/
4133 is_abstract.cc: New.
4134 * testsuite/tr1/4_metaprogramming/type_properties/is_abstract/
4135 typedefs.cc: Likewise.
4137 * include/tr1/type_traits (is_function): Rewrite, use the conversion
4138 F& -> F* instead, thus avoiding problems with abstract classes.
4139 * testsuite/tr1/4_metaprogramming/primary_type_categories/
4140 is_function/is_function.cc: Add a test for tricky AbstractClass.
4142 2005-01-26 Paolo Carlini <pcarlini@suse.de>
4144 * include/ext/mt_allocator.h
4145 (struct __per_type_pool_policy<,, false>::_S_get_pool,
4146 struct __per_type_pool_policy<,, true>::_S_get_pool): Scale
4147 _M_chunk_size too with sizeof(_Tp), otherwise the allocator
4148 breaks down as soon as sizeof(_Tp) >~ _S_chunk_size / 128;
4149 reduce to 64 the multiplier for _M_max_bytes (safer wrt
4150 _Binmap_type being a short); trivial reformattings.
4151 * testsuite/ext/mt_allocator/check_allocate_big_per_type.cc: New.
4153 2005-01-26 Paolo Carlini <pcarlini@suse.de>
4155 * acinclude.m4 ([GLIBCXX_ENABLE_C99]): Add ac_c99_complex
4156 to the final test for enable_c99, thus robustifying it; remove
4157 duplicate final test on ac_99_math.
4158 * configure: Regenerate.
4160 * include/std/std_complex.h: Remove usages of the dead
4161 _GLIBCXX_BUGGY_COMPLEX macro.
4163 * testsuite/26_numerics/cmath/19322.cc: Protect with
4164 _GLIBCXX_USE_C99_MATH instead of the stronger _GLIBCXX_USE_C99,
4165 since only C99 math facilities are involved.
4166 * testsuite/26_numerics/cmath/c99_classification_macros_c++.cc:
4169 2005-01-25 Loren J. Rittle <ljrittle@acm.org>
4171 * acinclude.m4 (GLIBCXX_ENABLE_CLOCALE): Map FreeBSD to darwin
4172 instead of generic. Change autoconf report to "darwin or freebsd".
4173 * configure: Regenerate.
4174 * config/os/bsd/freebsd/ctype_inline.h (ctype<wchar_t>::do_is): Add.
4175 (ctype<wchar_t>::do_scan_is): Likewise.
4176 (ctype<wchar_t>::do_scan_not): Likewise.
4178 2005-01-25 Benjamin Kosnik <bkoz@redhat.com>
4180 * acinclude.m4 (GLIBCXX_ENABLE_C99): Test for complex math
4181 functions, and enable _GLIBCXX_USE_C99_COMPLEX_MATH if they exist.
4182 * acconfig.h: Add _GLIBCXX_USE_C99_COMPLEX_MATH.
4183 * config.h.in: Regenerate.
4184 * configure: Regenerate.
4185 * include/std/std_complex.h: Protect complex builtins with
4186 _GLIBCXX_USE_C99_COMPLEX_MATH.
4188 2005-01-24 Paolo Carlini <pcarlini@suse.de>
4190 * include/tr1/type_traits: Implement is_signed and is_unsigned.
4191 * testsuite/tr1/4_metaprogramming/type_properties/
4192 is_signed/is_signed.cc: New.
4193 * testsuite/tr1/4_metaprogramming/type_properties/
4194 is_signed/typedefs.cc: Likewise.
4195 * testsuite/tr1/4_metaprogramming/type_properties/
4196 is_unsigned/is_unsigned.cc: Likewise.
4197 * testsuite/tr1/4_metaprogramming/type_properties/
4198 is_unsigned/typedefs.cc: Likewise.
4200 2005-01-23 Paolo Carlini <pcarlini@suse.de>
4202 * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 34.
4204 2005-01-23 Paolo Carlini <pcarlini@suse.de>
4206 * testsuite/27_io/basic_ostream/cons/wchar_t/9827.cc: New.
4207 * testsuite/27_io/basic_ostream/endl/wchar_t/1.cc: Likewise.
4208 * testsuite/27_io/basic_ostream/ends/wchar_t/1.cc: Likewise.
4209 * testsuite/27_io/basic_ostream/ends/wchar_t/2.cc: Likewise.
4210 * testsuite/27_io/basic_ostream/exceptions/wchar_t/9561.cc: Likewise.
4211 * testsuite/27_io/basic_ostream/flush/wchar_t/1.cc: Likewise.
4212 * testsuite/27_io/basic_ostream/flush/wchar_t/2.cc: Likewise.
4213 * testsuite/27_io/basic_ostream/flush/wchar_t/
4214 exceptions_badbit_throw.cc: Likewise.
4215 * testsuite/27_io/basic_ostream/inserters_arithmetic/
4216 wchar_t/2.cc: Likewise.
4217 * testsuite/27_io/basic_ostream/inserters_arithmetic/
4218 wchar_t/3.cc: Likewise.
4219 * testsuite/27_io/basic_ostream/inserters_arithmetic/
4220 wchar_t/4.cc: Likewise.
4221 * testsuite/27_io/basic_ostream/inserters_arithmetic/
4222 wchar_t/4402.cc: Likewise.
4223 * testsuite/27_io/basic_ostream/inserters_arithmetic/
4224 wchar_t/5.cc: Likewise.
4225 * testsuite/27_io/basic_ostream/inserters_arithmetic/
4226 wchar_t/6.cc: Likewise.
4227 * testsuite/27_io/basic_ostream/inserters_arithmetic/
4228 wchar_t/9555-oa.cc: Likewise.
4229 * testsuite/27_io/basic_ostream/inserters_arithmetic/
4230 wchar_t/exceptions_badbit_throw.cc: Likewise.
4231 * testsuite/27_io/basic_ostream/inserters_arithmetic/
4232 wchar_t/exceptions_failbit_throw.cc: Likewise.
4233 * testsuite/27_io/basic_ostream/inserters_character/
4234 wchar_t/1.cc: Likewise.
4235 * testsuite/27_io/basic_ostream/inserters_character/
4236 wchar_t/2.cc: Likewise.
4237 * testsuite/27_io/basic_ostream/inserters_character/
4238 wchar_t/3.cc: Likewise.
4239 * testsuite/27_io/basic_ostream/inserters_character/
4240 wchar_t/4.cc: Likewise.
4241 * testsuite/27_io/basic_ostream/inserters_character/
4242 wchar_t/5.cc: Likewise.
4243 * testsuite/27_io/basic_ostream/inserters_character/
4244 wchar_t/6.cc: Likewise.
4245 * testsuite/27_io/basic_ostream/inserters_character/
4246 wchar_t/9555-oc.cc: Likewise.
4247 * testsuite/27_io/basic_ostream/inserters_other/
4248 wchar_t/1.cc: Likewise.
4249 * testsuite/27_io/basic_ostream/inserters_other/
4250 wchar_t/2.cc: Likewise.
4251 * testsuite/27_io/basic_ostream/inserters_other/
4252 wchar_t/3.cc: Likewise.
4253 * testsuite/27_io/basic_ostream/inserters_other/
4254 wchar_t/4.cc: Likewise.
4255 * testsuite/27_io/basic_ostream/inserters_other/
4256 wchar_t/5.cc: Likewise.
4257 * testsuite/27_io/basic_ostream/inserters_other/
4258 wchar_t/9318-out.cc: Likewise.
4259 * testsuite/27_io/basic_ostream/inserters_other/
4260 wchar_t/9424-out.cc: Likewise.
4261 * testsuite/27_io/basic_ostream/inserters_other/
4262 wchar_t/9555-oo.cc: Likewise.
4263 * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
4264 error_failbit.cc: Likewise.
4265 * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
4266 exceptions_badbit_throw.cc: Likewise.
4267 * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
4268 exceptions_failbit_throw.cc: Likewise.
4269 * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
4270 exceptions_null.cc: Likewise.
4271 * testsuite/27_io/basic_ostream/put/char/1.cc: Likewise.
4272 * testsuite/27_io/basic_ostream/put/wchar_t/1.cc: Likewise.
4273 * testsuite/27_io/basic_ostream/seekp/char/
4274 exceptions_badbit_throw.cc: Likewise.
4275 * testsuite/27_io/basic_ostream/seekp/wchar_t/
4276 2346-fstream.cc: Likewise.
4277 * testsuite/27_io/basic_ostream/seekp/wchar_t/
4278 2346-sstream.cc: Likewise.
4279 * testsuite/27_io/basic_ostream/seekp/wchar_t/
4280 exceptions_badbit_throw.cc: Likewise.
4281 * testsuite/27_io/basic_ostream/sentry/wchar_t/1.cc: Likewise.
4282 * testsuite/27_io/basic_ostream/sentry/wchar_t/2.cc: Likewise.
4283 * testsuite/27_io/basic_ostream/tellp/wchar_t/1.cc: Likewise.
4284 * testsuite/27_io/basic_ostream/tellp/wchar_t/2.cc: Likewise.
4285 * testsuite/27_io/basic_ostream/tellp/wchar_t/
4286 exceptions_badbit_throw.cc: Likewise.
4287 * testsuite/27_io/basic_ostream/write/wchar_t/1.cc: Likewise.
4289 * testsuite/data/wostream_inserter_char-1.tst: Likewise.
4290 * testsuite/data/wostream_inserter_char-1.txt: Likewise.
4291 * testsuite/data/wostream_inserter_other-1.tst: Likewise.
4292 * testsuite/data/wostream_inserter_other-2.tst: Likewise.
4293 * testsuite/data/wostream_seeks-1.tst: Likewise.
4295 * testsuite/27_io/basic_ostream/endl/char/1.cc: Minor tweaks.
4296 * testsuite/27_io/basic_ostream/ends/char/1.cc: Likewise.
4297 * testsuite/27_io/basic_ostream/exceptions/char/9561.cc: Likewise.
4298 * testsuite/27_io/basic_ostream/flush/char/1.cc: Likewise.
4299 * testsuite/27_io/basic_ostream/flush/char/2.cc: Likewise.
4300 * testsuite/27_io/basic_ostream/flush/char/
4301 exceptions_badbit_throw.cc: Likewise.
4302 * testsuite/27_io/basic_ostream/inserters_arithmetic/
4303 char/2.cc: Likewise.
4304 * testsuite/27_io/basic_ostream/inserters_arithmetic/
4305 char/3.cc: Likewise.
4306 * testsuite/27_io/basic_ostream/inserters_arithmetic/
4307 char/4.cc: Likewise.
4308 * testsuite/27_io/basic_ostream/inserters_arithmetic/
4309 char/4402.cc: Likewise.
4310 * testsuite/27_io/basic_ostream/inserters_arithmetic/
4311 char/5.cc: Likewise.
4312 * testsuite/27_io/basic_ostream/inserters_arithmetic/
4313 char/6.cc: Likewise.
4314 * testsuite/27_io/basic_ostream/inserters_character/
4315 char/4.cc: Likewise.
4316 * testsuite/27_io/basic_ostream/inserters_other/char/
4318 * testsuite/27_io/basic_ostream/inserters_other/char/
4320 * testsuite/27_io/basic_ostream/inserters_other/char/
4321 error_failbit.cc: Likewise.
4322 * testsuite/27_io/basic_ostream/inserters_other/char/
4323 exceptions_badbit_throw.cc: Likewise.
4324 * testsuite/27_io/basic_ostream/inserters_other/char/
4325 exceptions_failbit_throw.cc: Likewise.
4326 * testsuite/27_io/basic_ostream/inserters_other/char/
4327 exceptions_null.cc: Likewise.
4328 * testsuite/27_io/basic_ostream/put/char/1.cc: Likewise.
4329 * testsuite/27_io/basic_ostream/seekp/char/
4330 exceptions_badbit_throw.cc: Likewise.
4331 * testsuite/27_io/basic_ostream/sentry/char/2.cc: Likewise.
4332 * testsuite/27_io/basic_ostream/write/char/1.cc: Likewise.
4334 2005-01-23 Paolo Carlini <pcarlini@suse.de>
4336 * include/tr1/type_traits (aligned_storage): Use __aligned__ instead
4339 2005-01-23 Paolo Carlini <pcarlini@suse.de>
4340 Andreas Jaeger <aj@suse.de>
4343 * include/bits/functexcept.h: Mark the helpers as 'noreturn'.
4345 2005-01-21 Loren J. Rittle <ljrittle@acm.org>
4347 * testsuite/27_io/basic_filebuf/open/char/9507.cc: Allow
4348 lseek on fifo to succeed. Thus, check for consistent report.
4350 2005-01-21 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
4353 * include/bits/stl_list.h (_List_iterator): Initialize _M_node
4355 (_List_const_iterator): Likewise.
4356 * include/bits/stl_tree.h (_Rb_tree_iterator): Likewise.
4357 (_Rb_tree_const_iterator): Likewise.
4359 * testsuite/23_containers/map/operators/1_neg.cc: Adjust line numbers.
4360 * testsuite/23_containers/set/operators/1_neg.cc: Likewise.
4362 2005-01-20 Benjamin Kosnik <bkoz@redhat.com>
4364 * testsuite/Makefile.am (check-compile): New.
4365 * testsuite/Makefile.in: Regenerate.
4366 * scripts/check_compile_time: New.
4367 * scripts/check_performance: Tweaks.
4369 2005-01-19 Paolo Carlini <pcarlini@suse.de>
4372 * include/tr1/utility (struct __pair_get<1>::__get, __const_get):
4373 Fix typo in the return type.
4374 * testsuite/tr1/6_containers/utility/19535.cc: New.
4376 2005-01-19 Loren J. Rittle <ljrittle@acm.org>
4378 * include/ext/array_allocator.h (array_allocator<>::allocate):
4379 Avoid __used. Use __array_used instead.
4380 * docs/html/17_intro/BADNAMES: Add list for FreeBSD.
4382 2005-01-18 David Edelsohn <edelsohn@gnu.org>
4384 * config/os/aix/os_defines.h (_XOPEN_SOURCE): Delete.
4385 (_XOPEN_SOURCE_EXTENDED): Delete.
4387 2005-01-18 Benjamin Kosnik <bkoz@redhat.com>
4389 * testsuite/testsuite_performance.h (time_counter::start):
4391 (clear_counters): Inline.
4392 (start_counters): Inline.
4393 (stop_counters): Inline.
4394 * testsuite/performance/20_util/allocator/map_thread.cc: Return.
4395 * testsuite/performance/20_util/allocator/insert.cc: Remove bogus
4397 * testsuite/performance/20_util/allocator/map_thread.cc: Same.
4399 2005-01-17 Paolo Carlini <pcarlini@suse.de>
4402 * include/bits/stl_tree.h (_Rb_tree<>::insert_unique(iterator,
4403 const _Val&), _Rb_tree<>::insert_equal(iterator, const _Val&)):
4404 Obtain amortized constant complexity if t is inserted right after
4405 p - not before p - as per Table 69.
4406 * testsuite/performance/23_containers/set_insert_from_sorted.cc: New.
4408 * testsuite/23_containers/multiset/insert/2.cc: New.
4409 * testsuite/23_containers/set/insert/1.cc: Likewise.
4411 * testsuite/performance/23_containers/set_create_from_sorted.cc:
4414 * include/bits/stl_tree.h: Add a few missing std:: qualifications.
4416 2005-01-16 Jonathan Wakely <redi@gcc.gnu.org>
4418 * include/ext/rope: Qualify calls to std::copy() by sequence_buffer.
4419 * testsuite/ext/rope/4.cc: Add.
4421 2005-01-16 Lorenz Minder <lminder@gmx.net>
4422 Paolo Carlini <pcarlini@suse.de>
4425 * include/c_std/std_cmath.h: Define the C99 classification facilities
4426 directly inside namespace std:.
4427 * testsuite/26_numerics/cmath/19322.cc: New.
4429 2005-01-15 David Edelsohn <edelsohn@gnu.org>
4431 * config/os/aix/os_defines.h (_G_USING_THUNKS): Delete.
4433 2005-01-14 Paolo Carlini <pcarlini@suse.de>
4436 * include/bits/stl_tree.h (_Rb_tree<>::insert_equal(_II, _II),
4437 _Rb_tree<>::insert_unique(_II, _II)): Use insert_equal (insert_unique,
4438 respectively) with hint (end()).
4439 * testsuite/performance/23_containers/set_create_from_sorted.cc: New.
4441 2005-01-13 Geoffrey Keating <geoffk@apple.com>
4443 * configure.host (darwin): On darwin8 or later, no need to build
4444 libstdc++ with -flat_namespace.
4446 2005-01-13 Jonathan Wakely <redi@gcc.gnu.org>
4448 * docs/doxygen/user.cfg.in: Set HAVE_DOT back to YES.
4450 2005-01-13 Paolo Carlini <pcarlini@suse.de>
4452 * testsuite/26_numerics/cmath/c99_classification_macros_c++.cc:
4453 Re-enable commented-out test for double type.
4455 2005-01-11 Paolo Carlini <pcarlini@suse.de>
4456 Benjamin Kosnik <bkoz@redhat.com>
4458 * src/istream.cc (basic_istream<char>::ignore(streamsize),
4459 basic_istream<char>::ignore(streamsize, int_type),
4460 basic_istream<wchar_t>::ignore(streamsize),
4461 basic_istream<wchar_t>::ignore(streamsize, int_type)): In case
4462 more than numeric_limits<streamsize>::max() chars are skipped,
4463 set _M_gcount = max().
4464 * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
4465 int_type)): Likewise; keep simple, don't forward.
4467 2005-01-11 Paolo Carlini <pcarlini@suse.de>
4469 * src/istream.cc (basic_istream<char>::ignore(streamsize),
4470 basic_istream<char>::ignore(streamsize, int_type),
4471 basic_istream<wchar_t>::ignore(streamsize),
4472 basic_istream<wchar_t>::ignore(streamsize, int_type)): Revert
4473 2005-01-05 change: actually, the previous behavior is conforming
4474 and consistent with that of get(char_type*, streamsize, char_type),
4475 albeit slightly different from that of 3.3/3.4 in a corner case
4476 due to the use of snextc.
4477 * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
4478 int_type)): Likewise.
4479 * testsuite/27_io/basic_istream/ignore/char/4.cc: Remove.
4480 * testsuite/27_io/basic_istream/ignore/wchar_t/4.cc: Likewise.
4482 2005-01-11 Paolo Carlini <pcarlini@suse.de>
4484 * include/tr1/type_traits: Implement alignment_of and aligned_storage.
4485 * testsuite/tr1/4_metaprogramming/other_transformations/
4486 aligned_storage/aligned_storage.cc: New.
4487 * testsuite/tr1/4_metaprogramming/other_transformations/
4488 aligned_storage/typedefs.cc: Likewise.
4489 * testsuite/tr1/4_metaprogramming/type_properties/
4490 alignment_of/alignment_of.cc: Likewise.
4491 * testsuite/tr1/4_metaprogramming/type_properties/
4492 alignment_of/typedefs.cc: Likewise.
4494 2005-01-10 Paolo Carlini <pcarlini@suse.de>
4496 * Makefile.in: Regenerate.
4497 * libmath/Makefile.in: Likewise.
4498 * libsupc++/Makefile.in: Likewise.
4499 * po/Makefile.in: Likewise.
4500 * src/Makefile.in: Likewise.
4501 * testsuite/Makefile.in: Likewise.
4503 2005-01-10 Paolo Carlini <pcarlini@suse.de>
4505 * include/bits/stl_algobase.h (lexicographical_compare):
4508 2005-01-07 Benjamin Kosnik <bkoz@redhat.com>
4510 * acinclude.m4: Remove CCODECVT_H.
4511 * configure: Regenerate.
4512 * include/Makefile.am (host_headers_extra): Move to...
4513 (ext_headers): ...here.
4514 * include/Makefile.in: Regenerate.
4515 * include/ext/enc_filebuf: Remove enc_filebuf, consolidate
4517 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Move...
4518 * include/ext/codecvt_specializations.h: ...here. Remove
4519 _GLIBCXX_USE___ENC_TRAITS.
4520 (__enc_traits): To __encoding_state, put in __gnu_cxx namespace.
4521 (enc_char_traits): To __encoding_char_traits, put in __gnu_cxx
4523 * config/locale/generic/codecvt_specializations.h: Remove.
4524 * include/bits/codecvt.h: Remove codecvt_specializations.h include.
4525 * src/codecvt.cc: Remove __enc_traits::_S_max_size.
4527 2005-01-06 Benjamin Kosnik <bkoz@redhat.com>
4529 * include/bits/fstream.tcc: Remove unnecessary qualifications for
4530 uglified data members of basic_filebuf, including _M_buf,
4531 _M_buf_size, _M_mode, _M_pback_init.
4532 * include/std/std_fstream.h: Same.
4534 2005-01-05 Benjamin Kosnik <bkoz@redhat.com>
4536 * testsuite/testsuite_hooks.h:
4537 (copy_constructor::mark_call): Use __throw_runtime_error.
4538 (assignment_operator::mark_call): Same.
4539 * testsuite/testsuite_hooks.cc (verify_demangle): Same.
4540 (locale_data): Remove, just use runtime_error directly.
4541 (environment_variable): Same.
4543 (run_tests_wrapped_locale): Use __throw_runtime_error.
4544 (run_tests_wrapped_env): Same.
4545 (semaphore::semaphore): Same.
4546 (semaphore::signal): Same.
4547 (semaphore::wait): Same.
4548 * testsuite/testsuite_abi.h (symbol_error): Remove, use logic_error.
4549 * testsuite/testsuite_abi.cc (get_symbol): Use __throw_logic_error.
4550 (create_symbols): Use __throw_runtime_error.
4551 * src/bitmap_allocator.cc: Use __throw_bad_alloc.
4553 2005-01-05 Mark Mitchell <mark@codesourcery.com>
4555 * testsuite/27_io/basic_filebuf/open/char/9507.cc: Remove child
4558 2005-01-05 Paolo Carlini <pcarlini@suse.de>
4560 * src/istream.cc (basic_istream<char>::ignore(streamsize),
4561 basic_istream<char>::ignore(streamsize, int_type),
4562 basic_istream<wchar_t>::ignore(streamsize),
4563 basic_istream<wchar_t>::ignore(streamsize, int_type)): At the end,
4564 first check _M_gcount vs __n.
4565 * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
4566 int_type)): Likewise.
4567 * testsuite/27_io/basic_istream/ignore/char/4.cc: New.
4568 * testsuite/27_io/basic_istream/ignore/wchar_t/4.cc: Likewise.
4570 2005-01-03 Mark Mitchell <mark@codesourcery.com>
4572 * testsuite/testsuite_hooks.cc: Use __throw_exception_again
4573 instead of just throw.
4575 * testsuite/testsuite_hooks.cc: Update coypright and follow style
4577 * testsuite/testsuite_hooks.h: Likewise.
4578 * testsuite/27_io/basic_filebuf/close/char/4879.cc: Use
4579 semaphores, not sleep.
4580 * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise.
4581 * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
4582 * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise.
4583 * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc:
4585 * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise.
4586 * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise.
4587 * testsuite/27_io/objects/char/7.cc: Likewise.
4588 * testsuite/27_io/objects/char/9661-1.cc: Likewise.
4589 * testsuite/27_io/objects/wchar_t/7.cc: Likewise.
4590 * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise.
4592 * configure.ac: Check for sys/ipc.h and sys/sem.h.
4593 * config.h.in: Regenerated.
4594 * configure: Likewise.
4595 * testsuite/testsuite_hooks.cc (_GLIBCXX_SYSV_SEM): Conditionally
4597 (sys/types.h): Include.
4598 (sys/ipc.h): Likewise.
4599 (sys/sem.h): Likewise.
4600 (__gnu_test::semun): New type.
4601 (__gnu_test::semaphore::sempaphore): New function.
4602 (__gnu_test::semaphore::~semaphore): Likewise.
4603 (__gnu_test::semaphore::wait): Likewise.
4604 (__gnu_test::semaphore::signal): Likewise.
4605 * testsuite/testsuite_hooks.h (__gnu_test::semaphore): New class.
4606 * testsuite/27_io/basic_filebuf/close/char/4879.cc: Use
4607 semaphores, not sleep.
4608 * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise.
4609 * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
4610 * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise.
4611 * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc:
4613 * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise.
4614 * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise.
4615 * testsuite/27_io/objects/char/7.cc: Likewise.
4616 * testsuite/27_io/objects/char/9661-1.cc: Likewise.
4617 * testsuite/27_io/objects/wchar_t/7.cc: Likewise.
4618 * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise.
4620 2005-01-03 Paolo Carlini <pcarlini@suse.de>
4622 * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
4623 int_type)): Reset _M_gcount to numeric_limits<streamsize>::min().
4624 * src/istream.cc (basic_istream<char>::ignore(streamsize, int_type),
4625 basic_istream<wchar_t>::ignore(streamsize, int_type)): Likewise.
4626 * src/istream.cc (basic_istream<char>::ignore(streamsize),
4627 basic_istream<wchar_t>::ignore(streamsize)): Likewise; fix a typo.
4629 2005-01-02 Paolo Carlini <pcarlini@suse.de>
4631 * src/istream.cc (basic_istream<char>::ignore(streamsize),
4632 basic_istream<char>::ignore(streamsize, int_type),
4633 basic_istream<wchar_t>::ignore(streamsize),
4634 basic_istream<wchar_t>::ignore(streamsize, int_type)): Avoid
4635 _M_gcount overflows.
4636 * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
4637 int_type)): Likewise; use snextc in the main loop, consistently
4638 with the specializations above.
4640 2005-01-02 Chris Jefferson <chris@bubblescope.net>
4642 * include/bits/stl_algobase.h (mismatch): Correct concept check.
4644 2005-01-01 Paolo Carlini <pcarlini@suse.de>
4646 * testsuite/ext/enc_filebuf/char/13189.cc: Fix, first include
4647 testsuite_hooks.h, to know whether including ext/enc_filebuf.h.
4648 * testsuite/ext/enc_filebuf/wchar_t/13189.cc: Likewise.
4650 2005-01-01 Paolo Carlini <pcarlini@suse.de>
4652 * testsuite/27_io/basic_istream/extractors_character/char/1.cc: Fix,
4653 null-terminate array1 at the outset.
4654 * testsuite/27_io/basic_istream/extractors_character/wchar_t/1.cc: