1 2005-11-22 Paolo Carlini <pcarlini@suse.de>
4 * include/bits/stl_set.h (insert(iterator, const value_type&),
5 erase(iterator), erase(iterator, iterator)): Don't break aliasing
6 rules casting to _Rep_iterator&, forward to _Rb_tree facilities.
7 * include/bits/stl_multiset.h (insert(iterator, const value_type&),
8 erase(iterator), erase(iterator, iterator)): Likewise.
9 * include/bits/stl_tree.h (_Rb_tree<>::_M_insert(_Const_Base_ptr,
10 _Const_Base_ptr, const value_type&), insert_unique(const_iterator,
11 const value_type&), insert_equal(const_iterator, const value_type&),
12 erase(const_iterator), erase(const_iterator, const_iterator)): New,
13 _Rb_tree<>::const_iterator counterparts of existing facilities.
15 2005-11-21 Benjamin Kosnik <bkoz@redhat.com>
16 Ulrich Drepper <drepper@redhat.com>
19 * scripts/create_testsuite_files: Support for "C" test files.
20 * testsuite/lib/libstdc++.exp: Same.
21 * testsuite/libstdc++-dg/normal.exp: Same.
22 * testsuite/ext/mt_allocator/22309_thread.cc: Update names.
23 * testsuite/19_diagnostics/23591_thread-1.c: New.
24 * testsuite/testsuite_shared.cc: Add tests, rename existing functions.
25 * libsupc++/eh_globals.cc: Make global thread local if possible.
26 * configure.ac: Use GCC_CHECK_TLS.
27 * acinclude.m4: Include tls.m4.
28 * configure: Regenerate.
31 2005-11-21 Benjamin Kosnik <bkoz@redhat.com>
33 * libsupc++/del_op.cc: Include c++config.h first.
34 * libsupc++/eh_alloc.cc: Same.
35 * libsupc++/new_opv.cc: Same.
36 * libsupc++/eh_throw.cc: Same.
37 * libsupc++/new_op.cc: Same.
38 * libsupc++/del_opv.cc: Same.
39 * libsupc++/eh_catch.cc: Same.
40 * libsupc++/guard.cc: Same.
41 * libsupc++/del_opnt.cc: Same.
42 * libsupc++/eh_exception.cc: Same.
43 * libsupc++/new_opvnt.cc: Same.
44 * libsupc++/eh_term_handler.cc: Same.
45 * libsupc++/eh_personality.cc: Same.
46 * libsupc++/eh_call.cc: Same.
47 * libsupc++/new_opnt.cc: Same.
48 * libsupc++/del_opvnt.cc: Same.
50 2005-11-21 Benjamin Kosnik <bkoz@redhat.com>
52 * src/Makefile.am (LTCXXCOMPILE): CXXFLAGS last.
53 * libsupc++/Makefile.am: Same.
54 * src/Makefile.in: Regenerate.
55 * libsupc++/Makefile.in: Same.
57 2005-11-21 Paolo Carlini <pcarlini@suse.de>
59 * include/ext/sso_string_base.h: Minor formatting and stylistic fixes.
60 (__sso_string_base<>::_M_get_allocator): Return by const ref.
61 * include/ext/rc_string_base.h: Likewise.
62 (__rc_string_base<>::_M_get_allocator): Return by const ref.
63 (__rc_string_base<>::_M_dispose): Take void, use _M_get_allocator.
64 (__rc_string_base<>::_M_grab): Take one alloc, use _M_get_allocator.
65 (__rc_string_base<>::~__rc_string_base,
66 __rc_string_base(const __rc_string_base&), _M_assign, _M_reserve,
68 * include/ext/vstring_util.h: Minor stylistic fixes.
70 2005-11-18 Paolo Carlini <pcarlini@suse.de>
72 * include/ext/rc_string_base.h (__rc_string_base<>::_Rep): Avoid the
73 anonymous struct extension, adjust everywhere.
75 * include/ext/rc_string_base.h (__rc_string_base<>::_S_empty_rep()):
76 Just use a static member.
77 (__rc_string_base<>::__rc_string_base(), _S_construct): Adjust.
79 * include/ext/rc_string_base.h (__rc_string_base<>::_Rep): Use
80 anonymous union together with _CharT to fix alignment issues,
81 rebind to _Rep and rename _Raw_alloc to _Rep_alloc_type.
82 (__rc_string_base<>::_Rep::_S_create, _M_destroy): Adjust consistently.
84 * include/ext/vstring_util.h (__is_null_p): Move inside struct
85 __vstring_utility as static _S_is_null_pointer.
86 * include/ext/sso_string.h
87 (__sso_string_base<>::_M_construct(std::forward_iterator_tag): Adjust.
88 * include/ext/rc_string_base.h
89 (__rc_string_base<>::_S_construct(std::forward_iterator_tag): Likewise.
91 Implement Option 3 of DR 431 for ext/vstring - both available bases.
92 * include/bits/cpp_type_traits.h (struct __is_empty): Add.
93 * include/ext/vstring.h (__versa_string<>::swap): Delegate to
95 * include/ext/vstring.tcc (__versa_string<>::swap): Remove.
96 * include/ext/vstring_util.h (struct __vstring_utility<>): Add struct
97 _Alloc_hider<>, augmented of allocator swapping facility, specialized
98 to nop for empty allocators.
99 * include/ext/rc_string_base.h (__rc_string_base<>::_M_swap): Use it.
100 (__rc_string_base<>::_M_is_leaked, _M_set_sharable): Change to private.
101 * include/ext/sso_string_base.h (__sso_string_base<>::_M_swap):
103 (__sso_string_base<>::_M_is_leaked, _M_set_sharable): Remove, unused.
104 * include/ext/rc_string_base.h (__rc_string_base<>::_M_data(_CharT*):
106 * include/ext/sso_string_base.h (__sso_string_base<>::_M_data(_CharT*):
109 2005-11-17 Geoffrey Keating <geoffk@apple.com>
111 * config/os/bsd/darwin/ppc-extra.ver: New.
112 * src/Makefile.am (libstdc++-symbol.ver): Move outside conditionals,
113 and make dependent on port symbol files.
114 (libstdc++-symbol.explist): Use the generated .ver file, not
116 * src/compatibility.cc [APPLE] (__eprintf): New.
117 * src/Makefile.in: Regenerate.
118 * configure.host (powerpc*-*-darwin*): Define
119 port_specific_symbol_files.
121 2005-11-16 Nathan Sidwell <nathan@codesourcery.com>
123 * libsupc++/eh_arm.cc (__cxa_begin_cleanup): Remember a
124 foreign exception too.
125 (__gnu_end_cleanup): Recover a foreign exception too.
126 * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Cope
127 with forced unwinding.
128 * libsupc++/eh_throw.cc (__cxxabiv1::__cxa_rethrow): Use
129 _Unwind_Resume_or_Rethrow for ARM EABI.
131 2005-11-14 Geoffrey Keating <geoffk@apple.com>
133 * acinclude.m4 (GLIBCXX_CHECK_LINKER_FEATURES): Don't check for
134 shared libgcc for darwin exports.
135 * configure: Regenerate.
137 2005-11-13 Jonathan Wakely <redi@gcc.gnu.org>
139 * include/tr1/boost_shared_ptr.h (get_deleter):
140 Declare before shared_ptr.
141 (shared_ptr<>): Declare get_deleter as friend.
142 (shared_ptr<>:_M_get_deleter): Private.
144 2005-11-13 Douglas Gregor <doug.gregor@gmail.com>
147 * include/tr1/ref_wrap_iterate.h
148 (reference_wrapper::operator()()): Don't dereferene the result of
149 get() before calling it; it's already a reference.
150 * testsuite/tr1/3_function_objects/reference_wrapper/invoke.cc:
151 Test nullary calls to reference_wrappers.
153 2005-11-11 Paolo Carlini <pcarlini@suse.de>
156 * include/tr1/type_traits (__is_abstract_helper): Rename to __in_array
157 (with complemented logic).
158 (is_function): Use it, don't use __conv_helper.
159 (is_abstract): Adjust.
160 (__conv_helper): Rename to __is_convertible_simple.
161 (is_convertible): Adjust.
162 * testsuite/testsuite_tr1.h (class IncompleteClass): Add.
163 * testsuite/tr1/4_metaprogramming/composite_type_traits/is_object/
165 * testsuite/tr1/4_metaprogramming/primary_type_categories/is_enum/
167 * testsuite/tr1/4_metaprogramming/primary_type_categories/is_function/
170 2005-11-11 Paolo Carlini <pcarlini@suse.de>
173 * include/tr1/functional (hash): Inherit from std::unary_function.
174 * testsuite/tr1/6_containers/unordered/hash/24799.cc: New.
177 * include/tr1/boost_shared_ptr.h (swap(shared_ptr<>&, shared_ptr<>&),
178 swap(weak_ptr<>&, weak_ptr<>&)): Move inside namespace tr1.
179 * testsuite/tr1/2_general_utilities/memory/shared_ptr/modifiers/
183 * include/tr1/type_traits (__is_polymorhpic_helper): Adjust destructor.
184 * testsuite/tr1/4_metaprogramming/type_properties/is_polymorphic/
187 2005-11-10 Paolo Carlini <pcarlini@suse.de>
189 * testsuite/tr1/2_general_utilities/memory/
190 enable_shared_from_this/not_shared.cc: Adjust, remove xfail.
191 * testsuite/tr1/2_general_utilities/memory/
192 enable_shared_from_this/not_shared2.cc: Likewise.
193 * testsuite/tr1/2_general_utilities/memory/
194 enable_shared_from_this/not_shared3.cc: Likewise.
196 2005-11-10 Paolo Carlini <pcarlini@suse.de>
198 * include/tr1/boost_shared_ptr.h (_Sp_counted_base::release,
199 weak_release): Protect barriers with __GTHREADS.
201 2005-11-10 Paolo Carlini <pcarlini@suse.de>
202 Peter Dimov <pdimov@mmltd.net>
204 * include/tr1/boost_shared_ptr.h (_Sp_counted_base::release):
205 Optimize by manually inlining weak_release.
207 * include/tr1/boost_shared_ptr.h (_Sp_counted_base::release,
208 weak_release): Use explicit memory barriers.
210 2005-11-09 Benjamin Kosnik <bkoz@redhat.com>
211 Paolo Carlini <pcarlini@suse.de>
212 Gabriel Dos Reis <gdr@integrable-solutions.net>
215 * numeric_limits.cc: Split into...
216 * numeric_limits/specialization.cc: ..this.
217 * numeric_limits/is_iec559.cc: Same.
218 * numeric_limits/sign.cc: Same.
219 * numeric_limits/quiet_NaN.cc: Same.
220 * numeric_limits/digits10.cc: Same.
221 * numeric_limits/denorm_min.cc: Same.
222 * numeric_limits/min_max.cc: Same.
223 * numeric_limits/epsilon.cc: Same.
224 * numeric_limits/infinity.cc: Same.
225 * numeric_limits/traps.cc: New.
227 2005-11-09 Paolo Carlini <pcarlini@suse.de>
229 * include/tr1/boost_shared_ptr.h: Trivial formatting fixes.
231 2005-11-08 Benjamin Kosnik <bkoz@redhat.com>
233 * testsuite/lib/libstdc++.exp (check_v3_target_debug_mode): Use
234 exe as the executable extension.
236 * acinclude.m4 (GLIBCXX_ENABLE_ALLOCATOR): Change gnu defaults to
238 (GLIBCXX_ENABLE_PCH): Adjust message order.
239 * configure: Regenerate.
241 * scripts/testsuite_flags.in (query): Correct print_usagex typo.
243 * include/bits/functexcept.h: Remove argument names.
245 * src/mt_allocator.cc: Adjust comment.
247 2005-11-06 Paolo Carlini <pcarlini@suse.de>
250 * include/bits/stl_queue.h (priority_queue): Tweak a bit the
251 comment describing the container.
253 2005-11-05 Paolo Carlini <pcarlini@suse.de>
255 * configure.host: Add | rs6000 to the cpu_defines_dir switch,
256 consistently with the try_cpu one.
258 2005-11-05 Paolo Carlini <pcarlini@suse.de>
261 * include/bits/c++config: Include cpu_defines.h.
262 * include/Makefile.am: Add cpu_defines.h to host_headers.
263 * configure.host: Add cpu_defines_dir.
264 * configure.ac: Use it.
265 * config/cpu/powerpc/cpu_defines.h: New.
266 * config/cpu/generic/cpu_defines.h: Likewise.
267 * configure: Regenerate.
268 * Makefile.in: Likewise.
269 * include/Makefile.in: Likewise.
270 * libmath/Makefile.in: Likewise.
271 * libsupc++/Makefile.in: Likewise.
272 * po/Makefile.in: Likewise.
273 * src/Makefile.in: Likewise.
274 * testsuite/Makefile.in: Likewise.
276 2005-11-03 Paolo Carlini <pcarlini@suse.de>
278 * include/ext/sso_string_base.h (__sso_string_base<>::_M_swap):
279 Change the various traits_type::copy call to always copy the
280 entire local buffer; return early and don't do a full swap on
281 the lengths for two common cases; change two _S_copy to plain
284 2005-11-02 Thomas Kho <tkho@ucla.edu>
287 * include/bits/stl_vector.h (vector<>::clear): Open code
288 in terms of _Destroy.
290 2005-11-02 Paolo Carlini <pcarlini@suse.de>
292 * include/bits/vector.tcc (vector<>::_M_fill_assign): Qualify fill_n.
294 2005-11-01 Paolo Carlini <pcarlini@suse.de>
297 * include/tr1/boost_shared_ptr.h (shared_ptr<>::get_deleter):
298 Move out of shared_ptr.
299 * testsuite/tr1/2_general_utilities/memory/shared_ptr/misc/24595.cc:
302 2005-10-30 Paolo Carlini <pcarlini@suse.de>
305 * include/c_std/std_csignal.h: Adjust comment as per 17.4.1.2/4.
306 * include/c_std/std_cstdlib.h: Likewise.
307 * include/c_std/std_cstdio.h: Likewise.
308 * include/c_std/std_cstdarg.h: Likewise.
309 * include/c_std/std_cctype.h: Likewise.
310 * include/c_std/std_cerrno.h: Likewise.
311 * include/c_std/std_cmath.h: Likewise.
312 * include/c_std/std_ciso646.h: Likewise.
313 * include/c_std/std_ctime.h: Likewise.
314 * include/c_std/std_clocale.h: Likewise.
315 * include/c_std/std_climits.h: Likewise.
316 * include/c_std/std_cassert.h: Likewise.
317 * include/c_std/std_csetjmp.h: Likewise.
318 * include/c_std/std_cwchar.h: Likewise.
319 * include/c_std/std_cfloat.h: Likewise.
320 * include/c_std/std_cstring.h: Likewise.
321 * include/c_std/std_cstddef.h: Likewise.
322 * include/c_std/std_cwctype.h: Likewise.
324 2005-10-29 Carey Evans <carey.evans@gmail.com>
327 * config/os/djgpp/ctype_inline.h: Fix.
328 * config/os/djgpp/ctype_noninline.h: Likewise.
330 2005-10-28 Paolo Carlini <pcarlini@suse.de>
333 * include/c_std/std_cwchar.h (wcspbrk): Adjust signature.
334 * testsuite/21_strings/c_strings/wchar_t/24559.cc: New.
336 2005-10-25 Paolo Carlini <pcarlini@suse.de>
338 * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 39.
339 * docs/html/ext/howto.html: Adjust.
341 2005-10-21 Paolo Carlini <pcarlini@suse.de>
344 * config/locale/generic/time_members.h (__timepunct<>::
345 __timepunct(__c_locale, const char*, size_t)): Avoid leaking
346 memory if new throws inside _M_initialize_timepunct.
347 * config/locale/gnu/time_members.h (__timepunct<>::
348 __timepunct(__c_locale, const char*, size_t)): Likewise.
349 * config/locale/gnu/message_members.h (messages<>::
350 messages(__c_locale, const char*, size_t)): Rearrange to
353 2005-10-19 Paolo Carlini <pcarlini@suse.de>
355 * include/ext/sso_string_base.h (_M_swap): Rewrite.
357 2005-10-19 Paolo Carlini <pcarlini@suse.de>
359 * include/ext/rc_string_base.h (_S_terminal): Remove.
360 (_M_set_length): Adjust.
361 (_S_max_size): Change to anonymous enum.
362 (_M_max_size()): Add, returns the latter.
363 * include/ext/sso_string_base.h: Likewise.
364 * include/ext/vstring.h (max_size): Adjust.
366 2005-10-17 Jonathan Wakely <redi@gcc.gnu.org>
369 * include/tr1/boost_shared_ptr.h
370 (_Sp_counted_base::_Sp_counted_base()): When __GTHREAD_MUTEX_INIT
371 is defined, initialize the mutex.
373 2005-10-15 Paolo Carlini <pcarlini@suse.de>
375 * include/tr1/functional: Add missing #pragma GCC system_header.
377 2005-10-14 Paolo Carlini <pcarlini@suse.de>
379 * include/tr1/hashtable (hashtable::m_erase): Rename to erase_node.
380 (hashtable::erase(iterator), erase(const_iterator)): Adjust.
382 2005-10-13 Richard Earnshaw <richard.earnsahw@arm.com>
385 * acinclude.m4 (port_specific_symbol_files): More symbol versioning
387 * configure: Regenerate.
389 2005-10-13 Hans-Peter Nilsson <hp@axis.com>
391 * testsuite/lib/libstdc++.exp (libstdc++_init): Require
392 native testing before setting v3-sharedlib to 1.
394 2005-10-12 Joe Buck <Joe.Buck@synopsys.com>
396 * docs/html/27_io/howto.html: Use reference to ifstream when
399 2005-10-11 Andrew Pinski <pinskia@physics.uc.edu>
402 * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Fix typo in check
404 * configure: Regenerate.
406 2005-10-10 Benjamin Kosnik <bkoz@redhat.com>
408 * configure.ac (libtool_VERSION): To 6:7:0.
409 * configure: Regenerate.
410 * testsuite/testsuite_abi.cc (check_version): Add GLIBCXX_3.4.7.
411 * config/linker-map.gnu: Export locale::_Impl::_M_install_cache.
413 2005-10-10 Ian Lance Taylor <ian@airs.com>
416 * include/bits/locale_classes.h (locale::_Impl::_M_install_cache):
418 * src/locale.cc: Define here, add mutex.
420 2005-10-09 Paolo Carlini <pcarlini@suse.de>
422 PR libstdc++/24061 (issue 6.19)
423 * include/tr1/hashtable (struct node_const_iterator, struct
424 hashtable_const_iterator): New, add const variants to enable separate
425 overloadings for iterator and const_iterator in unordered_set and
426 unordered_multiset (as required by issue 6.19).
427 (class hashtable): Change the mutable_iterators template parameter
428 to constant_iterators and adjust throughout the logic.
429 (hashtable::insert(iterator, const value_type&), erase(iterator)
430 erase(iterator, iterator)): New, as per issue 6.19.
431 (hashtable::m_erase(node*, node**)): New, called by erase(iterator)
432 and erase(const_iterator).
433 (hashtable::Insert_Conv_Type): New, used by insert(iterator,
434 const value_type&) and insert(const_iterator, const value_type&)
435 to delegate the work to insert(const value_type&).
436 * include/tr1/unordered_map (class unordered_map, unordered_multimap):
438 * include/tr1/unordered_set (class unordered_set, unordered_multiset):
440 * testsuite/tr1/6_containers/unordered/erase/24061-map.cc: New.
441 * testsuite/tr1/6_containers/unordered/erase/24061-multimap.cc: New.
442 * testsuite/tr1/6_containers/unordered/erase/24061-multiset.cc: New.
443 * testsuite/tr1/6_containers/unordered/erase/24061-set.cc: New.
444 * testsuite/tr1/6_containers/unordered/insert/24061-map.cc: New.
445 * testsuite/tr1/6_containers/unordered/insert/24061-multimap.cc: New.
446 * testsuite/tr1/6_containers/unordered/insert/24061-multiset.cc: New.
447 * testsuite/tr1/6_containers/unordered/insert/24061-set.cc: New.
449 2005-10-08 Kazu Hirata <kazu@codesourcery.com>
451 Merge from csl-arm-branch:
452 2004-12-15 Daniel Jacobowitz <dan@codesourcery.com>
453 * libstdc++-v3/config/linker-map.gnu: Add ARM EABI symbols.
455 2005-10-07 Paolo Carlini <pcarlini@suse.de>
457 Fix libstdc++/24196 for ext/vstring/rc by returning to the behavior
458 of basic_string pre-2003-06-13; remove fully-dynamic-string stuff.
459 * include/ext/rc_string_base.h (_M_refcopy): Move inside the
460 _Rep class and remove code in macro.
461 (__rc_string_base()): Construct with _S_empty_rep()._M_refcopy().
462 (_M_dispose, _M_leak_hard): Remove code in macro.
463 (_S_construct): Return _S_empty_rep()._M_refcopy() for empty string.
466 * include/ext/rc_string_base.h (_Rep::_M_refdata()): Minor tweak,
469 2005-10-07 Benjamin Kosnik <bkoz@redhat.com>
471 * docs/doxygen/user.cfg.in: Update to Doyxygen 1.4.4.
473 2005-10-05 Paolo Carlini <pcarlini@suse.de>
475 * include/ext/sso_string_base.h (struct __sso_string_local):
476 Remove, actually POD types cannot have user defined constructors
477 (being aggregates) and therefore can always be members of unions.
478 (class __sso_string_base): Adjust consistently.
480 2005-10-05 Paolo Carlini <pcarlini@suse.de>
483 * testsuite/27_io/basic_filebuf/3.cc: Use __gnu_test::pod_ushort
485 * testsuite/27_io/basic_filebuf/seekoff/10132-2.cc: Likewise.
486 * testsuite/27_io/basic_filebuf/seekpos/10132-3.cc: Likewise.
487 * testsuite/27_io/basic_fstream/3.cc: Likewise; run the test.
488 * testsuite/27_io/basic_ifstream/3.cc: Likewise; run the test.
489 * testsuite/27_io/basic_ios/3.cc: Likewise.
490 * testsuite/27_io/basic_iostream/3.cc: Likewise; run the test.
491 * testsuite/27_io/basic_istream/3.cc: Likewise; run the test.
492 * testsuite/27_io/basic_istringstream/3.cc: Likewise; run the test.
493 * testsuite/27_io/basic_ofstream/3.cc: Likewise; run the test.
494 * testsuite/27_io/basic_ostream/3.cc: Likewise; run the test.
495 * testsuite/27_io/basic_ostringstream/3.cc: Likewise; run the test.
496 * testsuite/27_io/basic_streambuf/3.cc: Likewise.
497 * testsuite/27_io/basic_stringbuf/3.cc: Likewise.
498 * testsuite/27_io/basic_stringstream/3.cc: Likewise; run the test.
500 2005-10-05 Paolo Carlini <pcarlini@suse.de>
502 PR libstdc++/11729 (DR 280, [Ready])
503 * include/bits/stl_iterator.h: Add reverse_iterator global
504 functions with two template parameters (operator==, !=, <,
506 * testsuite/24_iterators/reverse_iterator/11729.cc: New.
507 * docs/html/ext/howto.html: Add an entry for issue 280.
509 2005-10-03 Paolo Carlini <pcarlini@suse.de>
511 * include/tr1/hashtable
512 (node_iterator::node_iterator(const node_iterator<,true,>&)): Fix to
513 take a "false" (i.e., is_const == false) node_iterator.
514 (hashtable_iterator::hashtable_iterator(const hashtable_iterator<,
515 true,>&)): Likewise for hashtable_iterator.
516 (hashtable::const_local_iterator): Fix typedef (is_const == true).
517 (hashtable::const_iterator): Likewise.
518 * testsuite/tr1/6_containers/unordered/types/map_iterator.cc: New.
519 * testsuite/tr1/6_containers/unordered/types/multimap_iterator.cc: New.
520 * testsuite/tr1/6_containers/unordered/types/set_iterator.cc: New.
521 * testsuite/tr1/6_containers/unordered/types/multiset_iterator.cc: New.
523 2005-10-02 Paolo Carlini <pcarlini@suse.de>
526 * include/tr1/hashtable (erase(const key_type&)): Return the
527 number of elements erased.
528 * testsuite/tr1/6_containers/unordered/hashtable/24054.cc: New.
530 2005-10-01 Kenny Simpson <theonetruekenny@yahoo.com>
532 * include/tr1/tuple_iterate.h (tuple::operator=(const std::pair<>&)):
535 2005-09-30 Paolo Carlini <pcarlini@suse.de>
538 * include/tr1/hashtable (hash_code_base<>::store_code): Add.
539 (hashtable<>::insert(const value_type&)): Use it.
540 * testsuite/tr1/6_containers/unordered/hashtable/24064.cc: New.
542 2005-09-30 Paolo Carlini <pcarlini@suse.de>
545 * include/bits/locale_facets.tcc (__numpunct_cache<>::_M_cache,
546 __moneypunct_cache<>::_M_cache): Check that grouping()[0] > 0.
547 (__verify_grouping): Do the last check only if __grouping[__min] > 0.
548 (__add_grouping<>): End recursion if *__gbeg <= 0.
549 * testsuite/22_locale/num_get/get/char/23953.cc: New.
550 * testsuite/22_locale/num_get/get/wchar_t/23953.cc: Likewise.
551 * testsuite/22_locale/num_put/put/char/23953.cc: Likewise.
552 * testsuite/22_locale/num_put/put/wchar_t/23953.cc: Likewise.
554 2005-09-29 Chris Jefferson <chris@bubblescope.net>
557 * include/tr1/tuple_iterate.h (tuple): Add operator=(std::pair).
558 * testsuite/tr1/6_containers/tuple/creation_functions/23978.cc: New.
560 * include/tr1/functional (ref, cref): Make inline.
561 * include/tr1/tuple_iterate.h (tie): Correct formatting.
562 (make_tuple): Make inline.
564 2005-09-25 Benjamin Kosnik <bkoz@redhat.com>
565 Eric Botcazou <ebotcazou@libertysurf.fr>
567 * include/ext/mt_allocator.h
568 (__per_type_pool<...true>::_S_initialize_once): Always call
570 (__common_pool<...true>::_S_initialize_once): Same.
572 2005-09-23 Benjamin Kosnik <bkoz@redhat.com>
574 * testsuite/ext/mt_allocator/tune-1.cc: Clarify for single-thread.
575 * testsuite/ext/mt_allocator/tune-2.cc: Same.
576 * testsuite/ext/mt_allocator/tune-3.cc: Same.
577 * testsuite/ext/mt_allocator/tune-4.cc: Same.
579 2005-09-21 Guillaume Melquiond <guillaume.melquiond@ens-lyon.fr>
582 * include/ext/mt_allocator.h: Remove excess
583 policy_type::_S_get_pool calls in constructors.
585 2005-09-18 Paolo Carlini <pcarlini@suse.de>
587 PR libstdc++/23417 (cont)
588 * include/bits/stl_tree.h (_Rb_tree_impl<true>): Use member
589 initialization list for -Weffc++.
591 2005-09-16 Janis Johnson <janis187@us.ibm.com>
593 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/23871.cc:
596 2005-09-15 Benjamin Kosnik <bkoz@redhat.com>
601 * include/bits/c++config: Set _GLIBCXX_STD regardless of __GXX_WEAK__.
602 Add in check for __NO_INLINE__ for warning.
603 * testsuite/lib/dg-options.exp (dg-require-debug-mode): New.
604 * testsuite/lib/libstdc++.exp (check_v3_target_debug_mode): New.
605 * testsuite/21_strings/basic_string/element_access/char/21674.cc:
607 * testsuite/21_strings/basic_string/element_access/wchar_t/21674.cc:
610 2005-09-15 Paolo Carlini <pcarlini@suse.de>
613 * include/std/std_ostream.h (operator<<(short), operator<<(unsigned
614 short), operator<<(int), operator<<(unsigned int), operator<<(float)):
615 Don't call operator<<(long), operator<<(unsigned long), or
616 operator<<(double), do the work mandated by the resolution of DR117...
617 * include/bits/ostream.tcc (operator<<(short), operator<<(unsigned
618 short), operator<<(int), operator<<(unsigned int), operator<<(float)):
620 * testsuite/27_io/basic_ostream/inserters_arithmetic/pod/23875.cc: New.
622 2005-09-15 Mark Mitchell <mark@codesourcery.com>
624 * testsuite/testsuite_character.h: Specialize character<>
625 templates in __gnu_cxx, not in __gnu_test.
627 2005-09-13 Jonathan Wakely <cow@compsoc.man.ac.uk>
628 Benjamin Kosnik <bkoz@redhat.com>
631 * testsuite/21_strings/basic_string/element_access/char/21674.cc: New.
632 * testsuite/21_strings/basic_string/element_access/wchar_t/21674.cc:
635 2005-09-12 David Edelsohn <dje@gcc.gnu.org>
639 * include/Makefile.am (stamp-assoc): Install each subgroup
640 of headers separately.
641 * include/Makefile.in: Regenerate.
643 2005-09-12 Benjamin Kosnik <bkoz@redhat.com>
645 * testsuite/ext/mt_allocator/22309_thread.cc: Remove dg-do run.
646 * testsuite/lib/libstdc++.exp ( proc libstdc++_init): Enable
647 shared only for linux.
649 2005-09-12 Benjamin Kosnik <bkoz@redhat.com>
650 David Edelsohn <dje@gcc.gnu.org>
654 * include/Makefile.am (assoc_headers): Break into five sub values.
655 (install-headers): Use them.
657 * include/Makefile.in: Regenerate.
659 2005-09-12 Chris Jefferson <chris@bubblescope.net>
661 * include/bits/stl_algo.h (search_n): Delegate to specializations.
662 (search_n(,,,,binary_predicate)): Likewise.
663 (__search_n(forward_iterator_tag)): Original search_n, tweak to
664 remove an unnecessary comparison.
665 (__search_n(,,,,binary_predicate,forward_iterator_tag)): Likewise.
667 2005-09-12 Jim Xochellis <jimxoch@yahoo.gr>
669 * include/bits/stl_algo.h
670 (__search_n(std::random_access_iterator_tag)): Add specialization.
671 (__search_n(,,,,binary_predicate,std::random_access_iterator_tag)):
674 2005-09-12 Benjamin Kosnik <bkoz@redhat.com>
677 * include/bits/stl_list.h (_List_impl): Use member initialization
679 * include/bits/stl_tree.h (_Rb_tree_impl): Same.
681 2005-09-12 Paolo Carlini <pcarlini@suse.de>
684 * include/bits/stl_iterator.h (__normal_iterator::
685 __normal_iterator<>(const __normal_iterator<_Iter, _Container>&)):
686 Enable only when _Iter is equal to _Container::pointer.
687 * testsuite/21_strings/basic_string/types/23767.cc: New.
688 * testsuite/23_containers/vector/types/23767.cc: Likewise.
689 * testsuite/ext/vstring/types/23767.cc: Likewise.
691 2005-09-11 Benjamin Kosnik <bkoz@redhat.com>
695 * include/ext/mt_allocator.h
696 (__gnu_cxx::__create_handler): Remove.
697 (__pool<true>::_M_destroy_thread_key): Compatibility only.
698 (__pool<true>::_M_initialize(__destroy): Same.
699 (__pool<true>::_M_initialize): New.
700 (__pool<true>::_M_initialize_once): Nothing fancy.
701 (__pool<true>::_M_once): Remove.
702 (__common_pool): New.
703 (__common_pool_base): New.
704 (__per_type_pool): New.
705 (__per_type_pool_base): New.
706 * src/mt_allocator.cc: Same.
707 * config/linker-map.gnu (__pool<true>::_M_initialize()): Add.
709 2005-09-11 Jakub Jelinek <jakub@redhat.com>
713 * src/mt_allocator.cc (__gnu_internal::freelist_mutex): Make static.
714 (__gnu_internal::__freelist): New type.
715 (__gnu_internal::freelist): New variable.
716 (__gnu_internal::_M_destroy_thread_key): New function.
717 (__gnu_cxx::__pool<true>::_M_destroy): Don't delete
718 _M_thread_freelist_initial.
719 (__gnu_cxx::__pool<true>::_M_initialize): Make argument nameless.
720 Don't use _M_thread_freelist and _M_thread_freelist_initial
721 __pool<true> fields, instead use __gnu_internal::freelist fields, call
722 gthread_key_create just once. Use
723 __gnu_internal::_M_destroy_thread_key as key destructor.
724 (__gnu_cxx::__pool<true>::_M_get_thread_id): Store size_t id
725 rather than _Thread_record* in the thread specific value. Don't
726 use _M_thread_freelist __pool<true> field, instead use
727 __gnu_internal::freelist fields.
728 (__gnu_cxx::__pool<true>::_M_destroy_thread_key): Do nothing.
730 2005-09-11 Benjamin Kosnik <bkoz@redhat.com>
731 Jakub Jelinek <jakub@redhat.com>
735 * testsuite/testsuite_shared.cc: New.
736 * testsuite/lib/dg-options.exp (dg-require-sharedlib): New.
737 * testsuite/lib/libstdc++.exp (libstdc++_init): Look for shared
738 library, and set v3-sharedlib based on this.
739 (check_v3_target_sharedlib): New.
740 (proc v3-build_support): Build shared objects.
741 * testsuite/ext/mt_allocator/22309_thread.cc: New, use above.
743 2005-09-11 Paolo Carlini <pcarlini@suse.de>
746 * include/bits/stl_list.h (_List_iterator<>::
747 _List_iterator(_List_node_base*), _List_const_iterator<>::
748 _List_const_iterator(const _List_node_base*)): Make explicit.
749 (list<>::begin(), list<>::end(), list<>::pop_back()): Adjust
751 * include/bits/list.tcc (list<>::insert, list<>::erase): Adjust
753 * include/bits/stl_tree.h (_Rb_tree_iterator<>::
754 _Rb_tree_iterator(_Link_type), _Rb_tree_const_iterator<>::
755 _Rb_tree_const_iterator(_Link_type)): Make explicit.
756 (_Rb_tree<>::begin(), _Rb_tree<>::end()): Adjust consistently.
757 * include/ext/slist (_Slist_iterator<>::_Slist_iterator(_Node*)):
759 (slist<>::erase(iterator), slist<>::erase(iterator, iterator)):
761 * include/tr1/hashtable (hashtable_iterator<>::
762 hashtable_iterator(hash_node<>**)): Make explicit.
763 * testsuite/23_containers/list/23781.cc: New.
764 * testsuite/23_containers/map/23781.cc: Likewise.
765 * testsuite/23_containers/multimap/23781.cc: Likewise.
766 * testsuite/23_containers/multiset/23781.cc: Likewise.
767 * testsuite/23_containers/set/23781.cc: Likewise.
768 * testsuite/ext/slist/23781.cc: Likewise.
769 * testsuite/tr1/6_containers/unordered/23781.cc: Likewise.
770 * testsuite/23_containers/map/operators/1_neg.cc: Adjust dg-error
772 * testsuite/23_containers/set/operators/1_neg.cc: Likewise.
774 * include/tr1/array (array<>::begin(), array<>::end()): Adjust
775 stylistically for consistency with the other containers.
777 2005-09-10 Joseph S. Myers <joseph@codesourcery.com>
779 * testsuite/26_numerics/cmath/c99_classification_macros_c.cc:
780 XFAIL on *-*-linux*, not *-*-linux-gnu.
782 2005-09-09 Benjamin Kosnik <bkoz@redhat.com>
783 Jakub Jelinek <jakub@redhat.com>
785 * src/debug.cc (iterator_base_mutex): Make static for internal
787 * src/locale_init.cc (locale_mutex): Same.
788 * src/mt_allocator.cc (freelist_mutex): Same.
789 * src/pool_allocator.cc (palloc_init_mutex): Same.
791 2005-09-02 Paolo Carlini <pcarlini@suse.de>
793 * testsuite/tr1/6_containers/unordered/hashtable/23465.cc:
794 Reduce maximum size and lf.
796 2005-09-01 Benjamin Kosnik <bkoz@redhat.com>
798 * include/c_std/std_cmath.h: Declare C99 functions and helper
801 2005-09-01 Benjamin Kosnik <bkoz@redhat.com>
802 Paolo Carlini <pcarlini@suse.de>
804 * testsuite/lib/libstdc++.exp (check_v3_target_cxa_atexit): Fix
807 2005-09-01 Benjamin Kosnik <bkoz@redhat.com>
809 * testsuite/lib/libstdc++.exp (check_v3_target_cxa_atexit): New.
810 * testsuite/lib/dg-options.exp (dg-require-cxa-atexit): New.
811 * testsuite/ext/mt_allocator/deallocate_local-6.cc: New.
812 * testsuite/ext/mt_allocator/deallocate_local-8.cc: New.
813 * testsuite/ext/mt_allocator/deallocate_local_thread-5.cc: New.
814 * testsuite/ext/mt_allocator/deallocate_local_thread-7.cc: New.
815 * docs/html/ext/mt_allocator.html: Add link to examples.
816 * testsuite/testsuite_allocator.h: Tweak.
817 * testsuite/ext/mt_allocator/deallocate_global-2.cc: Same.
818 * testsuite/ext/mt_allocator/deallocate_global-4.cc: Same.
819 * testsuite/ext/mt_allocator/deallocate_global_thread-1.cc: Same.
820 * testsuite/ext/mt_allocator/deallocate_global_thread-3.cc: Same.
821 * testsuite/ext/mt_allocator/deallocate_local-2.cc: Same.
822 * testsuite/ext/mt_allocator/deallocate_local-4.cc: Same.
823 * testsuite/ext/mt_allocator/deallocate_local_thread-1.cc: Same.
824 * testsuite/ext/mt_allocator/deallocate_local_thread-3.cc: Same.
825 * testsuite/ext/new_allocator/deallocate_global.cc: Same.
826 * testsuite/ext/new_allocator/deallocate_local.cc: Same.
828 2005-08-31 Paolo Carlini <pcarlini@suse.de>
829 Kaspar Fischer <fischerk@inf.ethz.ch>
832 * include/bits/stl_bvector.h (_Bit_iterator::operator[],
833 _Bit_const_iterator::operator[]): Const-ify.
834 * testsuite/23_containers/vector/bool/23632.cc: New.
836 2005-08-30 Paolo Carlini <pcarlini@suse.de>
838 PR libstdc++/23578 (cont)
839 * include/bits/stl_bvector.h (class vector<bool>): Add
840 a dummy data() to avoid problems in debug-mode.
842 2005-08-30 Paolo Carlini <pcarlini@suse.de>
844 * testsuite/ext/hash_map/23528.cc: New.
846 2005-08-29 Paolo Carlini <pcarlini@suse.de>
848 * include/bits/stl_map.h (class map): ... and a missing @a.
850 2005-08-29 Paolo Carlini <pcarlini@suse.de>
852 * include/bits/stl_map.h (class map): Add missing % in comment.
854 2005-08-29 Paolo Carlini <pcarlini@suse.de>
856 PR libstdc++/23578 (DR 464 [Ready])
857 * include/bits/stl_map.h (class map): Add at(const key_type&)
859 * include/bits/stl_vector.h (class vector): Add data() member
861 * include/debug/map.h (class map): Adjust consistently.
862 * include/debug/vector (class vector): Likewise.
863 * testsuite/23_containers/map/element_access/1.cc: New.
864 * testsuite/23_containers/vector/data_access/1.cc: Likewise.
865 * docs/html/ext/howto.html: Add an entry for DR 464.
867 2005-08-26 Benjamin Kosnik <bkoz@redhat.com>
869 PR libstdc++/20534 (contd)
870 * src/debug.cc (__gnu_debug): Remove __fancy_abort definition.
871 Remove cstdio and cstdlib includes.
872 * include/debug/debug.h: Define inline here. Remove
873 _GLIBCXX_DEBUG_ABORT.
874 * include/debug/macros.h: Remove __fancy_abort declaration,
875 _GLIBXX_DEBUG_ABORT definition.
876 * config/linker-map.gnu: Remove export.
878 2005-08-26 Benjamin Kosnik <bkoz@redhat.com>
880 * scripts/check_compile (UNIQUE_ID): New. Use to name output files.
882 2005-08-26 Paolo Carlini <pcarlini@suse.de>
885 * include/tr1/array: Implement members back(), front(), data(),
886 and the tuple interface; tidy.
887 * testsuite/tr1/6_containers/array/element_access/back.cc: New.
888 * testsuite/tr1/6_containers/array/element_access/data.cc: Likewise.
889 * testsuite/tr1/6_containers/array/element_access/front.cc: Likewise.
890 * testsuite/tr1/6_containers/array/tuple_interface/get.cc: Likewise.
891 * testsuite/tr1/6_containers/array/tuple_interface/tuple_element.cc:
893 * testsuite/tr1/6_containers/array/tuple_interface/tuple_size.cc:
896 2005-08-25 Paolo Carlini <pcarlini@suse.de>
898 * include/tr1/hashtable: Use __throw_exception_again,
899 not naked throw, in the catch clauses.
901 2005-08-24 Lawrence Lim <llim@redhat.com>
902 Jakub Jelinek <jakub@redhat.com>
903 Benjamin Kosnik <bkoz@redhat.com>
906 * testsuite/21_strings/char_traits/requirements/char/1.cc
907 (test01): Simplify counting.
908 * testsuite/21_strings/char_traits/requirements/wchar_t/1.cc
911 2005-08-24 Paolo Carlini <pcarlini@suse.de>
912 Chris Jefferson <chris@bubblescope.net>
915 * include/tr1/hashtable (hash_code_base::m_swap): Use
917 (hashtable<>::hashtable(const hashtable&)): Use copy_code;
918 fix m_allocate_node call.
919 * testsuite/tr1/6_containers/unordered/hashtable/23465.cc: New.
921 2005-08-23 Kelley Cook <kcook@gcc.gnu.org>
924 * testsuite/data/sgetn.txt: Revert to previous FSF address.
926 2005-08-23 Thomas Kho <tkho@ucla.edu>
929 * include/bits/stl_construct.h (_Destroy(_ForwardIterator,
930 _ForwardIterator, allocator<_Tp>)): Removed unused template parameter.
932 2005-08-22 Geoffrey Keating <geoffk@apple.com>
934 * testsuite/23_containers/vector/resize/1.cc: XFAIL on darwin8.
935 * testsuite/27_io/ios_base/storage/2.cc: Likewise.
937 2005-08-19 J"orn Rennecke <joern.rennecke@st.com>
939 * config/cpu/sh/atomicity.h: Replace broken generic code with current
940 copy of generic/atomicity.h .
942 2005-08-17 Kelley Cook <kcook@gcc.gnu.org>
944 * All files: Update FSF address.
946 2005-08-09 Andrew Pinski <pinskia@physics.uc.edu>
948 * testsuite/26_numerics/cmath/c99_classification_macros_c.cc:
949 xfail on *-*-darwin*.
951 2005-08-03 Geoffrey Keating <geoffk@apple.com>
953 * configure.ac: Don't use GCC_NO_EXECUTABLES or clear
954 GLIBCXX_IS_NATIVE on Darwin crosses.
955 * acinclude.m4 (GLIBCXX_CONFIGURE_TESTSUITE): Don't skip configuring
956 the testsuite just because there's no symbol versioning.
957 * configure: Regenerate.
959 * acinclude.m4 (GLIBCXX_CHECK_SETRLIMIT_ancilliary): Print
961 (GLIBCXX_CHECK_S_ISREG_OR_S_IFREG): Likewise.
962 (GLIBCXX_CHECK_POLL): Likewise.
963 (GLIBCXX_CHECK_WRITEV): Likewise.
964 (GLIBCXX_CHECK_INT64_T): Likewise.
965 (GLIBCXX_CHECK_LFS): Likewise.
966 * configure: Regenerate.
968 2005-07-30 Andrew Pinski <pinskia@physics.uc.edu>
970 * scripts/make_exports.pl: Pass --strip-underscores to c++filt.
972 2005-07-29 H.J. Lu <hongjiu.lu@intel.com>
975 * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Revert
976 the change to info.ttype_base.
978 2005-07-28 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
980 * include/std/std_valarray.h: Fix grammar in comments.
982 2005-07-25 Geoffrey Keating <geoffk@apple.com>
984 * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Handle darwin-export,
985 and make it the default for Darwin.
986 * scripts/make-exports.pl: New.
987 * src/Makefile.am: Update for changes to GLIBCXX_ENABLE_SYMVERS.
988 Handle darwin-export.
989 * configure: Regenerate.
990 * include/Makefile.in: Regenerate.
991 * libmath/Makefile.in: Regenerate.
992 * libsupc++/Makefile.in: Regenerate.
993 * po/Makefile.in: Regenerate.
994 * src/Makefile.in: Regenerate.
995 * testsuite/Makefile.in: Regenerate.
997 2005-07-25 Dave Odell <evilalias@hotmail.com>
1000 * include/tr1/hashtable (hashtable<>::find_node): Const-ify.
1001 * testsuite/tr1/6_containers/unordered/hashtable/23053.cc: New.
1003 2005-07-25 Paolo Carlini <pcarlini@suse.de>
1006 * include/bits/basic_string.h: Declare the specialization
1007 operator>>(basic_istream<char>&, basic_string<char>&).
1008 * include/std/std_istream.h: Declate the specialization
1009 operator>>(basic_istream<char>&, char*).
1010 * include/std/std_streambuf.h (basic_streambuf): Add friend
1011 declarations for the above.
1012 * src/istream.cc: Define the above.
1013 * testsuite/27_io/basic_istream/extractors_character/char/4.cc: New.
1014 * testsuite/27_io/basic_istream/extractors_character/wchar_t/4.cc:
1016 * testsuite/performance/27_io/ifstream_extract_chars.cc: Likewise.
1018 2005-07-20 Paolo Carlini <pcarlini@suse.de>
1020 * include/bits/streambuf.tcc (xsgetn, xsputn): Use streamsize
1022 * src/streambuf.cc (__copy_streambufs): Likewise.
1024 2005-07-18 Paolo Carlini <pcarlini@suse.de>
1026 * config/locale/gnu/ctype_members.cc (do_is(mask, wchar_t)):
1027 Speed-up for the common case of mask == ctype_base::space;
1028 otherwise, exit the loop earlier if the mask is one of the
1031 2005-07-14 Paolo Carlini <pcarlini@suse.de>
1033 PR libstdc++/21193 (float, double, long double)
1034 * include/tr1/functional (hash<float>, hash<double>):
1035 Reimplement exploiting the Fnv_hash<>::hash helper.
1036 (hash<long double>): Reimplement using frexp (in this
1037 case, due to random padding bits, the former approach
1038 is not generally viable).
1040 2005-07-13 Paolo Carlini <pcarlini@suse.de>
1042 PR libstdc++/21193 (string & wstring)
1043 * include/tr1/functional (hash<string>, hash<wstring>):
1044 Reimplement using the FNV hash.
1046 * include/tr1/functional: Trivial formatting fixes.
1048 2005-07-11 Paolo Carlini <pcarlini@suse.de>
1050 * include/bits/ostream.tcc (basic_ostream<>::operator<<(long),
1051 basic_ostream<>::operator<<(long long)): Don't deal with oct
1052 and hex and casts to unsigned here...
1053 * include/bits/locale_facets.tcc (__int_to_char(_CharT*, long,
1054 const _CharT*, ios_base::fmtflags), __int_to_char(_CharT*, long
1055 long, const _CharT*, ios_base::fmtflags)): ... do that here,
1056 instead, as per Table 57.
1057 (num_put<>::_M_insert_int): Tidy treatment of numeric base and
1059 * include/std/std_ostream.h (operator<<(short), operator<<(int)):
1060 Adjust logic, as per the letter of the resolution of DR117 [WP].
1061 * testsuite/22_locale/num_put/put/char/10.cc: New.
1062 * testsuite/22_locale/num_put/put/wchar_t/10.cc: Likewise.
1063 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/7.cc:
1065 * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/7.cc:
1068 2005-07-07 David Edelsohn <edelsohn@gnu.org>
1070 * testsuite/ext/pb_assoc/example/tree_order_statistics_join.cc:
1071 Change map_t to map_type.
1073 2005-07-05 Paolo Carlini <pcarlini@suse.de>
1075 Add class __versa_string, a versatile "basic_string-type" class:
1076 an additional, non-standard, template parameter allows to specify
1077 the preferred base class. Two are provided: __rc_string_base,
1078 which implements a behavior very similar to our standard string,
1079 and __sso_string_base, not reference-counted and optimized for
1081 * include/ext/rc_string_base.h: New.
1082 * include/ext/sso_string_base.h: Likewise.
1083 * include/ext/vstring.h: Likewise.
1084 * include/ext/vstring.tcc: Likewise.
1085 * include/ext/vstring_fwd.h: Likewise.
1086 * include/ext/vstring_util.h: Likewise.
1087 * include/Makefile.am: Add.
1088 * include/Makefile.in: Regenerate.
1089 * testsuite/ext/vstring/explicit_instantiation/1.cc: New.
1090 * testsuite/ext/vstring/explicit_instantiation/2.cc: Likewise.
1091 * testsuite/ext/vstring/explicit_instantiation/char/1.cc: Likewise.
1092 * testsuite/ext/vstring/explicit_instantiation/wchar_t/1.cc: Likewise.
1094 * Makefile.in: Regenerate with autotools 1.9.3 (to date, the version
1095 officially used by v3).
1096 * aclocal.m4: Likewise.
1097 * libmath/Makefile.in: Likewise.
1098 * libsupc++/Makefile.in: Likewise.
1099 * po/Makefile.in: Likewise.
1100 * src/Makefile.in: Likewise.
1101 * testsuite/Makefile.in: Likewise.
1103 2005-07-01 Paolo Carlini <pcarlini@suse.de>
1105 Port from libstdcxx_so_7-branch:
1106 2004-10-28 Chris Jefferson <chris@bubblescope.net>
1109 * include/bit/stl_algo.h (find(,,,input_iterator_tag),
1110 find(,,,random_access_interator_tag),
1111 find_if(,,,input_iterator_tag),
1112 find_if(,,,random_access_iterator_tag)): Uglify function name.
1113 (find, find_if): Use new uglified specialisation names.
1114 * testsuite/25_algorithms/find/17441.cc: New.
1116 2005-06-30 Ulrich Weigand <uweigand@de.ibm.com>
1118 * include/ext/pb_assoc/detail/hash_fn/mask_based_range_hashing.hpp
1119 (PB_ASSOC_CLASS_C_DEC::s_highest_bit_1): Cast constant 1 to target
1120 type before shifting.
1122 2005-06-29 Paolo Carlini <pcarlini@suse.de>
1124 PR libstdc++/21244 (cont^2)
1125 * include/ext/bitmap_allocator.h: Convert everywhere
1126 bits_per_block to size_t.
1128 2005-06-29 Jonathan Wakely <redi@gcc.gnu.org>
1130 * include/bits/basic_string.h, include/bits/locale_facets.h: Fix
1131 Doxygen comments that use wrong parameter and function names.
1133 2005-06-29 Paolo Carlini <pcarlini@suse.de>
1135 * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 37.
1136 * docs/html/ext/howto.html: Adjust.
1138 2005-06-29 Paolo Carlini <pcarlini@suse.de>
1141 * include/bits/locale_facets.tcc (num_get<>::_M_extract_int,
1142 num_get<>::_M_extract_float, money_get<>::_M_extract):
1143 Adjust to assign the result also when digit grouping is
1144 wrong (but the grammar is correct), as per 22.2.2.1.2, p11-12
1145 (NB: consistently for money_get too).
1146 * config/locale/generic/c_locale.cc (__convert_to_v): Do
1147 not check ios_base::failbit at the outset.
1148 * config/locale/gnu/c_locale.cc: Likewise.
1149 * testsuite/22_locale/money_get/get/char/22131.cc: New.
1150 * testsuite/22_locale/money_get/get/wchar_t/22131.cc: Likewise.
1151 * testsuite/22_locale/num_get/get/char/22131.cc: Likewise.
1152 * testsuite/22_locale/num_get/get/wchar_t/22131.cc: Likewise.
1153 * testsuite/22_locale/num_get/get/char/12.cc: Adjust.
1154 * testsuite/22_locale/num_get/get/wchar_t/12.cc: Likewise.
1155 * testsuite/27_io/basic_istream/extractors_arithmetic/char/07.cc:
1157 * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/07.cc:
1160 2005-06-28 Paul Brook <paul@codesourcery.com>
1162 * acinclude.m4 (GLIBCXX_ENABLE_SJLJ_EXCEPTIONS): Check for
1164 * libsupc++/Makefile.am (sources): Add eh_call.c and eh_arm.c.
1165 * libsupc++/eh_arm.cc: New file.
1166 * libsupc++/eh_call.cc: New file.
1167 * libsupc++/eh_catch.cc (__cxa_get_exception_ptr): Use
1168 __gxx_caught_object.
1169 (__cxa_begin_catch): Ditto. Use __is_gxx_exception_class. Call
1170 _Unwind_Complete when using the ARM EABI.
1171 (__cxa_end_catch): Use __is_gxx_exception_class.
1172 * libsupc++/eh_personality.cc: Define NO_SIZE_OF_ENCODED_VALUE when
1174 (save_caught_exception, restore_caught_exception): New functions.
1175 (_throw_typet): New typedef.
1176 (get_ttype_entry, get_adjusted_ptr, check_exception_spec): Add ARM
1177 EABI implementations.
1178 (PERSONALITY_FUNCTION): Use new functions. Addd support for ARM EABI
1180 (__cxa_unexpected): Disable when using the ARM EABI.
1181 * libsupc++/eh_throw.cc (__cxa_throw): Use __GXX_INIT_EXCEPTION_CLASS.
1182 (__cxa_rethrow): Use __is_gxx_exception_class. Call
1183 _Unwind_RaiseException when using the ARM EABI.
1184 * libsupc++/unwind-cxx.h (struct __cxa_exception): Add fields for ARM
1186 (struct __cxa_eh_globals): Ditto.
1187 (__cxa_call_terminate): Add prototype.
1188 (__cxa_type_match, __cxa_begin_cleanup, __cxa_end_cleanup): Add
1190 (__get_exception_header_from_obj, __get_exception_header_from_ue):
1191 Move earlier in file.
1192 (__is_gxx_exception_class, __GXX_INIT_EXCEPTION_CLASS,
1193 __gxx_caught_object): New functions.
1194 * aclocal.m4: Regenerate.
1195 * configure: Regenerate.
1196 * Makefile.in: Regenerate.
1197 * include/Makefile.in: Regenerate.
1198 * libmath/Makefile.in: Regenerate.
1199 * libsupc++/Makefile.in: Regenerate.
1200 * po/Makefile.in: Regenerate.
1201 * src/Makefie.in: Regenerate.
1202 * testsuite/makefile.in: Regenerate.
1204 2005-06-27 Paolo Carlini <pcarlini@suse.de>
1207 * include/bits/stl_tree.h (insert_unique(iterator, const _Val&),
1208 insert_equal((iterator, const _Val&)): Reimplement to check both
1209 before and after, as per the algorithm "ignore hint if wrong" of
1212 2005-06-27 Benjamin Kosnik <bkoz@redhat.com>
1213 Ami Tavory <pbassoc@gmail.com>
1215 * docs/html/documentation.html: Add link for policy based
1216 associative containers docs.
1217 * docs/html/ext/pb_assoc/Std_hash_set_impl.jpg: New.
1218 * docs/html/ext/pb_assoc/acks.html: New.
1219 * docs/html/ext/pb_assoc/balls_and_bins.jpg: New.
1220 * docs/html/ext/pb_assoc/basic_assoc_cntnr.html: New.
1221 * docs/html/ext/pb_assoc/basic_assoc_cntnr_compound_data.html: New.
1222 * docs/html/ext/pb_assoc/basic_assoc_cntnr_no_data.html: New.
1223 * docs/html/ext/pb_assoc/basic_ds_tag.html: New.
1224 * docs/html/ext/pb_assoc/basic_hash_assoc_cntnr.html: New.
1225 * docs/html/ext/pb_assoc/basic_hash_ds_tag.html: New.
1226 * docs/html/ext/pb_assoc/basic_invalidation_guarantee.html: New.
1227 * docs/html/ext/pb_assoc/basic_ms_tag.html: New.
1228 * docs/html/ext/pb_assoc/basic_tree_assoc_cntnr.html: New.
1229 * docs/html/ext/pb_assoc/
1230 basic_tree_assoc_cntnr_const_node_iterator.html: New.
1231 * docs/html/ext/pb_assoc/
1232 basic_tree_assoc_cntnr_node_iterator.html: New.
1233 * docs/html/ext/pb_assoc/basic_tree_assoc_cntnr_rev.html: New.
1234 * docs/html/ext/pb_assoc/basic_tree_assoc_cntnr_rev_it.html: New.
1235 * docs/html/ext/pb_assoc/basic_tree_ds_tag.html: New.
1236 * docs/html/ext/pb_assoc/cc_hash_assoc_cntnr.html: New.
1237 * docs/html/ext/pb_assoc/cc_hash_ds_tag.html: New.
1238 * docs/html/ext/pb_assoc/
1239 cc_hash_max_collision_check_resize_trigger.html: New.
1240 * docs/html/ext/pb_assoc/cc_hash_policy_cd.jpg: New.
1241 * docs/html/ext/pb_assoc/cd.jpg: New.
1242 * docs/html/ext/pb_assoc/component_requirements.html: New.
1243 * docs/html/ext/pb_assoc/compound_data_enabled_ms_tag.html: New.
1244 * docs/html/ext/pb_assoc/compound_data_type.html: New.
1245 * docs/html/ext/pb_assoc/compound_ds_tag.html: New.
1246 * docs/html/ext/pb_assoc/concepts.html: New.
1247 * docs/html/ext/pb_assoc/contact.html: New.
1248 * docs/html/ext/pb_assoc/counter_update_metadata.html: New.
1249 * docs/html/ext/pb_assoc/counter_update_policy.html: New.
1250 * docs/html/ext/pb_assoc/data_enabled_ms_tag.html: New.
1251 * docs/html/ext/pb_assoc/design.html: New.
1252 * docs/html/ext/pb_assoc/different_underlying_dss.jpg: New.
1253 * docs/html/ext/pb_assoc/direct_mask_range_hashing.html: New.
1254 * docs/html/ext/pb_assoc/direct_mod_range_hashing.html: New.
1255 * docs/html/ext/pb_assoc/disclaimer.html: New.
1256 * docs/html/ext/pb_assoc/ds_gen.html: New.
1257 * docs/html/ext/pb_assoc/ds_tag_cd.jpg: New.
1258 * docs/html/ext/pb_assoc/ds_traits.html: New.
1259 * docs/html/ext/pb_assoc/embedded_lists_1.jpg: New.
1260 * docs/html/ext/pb_assoc/embedded_lists_2.jpg: New.
1261 * docs/html/ext/pb_assoc/examples.html: New.
1262 * docs/html/ext/pb_assoc/exception_guarantees_specifics.html: New.
1263 * docs/html/ext/pb_assoc/find_invalidation_guarantee.html: New.
1264 * docs/html/ext/pb_assoc/find_iterators_cd.jpg: New.
1265 * docs/html/ext/pb_assoc/find_iterators_range_ops_1.jpg: New.
1266 * docs/html/ext/pb_assoc/find_iterators_range_ops_2.jpg: New.
1267 * docs/html/ext/pb_assoc/generics.html: New.
1268 * docs/html/ext/pb_assoc/gp_hash_assoc_cntnr.html: New.
1269 * docs/html/ext/pb_assoc/gp_hash_ds_tag.html: New.
1270 * docs/html/ext/pb_assoc/gp_hash_policy_cd.jpg: New.
1271 * docs/html/ext/pb_assoc/hash_and_probe_general.html: New.
1272 * docs/html/ext/pb_assoc/hash_based_containers.html: New.
1273 * docs/html/ext/pb_assoc/hash_cd.jpg: New.
1274 * docs/html/ext/pb_assoc/hash_exponential_size_policy.html: New.
1275 * docs/html/ext/pb_assoc/hash_fn.html: New.
1276 * docs/html/ext/pb_assoc/hash_load_check_resize_trigger.html: New.
1277 * docs/html/ext/pb_assoc/hash_policies.html: New.
1278 * docs/html/ext/pb_assoc/hash_policy_cd.jpg: New.
1279 * docs/html/ext/pb_assoc/hash_prime_size_policy.html: New.
1280 * docs/html/ext/pb_assoc/hash_range_hashing_seq_diagram.jpg: New.
1281 * docs/html/ext/pb_assoc/hash_range_hashing_seq_diagram2.jpg: New.
1282 * docs/html/ext/pb_assoc/hash_ranged_hash_range_hashing_fns.jpg: New.
1283 * docs/html/ext/pb_assoc/hash_standard_resize_policy.html: New.
1284 * docs/html/ext/pb_assoc/home.html: New.
1285 * docs/html/ext/pb_assoc/index.html: New.
1286 * docs/html/ext/pb_assoc/insert_resize_sequence_diagram1.jpg: New.
1287 * docs/html/ext/pb_assoc/insert_resize_sequence_diagram2.jpg: New.
1288 * docs/html/ext/pb_assoc/insert_resize_sequence_diagram3.jpg: New.
1289 * docs/html/ext/pb_assoc/insert_type_methods.html: New.
1290 * docs/html/ext/pb_assoc/interface.html: New.
1291 * docs/html/ext/pb_assoc/interval_node_invariants.jpg: New.
1292 * docs/html/ext/pb_assoc/introduction.html: New.
1293 * docs/html/ext/pb_assoc/invalidation_guarantee_cd.jpg: New.
1294 * docs/html/ext/pb_assoc/invalidation_guarantee_erase.jpg: New.
1295 * docs/html/ext/pb_assoc/lib_download.html: New.
1296 * docs/html/ext/pb_assoc/linear_probe_fn.html: New.
1297 * docs/html/ext/pb_assoc/list_updates.html: New.
1298 * docs/html/ext/pb_assoc/lu_assoc_cntnr.html: New.
1299 * docs/html/ext/pb_assoc/lu_based_containers.html: New.
1300 * docs/html/ext/pb_assoc/lu_cd.jpg: New.
1301 * docs/html/ext/pb_assoc/lu_ds_tag.html: New.
1302 * docs/html/ext/pb_assoc/lu_ops.jpg: New.
1303 * docs/html/ext/pb_assoc/mmap_value_utils.html: New.
1304 * docs/html/ext/pb_assoc/motivation.html: New.
1305 * docs/html/ext/pb_assoc/move_to_front_update_metadata.html: New.
1306 * docs/html/ext/pb_assoc/move_to_front_update_policy.html: New.
1307 * docs/html/ext/pb_assoc/ms_cd.jpg: New.
1308 * docs/html/ext/pb_assoc/ms_gen.html: New.
1309 * docs/html/ext/pb_assoc/ms_tag_cd.jpg: New.
1310 * docs/html/ext/pb_assoc/ms_traits.html: New.
1311 * docs/html/ext/pb_assoc/node_invariant_invalidations.jpg: New.
1312 * docs/html/ext/pb_assoc/node_invariants.html: New.
1313 * docs/html/ext/pb_assoc/node_invariants.jpg: New.
1314 * docs/html/ext/pb_assoc/non_unique_mapping.html: New.
1315 * docs/html/ext/pb_assoc/non_unique_mapping_containers.jpg: New.
1316 * docs/html/ext/pb_assoc/null_data_type.html: New.
1317 * docs/html/ext/pb_assoc/null_hash_fn.html: New.
1318 * docs/html/ext/pb_assoc/null_probe_fn.html: New.
1319 * docs/html/ext/pb_assoc/order_by_key.html: New.
1320 * docs/html/ext/pb_assoc/order_statistics_key.html: New.
1321 * docs/html/ext/pb_assoc/order_statistics_key_cmp.html: New.
1322 * docs/html/ext/pb_assoc/order_statistics_node_updator.html: New.
1323 * docs/html/ext/pb_assoc/ov_tree_ds_tag.html: New.
1324 * docs/html/ext/pb_assoc/overview.html: New.
1325 * docs/html/ext/pb_assoc/pb_assoc_ex.html: New.
1326 * docs/html/ext/pb_assoc/portability.html: New.
1327 * docs/html/ext/pb_assoc/quadratic_probe_fn.html: New.
1328 * docs/html/ext/pb_assoc/range_invalidation_guarantee.html: New.
1329 * docs/html/ext/pb_assoc/rank_node_invariants.jpg: New.
1330 * docs/html/ext/pb_assoc/rationale_null_node_updator.jpg: New.
1331 * docs/html/ext/pb_assoc/rb_tree_ds_tag.html: New.
1332 * docs/html/ext/pb_assoc/reference_iterator.jpg: New.
1333 * docs/html/ext/pb_assoc/references.html: New.
1334 * docs/html/ext/pb_assoc/regression_tests.html: New.
1335 * docs/html/ext/pb_assoc/resize_general.html: New.
1336 * docs/html/ext/pb_assoc/resize_policies.html: New.
1337 * docs/html/ext/pb_assoc/resize_policy_cd.jpg: New.
1338 * docs/html/ext/pb_assoc/restoring_node_invariants.jpg: New.
1339 * docs/html/ext/pb_assoc/sample_node_updator.hpp: New.
1340 * docs/html/ext/pb_assoc/sample_probe_fn.hpp: New.
1341 * docs/html/ext/pb_assoc/sample_probe_fn.html: New.
1342 * docs/html/ext/pb_assoc/sample_range_hashing.hpp: New.
1343 * docs/html/ext/pb_assoc/sample_range_hashing.html: New.
1344 * docs/html/ext/pb_assoc/sample_ranged_hash_fn.hpp: New.
1345 * docs/html/ext/pb_assoc/sample_ranged_hash_fn.html: New.
1346 * docs/html/ext/pb_assoc/sample_ranged_probe_fn.hpp: New.
1347 * docs/html/ext/pb_assoc/sample_ranged_probe_fn.html: New.
1348 * docs/html/ext/pb_assoc/sample_resize_policy.hpp: New.
1349 * docs/html/ext/pb_assoc/sample_resize_policy.html: New.
1350 * docs/html/ext/pb_assoc/sample_resize_trigger.hpp: New.
1351 * docs/html/ext/pb_assoc/sample_size_policy.hpp: New.
1352 * docs/html/ext/pb_assoc/sample_update_policy.hpp: New.
1353 * docs/html/ext/pb_assoc/size_policies_general.html: New.
1354 * docs/html/ext/pb_assoc/splay_tree_ds_tag.html: New.
1355 * docs/html/ext/pb_assoc/timing_tests.html: New.
1356 * docs/html/ext/pb_assoc/toc.html: New.
1357 * docs/html/ext/pb_assoc/tree_assoc_cntnr.html: New.
1358 * docs/html/ext/pb_assoc/
1359 tree_assoc_cntnr_const_node_iterator.html: New.
1360 * docs/html/ext/pb_assoc/tree_assoc_cntnr_node_iterator.html: New.
1361 * docs/html/ext/pb_assoc/tree_based_containers.html: New.
1362 * docs/html/ext/pb_assoc/tree_cd.jpg: New.
1363 * docs/html/ext/pb_assoc/trigger_policies_general.html: New.
1364 * docs/html/ext/pb_assoc/tutorial.html: New.
1365 * docs/html/ext/pb_assoc/update_seq_diagram.jpg: New.
1366 * include/Makefile.am: Add assoc_srcdir, assoc_builddir, assoc_subdir,
1368 * include/Makefile.in: Regenerate.
1369 * include/ext/typelist.h: New.
1370 * include/ext/pb_assoc/assoc_cntnr.hpp: New.
1371 * include/ext/pb_assoc/data_type.hpp: New.
1372 * include/ext/pb_assoc/ds_trait.hpp: New.
1373 * include/ext/pb_assoc/exception.hpp: New.
1374 * include/ext/pb_assoc/hash_policy.hpp: New.
1375 * include/ext/pb_assoc/lu_policy.hpp: New.
1376 * include/ext/pb_assoc/ms_trait.hpp: New.
1377 * include/ext/pb_assoc/tree_policy.hpp: New.
1378 * include/ext/pb_assoc/trivial_iterator_def.hpp: New.
1379 * include/ext/pb_assoc/detail/assoc_cntnr_base.hpp: New.
1380 * include/ext/pb_assoc/detail/cond_dealtor.hpp: New.
1381 * include/ext/pb_assoc/detail/constructors_destructor_fn_imps.hpp: New.
1382 * include/ext/pb_assoc/detail/ds_trait_imp.hpp: New.
1383 * include/ext/pb_assoc/detail/hash_types_traits.hpp: New.
1384 * include/ext/pb_assoc/detail/map_debug_base.hpp: New.
1385 * include/ext/pb_assoc/detail/mapping_level_imp.hpp: New.
1386 * include/ext/pb_assoc/detail/ms_category_imp.hpp: New.
1387 * include/ext/pb_assoc/detail/ms_trait_imp.hpp: New.
1388 * include/ext/pb_assoc/detail/order_statistics_imp.hpp: New.
1389 * include/ext/pb_assoc/detail/standard_policies.hpp: New.
1390 * include/ext/pb_assoc/detail/standard_sizes.hpp: New.
1391 * include/ext/pb_assoc/detail/type_utils.hpp: New.
1392 * include/ext/pb_assoc/detail/typelist.hpp: New.
1393 * include/ext/pb_assoc/detail/types_traits.hpp: New.
1394 * include/ext/pb_assoc/detail/basic_assoc_cntnr/
1395 constructor_destructor_fn_imps.hpp: New.
1396 * include/ext/pb_assoc/detail/basic_assoc_cntnr/
1397 constructors_destructor_fn_imps.hpp: New.
1398 * include/ext/pb_assoc/detail/basic_assoc_cntnr/d_extract_key.hpp: New.
1399 * include/ext/pb_assoc/detail/basic_assoc_cntnr/
1400 d_find_fn_imps.hpp: New.
1401 * include/ext/pb_assoc/detail/basic_assoc_cntnr/
1402 d_insert_fn_imps.hpp: New.
1403 * include/ext/pb_assoc/detail/basic_assoc_cntnr/erase_fn_imps.hpp: New.
1404 * include/ext/pb_assoc/detail/basic_assoc_cntnr/extract_key.hpp: New.
1405 * include/ext/pb_assoc/detail/basic_assoc_cntnr/info_fn_imps.hpp: New.
1406 * include/ext/pb_assoc/detail/basic_assoc_cntnr/
1407 insert_fn_imps.hpp: New.
1408 * include/ext/pb_assoc/detail/basic_assoc_cntnr/
1409 iterators_fn_imps.hpp: New.
1410 * include/ext/pb_assoc/detail/basic_hash_assoc_cntnr/
1411 constructor_destructor_fn_imps.hpp: New.
1412 * include/ext/pb_assoc/detail/basic_hash_assoc_cntnr/
1413 constructors_destructor_fn_imps.hpp: New.
1414 * include/ext/pb_assoc/detail/basic_hash_assoc_cntnr/
1415 resize_fn_imps.hpp: New.
1416 * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
1417 constructor_destructor_fn_imps.hpp: New.
1418 * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
1419 constructors_destructor_fn_imps.hpp: New.
1420 * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
1421 erase_fn_imps.hpp: New.
1422 * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
1423 node_iteration_fn_imps.hpp: New.
1424 * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
1425 policy_access_fn_imps.hpp: New.
1426 * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
1427 r_erase_fn_imps.hpp: New.
1428 * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
1429 r_range_iteration_fn_imps.hpp: New.
1430 * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
1431 range_iteration_fn_imps.hpp: New.
1432 * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
1433 split_join_fn_imps.hpp: New.
1434 * include/ext/pb_assoc/detail/bin_search_tree_/
1435 bin_search_tree_.hpp: New.
1436 * include/ext/pb_assoc/detail/bin_search_tree_/
1437 cond_dtor_entry_dealtor.hpp: New.
1438 * include/ext/pb_assoc/detail/bin_search_tree_/
1439 cond_key_dtor_entry_dealtor.hpp: New.
1440 * include/ext/pb_assoc/detail/bin_search_tree_/
1441 constructors_destructor_fn_imps.hpp: New.
1442 * include/ext/pb_assoc/detail/bin_search_tree_/debug_fn_imps.hpp: New.
1443 * include/ext/pb_assoc/detail/bin_search_tree_/erase_fn_imps.hpp: New.
1444 * include/ext/pb_assoc/detail/bin_search_tree_/find_fn_imps.hpp: New.
1445 * include/ext/pb_assoc/detail/bin_search_tree_/find_iterators.hpp: New.
1446 * include/ext/pb_assoc/detail/bin_search_tree_/info_fn_imps.hpp: New.
1447 * include/ext/pb_assoc/detail/bin_search_tree_/insert_fn_imps.hpp: New.
1448 * include/ext/pb_assoc/detail/bin_search_tree_/
1449 iterators_fn_imps.hpp: New.
1450 * include/ext/pb_assoc/detail/bin_search_tree_/node_iterators.hpp: New.
1451 * include/ext/pb_assoc/detail/bin_search_tree_/
1452 r_erase_fn_imps.hpp: New.
1453 * include/ext/pb_assoc/detail/bin_search_tree_/rotate_fn_imps.hpp: New.
1454 * include/ext/pb_assoc/detail/bin_search_tree_/
1455 split_join_fn_imps.hpp: New.
1456 * include/ext/pb_assoc/detail/cc_hash_assoc_cntnr/
1457 constructor_destructor_fn_imps.hpp: New.
1458 * include/ext/pb_assoc/detail/cc_ht_map_/cc_ht_map_.hpp: New.
1459 * include/ext/pb_assoc/detail/cc_ht_map_/cmp_fn_imps.hpp: New.
1460 * include/ext/pb_assoc/detail/cc_ht_map_/
1461 cond_key_dtor_entry_dealtor.hpp: New.
1462 * include/ext/pb_assoc/detail/cc_ht_map_/
1463 constructor_destructor_fn_imps.hpp: New.
1464 * include/ext/pb_assoc/detail/cc_ht_map_/
1465 constructor_destructor_no_store_hash_fn_imps.hpp: New.
1466 * include/ext/pb_assoc/detail/cc_ht_map_/
1467 constructor_destructor_store_hash_fn_imps.hpp: New.
1468 * include/ext/pb_assoc/detail/cc_ht_map_/debug_fn_imps.hpp: New.
1469 * include/ext/pb_assoc/detail/cc_ht_map_/
1470 debug_no_store_hash_fn_imps.hpp: New.
1471 * include/ext/pb_assoc/detail/cc_ht_map_/
1472 debug_store_hash_fn_imps.hpp: New.
1473 * include/ext/pb_assoc/detail/cc_ht_map_/entry_list_fn_imps.hpp: New.
1474 * include/ext/pb_assoc/detail/cc_ht_map_/erase_fn_imps.hpp: New.
1475 * include/ext/pb_assoc/detail/cc_ht_map_/
1476 erase_no_store_hash_fn_imps.hpp: New.
1477 * include/ext/pb_assoc/detail/cc_ht_map_/
1478 erase_store_hash_fn_imps.hpp: New.
1479 * include/ext/pb_assoc/detail/cc_ht_map_/
1480 find_fn_imps.hpp: New.
1481 * include/ext/pb_assoc/detail/cc_ht_map_/
1482 find_no_store_hash_fn_imps.hpp: New.
1483 * include/ext/pb_assoc/detail/cc_ht_map_/
1484 find_store_hash_fn_imps.hpp: New.
1485 * include/ext/pb_assoc/detail/cc_ht_map_/info_fn_imps.hpp: New.
1486 * include/ext/pb_assoc/detail/cc_ht_map_/insert_fn_imps.hpp: New.
1487 * include/ext/pb_assoc/detail/cc_ht_map_/
1488 insert_no_store_hash_fn_imps.hpp: New.
1489 * include/ext/pb_assoc/detail/cc_ht_map_/
1490 insert_store_hash_fn_imps.hpp: New.
1491 * include/ext/pb_assoc/detail/cc_ht_map_/iterators_fn_imps.hpp: New.
1492 * include/ext/pb_assoc/detail/cc_ht_map_/
1493 policy_access_fn_imps.hpp: New.
1494 * include/ext/pb_assoc/detail/cc_ht_map_/resize_fn_imps.hpp: New.
1495 * include/ext/pb_assoc/detail/cc_ht_map_/
1496 resize_no_store_hash_fn_imps.hpp: New.
1497 * include/ext/pb_assoc/detail/cc_ht_map_/
1498 resize_store_hash_fn_imps.hpp: New.
1499 * include/ext/pb_assoc/detail/cc_ht_map_/size_fn_imps.hpp: New.
1500 * include/ext/pb_assoc/detail/cc_ht_map_/standard_policies.hpp: New.
1501 * include/ext/pb_assoc/detail/eq_fn/eq_by_less.hpp: New.
1502 * include/ext/pb_assoc/detail/eq_fn/hash_eq_fn.hpp: New.
1503 * include/ext/pb_assoc/detail/gp_hash_assoc_cntnr/
1504 constructor_destructor_fn_imps.hpp: New.
1505 * include/ext/pb_assoc/detail/gp_ht_map_/
1506 constructor_destructor_fn_imps.hpp: New.
1507 * include/ext/pb_assoc/detail/gp_ht_map_/
1508 constructor_destructor_no_store_hash_fn_imps.hpp: New.
1509 * include/ext/pb_assoc/detail/gp_ht_map_/
1510 constructor_destructor_store_hash_fn_imps.hpp: New.
1511 * include/ext/pb_assoc/detail/gp_ht_map_/debug_fn_imps.hpp: New.
1512 * include/ext/pb_assoc/detail/gp_ht_map_/
1513 debug_no_store_hash_fn_imps.hpp: New.
1514 * include/ext/pb_assoc/detail/gp_ht_map_/
1515 debug_store_hash_fn_imps.hpp: New.
1516 * include/ext/pb_assoc/detail/gp_ht_map_/erase_fn_imps.hpp: New.
1517 * include/ext/pb_assoc/detail/gp_ht_map_/
1518 erase_no_store_hash_fn_imps.hpp: New.
1519 * include/ext/pb_assoc/detail/gp_ht_map_/
1520 erase_store_hash_fn_imps.hpp: New.
1521 * include/ext/pb_assoc/detail/gp_ht_map_/find_fn_imps.hpp: New.
1522 * include/ext/pb_assoc/detail/gp_ht_map_/
1523 find_no_store_hash_fn_imps.hpp: New.
1524 * include/ext/pb_assoc/detail/gp_ht_map_/
1525 find_store_hash_fn_imps.hpp: New.
1526 * include/ext/pb_assoc/detail/gp_ht_map_/gp_ht_map_.hpp: New.
1527 * include/ext/pb_assoc/detail/gp_ht_map_/info_fn_imps.hpp: New.
1528 * include/ext/pb_assoc/detail/gp_ht_map_/insert_fn_imps.hpp: New.
1529 * include/ext/pb_assoc/detail/gp_ht_map_/
1530 insert_no_store_hash_fn_imps.hpp: New.
1531 * include/ext/pb_assoc/detail/gp_ht_map_/
1532 insert_store_hash_fn_imps.hpp: New.
1533 * include/ext/pb_assoc/detail/gp_ht_map_/iterator_fn_imps.hpp: New.
1534 * include/ext/pb_assoc/detail/gp_ht_map_/
1535 policy_access_fn_imps.hpp: New.
1536 * include/ext/pb_assoc/detail/gp_ht_map_/resize_fn_imps.hpp: New.
1537 * include/ext/pb_assoc/detail/gp_ht_map_/
1538 resize_no_store_hash_fn_imps.hpp: New.
1539 * include/ext/pb_assoc/detail/gp_ht_map_/
1540 resize_store_hash_fn_imps.hpp: New.
1541 * include/ext/pb_assoc/detail/hash_fn/
1542 direct_mask_range_hashing_imp.hpp: New.
1543 * include/ext/pb_assoc/detail/hash_fn/
1544 direct_mod_range_hashing_imp.hpp: New.
1545 * include/ext/pb_assoc/detail/hash_fn/linear_probe_fn_imp.hpp: New.
1546 * include/ext/pb_assoc/detail/hash_fn/
1547 mask_based_range_hashing.hpp: New.
1548 * include/ext/pb_assoc/detail/hash_fn/mod_based_range_hashing.hpp: New.
1549 * include/ext/pb_assoc/detail/hash_fn/probe_fn_base.hpp: New.
1550 * include/ext/pb_assoc/detail/hash_fn/quadratic_probe_fn_imp.hpp: New.
1551 * include/ext/pb_assoc/detail/hash_fn/ranged_hash_fn.hpp: New.
1552 * include/ext/pb_assoc/detail/hash_fn/ranged_probe_fn.hpp: New.
1553 * include/ext/pb_assoc/detail/lu_assoc_cntnr/
1554 constructor_destructor_fn_imps.hpp: New.
1555 * include/ext/pb_assoc/detail/lu_assoc_cntnr/
1556 policy_access_fn_imps.hpp: New.
1557 * include/ext/pb_assoc/detail/lu_map_/
1558 constructor_destructor_fn_imps.hpp: New.
1559 * include/ext/pb_assoc/detail/lu_map_/debug_fn_imps.hpp: New.
1560 * include/ext/pb_assoc/detail/lu_map_/erase_fn_imps.hpp: New.
1561 * include/ext/pb_assoc/detail/lu_map_/find_fn_imps.hpp: New.
1562 * include/ext/pb_assoc/detail/lu_map_/info_fn_imps.hpp: New.
1563 * include/ext/pb_assoc/detail/lu_map_/insert_fn_imps.hpp: New.
1564 * include/ext/pb_assoc/detail/lu_map_/iterators_fn_imps.hpp: New.
1565 * include/ext/pb_assoc/detail/lu_map_/lu_map_.hpp: New.
1566 * include/ext/pb_assoc/detail/lu_map_/policy_access_fn_imps.hpp: New.
1567 * include/ext/pb_assoc/detail/lu_policy/
1568 counter_lu_metadata_imp.hpp: New.
1569 * include/ext/pb_assoc/detail/lu_policy/counter_lu_policy_imp.hpp: New.
1570 * include/ext/pb_assoc/detail/lu_policy/mtf_lu_policy_imp.hpp: New.
1571 * include/ext/pb_assoc/detail/ov_tree_map_/cond_dtor.hpp: New.
1572 * include/ext/pb_assoc/detail/ov_tree_map_/
1573 constructors_destructor_fn_imps.hpp: New.
1574 * include/ext/pb_assoc/detail/ov_tree_map_/debug_fn_imps.hpp: New.
1575 * include/ext/pb_assoc/detail/ov_tree_map_/erase_fn_imps.hpp: New.
1576 * include/ext/pb_assoc/detail/ov_tree_map_/find_fn_imps.hpp: New.
1577 * include/ext/pb_assoc/detail/ov_tree_map_/info_fn_imps.hpp: New.
1578 * include/ext/pb_assoc/detail/ov_tree_map_/insert_fn_imps.hpp: New.
1579 * include/ext/pb_assoc/detail/ov_tree_map_/iterators_fn_imps.hpp: New.
1580 * include/ext/pb_assoc/detail/ov_tree_map_/node_iterators.hpp: New.
1581 * include/ext/pb_assoc/detail/ov_tree_map_/ov_tree_map_.hpp: New.
1582 * include/ext/pb_assoc/detail/ov_tree_map_/split_join_fn_imps.hpp: New.
1583 * include/ext/pb_assoc/detail/rb_tree_map_/
1584 constructors_destructor_fn_imps.hpp: New.
1585 * include/ext/pb_assoc/detail/rb_tree_map_/debug_fn_imps.hpp: New.
1586 * include/ext/pb_assoc/detail/rb_tree_map_/erase_fn_imps.hpp: New.
1587 * include/ext/pb_assoc/detail/rb_tree_map_/find_fn_imps.hpp: New.
1588 * include/ext/pb_assoc/detail/rb_tree_map_/info_fn_imps.hpp: New.
1589 * include/ext/pb_assoc/detail/rb_tree_map_/insert_fn_imps.hpp: New.
1590 * include/ext/pb_assoc/detail/rb_tree_map_/node.hpp: New.
1591 * include/ext/pb_assoc/detail/rb_tree_map_/rb_tree_.hpp: New.
1592 * include/ext/pb_assoc/detail/rb_tree_map_/split_join_fn_imps.hpp: New.
1593 * include/ext/pb_assoc/detail/resize_policy/
1594 cc_hash_max_collision_resize_trigger_imp.hpp: New.
1595 * include/ext/pb_assoc/detail/resize_policy/
1596 hash_exponential_size_policy_imp.hpp: New.
1597 * include/ext/pb_assoc/detail/resize_policy/
1598 hash_load_check_resize_trigger_imp.hpp: New.
1599 * include/ext/pb_assoc/detail/resize_policy/
1600 hash_prime_size_policy_imp.hpp: New.
1601 * include/ext/pb_assoc/detail/resize_policy/
1602 hash_standard_resize_policy_imp.hpp: New.
1603 * include/ext/pb_assoc/detail/resize_policy/
1604 ht_prime_size_policy_imp.hpp: New.
1605 * include/ext/pb_assoc/detail/resize_policy/size_base.hpp: New.
1606 * include/ext/pb_assoc/detail/splay_tree_/
1607 constructors_destructor_fn_imps.hpp: New.
1608 * include/ext/pb_assoc/detail/splay_tree_/debug_fn_imps.hpp: New.
1609 * include/ext/pb_assoc/detail/splay_tree_/erase_fn_imps.hpp: New.
1610 * include/ext/pb_assoc/detail/splay_tree_/find_fn_imps.hpp: New.
1611 * include/ext/pb_assoc/detail/splay_tree_/info_fn_imps.hpp: New.
1612 * include/ext/pb_assoc/detail/splay_tree_/insert_fn_imps.hpp: New.
1613 * include/ext/pb_assoc/detail/splay_tree_/node.hpp: New.
1614 * include/ext/pb_assoc/detail/splay_tree_/splay_fn_imps.hpp: New.
1615 * include/ext/pb_assoc/detail/splay_tree_/splay_tree_.hpp: New.
1616 * include/ext/pb_assoc/detail/splay_tree_/split_join_fn_imps.hpp: New.
1617 * include/ext/pb_assoc/detail/tree_assoc_cntnr/
1618 constructor_destructor_fn_imps.hpp: New.
1619 * include/ext/pb_assoc/detail/tree_policy/
1620 null_node_updator_imp.hpp: New.
1621 * include/ext/pb_assoc/detail/tree_policy/
1622 order_statistics_imp.hpp: New.
1623 * include/ext/pb_assoc/detail/typelist/typelist_append.hpp: New.
1624 * include/ext/pb_assoc/detail/typelist/typelist_apply.hpp: New.
1625 * include/ext/pb_assoc/detail/typelist/typelist_at_index.hpp: New.
1626 * include/ext/pb_assoc/detail/typelist/typelist_contains.hpp: New.
1627 * include/ext/pb_assoc/detail/typelist/typelist_filter.hpp: New.
1628 * include/ext/pb_assoc/detail/typelist/typelist_transform.hpp: New.
1629 * include/ext/pb_assoc/detail/typelist/
1630 typelist_typelist_append.hpp: New.
1631 * include/ext/pb_assoc/detail/unordered_iterator/
1632 const_find_iterator.hpp: New.
1633 * include/ext/pb_assoc/detail/unordered_iterator/
1634 const_iterator.hpp: New.
1635 * include/ext/pb_assoc/detail/unordered_iterator/
1636 find_iterator.hpp: New.
1637 * include/ext/pb_assoc/detail/unordered_iterator/iterator.hpp: New.
1638 * include/ext/pb_assoc/detail/value_type_adapter/
1639 constructor_destructor_and_related.hpp: New.
1640 * include/ext/pb_assoc/detail/value_type_adapter/
1641 erase_fn_imps.hpp: New.
1642 * include/ext/pb_assoc/detail/value_type_adapter/
1643 erase_if_pred.hpp: New.
1644 * include/ext/pb_assoc/detail/value_type_adapter/find_fn_imps.hpp: New.
1645 * include/ext/pb_assoc/detail/value_type_adapter/info_fn_imps.hpp: New.
1646 * include/ext/pb_assoc/detail/value_type_adapter/
1647 insert_fn_imps.hpp: New.
1648 * include/ext/pb_assoc/detail/value_type_adapter/
1649 invalidation_guarantee_selector.hpp: New.
1650 * include/ext/pb_assoc/detail/value_type_adapter/
1651 it_value_type_traits.hpp: New.
1652 * include/ext/pb_assoc/detail/value_type_adapter/iterator.hpp: New.
1653 * include/ext/pb_assoc/detail/value_type_adapter/
1654 iterator_fn_imps.hpp: New.
1655 * include/ext/pb_assoc/detail/value_type_adapter/ref_pair.hpp: New.
1656 * include/ext/pb_assoc/detail/value_type_adapter/
1657 value_type_adapter.hpp: New.
1658 * include/ext/pb_assoc/detail/value_type_adapter/
1659 value_type_traits.hpp: New.
1660 * testsuite/Makefile.am (CLEANFILES): Add .o, .dat, .cc.
1661 * testsuite/Makefile.in: Regenerate.
1662 * testsuite/testsuite_common_types.h: New.
1663 * testsuite/testsuite_visualization.h: New.
1664 * testsuite/ext/pb_assoc/example/basic_map.cc: New.
1665 * testsuite/ext/pb_assoc/example/basic_multimap.cc: New.
1666 * testsuite/ext/pb_assoc/example/basic_set.cc: New.
1667 * testsuite/ext/pb_assoc/example/ds_traits.cc: New.
1668 * testsuite/ext/pb_assoc/example/erase_if.cc: New.
1669 * testsuite/ext/pb_assoc/example/extract_key.cc: New.
1670 * testsuite/ext/pb_assoc/example/hash_find_neg.cc: New.
1671 * testsuite/ext/pb_assoc/example/hash_illegal_resize.cc: New.
1672 * testsuite/ext/pb_assoc/example/hash_initial_size.cc: New.
1673 * testsuite/ext/pb_assoc/example/hash_load_set_change.cc: New.
1674 * testsuite/ext/pb_assoc/example/hash_mod.cc: New.
1675 * testsuite/ext/pb_assoc/example/hash_resize.cc: New.
1676 * testsuite/ext/pb_assoc/example/hash_resize_neg.cc: New.
1677 * testsuite/ext/pb_assoc/example/hash_shift_mask.cc: New.
1678 * testsuite/ext/pb_assoc/example/mapping_level.cc: New.
1679 * testsuite/ext/pb_assoc/example/mapping_level_neg.cc: New.
1680 * testsuite/ext/pb_assoc/example/ms_traits.cc: New.
1681 * testsuite/ext/pb_assoc/example/ranged_hash.cc: New.
1682 * testsuite/ext/pb_assoc/example/store_hash.cc: New.
1683 * testsuite/ext/pb_assoc/example/tree_intervals.cc: New.
1684 * testsuite/ext/pb_assoc/example/tree_join.cc: New.
1685 * testsuite/ext/pb_assoc/example/tree_order_statistics.cc: New.
1686 * testsuite/ext/pb_assoc/example/tree_order_statistics_join.cc: New.
1687 * testsuite/ext/pb_assoc/example/tree_split.cc: New.
1688 * testsuite/performance/20_util/allocator/(insert.cc,
1689 insert_insert.cc, list_sort_search.cc, map_mt_find.cc, map_thread.cc,
1690 producer_consumer.cc): Recast to use typelists and move to...
1691 * testsuite/performance/23_containers/find/map.cc: New.
1692 * testsuite/performance/23_containers/index/map.cc: New.
1693 * testsuite/performance/23_containers/insert/associative.cc: New.
1694 * testsuite/performance/23_containers/insert/sequence.cc: New.
1695 * testsuite/performance/23_containers/insert_erase/associative.cc: New.
1696 * testsuite/performance/23_containers/producer_consumer/
1697 (associative.cc, sequence.cc): New.
1698 * testsuite/performance/23_containers/sort_search/list.cc: New.
1699 * testsuite/performance/23_containers/container_benchmark.cc: Remove.
1700 * testsuite/performance/23_containers/map_create_fill.cc: Move...
1701 * testsuite/performance/23_containers/create/map.cc: ...here.
1702 * testsuite/performance/23_containers/set_create_from_sorted.cc: Move.
1703 * testsuite/performance/23_containers/create_from_sorted/set.cc: here.
1704 * testsuite/performance/23_containers/list_create_fill_sort.cc: Move...
1705 * testsuite/performance/23_containers/create_sort/list.cc: ...here.
1706 * testsuite/performance/23_containers/set_insert_from_sorted.cc: Move.
1707 * testsuite/performance/23_containers/insert_from_sorted/set.cc: here.
1709 2005-06-23 Jakub Jelinek <jakub@redhat.com>
1712 * src/compatibility.cc (_GLIBCXX_SYMVER_COMPATIBILITY): Remove.
1713 (istreambuf_iterator, basic_fstream, basic_ifstream, basic_ofstream,
1714 _M_copy, _M_move, _M_assign, _M_disjunct, _M_check_length,
1715 _M_set_length_and_sharable, ignore, eq): Define to XX suffixed
1717 (ignore (streamsize)): Remove _W prefixed aliases.
1718 (_GLIBCXX_3_4_SYMVER_SPECIAL, _GLIBCXX_3_4_5_SYMVER_SPECIAL,
1719 _GLIBCXX_APPLY_SYMVER_SPECIAL): Remove.
1720 (_GLIBCXX_3_4_SYMVER, _GLIBCXX_3_4_5_SYMVER): Add XXname argument.
1721 Use #XXname instead of #name as the alias argument.
1722 * config/abi/compatibility.h: Replace uses of
1723 _GLIBCXX_APPLY_SYMVER_SPECIAL with _GLIBCXX_APPLY_SYMVER. Always
1724 pass 2 arguments to the _GLIBCXX_APPLY_SYMVER macro.
1725 * include/bits/char_traits.h (char_traits::eq): Revert 2005-06-15
1727 * acinclude.m4: Decrease glibcxx_min_gnu_ld_version back to 21400.
1728 * configure: Rebuilt.
1730 2005-06-19 Benjamin Kosnik <bkoz@redhat.com>
1733 * acinclude.m4 (GLIBCXX_CONFIGURE_TESTSUITE): Remove
1734 GLIBCXX_TEST_ABI. Remove duplicate _GLIBCXX_ASM_SYMVER define.
1735 Don't enable abi testing unless versioned.
1736 * configure: Regenerate.
1737 * testsuite/Makefile.am (check-abi): Remove conditional.
1738 * testsuite/Makefile.in: Regenerate.
1739 * testsuite/libstdc++-abi/abi.exp: Call build_support, then check
1740 v3-symver before proceeding.
1741 * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Set v3-symvers
1744 2005-06-17 Paolo Carlini <pcarlini@suse.de>
1746 Port from libstdcxx_so_7-branch:
1747 2005-01-12 Christopher Jefferson <chris@bubblescope.net>
1749 * include/bits/stl_function.h (mem_fun_t, const_mem_fun_t,
1750 mem_fun_ref_t, const_mem_fun_ref_t, mem_fun1_t, const_mem_fun1_t,
1751 mem_fun1_ref_t, const_mem_fun1_ref_t): Remove overloads for void
1752 return type, just an old HP/SGI workaround.
1753 * testsuite/20_util/functional/binders.cc: Move to...
1754 * testsuite/20_util/functional/binders/3113.cc: ...here.
1755 * testsuite/20_util/functional/binders/1.cc: New.
1757 2005-06-17 Jonathan Wakely <redi@gcc.gnu.org>
1759 * docs/html/21_strings/gotw29a.txt: Update code to corrected version.
1761 2005-06-17 Jakub Jelinek <jakub@redhat.com>
1762 Benjamin Kosnik <bkoz@redhat.com>
1764 * config/abi/alpha-linux-gnu/baseline_symbols.txt: Update.
1765 * config/abi/hppa-linux-gnu/baseline_symbols.txt: Same.
1766 * config/abi/mips-linux-gnu/baseline_symbols.txt: Same.
1767 * config/abi/sparc-linux-gnu/baseline_symbols.txt: Same.
1769 * config/abi/alpha-freebsd5/baseline_symbols.txt: Remove.
1770 * config/abi/i386-freebsd4/baseline_symbols.txt: Same.
1771 * config/abi/i386-freebsd5/baseline_symbols.txt: Same.
1772 * config/abi/sparc-freebsd5/baseline_symbols.txt: Same.
1774 * config/abi/arm-linux-gnu/baseline_symbols.txt: Remove.
1775 * config/abi/m68k-linux-gnu/baseline_symbols.txt: Same.
1777 2005-06-17 Jakub Jelinek <jakub@redhat.com>
1779 * config/abi/ia64-linux-gnu/baseline_symbols.txt: Update.
1780 * config/abi/s390x-linux-gnu/baseline_symbols.txt: Update.
1781 * config/abi/s390-linux-gnu/baseline_symbols.txt: Update.
1782 * config/abi/x86_64-linux-gnu/baseline_symbols.txt: Update.
1783 * config/abi/x86_64-linux-gnu/32/baseline_symbols.txt: Update.
1784 * config/abi/powerpc-linux-gnu/baseline_symbols.txt: Update.
1785 * config/abi/i486-linux-gnu/baseline_symbols.txt: Update.
1786 * config/abi/i386-linux-gnu/baseline_symbols.txt: Update.
1787 * config/abi/powerpc64-linux-gnu/baseline_symbols.txt: New file.
1788 * config/abi/powerpc64-linux-gnu/32/baseline_symbols.txt: New file.
1790 2005-06-16 Jakub Jelinek <jakub@redhat.com>
1792 * src/compatibility.cc: Include bits/c++config.h first.
1793 (_GLIBCXX_SYMVER_COMPATIBILITY): Define if _GLIBCXX_SYMVER
1794 and PIC are both defined.
1795 * include/bits/char_traits.h (char_traits::eq): Rename
1796 only if _GLIBCXX_SYMVER_COMPATIBILITY is defined.
1798 2005-06-16 Jakub Jelinek <jakub@redhat.com>
1800 * acinclude.m4 ((GLIBCXX_ENABLE_SYMVERS): Rename _GLIBCXX_SIZE_T_IS_INT
1801 to _GLIBCXX_SIZE_T_IS_UINT. Define _GLIBCXX_PTRDIFF_T_IS_INT.
1802 * configure: Regenerate.
1803 * config.h.in: Regenerate.
1804 * src/compatibility.cc (istream:ignore(streamsize)): Use
1805 _GLIBCXX_PTRDIFF_T_IS_INT instead of _GLIBCXX_SIZE_T_IS_INT.
1806 * config/abi/compatibility.h: Rename _GLIBCXX_SIZE_T_IS_INT
1807 to _GLIBCXX_SIZE_T_IS_UINT. Use _GLIBCXX_PTRDIFF_T_IS_INT
1808 instead for symbols with streamsize arguments.
1810 2005-06-16 Jakub Jelinek <jakub@redhat.com>
1812 * config/linker-map.gnu: Also export
1813 _ZNSt13basic_istreamIwSt11char_traitsIwEE6ignoreE[il][il].
1815 2005-06-15 Benjamin Kosnik <bkoz@redhat.com>
1817 * configure.ac (libtool_VERSION): To 6:6:0.
1818 * configure: Regenerate.
1819 * config/linker-map.gnu: Edit.
1820 * src/istream.cc: Move istream::ignore(streamsize) specializations...
1821 * src/compatibility.cc: ...here. New.
1822 * include/bits/char_traits.h (char_traits::eq): Rename when
1824 * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Define _GLIBCXX_SIZE_T_IS_INT.
1825 Bump glibcxx_min_gnu_ld_version to 21590.
1826 * configure: Regenerate.
1827 * acconfig.h: Remove _GLIBCXX_ASM_SYMVER.
1828 * config.h.in: Regenerate.
1829 * src/Makefile.am (sources): Add compatibility.cc.
1830 * src/Makefile.in: Regenerate.
1831 * include/Makefile.am (host_headers_noinst): Add compatibility.h.
1832 * include/Makefile.in: Regenerate.
1833 * testsuite/testsuite_abi.h (symbol): Add data members.
1834 * testsuite/testsuite_abi.cc (check_version): Add GLIBCXX_3.4.5,
1835 GLIBCXX_3.4.6. Remove deprecated versions. Do a better job
1838 2005-06-15 Paolo Carlini <pcarlini@suse.de>
1840 * include/tr1/hashtable: Trivial formatting fixes.
1841 * include/tr1/unordered_map: Likewise.
1842 * include/tr1/unordered_set: Likewise.
1844 2005-06-14 Tom Tromey <tromey@redhat.com>
1847 * configure, aclocal.m4: Rebuilt.
1848 * Makefile.in, include/Makefile.in, libmath/Makefile.in,
1849 libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in,
1850 testsuite/Makefile.in: Likewise.
1852 2005-06-08 Benjamin Kosnik <bkoz@redhat.com>
1855 * include/std/std_sstream.h (basic_stringbuf::showmanyc): Add.
1856 Remove unnecessary this->_M_mode decoration.
1857 * include/bits/fstream.tcc: Adjust line spacing.
1858 * testsuite/27_io/basic_streambuf/in_avail/char/1.cc: New, test
1859 base class behavior.
1860 * testsuite/27_io/basic_streambuf/in_avail/wchar_t/1.cc: Same.
1861 * testsuite/27_io/basic_stringbuf/in_avail/char/21955.cc: New.
1862 * testsuite/27_io/basic_stringbuf/in_avail/char/1.cc: Match
1864 * testsuite/27_io/basic_stringbuf/in_avail/wchar_t/1.cc: Same.
1865 * testsuite/27_io/basic_stringbuf/str/wchar_t/1.cc: Same.
1866 * testsuite/27_io/basic_stringbuf/str/char/1.cc: Same.
1867 * testsuite/27_io/basic_streambuf/in_avail/char/9701-3.cc: Move...
1868 * testsuite/27_io/basic_filebuf/in_avail/char/9701-3.cc: ...here.
1870 2005-06-07 Benjamin Kosnik <bkoz@redhat.com>
1872 * acinclude.m4 (GLIBCXX_ENABLE_C99): Use C++ compiler for complex
1874 * configure: Regenerated.
1876 2005-06-07 Adrian Straetling <straetling@de.ibm.com>
1878 * config/cpu/s390/atomicity.h: (__exchange_and_add,
1879 __atomic_add): Use the builtins for atomic memory operations.
1881 2005-06-06 Paolo Carlini <pcarlini@suse.de>
1883 PR libstdc++/21770 (cont: __gnu_debug::string)
1884 * include/debug/string: Use _Base typedefs for pointer, const_pointer,
1885 reference, const_reference, size_type, difference_type.
1886 * testsuite/21_strings/basic_string/2.cc: New.
1888 2005-06-06 Paolo Carlini <pcarlini@suse.de>
1890 PR libstdc++/21770 (cont: debug-mode)
1891 * include/debug/deque: Use _Base typedefs for pointer, const_pointer,
1892 reference, const_reference.
1893 * include/debug/list: Likewise.
1894 * include/debug/map.h: Likewise.
1895 * include/debug/multimap.h: Likewise.
1896 * include/debug/multiset.h: Likewise.
1897 * include/debug/set.h: Likewise.
1898 * include/debug/vector: Likewise.
1900 2005-06-06 Paolo Carlini <pcarlini@suse.de>
1902 Port from libstdcxx_so_7-branch:
1903 2004-09-24 Paolo Carlini <pcarlini@suse.de>
1904 Jonathan Wakely <redi@gcc.gnu.org>
1906 * include/bits/stl_list.h (list::list(size_type, value_type,
1907 const allocator_type&): Implement according to the letter of the
1908 standard, i.e., don't use two overloads, not equivalent in case
1909 of non default constructible T.
1910 (list::resize(size_type, const value_type&)): Fix the signature:
1911 according to the standard the second argument is by value; also,
1912 don't use two overloads.
1913 * include/bits/list.tcc (list::resize(size_type, const value_type&)):
1914 Adjust consistently the signature.
1915 * include/bits/stl_deque.h (deque::deque(size_type, value_type,
1916 const allocator_type&)): Likewise.
1917 (deque::resize(size_type, const value_type&)): Likewise.
1918 * include/bits/stl_vector.h (vector::vector(size_type, value_type,
1919 const allocator_type&)): Likewise.
1920 (vector::resize(size_type, const value_type&)): Likewise.
1921 * testsuite/testsuite_hooks.h: Add NonDefaultConstructible test type.
1922 * testsuite/23_containers/deque/explicit_instantiation/2.cc: New.
1923 * testsuite/23_containers/list/explicit_instantiation/2.cc: New.
1924 * testsuite/23_containers/map/explicit_instantiation/2.cc: New.
1925 * testsuite/23_containers/multimap/explicit_instantiation/2.cc: New.
1926 * testsuite/23_containers/multiset/explicit_instantiation/2.cc: New.
1927 * testsuite/23_containers/set/explicit_instantiation/2.cc: New.
1928 * testsuite/23_containers/vector/explicit_instantiation/2.cc: New.
1930 * include/bits/deque.tcc: Minor formatting fix.
1932 2005-06-06 Peter Doerfler <doerfler@techinfo.rwth-aachen.de>
1934 * include/bits/stl_function.h: ... and another one.
1936 2005-06-06 Peter Doerfler <doerfler@techinfo.rwth-aachen.de>
1938 * include/bits/stl_function.h: Fix typo in comment.
1940 2005-06-05 Paolo Carlini <pcarlini@suse.de>
1942 * acinclude.m4 ([GLIBCXX_ENABLE_C99]): Check clog, clogf, clogl
1943 too for ac_c99_complex.
1944 * configure: Regenerate.
1946 2005-06-03 Paolo Carlini <pcarlini@suse.de>
1949 * include/bits/stl_deque.h: Add concept-check. In class _Deque_base
1950 rebind _Alloc to _Tp_alloc_type, change _Deque_impl to inherit from
1951 the latter and add _M_get_Tp_allocator() which returns it. Use
1952 everywhere _M_get_Tp_allocator() instead of get_allocator().
1953 * include/bits/deque.tcc: Likewise, use _M_get_Tp_allocator().
1954 * include/bits/stl_list.h: Add concept-check. In class _List_base
1955 rebind _Alloc to _Tp_alloc_type and add _M_get_Tp_allocator(), which
1956 returns the allocator (of type _Node_alloc_type) converted to
1957 _Tp_alloc_type. Use everywhere _M_get_Tp_allocator() instead of
1959 * include/bits/list.tcc: Likewise, use _M_get_Tp_allocator().
1960 * include/bits/stl_vector.h: Add concept-check. In class _Vector_base
1961 rebind _Alloc to _Tp_alloc_type, change _Vector_impl to inherit from
1962 the latter and add _M_get_Tp_allocator() which returns it. Use
1963 everywhere _M_get_Tp_allocator() instead of get_allocator().
1964 * include/bits/vector.tcc: Likewise, use _M_get_Tp_allocator().
1965 * include/bits/stl_map.h: Add concept-check. Rebind _Alloc to
1966 _Pair_alloc_type and use it for _Rb_tree.
1967 * include/bits/stl_multimap.h: Likewise.
1968 * include/bits/stl_multiset.h: Add concept-check. Rebind _Alloc to
1969 _Key_alloc_type and use it for _Rb_tree.
1970 * include/bits/stl_set.h: Likewise.
1971 * include/bits/basic_string.h: Rebind _Alloc to _CharT_alloc_type and
1972 use it for the allocator typedefs.
1973 * testsuite/21_strings/basic_string/1.cc: New.
1974 * testsuite/23_containers/deque/explicit_instantiation.cc: Move to...
1975 * testsuite/23_containers/deque/explicit_instantiation/1.cc: ... here.
1976 * testsuite/23_containers/deque/explicit_instantiation/3.cc: New.
1977 * testsuite/23_containers/list/explicit_instantiation.cc: Move to...
1978 * testsuite/23_containers/list/explicit_instantiation/1.cc: ... here.
1979 * testsuite/23_containers/list/explicit_instantiation/3.cc: New.
1980 * testsuite/23_containers/map/explicit_instantiation.cc: Move to...
1981 * testsuite/23_containers/map/explicit_instantiation/1.cc: ... here.
1982 * testsuite/23_containers/map/explicit_instantiation/3.cc: New.
1983 * testsuite/23_containers/multimap/explicit_instantiation.cc: Move to...
1984 * testsuite/23_containers/multimap/explicit_instantiation/1.cc: .. here.
1985 * testsuite/23_containers/multimap/explicit_instantiation/3.cc: New.
1986 * testsuite/23_containers/multiset/explicit_instantiation.cc: Move to...
1987 * testsuite/23_containers/multiset/explicit_instantiation/1.cc: .. here.
1988 * testsuite/23_containers/multiset/explicit_instantiation/3.cc: New.
1989 * testsuite/23_containers/set/explicit_instantiation.cc: Move to...
1990 * testsuite/23_containers/set/explicit_instantiation/1.cc: .. here.
1991 * testsuite/23_containers/set/explicit_instantiation/3.cc: New.
1992 * testsuite/23_containers/vector/explicit_instantiation.cc: Move to...
1993 * testsuite/23_containers/vector/explicit_instantiation/1.cc: ... here.
1994 * testsuite/23_containers/vector/explicit_instantiation/3.cc: New.
1996 2005-06-02 Nathan Sidwell <nathan@codesourcery.com>
1999 * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust expected errors.
2000 * testsuite/27_io/ios_base/cons/copy_neg.cc: Likewise.
2002 2005-05-31 Paolo Carlini <pcarlini@suse.de>
2004 PR libstdc++/20534 (contd)
2005 * include/debug/macros.h: Add _GLIBCXX_DEBUG_ABORT, using
2006 __gnu_debug::__fancy_abort.
2007 * src/debug.cc: Define the latter.
2008 * include/debug/debug.h: Use _GLIBCXX_DEBUG_ABORT instead of
2010 * config/linker-map.gnu (__gnu_debug::__fancy_abort): Add.
2012 2005-05-30 Paolo Carlini <pcarlini@suse.de>
2014 * include/std/std_complex.h (log(const complex<_Tp>&)): When
2015 _GLIBCXX_USE_C99_COMPLEX, forward to __builtin_clog/clogf/clogl.
2017 2005-05-28 Paolo Carlini <pcarlini@suse.de>
2020 2005-05-18 Paolo Carlini <pcarlini@suse.de>
2021 Nathan Myers <ncm@cantrip.org>
2024 * include/bits/basic_string.h (_Raw_bytes_alloc): Rebind to
2025 size_type instead of char and rename to _Raw_alloc.
2026 * include/bits/basic_string.tcc (_Rep::_M_destroy, _Rep::_S_create):
2028 * src/bitmap_allocator.cc: Add instantiation for size_type.
2029 * src/mt_allocator.cc: Likewise.
2030 * src/pool_allocator.cc: Likewise.
2031 * include/ext/array_allocator.h: Tweak slightly, avoid assuming
2032 the existence of an _Array::begin() and size() members.
2033 * testsuite/ext/array_allocator/2.cc: Tweak to use an allocator
2034 of size_type, instead of char, thus avoiding problems with
2035 rebinds, not treated correctly by array_allocator.
2037 2005-05-27 Paolo Carlini <pcarlini@suse.de>
2039 * docs/html/abi.html: Mention 3.4.0 as the current baseline; add
2040 a notice about the configure options.
2042 2005-05-27 Mark Mitchell <mark@codesourcery.com>
2044 * docs/html/test.html: Mention PCH_CXXFLAGS.
2045 * testsuite/lib/libstdc++.exp: Set PCH_CXXFLAGS by probing for an
2046 available stcd++.h PCH.
2047 * testsuite/libstdc++-dg/normal.exp: Use PCH_CXXFLAGS.
2049 2005-05-27 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
2051 * src/misc-inst.cc: Remove unnecessary included files.
2053 2005-05-27 Benjamin Kosnik <bkoz@redhat.com>
2056 * include/bits/c++config: Remove extern template use when in debug
2057 mode, disable for non-weak systems.
2059 2005-05-27 Benjamin Kosnik <bkoz@redhat.com>
2062 * include/debug/debug.h: Forwarding header, that pulls in details
2063 only if in debug mode.
2064 * include/debug/macros.h: ...transfer all the internal macros here.
2065 * include/debug/functions.h: ...transfer all the functions here.
2066 * include/debug/safe_iterator.h: Add functions.h, macros.h includes.
2067 * include/debug/safe_sequence.h: Same.
2068 * include/debug/vector: Tweak.
2069 * include/Makefile.am (debug_headers): Add new includes.
2070 * include/Makefile.in: Regenerate.
2071 * testsuite/17_intro/no_assert_neg.cc: Add.
2073 * include/ext/hash_set: Add debug mode include.
2074 * include/ext/hash_map: Same.
2075 * include/debug/hash_map: Fix included files to match actual files.
2076 * include/debug/hash_set: Same.
2078 2005-05-26 Paolo Carlini <pcarlini@suse.de>
2081 * include/c_std/std_cstdlib.h: Do not open code llabs and lldiv,
2082 available when _GLIBCXX_USE_C99 is defined.
2083 * testsuite/26_numerics/cstdlib/13943.cc: New.
2085 * acinclude.m4 ([GLIBCXX_ENABLE_C99]): For completeness, check
2086 also strtoll and strtoull for ac_c99_stdlib.
2087 * configure: Regenerate.
2089 2005-05-25 Benjamin Kosnik <bkoz@redhat.com>
2091 * config/linker-map.gnu: Add linkage support for no extern templates.
2092 (std::ios_base::_M_call_callbacks): Add.
2093 (std::ios_base::_M_dispose_callbacks): Add.
2094 (std::locale::facet::_S_get_c_name): Add.
2095 (std::__copy_streambufs): Add.
2096 * configure.ac (libtool_VERSION): To 6:5:0.
2097 * configure: Regenerate.
2098 * testsuite/testsuite_abi.cc (check_version): Add GLIBCXX_3.4.5.
2100 2005-05-25 Paolo Carlini <pcarlini@suse.de>
2102 * include/bits/basic_string.h (_Rep::_M_set_length_and_sharable):
2103 Use, consistently, traits_type::assign.
2105 2005-05-25 Paolo Carlini <pcarlini@suse.de>
2107 * config/cpu/alpha/atomicity.h: Use the builtins for
2108 atomic memory operations.
2109 * config/cpu/powerpc/atomicity.h: Likewise.
2110 * config/cpu/ia64/atomicity.h: Do not include ia64intrin.h.
2112 2005-05-24 Paolo Carlini <pcarlini@suse.de>
2114 * testsuite/25_algorithms/equal.cc: Move to...
2115 * testsuite/25_algorithms/equal: ... here.
2116 * testsuite/25_algorithms/lower_bound.cc: Move to...
2117 * testsuite/25_algorithms/lower_bound: ... here.
2119 2005-05-24 Paolo Carlini <pcarlini@suse.de>
2121 Port from libstdcxx_so_7-branch:
2122 2005-20-05 Chris Jefferson <chris@bubblescope.net>
2124 * testsuite/25_algorithms/heap.cc: Move to...
2125 * testsuite/25_algorithms/heap/heap.cc: ...here.
2126 * testsuite/25_algorithms/partition.cc: Move to...
2127 * testsuite/25_algorithms/partition/partition.cc: ...here.
2129 2005-03-29 Christopher Jefferson <chris@bubblescope.net>
2131 * testsuite/25_algorithms/includes/1.cc: Add tests.
2132 * testsuite/25_algorithms/search/1.cc: Likewise.
2133 * testsuite/25_algorithms/unique_copy/1.cc: Likewise.
2134 * testsuite/25_algorithms/swap_ranges/1.cc: New.
2135 * testsuite/25_algorithms/swap_ranges/check_type.cc: New.
2136 * testsuite/25_algorithms/rotate.cc: Move to...
2137 * testsuite/25_algorithms/rotate/rotate.cc: ... here.
2138 * testsuite/25_algorithms/rotate/1.cc: New.
2139 * testsuite/25_algorithms/rotate/check_type.cc: New.
2140 * testsuite/25_algorithms/search_n/iterator.cc: Fix typo.
2142 2005-03-14 Christopher Jefferson <chris@bubblescope.net>
2144 * include/bits/stl_algo.h (replace_copy, replace_copy_if):
2145 Don't assume that __new_value and *__first are convertible to
2148 * testsuite/25_algorithms/find/1.cc: New.
2149 * testsuite/25_algorithms/find/check_type.cc: New.
2150 * testsuite/25_algorithms/find_if/1.cc: New.
2151 * testsuite/25_algorithms/find_if/check_type.cc: New.
2152 * testsuite/25_algorithms/replace/1.cc: New.
2153 * testsuite/25_algorithms/replace/check_type.cc: New.
2154 * testsuite/25_algorithms/replace_if/1.cc: New.
2155 * testsuite/25_algorithms/replace_if/check_type.cc: New.
2156 * testsuite/25_algorithms/replace_copy/1.cc: New.
2157 * testsuite/25_algorithms/replace_copy/check_type.cc: New.
2158 * testsuite/25_algorithms/replace_copy_if/1.cc: New.
2159 * testsuite/25_algorithms/replace_copy_if/check_type.cc: New.
2160 * testsuite/25_algorithms/remove/1.cc: New.
2161 * testsuite/25_algorithms/remove/check_type.cc: New.
2162 * testsuite/25_algorithms/remove_if/1.cc: New.
2163 * testsuite/25_algorithms/remove_if/check_type.cc: New.
2164 * testsuite/25_algorithms/count/1.cc: New.
2165 * testsuite/25_algorithms/count/check_type.cc: New.
2166 * testsuite/25_algorithms/count_if/1.cc: New.
2167 * testsuite/25_algorithms/count_if/check_type.cc: New.
2169 2005-02-27 Christopher Jefferson <chris@bubblescope.net>
2170 Paolo Carlini <pcarlini@suse.de>
2172 * testsuite/ext/is_heap/check_type.cc: New.
2174 2005-02-27 Paolo Carlini <pcarlini@suse.de>
2176 * testsuite/ext/is_heap/1.cc: New.
2178 2005-02-01 Christopher Jefferson <chris@bubblescope.net>
2180 * testsuite/ext/median.cc: New.
2181 * testsuite/25_algorithms/adjacent_find/1.cc: New.
2182 * testsuite/25_algorithms/adjacent_find/check_type.cc: New.
2183 * testsuite/25_algorithms/search/1.cc: New.
2184 * testsuite/25_algorithms/search/check_type.cc: New.
2185 * testsuite/25_algorithms/unique_copy/1.cc: New.
2186 * testsuite/25_algorithms/unique_copy/check_type.cc: New.
2187 * testsuite/25_algorithms/partial_sort/1.cc: New.
2188 * testsuite/25_algorithms/partial_sort/check_type.cc: New.
2189 * testsuite/25_algorithms/partial_sort_copy/1.cc: New.
2190 * testsuite/25_algorithms/partial_sort_copy/check_type.cc: New.
2191 * testsuite/25_algorithms/lower_bound/1.cc: New.
2192 * testsuite/25_algorithms/lower_bound/check_type.cc: New.
2193 * testsuite/25_algorithms/upper_bound/1.cc: New.
2194 * testsuite/25_algorithms/upper_bound/check_type.cc: New.
2195 * testsuite/25_algorithms/merge/1.cc: New.
2196 * testsuite/25_algorithms/merge/check_type.cc: New.
2197 * testsuite/25_algorithms/inplace_merge/1.cc: New.
2198 * testsuite/25_algorithms/inplace_merge/check_type.cc: New.
2199 * testsuite/25_algorithms/stable_sort/1.cc: New.
2200 * testsuite/25_algorithms/stable_sort/check_type.cc: New.
2201 * testsuite/25_algorithms/nth_element/1.cc: New.
2202 * testsuite/25_algorithms/nth_element/check_type.cc: New.
2203 * testsuite/25_algorithms/equal_range/1.cc: New.
2204 * testsuite/25_algorithms/equal_range/check_type.cc: New.
2205 * testsuite/25_algorithms/binary_search/1.cc: New.
2206 * testsuite/25_algorithms/binary_search/check_type.cc: New.
2207 * testsuite/25_algorithms/includes/1.cc: New.
2208 * testsuite/25_algorithms/includes/check_type.cc: New.
2209 * testsuite/25_algorithms/set_union/1.cc: New.
2210 * testsuite/25_algorithms/set_union/check_type.cc: New.
2211 * testsuite/25_algorithms/set_intersection/1.cc: New.
2212 * testsuite/25_algorithms/set_intersection/check_type.cc: New.
2213 * testsuite/25_algorithms/set_difference/1.cc: New.
2214 * testsuite/25_algorithms/set_difference/check_type.cc: New.
2215 * testsuite/25_algorithms/set_symmetric_difference/1.cc: New.
2216 * testsuite/25_algorithms/set_symmetric_difference/check_type.cc: New.
2217 * testsuite/25_algorithms/min_element/1.cc: New.
2218 * testsuite/25_algorithms/min_element/check_type.cc: New.
2219 * testsuite/25_algorithms/max_element/1.cc: New.
2220 * testsuite/25_algorithms/max_element/check_type.cc: New.
2221 * testsuite/25_algorithms/prev_permutation/1.cc: New.
2222 * testsuite/25_algorithms/prev_permutation/check_type.cc: New.
2223 * testsuite/25_algorithms/next_permutation/1.cc: New.
2224 * testsuite/25_algorithms/next_permutation/check_type.cc: New.
2225 * testsuite/25_algorithms/find_first_of/1.cc: New.
2226 * testsuite/25_algorithms/find_first_of/check_type.cc: New.
2227 * testsuite/25_algorithms/find_end/1.cc: New.
2228 * testsuite/25_algorithms/find_end/check_type.cc: New.
2229 * testsuite/25_algorithms/equal/check_type.cc: Insert iterator type.
2230 * testsuite/25_algorithms/lexicographical_compare/check_type.cc:
2233 2005-01-10 Christopher Jefferson <chris@bubblescope.net>
2235 * testsuite/25_algorithms/lexicographical_compare/check_type.cc: New.
2236 * testsuite/25_algorithms/lexicographical_compare/1.cc: Likewise.
2237 * testsuite/25_algorithms/mismatch/check_type.cc: Likewise.
2238 * testsuite/25_algorithms/mismatch/1.cc: Likewise.
2239 * testsuite/25_algorithms/equal/check_type.cc: New.
2240 * testsuite/25_algorithms/equal/1.cc: New.
2242 2005-05-24 Benjamin Kosnik <bkoz@redhat.com>
2244 * include/bits/allocator.h: Change ___glibcxx_base_allocator to
2245 __glibcxx_base_allocator.
2246 * config/allocator/bitmap_allocator_base.h: Same.
2247 * config/allocator/malloc_allocator_base.h: Same.
2248 * config/allocator/mt_allocator_base.h: Same.
2249 * config/allocator/new_allocator_base.h: Same.
2250 * config/allocator/pool_allocator_base.h: Same.
2252 2005-05-24 Jonathan Wakely <redi@gcc.gnu.org>
2254 * include/debug/string (class basic_string): Add missing
2255 default template arguments; provide typedefs for char
2257 (operator[]): Allow s[s.size()] in debug mode, but not
2260 2005-05-24 Paolo Carlini <pcarlini@suse.de>
2262 Port from libstdcxx_so_7-branch:
2263 2005-04-25 Christopher Jefferson <chris@bubblescope.net>
2265 * include/bits/stl_algo.h (count): Correct concept checks.
2266 (search_n) : Likewise.
2267 * testsuite/25_algorithms/search_n/check_type.cc: New.
2269 * testsuite/testsuite_iterators.h
2270 (random_access_iterator_wrapper::operator+): Move out of
2271 class to external function, and add symmetric version.
2273 2005-03-14 Christopher Jefferson <chris@bubblescope.net>
2275 * testsuite/testsuite_iterators.h (WritableObject::WritableObject):
2278 2005-02-01 Christopher Jefferson <chris@bubblescope.net>
2280 * testsuite/testsuite_iterators.h (random_access_iterator_wrapper::
2281 operator--): Fix typo.
2282 (OutputContainer::OutputContainer): Correct zeroing array.
2283 (WritableObject::operator==): Fix typo.
2284 (WritableObject::operator=): make operator= templated
2285 to allow differing types to be assigned.
2286 (WritableObject::operator++): Fix checking if iterator is
2287 written to multiple times.
2288 (random_access_iterator_wrapper::operator+): Add const.
2289 (random_access_iterator_wrapper::operator-): Likewise.
2290 (random_access_iterator_wrapper::operator[]): Add dereference.
2292 2005-05-23 Jonathan Wakely <redi@gcc.gnu.org>
2294 * docs/html/debug.html: Explain that _GLIBXX_DEBUG_PEDANTIC
2295 had to be defined for pedantic mode in 3.4 and 4.0.0.
2297 2005-05-20 Jan Beulich <jbeulich@novell.com>
2299 * libmath/stubs.c: Also implement fabsf/fabsl if not present in the
2302 2005-05-20 Paolo Carlini <pcarlini@suse.de>
2304 * include/bits/stl_algo.h (__rotate<_RandomAccessIterator>):
2305 Don't qualify __tmp as const, _ValueType is not necessarily
2307 * include/bits/stl_algobase.h (swap, __iter_swap<false>):
2308 Likewise, as an harmless extension.
2310 2005-05-19 Richard Henderson <rth@redhat.com>
2312 * libsupc++/unwind-cxx.h: Revert gcc_unreachable change.
2314 2005-05-19 Jonathan Wakely <redi@gcc.gnu.org>
2316 * include/bits/basic_string.h (operator[]): Allow s[s.size()] in
2317 debug mode, but not pedantic mode.
2319 2005-05-19 Jan Beulich <jbeulich@novell.com>
2321 * libsupc++/unwind-cxx.h: Include cstdlib.
2322 (gcc_unreachable): #define.
2323 * libsupc++/eh_personality.cc (gcc_unreachable): Remove #define.
2325 2005-05-18 Paolo Carlini <pcarlini@suse.de>
2326 Nathan Myers <ncm@cantrip.org>
2329 * include/bits/basic_string.h (_Raw_bytes_alloc): Rebind to
2330 size_type instead of char and rename to _Raw_alloc.
2331 * include/bits/basic_string.tcc (_Rep::_M_destroy, _Rep::_S_create):
2333 * src/bitmap_allocator.cc: Add instantiation for size_type.
2334 * src/mt_allocator.cc: Likewise.
2335 * src/pool_allocator.cc: Likewise.
2336 * include/ext/array_allocator.h: Tweak slightly, avoid assuming
2337 the existence of an _Array::begin() and size() members.
2338 * testsuite/ext/array_allocator/2.cc: Tweak to use an allocator
2339 of size_type, instead of char, thus avoiding problems with
2340 rebinds, not treated correctly by array_allocator.
2342 2005-05-18 Paolo Carlini <pcarlini@suse.de>
2344 * testsuite/22_locale/ctype/is/char/2.cc: Adjust dg-require-namedlocale.
2345 * testsuite/22_locale/ctype/is/wchar_t/2.cc: Likewise.
2346 * testsuite/22_locale/time_get/get_year/char/wrapped_env.cc: Add
2347 missing dg-require-namedlocale.
2348 * testsuite/22_locale/time_get/get_year/char/wrapped_locale.cc:
2350 * testsuite/22_locale/time_get/get_year/wchar_t/wrapped_env.cc:
2352 * testsuite/22_locale/time_get/get_year/wchar_t/wrapped_locale.cc:
2355 2005-05-18 Paolo Carlini <pcarlini@suse.de>
2357 * testsuite/testsuite_hooks.cc: Remove try_named_locale.
2358 * testsuite/testsuite_hooks.h: Remove try_named_locale.
2359 * testsuite/lib/libstdc++.exp (check_v3_target_namedlocale): New.
2360 * testsuite/lib/dg-options.exp (dg-require-namedlocale): New, uses
2362 * testsuite/22_locale/codecvt/always_noconv/char/wrapped_env.cc: Use
2363 dg-require-namedlocale.
2364 * testsuite/22_locale/codecvt/always_noconv/char/wrapped_locale.cc:
2366 * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: Likewise.
2367 * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: Likewise.
2368 * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: Likewise.
2369 * testsuite/22_locale/codecvt/always_noconv/wchar_t/wrapped_env.cc:
2371 * testsuite/22_locale/codecvt/always_noconv/wchar_t/wrapped_locale.cc:
2373 * testsuite/22_locale/codecvt/encoding/char/wrapped_env.cc: Likewise.
2374 * testsuite/22_locale/codecvt/encoding/char/wrapped_locale.cc: Likewise.
2375 * testsuite/22_locale/codecvt/encoding/wchar_t/2.cc: Likewise.
2376 * testsuite/22_locale/codecvt/encoding/wchar_t/3.cc: Likewise.
2377 * testsuite/22_locale/codecvt/encoding/wchar_t/4.cc: Likewise.
2378 * testsuite/22_locale/codecvt/encoding/wchar_t/wrapped_env.cc: Likewise.
2379 * testsuite/22_locale/codecvt/encoding/wchar_t/wrapped_locale.cc:
2381 * testsuite/22_locale/codecvt/in/char/wrapped_env.cc: Likewise.
2382 * testsuite/22_locale/codecvt/in/char/wrapped_locale.cc: Likewise.
2383 * testsuite/22_locale/codecvt/in/wchar_t/2.cc: Likewise.
2384 * testsuite/22_locale/codecvt/in/wchar_t/3.cc: Likewise.
2385 * testsuite/22_locale/codecvt/in/wchar_t/4.cc: Likewise.
2386 * testsuite/22_locale/codecvt/in/wchar_t/7.cc: Likewise.
2387 * testsuite/22_locale/codecvt/in/wchar_t/8.cc: Likewise.
2388 * testsuite/22_locale/codecvt/in/wchar_t/9.cc: Likewise.
2389 * testsuite/22_locale/codecvt/in/wchar_t/wrapped_env.cc: Likewise.
2390 * testsuite/22_locale/codecvt/in/wchar_t/wrapped_locale.cc: Likewise.
2391 * testsuite/22_locale/codecvt/length/char/wrapped_env.cc: Likewise.
2392 * testsuite/22_locale/codecvt/length/char/wrapped_locale.cc: Likewise.
2393 * testsuite/22_locale/codecvt/length/wchar_t/2.cc: Likewise.
2394 * testsuite/22_locale/codecvt/length/wchar_t/3.cc: Likewise.
2395 * testsuite/22_locale/codecvt/length/wchar_t/4.cc: Likewise.
2396 * testsuite/22_locale/codecvt/length/wchar_t/7.cc: Likewise.
2397 * testsuite/22_locale/codecvt/length/wchar_t/wrapped_env.cc: Likewise.
2398 * testsuite/22_locale/codecvt/length/wchar_t/wrapped_locale.cc:
2400 * testsuite/22_locale/codecvt/max_length/char/wrapped_env.cc: Likewise.
2401 * testsuite/22_locale/codecvt/max_length/char/wrapped_locale.cc:
2403 * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: Likewise.
2404 * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: Likewise.
2405 * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: Likewise.
2406 * testsuite/22_locale/codecvt/max_length/wchar_t/wrapped_env.cc:
2408 * testsuite/22_locale/codecvt/max_length/wchar_t/wrapped_locale.cc:
2410 * testsuite/22_locale/codecvt/out/char/wrapped_env.cc: Likewise.
2411 * testsuite/22_locale/codecvt/out/char/wrapped_locale.cc: Likewise.
2412 * testsuite/22_locale/codecvt/out/wchar_t/2.cc: Likewise.
2413 * testsuite/22_locale/codecvt/out/wchar_t/3.cc: Likewise.
2414 * testsuite/22_locale/codecvt/out/wchar_t/4.cc: Likewise.
2415 * testsuite/22_locale/codecvt/out/wchar_t/7.cc: Likewise.
2416 * testsuite/22_locale/codecvt/out/wchar_t/wrapped_env.cc: Likewise.
2417 * testsuite/22_locale/codecvt/out/wchar_t/wrapped_locale.cc: Likewise.
2418 * testsuite/22_locale/codecvt/unshift/char/wrapped_env.cc: Likewise.
2419 * testsuite/22_locale/codecvt/unshift/char/wrapped_locale.cc: Likewise.
2420 * testsuite/22_locale/codecvt/unshift/wchar_t/2.cc: Likewise.
2421 * testsuite/22_locale/codecvt/unshift/wchar_t/3.cc: Likewise.
2422 * testsuite/22_locale/codecvt/unshift/wchar_t/4.cc: Likewise.
2423 * testsuite/22_locale/codecvt/unshift/wchar_t/wrapped_env.cc: Likewise.
2424 * testsuite/22_locale/codecvt/unshift/wchar_t/wrapped_locale.cc:
2426 * testsuite/22_locale/collate/compare/char/1.cc: Likewise.
2427 * testsuite/22_locale/collate/compare/char/2.cc: Likewise.
2428 * testsuite/22_locale/collate/compare/char/3.cc: Likewise.
2429 * testsuite/22_locale/collate/compare/char/wrapped_env.cc: Likewise.
2430 * testsuite/22_locale/collate/compare/char/wrapped_locale.cc: Likewise.
2431 * testsuite/22_locale/collate/compare/wchar_t/1.cc: Likewise.
2432 * testsuite/22_locale/collate/compare/wchar_t/2.cc: Likewise.
2433 * testsuite/22_locale/collate/compare/wchar_t/3.cc: Likewise.
2434 * testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc: Likewise.
2435 * testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc:
2437 * testsuite/22_locale/collate/hash/char/2.cc: Likewise.
2438 * testsuite/22_locale/collate/hash/char/wrapped_env.cc: Likewise.
2439 * testsuite/22_locale/collate/hash/char/wrapped_locale.cc: Likewise.
2440 * testsuite/22_locale/collate/hash/wchar_t/2.cc: Likewise.
2441 * testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc: Likewise.
2442 * testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc: Likewise.
2443 * testsuite/22_locale/collate/transform/char/2.cc: Likewise.
2444 * testsuite/22_locale/collate/transform/char/3.cc: Likewise.
2445 * testsuite/22_locale/collate/transform/char/wrapped_env.cc: Likewise.
2446 * testsuite/22_locale/collate/transform/char/wrapped_locale.cc:
2448 * testsuite/22_locale/collate/transform/wchar_t/2.cc: Likewise.
2449 * testsuite/22_locale/collate/transform/wchar_t/3.cc: Likewise.
2450 * testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc:
2452 * testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc:
2454 * testsuite/22_locale/collate_byname/named_equivalence.cc: Likewise.
2455 * testsuite/22_locale/ctype/cons/char/wrapped_env.cc: Likewise.
2456 * testsuite/22_locale/ctype/cons/char/wrapped_locale.cc: Likewise.
2457 * testsuite/22_locale/ctype/is/char/2.cc: Likewise.
2458 * testsuite/22_locale/ctype/is/char/wrapped_env.cc: Likewise.
2459 * testsuite/22_locale/ctype/is/char/wrapped_locale.cc: Likewise.
2460 * testsuite/22_locale/ctype/is/wchar_t/2.cc: Likewise.
2461 * testsuite/22_locale/ctype/is/wchar_t/wrapped_env.cc: Likewise.
2462 * testsuite/22_locale/ctype/is/wchar_t/wrapped_locale.cc: Likewise.
2463 * testsuite/22_locale/ctype/narrow/char/wrapped_env.cc: Likewise.
2464 * testsuite/22_locale/ctype/narrow/char/wrapped_locale.cc: Likewise.
2465 * testsuite/22_locale/ctype/narrow/wchar_t/3.cc: Likewise.
2466 * testsuite/22_locale/ctype/narrow/wchar_t/wrapped_env.cc: Likewise.
2467 * testsuite/22_locale/ctype/narrow/wchar_t/wrapped_locale.cc: Likewise.
2468 * testsuite/22_locale/ctype/scan/char/wrapped_env.cc: Likewise.
2469 * testsuite/22_locale/ctype/scan/char/wrapped_locale.cc: Likewise.
2470 * testsuite/22_locale/ctype/scan/wchar_t/wrapped_env.cc: Likewise.
2471 * testsuite/22_locale/ctype/scan/wchar_t/wrapped_locale.cc: Likewise.
2472 * testsuite/22_locale/ctype/to/char/wrapped_env.cc: Likewise.
2473 * testsuite/22_locale/ctype/to/char/wrapped_locale.cc: Likewise.
2474 * testsuite/22_locale/ctype/to/wchar_t/wrapped_env.cc: Likewise.
2475 * testsuite/22_locale/ctype/to/wchar_t/wrapped_locale.cc: Likewise.
2476 * testsuite/22_locale/ctype/widen/char/wrapped_env.cc: Likewise.
2477 * testsuite/22_locale/ctype/widen/char/wrapped_locale.cc: Likewise.
2478 * testsuite/22_locale/ctype/widen/wchar_t/2.cc: Likewise.
2479 * testsuite/22_locale/ctype/widen/wchar_t/3.cc: Likewise.
2480 * testsuite/22_locale/ctype/widen/wchar_t/wrapped_env.cc: Likewise.
2481 * testsuite/22_locale/ctype/widen/wchar_t/wrapped_locale.cc: Likewise.
2482 * testsuite/22_locale/facet/2.cc: Likewise.
2483 * testsuite/22_locale/locale/cons/12352.cc: Likewise.
2484 * testsuite/22_locale/locale/cons/12438.cc: Likewise.
2485 * testsuite/22_locale/locale/cons/12658_thread-1.cc: Likewise.
2486 * testsuite/22_locale/locale/cons/12658_thread-2.cc: Likewise.
2487 * testsuite/22_locale/locale/cons/2.cc: Likewise.
2488 * testsuite/22_locale/locale/cons/4.cc: Likewise.
2489 * testsuite/22_locale/locale/cons/5.cc: Likewise.
2490 * testsuite/22_locale/locale/cons/7.cc: Likewise.
2491 * testsuite/22_locale/locale/cons/7222-env.cc: Likewise.
2492 * testsuite/22_locale/locale/global_locale_objects/14071.cc: Likewise.
2493 * testsuite/22_locale/locale/global_locale_objects/2.cc: Likewise.
2494 * testsuite/22_locale/messages/members/char/1.cc: Likewise.
2495 * testsuite/22_locale/messages/members/char/2.cc: Likewise.
2496 * testsuite/22_locale/messages/members/char/3.cc: Likewise.
2497 * testsuite/22_locale/messages/members/char/wrapped_env.cc: Likewise.
2498 * testsuite/22_locale/messages/members/char/wrapped_locale.cc: Likewise.
2499 * testsuite/22_locale/messages_byname/named_equivalence.cc: Likewise.
2500 * testsuite/22_locale/money_get/get/char/1.cc: Likewise.
2501 * testsuite/22_locale/money_get/get/char/10.cc: Likewise.
2502 * testsuite/22_locale/money_get/get/char/11.cc: Likewise.
2503 * testsuite/22_locale/money_get/get/char/11528.cc: Likewise.
2504 * testsuite/22_locale/money_get/get/char/12.cc: Likewise.
2505 * testsuite/22_locale/money_get/get/char/13.cc: Likewise.
2506 * testsuite/22_locale/money_get/get/char/15.cc: Likewise.
2507 * testsuite/22_locale/money_get/get/char/16.cc: Likewise.
2508 * testsuite/22_locale/money_get/get/char/17.cc: Likewise.
2509 * testsuite/22_locale/money_get/get/char/18.cc: Likewise.
2510 * testsuite/22_locale/money_get/get/char/2.cc: Likewise.
2511 * testsuite/22_locale/money_get/get/char/3.cc: Likewise.
2512 * testsuite/22_locale/money_get/get/char/4.cc: Likewise.
2513 * testsuite/22_locale/money_get/get/char/wrapped_env.cc: Likewise.
2514 * testsuite/22_locale/money_get/get/char/wrapped_locale.cc: Likewise.
2515 * testsuite/22_locale/money_get/get/wchar_t/1.cc: Likewise.
2516 * testsuite/22_locale/money_get/get/wchar_t/10.cc: Likewise.
2517 * testsuite/22_locale/money_get/get/wchar_t/11.cc: Likewise.
2518 * testsuite/22_locale/money_get/get/wchar_t/11528.cc: Likewise.
2519 * testsuite/22_locale/money_get/get/wchar_t/12.cc: Likewise.
2520 * testsuite/22_locale/money_get/get/wchar_t/13.cc: Likewise.
2521 * testsuite/22_locale/money_get/get/wchar_t/15.cc: Likewise.
2522 * testsuite/22_locale/money_get/get/wchar_t/16.cc: Likewise.
2523 * testsuite/22_locale/money_get/get/wchar_t/17.cc: Likewise.
2524 * testsuite/22_locale/money_get/get/wchar_t/18.cc: Likewise.
2525 * testsuite/22_locale/money_get/get/wchar_t/2.cc: Likewise.
2526 * testsuite/22_locale/money_get/get/wchar_t/3.cc: Likewise.
2527 * testsuite/22_locale/money_get/get/wchar_t/4.cc: Likewise.
2528 * testsuite/22_locale/money_get/get/wchar_t/wrapped_env.cc: Likewise.
2529 * testsuite/22_locale/money_get/get/wchar_t/wrapped_locale.cc: Likewise.
2530 * testsuite/22_locale/money_put/put/char/1.cc: Likewise.
2531 * testsuite/22_locale/money_put/put/char/2.cc: Likewise.
2532 * testsuite/22_locale/money_put/put/char/3.cc: Likewise.
2533 * testsuite/22_locale/money_put/put/char/9780-3.cc: Likewise.
2534 * testsuite/22_locale/money_put/put/char/wrapped_env.cc: Likewise.
2535 * testsuite/22_locale/money_put/put/char/wrapped_locale.cc: Likewise.
2536 * testsuite/22_locale/money_put/put/wchar_t/1.cc: Likewise.
2537 * testsuite/22_locale/money_put/put/wchar_t/2.cc: Likewise.
2538 * testsuite/22_locale/money_put/put/wchar_t/3.cc: Likewise.
2539 * testsuite/22_locale/money_put/put/wchar_t/wrapped_env.cc: Likewise.
2540 * testsuite/22_locale/money_put/put/wchar_t/wrapped_locale.cc: Likewise.
2541 * testsuite/22_locale/moneypunct/members/char/2.cc: Likewise.
2542 * testsuite/22_locale/moneypunct/members/char/wrapped_env.cc: Likewise.
2543 * testsuite/22_locale/moneypunct/members/char/wrapped_locale.cc:
2545 * testsuite/22_locale/moneypunct/members/wchar_t/2.cc: Likewise.
2546 * testsuite/22_locale/moneypunct/members/wchar_t/wrapped_env.cc:
2548 * testsuite/22_locale/moneypunct/members/wchar_t/wrapped_locale.cc:
2550 * testsuite/22_locale/moneypunct_byname/named_equivalence.cc: Likewise.
2551 * testsuite/22_locale/num_get/get/char/1.cc: Likewise.
2552 * testsuite/22_locale/num_get/get/char/3.cc: Likewise.
2553 * testsuite/22_locale/num_get/get/char/5.cc: Likewise.
2554 * testsuite/22_locale/num_get/get/char/6.cc: Likewise.
2555 * testsuite/22_locale/num_get/get/char/9.cc: Likewise.
2556 * testsuite/22_locale/num_get/get/char/wrapped_env.cc: Likewise.
2557 * testsuite/22_locale/num_get/get/char/wrapped_locale.cc: Likewise.
2558 * testsuite/22_locale/num_get/get/wchar_t/1.cc: Likewise.
2559 * testsuite/22_locale/num_get/get/wchar_t/3.cc: Likewise.
2560 * testsuite/22_locale/num_get/get/wchar_t/5.cc: Likewise.
2561 * testsuite/22_locale/num_get/get/wchar_t/6.cc: Likewise.
2562 * testsuite/22_locale/num_get/get/wchar_t/9.cc: Likewise.
2563 * testsuite/22_locale/num_get/get/wchar_t/wrapped_env.cc: Likewise.
2564 * testsuite/22_locale/num_get/get/wchar_t/wrapped_locale.cc: Likewise.
2565 * testsuite/22_locale/num_put/put/char/1.cc: Likewise.
2566 * testsuite/22_locale/num_put/put/char/20909.cc: Likewise.
2567 * testsuite/22_locale/num_put/put/char/20914.cc: Likewise.
2568 * testsuite/22_locale/num_put/put/char/3.cc: Likewise.
2569 * testsuite/22_locale/num_put/put/char/5.cc: Likewise.
2570 * testsuite/22_locale/num_put/put/char/9780-2.cc: Likewise.
2571 * testsuite/22_locale/num_put/put/char/wrapped_env.cc: Likewise.
2572 * testsuite/22_locale/num_put/put/char/wrapped_locale.cc: Likewise.
2573 * testsuite/22_locale/num_put/put/wchar_t/1.cc: Likewise.
2574 * testsuite/22_locale/num_put/put/wchar_t/20909.cc: Likewise.
2575 * testsuite/22_locale/num_put/put/wchar_t/20914.cc: Likewise.
2576 * testsuite/22_locale/num_put/put/wchar_t/3.cc: Likewise.
2577 * testsuite/22_locale/num_put/put/wchar_t/5.cc: Likewise.
2578 * testsuite/22_locale/num_put/put/wchar_t/wrapped_env.cc: Likewise.
2579 * testsuite/22_locale/num_put/put/wchar_t/wrapped_locale.cc: Likewise.
2580 * testsuite/22_locale/numpunct/members/char/2.cc: Likewise.
2581 * testsuite/22_locale/numpunct/members/char/3.cc: Likewise.
2582 * testsuite/22_locale/numpunct/members/char/wrapped_env.cc: Likewise.
2583 * testsuite/22_locale/numpunct/members/char/wrapped_locale.cc: Likewise.
2584 * testsuite/22_locale/numpunct/members/wchar_t/2.cc: Likewise.
2585 * testsuite/22_locale/numpunct/members/wchar_t/wrapped_env.cc: Likewise.
2586 * testsuite/22_locale/numpunct/members/wchar_t/wrapped_locale.cc:
2588 * testsuite/22_locale/numpunct_byname/named_equivalence.cc: Likewise.
2589 * testsuite/22_locale/time_get/date_order/char/wrapped_env.cc: Likewise.
2590 * testsuite/22_locale/time_get/date_order/char/wrapped_locale.cc:
2592 * testsuite/22_locale/time_get/date_order/wchar_t/wrapped_env.cc:
2594 * testsuite/22_locale/time_get/date_order/wchar_t/wrapped_locale.cc:
2596 * testsuite/22_locale/time_get/get_date/char/12750.cc: Likewise.
2597 * testsuite/22_locale/time_get/get_date/char/2.cc: Likewise.
2598 * testsuite/22_locale/time_get/get_date/char/wrapped_env.cc: Likewise.
2599 * testsuite/22_locale/time_get/get_date/char/wrapped_locale.cc:
2601 * testsuite/22_locale/time_get/get_date/wchar_t/12750.cc: Likewise.
2602 * testsuite/22_locale/time_get/get_date/wchar_t/2.cc: Likewise.
2603 * testsuite/22_locale/time_get/get_date/wchar_t/4.cc: Likewise.
2604 * testsuite/22_locale/time_get/get_date/wchar_t/wrapped_env.cc:
2606 * testsuite/22_locale/time_get/get_date/wchar_t/wrapped_locale.cc:
2608 * testsuite/22_locale/time_get/get_monthname/char/2.cc: Likewise.
2609 * testsuite/22_locale/time_get/get_monthname/char/wrapped_env.cc:
2611 * testsuite/22_locale/time_get/get_monthname/char/wrapped_locale.cc:
2613 * testsuite/22_locale/time_get/get_monthname/wchar_t/2.cc: Likewise.
2614 * testsuite/22_locale/time_get/get_monthname/wchar_t/wrapped_env.cc:
2616 * testsuite/22_locale/time_get/get_monthname/wchar_t/wrapped_locale.cc:
2618 * testsuite/22_locale/time_get/get_time/char/1.cc: Likewise.
2619 * testsuite/22_locale/time_get/get_time/char/2.cc: Likewise.
2620 * testsuite/22_locale/time_get/get_time/char/wrapped_env.cc: Likewise.
2621 * testsuite/22_locale/time_get/get_time/char/wrapped_locale.cc:
2623 * testsuite/22_locale/time_get/get_time/wchar_t/1.cc: Likewise.
2624 * testsuite/22_locale/time_get/get_time/wchar_t/2.cc: Likewise.
2625 * testsuite/22_locale/time_get/get_time/wchar_t/wrapped_env.cc:
2627 * testsuite/22_locale/time_get/get_time/wchar_t/wrapped_locale.cc:
2629 * testsuite/22_locale/time_get/get_weekday/char/2.cc: Likewise.
2630 * testsuite/22_locale/time_get/get_weekday/char/wrapped_env.cc:
2632 * testsuite/22_locale/time_get/get_weekday/char/wrapped_locale.cc:
2634 * testsuite/22_locale/time_get/get_weekday/wchar_t/2.cc: Likewise.
2635 * testsuite/22_locale/time_get/get_weekday/wchar_t/wrapped_env.cc:
2637 * testsuite/22_locale/time_get/get_weekday/wchar_t/wrapped_locale.cc:
2639 * testsuite/22_locale/time_put/put/char/17038.cc: Likewise.
2640 * testsuite/22_locale/time_put/put/char/2.cc: Likewise.
2641 * testsuite/22_locale/time_put/put/char/3.cc: Likewise.
2642 * testsuite/22_locale/time_put/put/char/4.cc: Likewise.
2643 * testsuite/22_locale/time_put/put/char/6.cc: Likewise.
2644 * testsuite/22_locale/time_put/put/char/7.cc: Likewise.
2645 * testsuite/22_locale/time_put/put/char/8.cc: Likewise.
2646 * testsuite/22_locale/time_put/put/char/9780-1.cc: Likewise.
2647 * testsuite/22_locale/time_put/put/char/wrapped_env.cc: Likewise.
2648 * testsuite/22_locale/time_put/put/char/wrapped_locale.cc: Likewise.
2649 * testsuite/22_locale/time_put/put/wchar_t/17038.cc: Likewise.
2650 * testsuite/22_locale/time_put/put/wchar_t/2.cc: Likewise.
2651 * testsuite/22_locale/time_put/put/wchar_t/3.cc: Likewise.
2652 * testsuite/22_locale/time_put/put/wchar_t/4.cc: Likewise.
2653 * testsuite/22_locale/time_put/put/wchar_t/6.cc: Likewise.
2654 * testsuite/22_locale/time_put/put/wchar_t/7.cc: Likewise.
2655 * testsuite/22_locale/time_put/put/wchar_t/8.cc: Likewise.
2656 * testsuite/22_locale/time_put/put/wchar_t/wrapped_env.cc: Likewise.
2657 * testsuite/22_locale/time_put/put/wchar_t/wrapped_locale.cc: Likewise.
2658 * testsuite/27_io/basic_filebuf/imbue/char/13007.cc: Likewise.
2659 * testsuite/27_io/basic_filebuf/imbue/char/13171-1.cc: Likewise.
2660 * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
2661 * testsuite/27_io/basic_filebuf/imbue/char/13171-4.cc: Likewise.
2662 * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise.
2663 * testsuite/27_io/basic_filebuf/imbue/char/14975-1.cc: Likewise.
2664 * testsuite/27_io/basic_filebuf/imbue/char/2.cc: Likewise.
2665 * testsuite/27_io/basic_filebuf/imbue/char/9322.cc: Likewise.
2666 * testsuite/27_io/basic_filebuf/imbue/wchar_t/12868.cc: Likewise.
2667 * testsuite/27_io/basic_filebuf/imbue/wchar_t/13007.cc: Likewise.
2668 * testsuite/27_io/basic_filebuf/imbue/wchar_t/13171-3.cc: Likewise.
2669 * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-2.cc: Likewise.
2670 * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-3.cc: Likewise.
2671 * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc: Likewise.
2672 * testsuite/27_io/basic_filebuf/imbue/wchar_t/2.cc: Likewise.
2673 * testsuite/27_io/basic_filebuf/imbue/wchar_t/9322.cc: Likewise.
2674 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1.cc: Likewise.
2675 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2.cc: Likewise.
2676 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3.cc: Likewise.
2677 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4.cc: Likewise.
2678 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/1.cc: Likewise.
2679 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/2.cc: Likewise.
2680 * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9874.cc: Likewise.
2681 * testsuite/27_io/basic_filebuf/underflow/wchar_t/1.cc: Likewise.
2682 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-1.cc: Likewise.
2683 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-2.cc: Likewise.
2684 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-3.cc: Likewise.
2685 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-4.cc: Likewise.
2686 * testsuite/27_io/basic_filebuf/underflow/wchar_t/2.cc: Likewise.
2687 * testsuite/27_io/basic_filebuf/underflow/wchar_t/3.cc: Likewise.
2688 * testsuite/27_io/basic_filebuf/underflow/wchar_t/4.cc: Likewise.
2689 * testsuite/27_io/basic_filebuf/underflow/wchar_t/5.cc: Likewise.
2690 * testsuite/27_io/basic_filebuf/underflow/wchar_t/9520.cc: Likewise.
2691 * testsuite/27_io/basic_ios/copyfmt/char/2.cc: Likewise.
2692 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/2.cc:
2694 * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/2.cc:
2696 * testsuite/27_io/basic_streambuf/imbue/char/13007-1.cc: Likewise.
2697 * testsuite/27_io/basic_streambuf/imbue/char/13007-2.cc: Likewise.
2698 * testsuite/27_io/basic_streambuf/imbue/char/9322.cc: Likewise.
2699 * testsuite/27_io/basic_streambuf/imbue/wchar_t/13007-1.cc: Likewise.
2700 * testsuite/27_io/basic_streambuf/imbue/wchar_t/13007-2.cc: Likewise.
2701 * testsuite/27_io/basic_streambuf/imbue/wchar_t/9322.cc: Likewise.
2702 * testsuite/27_io/basic_stringbuf/imbue/char/9322.cc: Likewise.
2703 * testsuite/27_io/basic_stringbuf/imbue/wchar_t/9322.cc: Likewise.
2704 * testsuite/27_io/objects/wchar_t/10.cc: Likewise.
2705 * testsuite/27_io/objects/wchar_t/11.cc: Likewise.
2706 * testsuite/27_io/objects/wchar_t/12.cc: Likewise.
2707 * testsuite/27_io/objects/wchar_t/13.cc: Likewise.
2708 * testsuite/27_io/objects/wchar_t/9520.cc: Likewise.
2709 * testsuite/ext/stdio_sync_filebuf/wchar_t/12077.cc: Likewise.
2711 2005-05-17 Nathan Sidwell <nathan@codesourcery.com>
2713 * libsupc++/eh_personality.cc (gcc_unreachable): Define.
2715 2005-05-16 Paolo Carlini <pcarlini@suse.de>
2717 * docs/html/install.html: Update list of required named
2718 locales, add "es_ES".
2720 2005-05-13 Magnus Fromreide <magfr@lysator.liu.se>
2722 * testsuite/27_io/basic_streambuf/sgetn/char/1.cc: Use
2723 initialization instead of copying as the string is used only once.
2724 * testsuite/27_io/basic_streambuf/sgetn/wchar_t/1.cc: Likewise.
2725 * testsuite/27_io/basic_streambuf/sputn/char/1.cc: Likewise.
2726 * testsuite/27_io/basic_streambuf/sputn/wchar_t/1.cc: Likewise.
2728 2005-05-12 Benjamin Kosnik <bkoz@redhat.com>
2730 * scripts/create_testsuite_files: Fix.
2732 2005-05-12 Kaz Kojima <kkojima@gcc.gnu.org>
2734 * testsuite/18_support/numeric_limits.cc (dg-options): Add
2735 -mieee to options on sh*-*-*.
2737 2005-05-10 Jonathan Wakely <redi@gcc.gnu.org>
2739 * include/debug/debug.h: Fix typo in macro name.
2741 2005-05-09 Paolo Carlini <pcarlini@suse.de>
2742 Giovanni Bajo <giovannibajo@gcc.gnu.org>
2745 * include/bits/deque.tcc: Fully qualify names from namespace std.
2746 * include/bits/stl_bvector.h: Likewise.
2747 * include/bits/stl_deque.h: Likewise.
2748 * include/bits/stl_list.h: Likewise.
2749 * include/bits/stl_map.h: Likewise.
2750 * include/bits/stl_multimap.h: Likewise.
2751 * include/bits/stl_multiset.h: Likewise.
2752 * include/bits/stl_set.h: Likewise.
2753 * include/bits/stl_vector.h: Likewise.
2754 * include/bits/vector.tcc: Likewise.
2755 * include/std/std_bitset.h: Likewise.
2756 * testsuite/23_containers/bitset/18604.cc: New.
2757 * testsuite/23_containers/deque/18604.cc: Likewise.
2758 * testsuite/23_containers/list/18604.cc: Likewise.
2759 * testsuite/23_containers/map/18604.cc: Likewise.
2760 * testsuite/23_containers/set/18604.cc: Likewise.
2761 * testsuite/23_containers/vector/18604.cc: Likewise.
2763 2005-05-09 Mike Stump <mrs@apple.com>
2765 * configure: Regenerate.
2767 2005-05-09 Jonathan Wakely <redi@gcc.gnu.org>
2769 DR 434. bitset::to_string() hard to use [Ready]
2770 * include/debug/bitset (to_string): Add three overloads, taking
2771 fewer template arguments.
2773 2005-05-06 Mark Mitchell <mark@codesourcery.com>
2775 * testsuite/testsuite_hooks.cc (try_mkfifo): Remove.
2776 * testsuite/testsuite_hooks.h (try_mkfifo): Likewise.
2777 * testsuite/27_io/basic_filebuf/close/char/4879.cc: Use
2778 dg-require-fork and dg-require-mkfifo. Replace try_mkfifo with
2780 * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise.
2781 * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
2782 * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise.
2783 * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-2.cc:
2785 * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc:
2787 * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise.
2788 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc:
2790 * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise.
2791 * testsuite/27_io/objects/char/7.cc: Likewise.
2792 * testsuite/27_io/objects/char/9661-1.cc: Likewise.
2793 * testsuite/27_io/objects/wchar_t/7.cc: Likewise.
2794 * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise.
2796 2005-05-04 Benjamin Kosnik <bkoz@redhat.com>
2798 * acinclude.m4: Remove testsuite_wchar_t and testsuite_thread.
2799 * testsuite/Makefile.am: Same.
2800 * scripts/create_testsuite_files: Same.
2801 * Makefile.in: Regenerate.
2803 * include/Makefile.in: Same.
2804 * libmath/Makefile.in: Same.
2805 * libsupc++/Makefile.in: Same.
2806 * po/Makefile.in: Same.
2807 * src/Makefile.in: Same.
2809 2005-05-04 Mark Mitchell <mark@codesourcery.com>
2811 * testsuite/lib/libstdc++.exp (v3-build_support): Look for
2812 __GTHREADS, rather than _GLIBCXX_HAVE_GTHR_DEFAULT, to determine
2813 whether or not thread support is available.
2815 * docs/html/test.html: Explain how to run the testsuite on an
2816 installed directory.
2818 2005-05-01 Paolo Carlini <pcarlini@suse.de>
2820 * config/os/aix/os_defines.h: Remove obsolete __off_t,
2821 __off64_t, __ssize_t defines.
2822 * config/os/djgpp/os_defines.h: Likewise.
2823 * config/os/hpux/os_defines.h: Likewise.
2824 * config/os/irix/irix5.2/os_defines.h: Likewise.
2825 * config/os/irix/irix6.5/os_defines.h: Likewise.
2826 * config/os/solaris/solaris2.5/os_defines.h: Likewise.
2827 * config/os/solaris/solaris2.6/os_defines.h: Likewise.
2828 * config/os/solaris/solaris2.7/os_defines.h: Likewise.
2829 * docs/html/17_intro/porting.html: Don't discuss the defines.
2830 * docs/html/17_intro/porting.texi: Likewise.
2832 2005-04-29 Paolo Carlini <pcarlini@suse.de>
2833 Nathan Myers <ncm@cantrip.org>
2836 * include/bits/fstream.tcc (basic_filebuf<>::xsgetn):
2837 Loop on short reads; remove the work-around for
2838 libstdc++/20806, not needed anymore.
2840 2005-04-29 Paolo Carlini <pcarlini@suse.de>
2843 * include/bits/locale_facets.tcc (num_get::_M_extract_float,
2844 num_get::_M_extract_int, num_get::do_get(bool&),
2845 num_put::_M_insert_int, num_put::_M_insert_float,
2846 num_put::do_put(bool), money_get::_M_extract,
2847 money_put::_M_insert): Adjust the __cache_type typedef not to
2848 forward to a numpunct/moneypunct typedef.
2849 * testsuite/testsuite_character.h: Add pod_uint and its numpunct
2850 and moneypunct specializations.
2851 * testsuite/testsuite_character.cc: Add numpunct<pod_uint>::id
2852 and moneypunct<pod_uint>::id.
2853 * testsuite/22_locale/num_get/3.cc: New.
2854 * testsuite/22_locale/num_put/3.cc: Likewise.
2855 * testsuite/22_locale/money_get/3.cc: Likewise.
2856 * testsuite/22_locale/money_put/3.cc: Likewise.
2858 * include/bits/locale_facets.tcc (money_put::_M_insert,
2859 time_get::_M_extract_name): Prefer operator== to operator!=
2862 2005-04-29 Paolo Carlini <pcarlini@suse.de>
2864 * include/tr1/type_traits (is_convertible): Adjust according
2865 to the resolution of TR1 issue 3.20.
2866 * testsuite/tr1/4_metaprogramming/relationships_between_types/
2867 is_convertible/is_convertible.cc: Add tests.
2869 2005-04-28 Paolo Carlini <pcarlini@suse.de>
2870 Gabriel Dos Reis <gdr@integrable-solutions.net>
2872 PR libstdc++/21244 (cont)
2873 * include/bits/cpp_type_traits.h (struct __traitor): Convert
2875 * include/bits/stl_algo.h: Convert _S_threshold to int.
2876 * include/bits/stl_bvector.h: Revert previous change, convert
2878 * include/debug/formatter.h: Convert __max_parameters to
2880 * include/ext/mt_allocator.h: Likewise for _S_chunk_size.
2881 * include/ext/pool_allocator.h: Likewise for _S_max_bytes and
2883 * include/ext/rope: Likewise for _S_alloc_granularity; convert
2884 _S_max_rope_depth to int.
2885 * include/ext/ropeimpl.h: Convert _S_path_cache_len to int;
2886 _S_max_rope_depth to int; _S_copy_max to size_t.
2888 2005-04-27 Benjamin Kosnik <bkoz@redhat.com>
2890 * docs/doxygen/user.cfg.in: Update to doxygen-1.4.2.
2891 * docs/doxygen/doxygroups.cc: Update namespace comments.
2893 2005-04-27 Dominik Strasser <dominik.strasser@infineon.com>
2894 Paolo Carlini <pcarlini@suse.de>
2897 * include/bits/stl_bvector.h: Change the anonymous enum
2898 at namespace scope to _S_word_bit_enum.
2899 * testsuite/23_containers/vector/bool/21244.cc: New.
2901 2005-04-27 Paolo Carlini <pcarlini@suse.de>
2903 * include/tr1/type_traits (has_trivial_copy, has_trivial_assign,
2904 has_nothrow_copy, has_nothrow_assign): Adjust according to the
2905 resolution of TR1 issue 3.21.
2906 * testsuite/testsuite_tr1.h (test_copy_property,
2907 test_assign_property): Remove.
2908 * testsuite/tr1/4_metaprogramming/type_properties/
2909 has_nothrow_assign/has_nothrow_assign.cc: Adjust.
2910 * testsuite/tr1/4_metaprogramming/type_properties/
2911 has_nothrow_copy/has_nothrow_copy.cc: Likewise.
2912 * testsuite/tr1/4_metaprogramming/type_properties/
2913 has_trivial_assign/has_trivial_assign.cc: Likewise.
2914 * testsuite/tr1/4_metaprogramming/type_properties/
2915 has_trivial_copy/has_trivial_copy.cc: Likewise.
2917 2005-04-26 Jones Desougi <jones@ingate.com>
2920 * linkage.m4: Fix comments.
2922 2005-04-26 Paolo Carlini <pcarlini@suse.de>
2925 * include/bits/locale_facets.tcc (_M_extract_int): Avoid signed
2926 integer overflow, always use a suited unsigned type in the main
2928 (struct __to_unsigned_type): New.
2929 * testsuite/22_locale/num_get/get/char/16.cc: New.
2930 * testsuite/22_locale/num_get/get/wchar_t/16.cc: Likewise.
2932 2005-04-25 Paolo Carlini <pcarlini@suse.de>
2935 * include/bits/basic_string.h (compare): Adjust the documentation
2936 to match the implementation and the standard.
2938 2005-04-24 Paolo Carlini <pcarlini@suse.de>
2940 * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 35.
2942 2005-04-20 Mark Mitchell <mark@codesourcery.com>
2944 * testsuite/ext/bitmap_allocator/check_allocate_max_size.cpp: Add
2945 explicit instantiations for systems without weak symbols.
2946 * testsuite/ext/bitmap_allocator/check_deallocate_null.cc:
2949 2005-04-18 Jonathan Wakely <redi@gcc.gnu.org>
2951 * include/bits/stl_algo.h (rotate_copy): Add missing std qualification.
2953 2005-04-17 Paolo Carlini <pcarlini@suse.de>
2956 * include/bits/locale_facets.tcc (__int_to_char(_CharT*, _ValueT,
2957 const _CharT*, ios_base::fmtflags, bool)): Don't deal with numeric
2958 base or sign here, instead...
2959 (_M_insert_int(_OutIter, ios_base&, _CharT, _ValueT)): ... here,
2960 after adding the grouping. This fixes the bug and also allows to
2961 clean-up the code dealing with integer types.
2962 (_M_group_int(const char*, size_t, _CharT, ios_base&, _CharT*,
2963 _CharT*, int&)): Simplify, remove bits dealing with numeric base.
2964 (__int_to_char(_CharT*, unsigned long, const _CharT*,
2965 ios_base::fmtflags), __int_to_char(_CharT*, unsigned long long,
2966 const _CharT*, ios_base::fmtflags)): Remove hackish fix for
2968 (__int_to_char(_CharT*, long, const _CharT*, ios_base::fmtflags),
2969 __int_to_char(_CharT*, long long, const _CharT*, ios_base::fmtflags)):
2970 Simplify, don't pass the sign.
2971 (_M_insert_float(_OutIter, ios_base&, _CharT, char, _ValueT)):
2972 Deal with a sign at the beginning of __cs; robustify the grouping
2974 * testsuite/22_locale/num_put/put/char/20914.cc: New.
2975 * testsuite/22_locale/num_put/put/wchar_t/20914.cc: Likewise.
2977 2005-04-14 Benjamin Kosnik <bkoz@redhat.com>
2979 * include/ext/bitmap_allocator.h
2980 (__gnu_cxx::free_list::_M_get_mutex): New.
2981 (__gnu_cxx::free_list::_M_get_free_list): New.
2982 (__gnu_cxx::free_list::_S_bfl_mutex): Remove.
2983 (__gnu_cxx::free_list::_S_free_list): Remove.
2984 * src/bitmap_allocator.cc: Same.
2985 * config/linker-map.gnu: Remove free_list and mutex export.
2987 2005-04-14 Benjamin Kosnik <bkoz@redhat.com>
2989 * include/ext/pod_char_traits.h (__gnu_cxx::character): Add char_type.
2990 (character::to): New.
2991 (character::from): New.
2992 (operator==): Add state parameter.
2994 (char_traits::copy): Use std::copy.
2995 (char_traits::assign): Use std::fill_n.
2996 (char_traits::to_char_type): Use character::from.
2997 (char_traits::to_int_type): Use character::to.
2998 * testsuite/testsuite_character.h (__gnu_test::character): Remove.
2999 (__gnu_test::conversion_state): Remove.
3000 (__gnu_test::pod_char): Remove.
3001 (pod_char): New typedef.
3002 (pod_uchar): New typedef.
3003 (pod_ushort): New typedef.
3004 * testsuite/testsuite_character.cc: Fixups.
3005 * testsuite/21_strings/basic_string/inserters_extractors/pod/
3007 * testsuite/21_strings/basic_string/inserters_extractors/pod/
3009 * testsuite/22_locale/numpunct/members/pod/1.cc: Same.
3010 * testsuite/22_locale/numpunct/members/pod/2.cc: Same.
3011 * testsuite/27_io/basic_filebuf/close/12790-1.cc: Same.
3012 * testsuite/27_io/basic_filebuf/open/12790-1.cc: Same.
3013 * testsuite/27_io/basic_filebuf/seekoff/12790-1.cc: Same.
3014 * testsuite/27_io/basic_filebuf/seekoff/12790-2.cc: Same.
3015 * testsuite/27_io/basic_filebuf/seekoff/12790-3.cc: Same.
3016 * testsuite/27_io/basic_filebuf/seekoff/12790-4.cc: Same.
3017 * testsuite/27_io/basic_filebuf/seekpos/12790-1.cc: Same.
3018 * testsuite/27_io/basic_filebuf/seekpos/12790-2.cc: Same.
3019 * testsuite/27_io/basic_filebuf/seekpos/12790-3.cc: Same.
3020 * testsuite/27_io/basic_ios/imbue/14072.cc: Same.
3021 * testsuite/27_io/basic_istream/extractors_arithmetic/pod/
3023 * testsuite/27_io/basic_istream/extractors_character/pod/
3025 * testsuite/27_io/basic_istream/extractors_other/pod/3983-3.cc: Same.
3026 * testsuite/27_io/basic_istream/sentry/pod/1.cc: Same.
3027 * testsuite/27_io/basic_ostream/sentry/pod/1.cc: Same.
3029 2005-04-12 Mike Stump <mrs@apple.com>
3031 * configure: Regenerate.
3033 2005-04-08 Benjamin Kosnik <bkoz@redhat.com>
3035 * testsuite/Makefile.am: Remove libv3test.a.
3036 * testsuite/Makefile.in: Regenerate.
3037 * testsuite/lib/libstdc++.exp (v3_target_compile): Fix comments.
3039 2005-04-08 Paolo Carlini <pcarlini@suse.de>
3042 * include/bits/locale_facets.tcc (num_put<>::_M_insert_float):
3043 Don't even try to group numbers like 2e20, i.e., no decimal
3044 point, scientific notation.
3045 * testsuite/22_locale/num_put/put/char/20909.cc: New.
3046 * testsuite/22_locale/num_put/put/wchar_t/20909.cc: Likewise.
3048 2005-04-08 Kelley Cook <kcook@gcc.gnu.org>
3050 * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Define _GLIBCXX_ASM_SYMVER.
3051 * acconfig.h: Delete file.
3052 * Makefile.in, acinclude.m4, configure: Regenerate.
3054 2005-04-08 Kelley Cook <kcook@gcc.gnu.org>
3056 * linkage.m4 (GLIBCXX_MAYBE_UNDERSCORED_FUNCS): New macro.
3057 (GLIBCXX_CHECK_MATH_DECL_AND_LINKAGE_1,
3058 GLIBCXX_CHECK_MATH_DECL_AND_LINKAGE_2,
3059 GLIBCXX_CHECK_MATH_DECL_AND_LINKAGE_3,
3060 GLIBCXX_CHECK_MATH_DECLS_AND_LINKAGES_1,
3061 GLIBCXX_CHECK_STDLIB_DECL_AND_LINKAGE_2): Use it.
3062 (GLIBCXX_CHECK_MATH_SUPPORT): Delete obsolete comment.
3063 * acconfig.h: Delete redundant macros.
3064 * config.h.in, configure: Regenerate.
3066 2005-04-08 Kelley Cook <kcook@gcc.gnu.org>
3068 * linkage.m4 (GLIBCXX_CHECK_MATH_DECLS_AND_LINKAGES_1): Eliminate
3069 a subshell and if test fails, test for same functions with
3071 (GLIBCXX_CHECK_MATH_SUPPORT): Eliminate seperate checks for _funcs.
3072 * configure: Regenerate.
3074 2005-04-08 Danny Smith <dannysmith@users.sourceforge.net>
3075 Paolo Carlini <pcarlini@suse.de>
3078 * config/os/mingw32/os_defines.h: Define
3079 _GLIBCXX_HAVE_DOS_BASED_FILESYSTEM.
3080 * config/os/newlib/os_defines.h: Likewise, for __CYGWIN__.
3081 * include/bits/fstream.tcc (basic_filebuf<>::showmanyc()):
3083 (basic_filebuf<>::xsgetn(_CharT*, streamsize)): Likewise.
3085 2005-04-08 Kelley Cook <kcook@gcc.gnu.org>
3087 * acconfig.h: Sort the bottom section.
3088 * config.h.in: Regenerate.
3090 2005-04-08 Kelley Cook <kcook@gcc.gnu.org>
3092 * acconfig.h: Remove redundant HAVE_FLOAT_H.
3093 * config.h.in: Regenerate.
3095 2005-04-08 Kelley Cook <kcook@gcc.gnu.org>
3097 * configure.ac: Create template for PACKAGE and VERSION.
3098 Update comment on how to regenerate file. Update minimum
3099 automake version to 1.9.3.
3100 * acconfig.h: Remove PACKAGE and VERSION.
3101 * aclocal.m4, configure, Makefile.in, po/Makefile.in,
3102 src/Makefile.in, include/Makefile.in, libmath/Makefile.in,
3103 testsuite/Makefile.in, config.h.in: Regenerate.
3105 2005-04-06 Benjamin Kosnik <bkoz@redhat.com>
3107 * docs/html/test.html: Update.
3108 * testsuite/printnow.c: Remove.
3109 * scripts/check_survey.in: Remove.
3111 * testsuite/abi_check.cc: To...
3112 * testuite/testsuite_abi_check.cc: ...here.
3113 * testsuite/libstdc++-abi/abi.exp: Change abi_check.cc to
3114 testsuite_abi_check.cc.
3116 * testsuite/testsuite_hooks.h: Move character related bits to...
3117 * testsuite/testsuite_character.h: ...here.
3118 * testsuite/testsuite_character.cc: ... and here.
3119 * testsuite/21_strings/basic_string/inserters_extractors/pod/
3120 10081-in.cc: Use testsuite_character.h.
3121 * testsuite/21_strings/basic_string/inserters_extractors/pod/
3123 * testsuite/22_locale/numpunct/members/pod/1.cc: Same.
3124 * testsuite/22_locale/numpunct/members/pod/2.cc: Same.
3125 * testsuite/27_io/basic_filebuf/2.cc: Same.
3126 * testsuite/27_io/basic_fstream/2.cc: Same.
3127 * testsuite/27_io/basic_istream/2.cc: Same.
3128 * testsuite/27_io/basic_istream/extractors_arithmetic/pod/
3130 * testsuite/27_io/basic_istream/extractors_character/char/
3132 * testsuite/27_io/basic_istream/extractors_character/pod/
3134 * testsuite/27_io/basic_istream/extractors_other/pod/3983-3.cc: Same.
3135 * testsuite/27_io/basic_istream/sentry/pod/1.cc: Same.
3136 * testsuite/27_io/basic_ostream/2.cc: Same.
3137 * testsuite/27_io/basic_ostream/sentry/pod/1.cc: Same.
3138 * testsuite/27_io/basic_streambuf/2.cc: Same.
3139 * testsuite/27_io/basic_stringbuf/2.cc: Same.
3140 * testsuite/27_io/basic_stringbuf/4.cc: Same.
3141 * testsuite/27_io/basic_stringstream/2.cc: Same.
3142 * testsuite/27_io/fpos/1.cc: Same.
3143 * testsuite/ext/mt_allocator/tune-1.cc: Same.
3144 * testsuite/ext/mt_allocator/tune-2.cc: Same.
3145 * testsuite/ext/stdio_filebuf/char/1.cc: Same.
3146 * testsuite/lib/libstdc++.exp (v3-build_support): Add
3147 testsuite_character.cc.
3148 * testsuite/Makefile.am (libv3test_a_SOURCES): Add
3149 testsuite_character.cc.
3150 * testsuite/Makefile.in: Regenerate.
3152 * configure.ac: Remove use of check_survey.
3153 * configure: Regenerate.
3154 * testsuite/Makefile.am: Remove check-script and
3155 check-script-install rules.
3156 * testsuite/Makefile.in: Regenerate.
3158 2005-04-06 Ulrich Weigand <uweigand@de.ibm.com>
3160 * config/cpu/s390/atomicity.h (__exchange_and_add): Add "memory"
3161 clobber to inline assembly statement.
3163 2005-04-06 Kelley Cook <kcook@gcc.gnu.org>
3165 * acinclude.m4 (_GLIBCXX_USE_LONG_LONG,
3166 _GLIBCXX_USE_WCHAR_T, _GLIBCXX_USE_C99, _GLIBCXX_USE_C99_MATH,
3167 _GLIBCXX_USE_C99_COMPLEX, _GLIBCXX_RES_LIMITS, _GLIBCXX_CONCEPT_CHECKS,
3168 _GLIBCXX_SYMVER, _GLIBCXX_USE_LFS, _GLIBCXX_FULLY_DYNAMIC_STRING,
3169 _GLIBCXX_USE_NLS, HAVE_GTHR_DEFAULT, HAVE_MBSTATE_T, HAVE_POLL,
3170 HAVE_S_ISREG, HAVE_S_IFREG, HAVE_WRITEV, HAVE_INT64_T,
3171 HAVE_LC_MESSAGES): Use long form of AC_DEFINE ...
3172 * acconfig.h: ... to eliminate them from here.
3173 (_GLIBCXX_ASM_SYMVER): Move definition below @BOTTOM@.
3174 * config.h.in, configure: Regenerate.
3176 2005-04-05 Kelley Cook <kcook@gcc.gnu.org>
3178 * Makefile.am (ACLOCAL_AMFLAGS): Define.
3179 * crossconfig.m4: Wrap file into new GLIBCXX_CROSSCONFIG macro.
3180 * configure.ac: Use it.
3181 * acinclude.m4: Delete explicit m4_includes and sincludes.
3182 * aclocal.m4, configure, Makefile.in, po/Makefile.in,
3183 src/Makefile.in, include/Makefile.in, libmath/Makefile.in,
3184 testsuite/Makefile.in: Regenerate.
3186 2005-04-05 Jonathan Wakely <redi@gcc.gnu.org>
3188 * include/tr1/memory, include/tr1/boost_shared_ptr.h: Use mutex
3189 to make _Sp_counted_base::add_ref_lock() thread-safe. Check whether
3190 to destroy resources by testing for equality, not inequality. Add
3191 empty critical sections to solve memory visibility issues.
3192 * testsuite/tr1/2_general_utilities/memory/
3193 shared_ptr/cons/auto_ptr_neg.cc: Use dg-excess-errors instead of
3194 explicitly listing line numbers which need to be kept in sync.
3195 * testsuite/tr1/2_general_utilities/memory/
3196 shared_ptr/assign/auto_ptr_neg.cc: Same.
3197 * testsuite/tr1/2_general_utilities/memory/
3198 shared_ptr/assign/auto_ptr_rvalue_neg.cc: Same.
3199 * testsuite/tr1/2_general_utilities/memory/
3200 shared_ptr/cons/weak_ptr_expired.cc: Make XFAIL for consistency when
3202 * testsuite/tr1/2_general_utilities/memory/
3203 enable_shared_from_this/not_shared.cc: Add explanatory comments.
3204 * testsuite/tr1/2_general_utilities/memory/
3205 enable_shared_from_this/not_shared2.cc: Same.
3206 * testsuite/tr1/2_general_utilities/memory/
3207 enable_shared_from_this/not_shared3.cc: Same.
3209 2005-04-05 Kelley Cook <kcook@gcc.gnu.org>
3211 * acconfig.h: Delete macros already AC_DEFINED.
3212 * config.h.in: Regenerate.
3214 2005-04-05 Kelley Cook <kcook@gcc.gnu.org>
3216 * acconfig.h (HAVE_MODF): Remove.
3217 * linkage.m4: Check for modf.
3218 * config.h.in, configure: Regenerate.
3220 2005-04-05 Kelley Cook <kcook@gcc.gnu.org>
3222 * acconfig.h (ENABLE_NLS, HAVE_CATGETS): Remove.
3223 (HAVE_GETTEXT, HAVE_STPCPY): Likewise.
3224 * config.h.in: Regenerate.
3226 2005-04-05 Kelley Cook <kcook@gcc.gnu.org>
3228 * linkage.m4 (GLIBCXX_CHECK_BUILTIN_MATH_DEC): Use m4 translit macro
3229 to convert to uppercase instead of shelling out to tr.
3230 * acconfig.h: Remove now redundant HAVE__BUILTINS_*.
3231 * configure, config.h.in: Regenerate.
3233 2005-04-05 Kelley Cook <kcook@gcc.gnu.org>
3235 * acconfig.h (HAVE_TANL): Correct cut-and-paste typo.
3236 * config.h.in: Regenerate.
3238 2005-04-04 Mark Mitchell <mark@codesourcery.com>
3240 * testsuite/Makefile.am (check-local): Remove.
3241 (curent_symbols.txt): Likewise.
3242 (check-abi): Do not depend on current_symbols.txt.
3243 * testsuite/Makefile.in: Regenerated.
3244 * testsuite/libstdc++-abi/abi.exp: Build current_symbols.txt.
3246 2005-04-02 Douglas Gregor <doug.gregor@gmail.com>
3248 * include/tr1/tuple_iterate.h (tuple_element): Use new macro
3249 _GLIBCXX_T_NUM_ARGS_PLUS_1 because _T is a macro on Darwin.
3250 * include/tr1/repeat.h (_GLIBCXX_T_NUM_ARGS_PLUS_1): Define for
3252 * scripts/gen_includers.h: Define _GLIBCXX_T_NUM_ARGS_PLUS_1 for
3255 2005-04-01 Douglas Gregor <doug.gregor@gmail.com>
3257 * include/tr1/functional (_Maybe_wrap_member_pointer): Wrap up
3258 member pointers in _Mem_fn but let other function objects pass
3260 * include/tr1/functional_iterator (bind): Reduce number of bind()
3261 overloads to two to eliminate ambiguities. Use
3262 _Maybe_wrap_member_pointer to handle member pointers gracefully.
3264 2005-04-01 Mark Mitchell <mark@codesourcery.com>
3266 * testsuite/Makefile.am (noinst_PROGRAMS): Remove.
3267 (site.exp): Write out the path to the baseline file.
3268 (check-abi): Use DejaGNU.
3269 (check-abi-verbose): Remove.
3270 * testsuite/Makefile.in: Regenerated.
3271 * testsuite/abi_check.cc (main): Check the return value from
3273 * testsuite/testsuite_abi.cc (compare_symbols): Return a value.
3274 * testsuite/testsuite_abi.h (compare_symbols): Adjust prototype.
3275 * testsuite/libstdc++-abi/abi.exp: New file.
3277 2005-03-31 Chris Jefferson <chris@bubblescope.net>
3279 * include/tr1/tuple: Support iteration via tuple_iterate.h.
3280 * include/tr1/tuple_iterate.h: Iteration file for tuple.
3282 2005-03-31 Douglas Gregor <doug.gregor@gmail.com>
3284 * include/Makefile.am (tr1_headers): Add bind and mu repetition
3285 headers and reference_wrapper<> forwarding header.
3286 * include/Makefile.in: Regenerate.
3287 * include/tr1/bind_iterate.h: Implementation of function call
3288 operators for the function object returned from tr1::bind().
3289 * include/tr1/bind_repeat.h: Bind-specific repetition header,
3290 akin to include/tr1/repeat.h.
3291 * include/tr1/functional (_Mem_fn): Bug fix: declare result member
3292 template for use with result_of.
3293 (is_bind_expression): New.
3294 (is_placeholder): New.
3295 (_Placeholder): New. Placeholder type for bind.
3296 (_Mu): New. Implementation detail of bind.
3297 (_Bind, _Bind_result): New. Function objects returned by bind.
3298 (_GLIBCXX_JOIN): New. Required to create bind placeholders.
3299 * include/tr1/functional_iterate.h (_Bind, _Bind_result, bind):
3300 New. Implementation of tr1::bind.
3301 * include/tr1/mu_iterate.h (_Mu): result template and operator()
3302 for the _Mu helper to bind.
3303 * include/tr1/ref_fwd.h (reference_wrapper): Forward declaration
3304 used by tuple header.
3307 * include/tr1/repeat.h: Add bind-specific repetition macros.
3308 * include/tr1/tuple: Use reference_wrapper forwarding header for
3309 initial definitions, then include <tr1/functional> at the end, to
3310 make the circular dependencies work.
3311 (tie): Support zero-argument tie() function.
3312 * testsuite/tr1/3_function_objects/bind/all_bound.cc: New test of
3313 bind() functionality with parameters bound.
3314 * testsuite/tr1/3_function_objects/bind/nested.cc: New test of
3315 nested bind() expressions.
3316 * testsuite/tr1/3_function_objects/bind/placeholders.cc: New test
3317 of bind() placeholders.
3318 * testsuite/tr1/3_function_objects/bind/ref.cc: New test of bind()
3319 with arguments bound via reference_wrapper<>.
3320 * scripts/gen_includers.pl: Generate the repetitive part of
3321 include/tr1/repeat.h.
3322 * scripts/gen_bind_includers.pl: Generate the repetitive part of
3323 include/tr1/bind_repeat.h.
3325 2005-03-30 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
3327 * testsuite/Makefile.am (CXX): Use ${SHELL}.
3328 (GLIBCXX_INCLUDES): Same.
3329 (AM_CXXFLAGS): Same.
3330 * testsuite/Makefile.in: Regenerate.
3332 2005-03-25 Mark Mitchell <mark@codesourcery.com>
3334 * testsuite/lib/libstdc++.exp (libstdc++_init): Define LOCALEDIR
3335 when testing an installed compiler.
3337 * testsuite/lib/libstdc++.exp (v3-build_support): Pass -w when
3338 compiling support objects.
3340 2005-03-24 Benjamin Kosnik <bkoz@redhat.com>
3342 * include/tr1/memory: Forward to...
3343 * include/tr1/boost_shared_ptr.h: ...here. Add Boost Software License.
3344 * include/Makefile.am (tr1_headers): Add boost_shared_ptr.h.
3345 * include/Makefile.in: Regenerate.
3346 * testsuite/tr1/2_general_utilities/memory/shared_ptr/cons/
3347 auto_ptr_neg.cc: Adjust line numbers.
3349 2005-03-23 Mark Mitchell <mark@codesourcery.com>
3351 * testsuite/Makefile.am (all-local): Do not build testsuite_files.
3352 * testsuite/Makefile.in: Regenerated.
3354 2005-03-23 Benjamin Kosnik <bkoz@redhat.com>
3356 * acinclude.m4: Adjust so that _GLIBCXX_USE_C99 implies
3357 using _GLIBCXX_USE_C99_COMPLEX, _GLIBCXX_USE_C99_MATH, and
3358 _GLIBCXX_USE_C99_WCHAR.
3359 Remove GLIBCXX_ENABLE_C_MBCHAR, consolidate in GLIBCXX_ENABLE_C99
3360 and GLIBCXX_ENABLE_WCHAR_T.
3361 Take C99 bits from GLIBCXX_CHECK_WCHAR_T_SUPPORT and put in
3363 Change remaining parts of GLIBCXX_CHECK_WCHAR_T_SUPPORT to
3364 GLIBCXX_CHECK_ICONV_SUPPORT.
3365 * configure.ac: Remove GLIBCXX_ENABLE_C_MBCHAR, use
3366 GLIBCXX_CHECK_ICONV_SUPPORT and GLIBCXX_ENABLE_WCHAR_T.
3367 * crossconfig.m4: Same.
3368 * acconfig.h: Same, adjust comments.
3369 * config.h.in: Regenerate.
3370 * configure: Regenerate.
3371 * docs/html/configopts.html: Change --enable-c-mbchar to
3374 * config/locale/gnu/c++locale_internal.h: Guard wide functions
3375 with _GLIBCXX_USE_WCHAR_T.
3376 * include/c_std/std_cwctype.h: Alphabetize, remove duplicates.
3377 * include/c_std/std_cstdio.h: Spacing.
3379 * config/locale/gnu/c_locale.h: Tweaks for unused warnings.
3380 * src/debug.cc: Same.
3382 2005-03-23 Mark Mitchell <mark@codesourcery.com>
3384 * testsuite/libstdc++-dg/normal.exp: Read testsuite_files, if it
3387 * testsuite/lib/libstdc++.exp (libstdc++_wchar_t): Rename to ...
3388 (v3-wchar_t): ... this.
3389 (libstdc++_threads): Rename to ...
3390 (v3-threads): ... this.
3391 (libstdc++_test_objs): Rename to ...
3392 (v3-test_objs): ... this.
3393 (libstdc++_build_support): Rename to ...
3394 (v3-build_support): ... this.
3395 * testsuite/libstdc++-dg/normal.exp: Adjust to use new names.
3397 * testsuite/lib/libstdc++.exp (libstdc++_init): Improve handling
3398 of compilers not in the build directory.
3399 (libstdc++_wchar_t): New variable.
3400 (libstdc++_threads): Likewise.
3401 (libstdc++_test_objs): Likewise.
3402 (v3_target_compile): Use libstdc++_test_objs.
3403 (v3-list-tests): Remove.
3404 (listdc++_build_support): New function.
3405 * testsuite/libstdc++-dg/normal.exp: Rework to dynamically
3406 generate list of tests.
3408 2005-03-21 Chris Jefferson <chris@bubblescope.net>
3411 * include/bits/stl_algobase.h (iter_swap): Only delegate iter_swap
3412 to swap when the iterator's reference_type is a reference to its
3414 * testsuite/25_algorithms/iter_swap/20577.cc: New.
3416 2005-03-21 Zack Weinberg <zack@codesourcery.com>
3418 * acinclude.m4 (GLIBCXX_CONFIGURE): Delete gcc_version logic.
3419 (GLIBCXX_EXPORT_INSTALL_INFO): Adjust quotation so ${gcc_version}
3420 is expanded by the Makefiles, not by configure.
3421 * fragment.am: Set gcc_version.
3422 * libmath/Makefile.am: Likewise.
3423 * configure, Makefile.in, include/Makefile.in, libmath/Makefile.in
3424 * libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in
3425 * testsuite/Makefile.in: Regenerate.
3427 2005-03-16 Paolo Carlini <pcarlini@suse.de>
3429 * testsuite/20_util/functional/binders.cc: Remove explicit
3430 instantiations for non-weak systems.
3431 * testsuite/20_util/memory/allocator/1.cc: Likewise.
3432 * testsuite/20_util/memory/allocator/10378.cc: Likewise.
3433 * testsuite/20_util/memory/allocator/10416.cc: Likewise.
3434 * testsuite/20_util/memory/allocator/8230.cc: Likewise.
3435 * testsuite/20_util/utility/rel_ops.cc: Likewise.
3436 * testsuite/22_locale/ctype/is/char/2.cc: Likewise.
3437 * testsuite/22_locale/ctype/is/wchar_t/2.cc: Likewise.
3438 * testsuite/23_containers/deque/cons/1.cc: Likewise.
3439 * testsuite/23_containers/deque/cons/2.cc: Likewise.
3440 * testsuite/23_containers/deque/invalidation/1.cc: Likewise.
3441 * testsuite/23_containers/deque/invalidation/2.cc: Likewise.
3442 * testsuite/23_containers/deque/invalidation/3.cc: Likewise.
3443 * testsuite/23_containers/deque/invalidation/4.cc: Likewise.
3444 * testsuite/23_containers/deque/modifiers/swap.cc: Likewise.
3445 * testsuite/23_containers/deque/operators/1.cc: Likewise.
3446 * testsuite/23_containers/list/capacity/1.cc: Likewise.
3447 * testsuite/23_containers/list/cons/1.cc: Likewise.
3448 * testsuite/23_containers/list/cons/2.cc: Likewise.
3449 * testsuite/23_containers/list/cons/3.cc: Likewise.
3450 * testsuite/23_containers/list/cons/4.cc: Likewise.
3451 * testsuite/23_containers/list/cons/5.cc: Likewise.
3452 * testsuite/23_containers/list/cons/6.cc: Likewise.
3453 * testsuite/23_containers/list/cons/7.cc: Likewise.
3454 * testsuite/23_containers/list/cons/8.cc: Likewise.
3455 * testsuite/23_containers/list/cons/9.cc: Likewise.
3456 * testsuite/23_containers/list/invalidation/1.cc: Likewise.
3457 * testsuite/23_containers/list/invalidation/2.cc: Likewise.
3458 * testsuite/23_containers/list/invalidation/3.cc: Likewise.
3459 * testsuite/23_containers/list/invalidation/4.cc: Likewise.
3460 * testsuite/23_containers/list/modifiers/1.cc: Likewise.
3461 * testsuite/23_containers/list/modifiers/2.cc: Likewise.
3462 * testsuite/23_containers/list/modifiers/3.cc: Likewise.
3463 * testsuite/23_containers/list/operators/1.cc: Likewise.
3464 * testsuite/23_containers/list/operators/2.cc: Likewise.
3465 * testsuite/23_containers/list/operators/3.cc: Likewise.
3466 * testsuite/23_containers/list/operators/4.cc: Likewise.
3467 * testsuite/23_containers/map/insert/1.cc: Likewise.
3468 * testsuite/23_containers/map/invalidation/1.cc: Likewise.
3469 * testsuite/23_containers/map/invalidation/2.cc: Likewise.
3470 * testsuite/23_containers/map/modifiers/swap.cc: Likewise.
3471 * testsuite/23_containers/map/operators/1.cc: Likewise.
3472 * testsuite/23_containers/multimap/invalidation/1.cc: Likewise.
3473 * testsuite/23_containers/multimap/invalidation/2.cc: Likewise.
3474 * testsuite/23_containers/multimap/modifiers/swap.cc: Likewise.
3475 * testsuite/23_containers/multiset/insert/1.cc: Likewise.
3476 * testsuite/23_containers/multiset/insert/2.cc: Likewise.
3477 * testsuite/23_containers/multiset/invalidation/1.cc: Likewise.
3478 * testsuite/23_containers/multiset/invalidation/2.cc: Likewise.
3479 * testsuite/23_containers/multiset/modifiers/swap.cc: Likewise.
3480 * testsuite/23_containers/priority_queue/members/7161.cc: Likewise.
3481 * testsuite/23_containers/queue/members/7157.cc: Likewise.
3482 * testsuite/23_containers/set/insert/1.cc: Likewise.
3483 * testsuite/23_containers/set/invalidation/1.cc: Likewise.
3484 * testsuite/23_containers/set/invalidation/2.cc: Likewise.
3485 * testsuite/23_containers/set/modifiers/swap.cc: Likewise.
3486 * testsuite/23_containers/stack/members/7158.cc: Likewise.
3487 * testsuite/23_containers/vector/bool/6886.cc: Likewise.
3488 * testsuite/23_containers/vector/capacity/1.cc: Likewise.
3489 * testsuite/23_containers/vector/capacity/8230.cc: Likewise.
3490 * testsuite/23_containers/vector/cons/1.cc: Likewise.
3491 * testsuite/23_containers/vector/cons/2.cc: Likewise.
3492 * testsuite/23_containers/vector/cons/3.cc: Likewise.
3493 * testsuite/23_containers/vector/cons/6513.cc: Likewise.
3494 * testsuite/23_containers/vector/element_access/1.cc: Likewise.
3495 * testsuite/23_containers/vector/invalidation/1.cc: Likewise.
3496 * testsuite/23_containers/vector/invalidation/2.cc: Likewise.
3497 * testsuite/23_containers/vector/invalidation/3.cc: Likewise.
3498 * testsuite/23_containers/vector/invalidation/4.cc: Likewise.
3499 * testsuite/23_containers/vector/modifiers/1.cc: Likewise.
3500 * testsuite/23_containers/vector/modifiers/2.cc: Likewise.
3501 * testsuite/23_containers/vector/modifiers/swap.cc: Likewise.
3502 * testsuite/23_containers/vector/resize/1.cc: Likewise.
3503 * testsuite/24_iterators/back_insert_iterator.cc: Likewise.
3504 * testsuite/24_iterators/front_insert_iterator.cc: Likewise.
3505 * testsuite/24_iterators/insert_iterator.cc: Likewise.
3506 * testsuite/24_iterators/iterator.cc: Likewise.
3507 * testsuite/25_algorithms/copy/1.cc: Likewise.
3508 * testsuite/25_algorithms/copy/2.cc: Likewise.
3509 * testsuite/25_algorithms/copy/3.cc: Likewise.
3510 * testsuite/25_algorithms/copy/4.cc: Likewise.
3511 * testsuite/25_algorithms/equal.cc: Likewise.
3512 * testsuite/25_algorithms/fill/1.cc: Likewise.
3513 * testsuite/25_algorithms/fill/2.cc: Likewise.
3514 * testsuite/25_algorithms/min_max.cc: Likewise.
3515 * testsuite/25_algorithms/rotate.cc: Likewise.
3516 * testsuite/25_algorithms/unique/1.cc: Likewise.
3517 * testsuite/25_algorithms/unique/2.cc: Likewise.
3518 * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9874.cc: Likewise.
3519 * testsuite/ext/concept_checks.cc: Likewise.
3520 * testsuite/ext/hash_map/1.cc: Likewise.
3521 * testsuite/ext/hash_set/1.cc: Likewise.
3522 * testsuite/ext/rope/1.cc: Likewise.
3523 * testsuite/ext/rope/2.cc: Likewise.
3524 * testsuite/ext/rope/3.cc: Likewise.
3525 * testsuite/thread/pthread1.cc: Likewise.
3526 * testsuite/thread/pthread4.cc: Likewise.
3527 * testsuite/thread/pthread5.cc: Likewise.
3528 * testsuite/thread/pthread6.cc: Likewise.
3529 * testsuite/thread/pthread7-rope.cc: Likewise.
3531 2005-03-15 Zack Weinberg <zack@codesourcery.com>
3533 * include/Makefile.am (c++config.h): Depend on DATESTAMP from gcc
3534 subdirectory. Generate #define of __GLIBCXX__ from contents of
3536 * include/Makefile.in: Regenerate.
3537 * include/bits/c++config: Do not define __GLIBCXX__.
3539 2005-03-15 Paolo Carlini <pcarlini@suse.de>
3542 * include/std/std_complex.h (pow(const complex<_Tp>&,
3543 const _Tp&)): On non-c99 platforms, don't try to compute
3544 log of complex zero.
3546 2005-03-10 Ben Elliston <bje@au.ibm.com>
3548 * testsuite/22_locale/locale/cons/12658_thread-1.cc: Don't XFAIL
3551 2005-03-07 Paolo Carlini <pcarlini@suse.de>
3553 * include/tr1/type_traits (is_polymorphic): Don't forget
3554 the virtual destructor, thus avoiding warnings.
3555 * testsuite/testsuite_tr1.h (class AbstractClass,
3556 class PolymorphicClass): Likewise.
3558 2005-03-07 Paolo Carlini <pcarlini@suse.de>
3560 * include/std/std_complex.h (pow(const complex<_Tp>&,
3561 const complex<_Tp>&)): Dispatch to either __complex_pow(__x.__rep(),
3562 __y.__rep()) or __complex_pow(__x, __y) depending on the macro
3563 _GLIBCXX_USE_C99_COMPLEX.
3565 2005-03-07 Paolo Carlini <pcarlini@suse.de>
3567 * include/std/std_fstream.h (basic_fstream<>::open,
3568 basic_ifstream<>::open, basic_ofstream<>::open): Implement the
3569 resolution of DR 409 [Ready], call clear() on success.
3570 * docs/html/ext/howto.html: Add an entry for DR 409.
3571 * docs/html/faq/index.html (4_4): Clarify the new behavior.
3572 * testsuite/27_io/basic_ifstream/open/char/1.cc: Adjust.
3573 * testsuite/27_io/basic_ofstream/open/char/1.cc: Likewise.
3575 2005-03-05 Joseph S. Myers <joseph@codesourcery.com>
3577 * testsuite/22_locale/collate/compare/wchar_t/2.cc,
3578 testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc,
3579 testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc,
3580 testsuite/22_locale/collate/hash/wchar_t/2.cc,
3581 testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc,
3582 testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc,
3583 testsuite/22_locale/collate/transform/wchar_t/2.cc,
3584 testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc,
3585 testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc:
3586 XFAIL on *-*-hpux11.23.
3588 2005-03-04 Paolo Carlini <pcarlini@suse.de>
3590 * include/tr1/type_traits: Add is_base_of.
3591 * testsuite/tr1/4_metaprogramming/relationships_between_types/
3592 is_base_of/is_base_of.cc: New.
3593 * testsuite/tr1/4_metaprogramming/relationships_between_types/
3594 is_base_of/typedefs.cc: Likewise.
3596 2005-03-03 Benjamin Kosnik <bkoz@redhat.com>
3598 * include/tr1/functional: Convert relative path.
3600 * docs/doxygen/user.cfg.in: Add tr1 includes.
3602 2005-03-03 Paolo Carlini <pcarlini@suse.de>
3604 * include/tr1/type_traits: Implemenet is_polymorphic.
3605 (is_empty): Minor tweaks.
3606 * testsuite/testsuite_tr1.h: Add test types.
3607 * testsuite/tr1/4_metaprogramming/type_properties/
3608 is_polymorphic/is_polymorphic.cc: New.
3609 * testsuite/tr1/4_metaprogramming/type_properties/
3610 is_polymorphic/typedefs.cc: Likewise.
3611 * testsuite/tr1/4_metaprogramming/composite_type_traits/
3612 is_union_or_class/is_union_or_class.cc: Add tests.
3614 2005-03-02 Douglas Gregor <doug.gregor@gmail.com>
3616 * include/tr1/functional (_Has_result_type): Cleanup.
3617 (_Result_of_impl): Handle member data pointers correctly.
3618 (reference_wrapper): Support invocation.
3619 Move repetition code into new file include/tr1/repeat.h.
3620 * include/tr1/functional_iterate.h (reference_wrapper): Support
3621 invocation. Cleanup long lines.
3622 * include/tr1/ref_wrap_iterate.h (reference_wrapper): Declare
3623 invocation operators.
3624 * include/tr1/repeat.h: Code repetition header.
3625 * include/Makefile.am: Add ref_wrap_iterate.h, repeat.h.
3626 * include/Makefile.in: Add ref_wrap_iterate.h, repeat.h.
3627 * testsuite/tr1/3_function_objects/reference_wrapper/invoke.cc:
3628 New test of reference_wrapper invocation.
3629 * testsuite/tr1/3_function_objects/reference_wrapper/typedefs.cc:
3630 New test of reference_wrapper typedefs and base classes.
3631 * testsuite/tr1/3_function_objects/result_of.cc: Trivial cleanup
3634 2005-03-02 Douglas Gregor <doug.gregor@gmail.com>
3636 * include/tr1/function (result_of): New class template.
3637 * include/tr1/functional/iterator.h: Implementation of TR1
3639 * testsuite/tr1/3_function_objects/result_of.cc: New test
3641 2005-03-01 Vladimir Merzliakov <wanderer@rsu.ru>
3643 * testsuite/26_numerics/cmath/c99_classification_macros_c.cc: Tweak.
3645 2005-02-28 Benjamin Kosnik <bkoz@redhat.com>
3647 * testsuite/tr1/2_general_utilities/memory/shared_ptr/
3648 cons/auto_ptr_neg.cc: Correct line numbers.
3650 * testsuite/testsuite_abi.cc: Add CXXABI_1.3.1.
3652 2005-02-28 Jonathan Wakely <redi@gcc.gnu.org>
3654 * include/tr1/memory: Replace checked_deleter with (unchecked)
3655 _Sp_deleter as GCC warns about delete on incomplete types anyway.
3657 2005-02-28 Jonathan Wakely <redi@gcc.gnu.org>
3659 * include/tr1/memory: Add missing "inline" to __throw_bad_weak_ptr.
3661 2005-02-28 Hans-Peter Nilsson <hp@axis.com>
3664 * config/cpu/cris/atomicity.h (__exchange_and_add): In asm, use
3665 'Q' constraint, not 'm'.
3667 2005-02-26 Earl Chew <earl_chew@agilent.com>
3668 Christopher Jefferson <chris@bubblescope.net>
3670 * include/bits/stl_tree.h (_Rb_tree<>::_M_insert): Don't leak
3671 memory if _M_key_compare throws.
3673 2005-02-25 Paolo Carlini <pcarlini@suse.de>
3675 * include/tr1/type_traits: Add the trivial is_union and is_class;
3676 add the __is_union_or_class extension.
3677 (is_enum, is_empty): Use the latter.
3678 * include/tr1/type_traits_fwd.h: Add __is_union_or_class.
3679 * testsuite/testsuite_tr1.h: Add UnionType; trivial formatting
3681 * testsuite/tr1/4_metaprogramming/composite_type_traits/
3682 is_union_or_class/is_union_or_class.cc: New.
3683 * testsuite/tr1/4_metaprogramming/composite_type_traits/
3684 is_union_or_class/typedefs.cc: Likewise.
3686 2005-02-24 Benjamin Kosnik <bkoz@redhat.com>
3688 * testsuite/tr1/6_containers/unordered/instantiate/hash.cc: Guard
3689 wchar_t use with _GLIBCXX_USE_WCHAR_T.
3691 2005-02-24 Benjamin Kosnik <bkoz@redhat.com>
3693 * include/std/std_complex.h: _GLIBCXX_USE_C99_COMPLEX_MATH to
3694 _GLIBCXX_USE_C99_COMPLEX.
3695 * acinclude.m4: Same.
3697 * configure: Regenerate.
3698 * config.h.in: Same.
3700 2005-02-24 Paolo Carlini <pcarlini@suse.de>
3702 * include/tr1/functional (mem_fn): Avoid _T, badname on
3705 2005-02-23 Douglas Gregor <doug.gregor@gmail.com>
3707 * include/tr1/functional (function): New class template.
3708 (mem_fn): New function template.
3709 Implementations of TR1 function and mem_fn facilities.
3710 * include/tr1/functional_iterate.h: Implementations of TR1
3711 function and mem_fn facilities.
3712 * testsuite/tr1/3_function_objects/function/1.cc: New
3713 test of std::tr1::function.
3714 * testsuite/tr1/3_function_objects/function/2.cc: New
3715 test of std::tr1::function.
3716 * testsuite/tr1/3_function_objects/function/3.cc: New
3717 test of std::tr1::function.
3718 * testsuite/tr1/3_function_objects/function/4.cc: New
3719 test of std::tr1::function.
3720 * testsuite/tr1/3_function_objects/function/5.cc: New
3721 test of std::tr1::function.
3722 * testsuite/tr1/3_function_objects/function/6.cc: New
3723 test of std::tr1::function.
3724 * testsuite/tr1/3_function_objects/function/7.cc: New
3725 test of std::tr1::function.
3726 * testsuite/tr1/3_function_objects/function/8.cc: New
3727 test of std::tr1::function.
3728 * testsuite/tr1/3_function_objects/function/9.cc: New
3729 test of std::tr1::function.
3730 * testsuite/tr1/3_function_objects/mem_fn.cc: New test of
3733 2005-02-23 Paolo Carlini <pcarlini@suse.de>
3735 * include/tr1/type_traits: Implement is_convertible.
3736 * testsuite/tr1/4_metaprogramming/relationships_between_types/
3737 is_convertible/is_convertible.cc: New.
3738 * testsuite/tr1/4_metaprogramming/relationships_between_types/
3739 is_convertible/typedefs.cc: Likewise.
3740 * testsuite/testsuite_tr1.h: Add class DerivedType.
3742 * include/tr1/type_traits (is_function): Don't mistake references
3743 to function types for function types.
3744 * testsuite/tr1/4_metaprogramming/primary_type_categories/
3745 is_function/is_function.cc: Add testcase.
3747 2005-02-22 Benjamin Kosnik <bkoz@redhat.com>
3749 * scripts/check_performance: Tweaks.
3751 * testsuite/27_io/basic_ostream/inserters_other/wchar_t/2.cc: Name
3752 output file with extension that clean rules can find.
3754 2005-02-22 Richard Henderson <rth@redhat.com>
3757 * libsupc++/eh_catch.cc (__cxa_begin_catch): Don't special case
3758 decrement of uncaughtExceptions for rethrow.
3760 2005-02-22 Paolo Carlini <pcarlini@suse.de>
3762 * include/tr1/functional: Fix License to GPL with exception.
3763 * include/tr1/hashtable: Likewise.
3764 * include/tr1/tuple: Likewise.
3765 * include/tr1/type_traits: Likewise.
3766 * include/tr1/type_traits_fwd.h: Likewise.
3767 * include/tr1/unordered_map: Likewise.
3768 * include/tr1/unordered_set: Likewise.
3769 * include/tr1/utility: Likewise.
3771 2005-02-22 Paolo Carlini <pcarlini@suse.de>
3773 * testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/
3774 auto_ptr_neg.cc: Add missing dg-do compile directive.
3775 * testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/
3776 auto_ptr_rvalue_neg.cc: Likewise.
3777 * testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/
3778 shared_ptr_neg.cc: Likewise.
3779 * testsuite/tr1/2_general_utilities/memory/shared_ptr/cons/
3780 auto_ptr_neg.cc: Likewise.
3781 * testsuite/tr1/2_general_utilities/memory/shared_ptr/modifiers/
3782 reset_neg.cc: Likewise.
3783 * testsuite/tr1/2_general_utilities/memory/shared_ptr/modifiers/
3784 swap_neg.cc: Likewise.
3786 2005-02-22 Jonathan Wakely <redi@gcc.gnu.org>
3788 * include/Makefile.am, include/Makefile.in: Fix accidental extra
3789 change from previous commit.
3791 2005-02-21 Jonathan Wakely <redi@gcc.gnu.org>
3793 * include/tr1/memory: New file.
3794 * include/Makefile.am, include/Makefile.in: Add new TR1 header.
3795 * testsuite/tr1/2_general_utilities/memory/
3796 enable_shared_from_this/not_shared.cc: New test.
3797 * testsuite/tr1/2_general_utilities/memory/
3798 enable_shared_from_this/not_shared2.cc: New test.
3799 * testsuite/tr1/2_general_utilities/memory/
3800 enable_shared_from_this/not_shared3.cc: New test.
3801 * testsuite/tr1/2_general_utilities/memory/
3802 enable_shared_from_this/shared.cc: New test.
3803 * testsuite/tr1/2_general_utilities/memory/
3804 enable_shared_from_this/still_shared.cc: New test.
3805 * testsuite/tr1/2_general_utilities/memory/
3806 shared_ptr/assign/assign.cc: New test.
3807 * testsuite/tr1/2_general_utilities/memory/
3808 shared_ptr/assign/auto_ptr.cc: New test.
3809 * testsuite/tr1/2_general_utilities/memory/
3810 shared_ptr/assign/auto_ptr_neg.cc: New test.
3811 * testsuite/tr1/2_general_utilities/memory/
3812 shared_ptr/assign/auto_ptr_rvalue_neg.cc: New test.
3813 * testsuite/tr1/2_general_utilities/memory/
3814 shared_ptr/assign/shared_ptr.cc: New test.
3815 * testsuite/tr1/2_general_utilities/memory/
3816 shared_ptr/assign/shared_ptr_neg.cc: New test.
3817 * testsuite/tr1/2_general_utilities/memory/
3818 shared_ptr/comparison/cmp.cc: New test.
3819 * testsuite/tr1/2_general_utilities/memory/
3820 shared_ptr/cons/auto_ptr.cc: New test.
3821 * testsuite/tr1/2_general_utilities/memory/
3822 shared_ptr/cons/auto_ptr_neg.cc: New test.
3823 * testsuite/tr1/2_general_utilities/memory/
3824 shared_ptr/cons/copy.cc: New test.
3825 * testsuite/tr1/2_general_utilities/memory/
3826 shared_ptr/cons/default.cc: New test.
3827 * testsuite/tr1/2_general_utilities/memory/
3828 shared_ptr/cons/pointer.cc: New test.
3829 * testsuite/tr1/2_general_utilities/memory/
3830 shared_ptr/cons/weak_ptr.cc: New test.
3831 * testsuite/tr1/2_general_utilities/memory/
3832 shared_ptr/cons/weak_ptr_expired.cc: New test.
3833 * testsuite/tr1/2_general_utilities/memory/
3834 shared_ptr/dest/dest.cc: New test.
3835 * testsuite/tr1/2_general_utilities/memory/
3836 shared_ptr/misc/io.cc: New test.
3837 * testsuite/tr1/2_general_utilities/memory/
3838 shared_ptr/misc/swap.cc: New test.
3839 * testsuite/tr1/2_general_utilities/memory/
3840 shared_ptr/modifiers/reset.cc: New test.
3841 * testsuite/tr1/2_general_utilities/memory/
3842 shared_ptr/modifiers/reset_neg.cc: New test.
3843 * testsuite/tr1/2_general_utilities/memory/
3844 shared_ptr/modifiers/swap.cc: New test.
3845 * testsuite/tr1/2_general_utilities/memory/
3846 shared_ptr/modifiers/swap_neg.cc: New test.
3847 * testsuite/tr1/2_general_utilities/memory/
3848 shared_ptr/observers/bool_conv.cc: New test.
3849 * testsuite/tr1/2_general_utilities/memory/
3850 shared_ptr/observers/get.cc: New test.
3851 * testsuite/tr1/2_general_utilities/memory/
3852 shared_ptr/observers/unique.cc: New test.
3853 * testsuite/tr1/2_general_utilities/memory/
3854 shared_ptr/observers/use_count.cc: New test.
3856 2005-02-21 Paolo Carlini <pcarlini@suse.de>
3858 * include/tr1/type_traits (is_member_function_pointer):
3859 Remove ugly workaround for c++/19076.
3861 2005-02-21 Paolo Carlini <pcarlini@suse.de>
3863 * include/bits/basic_string.tcc (_Rep::_M_destroy): Don't
3864 check for this == &_S_empty_rep, it's always false, here.
3866 2005-02-19 Matt Austern <austern@gmail.com>
3868 * include/tr1/functional (tr1_hashtable_define_trivial_hash): Make
3869 hash<T>::operator() a const member function for T a fundamental type
3870 * include/tr1/hashtable (extract1st::operator()): Declare const.
3871 (hash_code_base): Declare all member functions const
3872 (hashtable::find): fix call to this->bucket_count()
3873 (hashtable::count): Likewise.
3874 (hashtable::equal_range): m_incr_bucket applies to iterator, not node.
3875 * testsuite/tr1/6_containers/unordered/find/set1.cc: New test.
3876 * testsuite/tr1/6_containers/unordered/find/map1.cc: New test.
3877 * testsuite/tr1/6_containers/unordered/find/multimap1.cc: New test.
3878 * testsuite/tr1/6_containers/unordered/find/multiset1.cc: New test.
3880 2005-02-19 Hans-Peter Nilsson <hp@axis.com>
3883 * include/tr1/functional (hash<std::wstring>): Wrap in #ifdef
3884 _GLIBCXX_USE_WCHAR_T.
3886 2005-02-18 Richard Henderson <rth@redhat.com>
3889 * config/linker-map.gnu (CXXABI_1.3.1): Add __cxa_get_exception_ptr.
3890 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Increment
3891 uncaughtExceptions here instead of ...
3892 * libsupc++/eh_throw.cc (__cxa_throw) ... here.
3893 (__cxa_rethrow): Increment uncaughtExceptions here instead of ...
3894 * libsupc++/eh_catch.cc (__cxa_end_catch): ... here.
3895 (__cxa_get_exception_ptr): New.
3896 * libsupc++/unwind-cxx.h (__cxa_get_exception_ptr): Declare.
3898 2005-02-18 Matt Austern <austern@apple.com>
3900 * testsuite/tr1/6_containers/unordered/insert/array_syntax.cc: Fix
3901 test case to use assignment instead of ==
3902 * testsuite/tr1/6_containers/unordered/insert/map_range.cc: New test.
3903 * testsuite/tr1/6_containers/unordered/insert/multimap_range.cc: New test.
3904 * testsuite/tr1/6_containers/unordered/insert/multiset_range.cc: New test.
3905 * testsuite/tr1/6_containers/unordered/insert/set_range.cc: New test.
3907 2005-02-18 Eric Botcazou <ebotcazou@libertysurf.fr>
3909 * testsuite/thread/pthread1.cc: Do not invoke pthread_setconcurrency
3910 on Solaris 2.6 and below.
3911 * testsuite/thread/pthread2.cc: Likewise.
3912 * testsuite/thread/pthread3.cc: Likewise.
3913 * testsuite/thread/pthread4.cc: Likewise.
3914 * testsuite/thread/pthread5.cc: Likewise.
3915 * testsuite/thread/pthread6.cc: Likewise.
3916 * testsuite/thread/pthread7-rope.cc: Likewise.
3918 2005-02-17 Matt Austern <austern@apple.com>
3920 * include/tr1/functional (hash): New function object.
3921 * include/tr1/hashtable: New file.
3922 * include/tr1/unordered_set: New file.
3923 * include/tr1/unordered_map: New file.
3924 * include/Makefile.am: Add three new TR1 headers.
3925 * include/Makefile.in: Likewise.
3926 * testsuite/tr1/6_containers/unordered/insert/array_syntax.cc: New test.
3927 * testsuite/tr1/6_containers/unordered/insert/map_single.cc: New test.
3928 * testsuite/tr1/6_containers/unordered/insert/multimap_single.cc: New test.
3929 * testsuite/tr1/6_containers/unordered/insert/multiset_single.cc: New test.
3930 * testsuite/tr1/6_containers/unordered/insert/set_single.cc: New test.
3931 * testsuite/tr1/6_containers/unordered/instantiate/hash.cc: New test.
3932 * testsuite/tr1/6_containers/unordered/instantiate/map.cc: New test.
3933 * testsuite/tr1/6_containers/unordered/instantiate/multimap.cc: New test.
3934 * testsuite/tr1/6_containers/unordered/instantiate/multiset.cc: New test.
3935 * testsuite/tr1/6_containers/unordered/instantiate/set.cc: New test.
3937 2005-02-16 Paolo Carlini <pcarlini@suse.de>
3939 * testsuite/23_containers/set/modifiers/16728.cc:
3940 Remove redundant include <testsuite_performance.h>.
3942 2005-02-16 Paolo Carlini <pcarlini@suse.de>
3945 * testsuite/21_strings/basic_string/find/char/3.cc: Fix the test
3946 at line #66 to not access str_lit01 beyond its end.
3947 * testsuite/21_strings/basic_string/find/wchar_t/3.cc: Likewise.
3949 2005-02-15 Paolo Carlini <pcarlini@suse.de>
3950 Jon Grimm <jgrimm2@us.ibm.com>
3953 * include/bits/locale_facets.h (ctype<char>::_M_narrow_init()):
3954 Fix the logic setting _M_narrow_ok: first check whether the
3955 transformation is trivial with a dflt == 0, then deal with the
3956 special case of zero.
3957 * testsuite/22_locale/ctype/narrow/char/19955.cc: New.
3959 * include/bits/locale_facets.h (ctype<char>::_M_widen_init()):
3960 Tweak consistently to use memcmp; minor formatting fixes.
3962 2005-02-15 Jakub Jelinek <jakub@redhat.com>
3965 * testsuite/demangle/abi_examples/01.cc (main): Adjust for 2005-02-13
3967 * testsuite/demangle/abi_examples/02.cc (main): Likewise.
3969 2005-02-13 Richard Guenther <rguenth@gcc.gnu.org>
3970 Paolo Carlini <pcarlini@suse.de>
3973 * include/c_std/std_cmath.h (pow): Use __builtin_powi[lf]
3974 for integer overloads.
3976 * testsuite/26_numerics/cmath/powi.cc: New.
3978 2005-02-11 Janis Johnson <janis187@us.ibm.com>
3980 * testsuite/26_numerics/complex/13450.cc: Fix XFAIL selector.
3981 * testsuite/26_numerics/complex/complex_value.cc: Ditto.
3982 * testsuite/26_numerics/complex/pow.cc: Ditto.
3984 * testsuite/lib/libstdc++.exp: Load target-supports-dg.exp.
3985 * testsuite/26_numerics/complex/13450.cc: XFAIL for broken_cplxf_arg.
3986 * testsuite/26_numerics/complex/complex_value.cc: Ditto.
3987 * testsuite/26_numerics/complex/pow.cc: Ditto.
3989 2005-02-09 Mike Stump <mrs@apple.com>
3991 * libsupc++/del_op.cc: Don't include cstdlib when !_GLIBCXX_HOSTED.
3993 2005-02-09 Janis Johnson <janis187@us.ibm.com>
3995 * testsuite/ext/array_allocator/2.cc: XFAIL for powerpc*-*-linux*.
3997 2005-02-08 Mark Mitchell <mark@codesourcery.com>
3999 * config/linker-map.gnu (GLIBCXX_3.4): Add _ZNSdC* and _ZNSdD*.
4001 2005-02-07 Loren J. Rittle <ljrittle@acm.org>
4003 * testsuite/27_io/basic_istream/getline/wchar_t/5.cc: Make buf static.
4004 * testsuite/27_io/basic_stringbuf/setbuf/wchar_t/4.cc: Make ref and
4007 2005-02-02 Brad Spencer <spencer@infointeractive.com>
4009 * debug.html: Fix broken tags.
4010 * documentation.html: Same.
4012 2005-02-02 Andreas Jaeger <aj@suse.de>
4014 * testsuite/lib/libstdc++.exp: Revert Geoffrey Keating's patch
4016 * testsuite/Makefile.am: Likewise.
4017 * testsuite/Makefile.in: Likewise.
4019 2005-02-01 Paolo Carlini <pcarlini@suse.de>
4021 * include/bits/cpp_type_traits.h: Rename _M_type fields to
4022 __value, except for __enable_if, _M_type -> __type, consistently
4023 with the other traits.
4024 * include/bits/stl_algobase.h: Tweak consistently.
4025 * include/bits/stl_tree.h: Likewise.
4026 * include/bits/valarray_array.h: Likewise.
4027 * include/c_std/std_cmath.h: Likewise.
4028 * include/debug/safe_iterator.h: Likewise.
4029 * include/std/std_complex.h: Likewise.
4031 2005-01-31 Brad Spencer <spencer@infointeractive.com>
4033 * crossconfig.m4: Repair Solaris cross bits for strtold and strtof.
4034 * configure: Regenerated.
4036 2005-01-31 Mark Mitchell <mark@codesourcery.com>
4038 * include/std/std_limits.h (numeric_limits<float>::has_denorm):
4040 (numeric_limits<double>::has_denorm): Likewise.
4041 (numeric_limits<long double>::has_denorm): Likewise.
4043 2005-01-31 Paolo Carlini <pcarlini@suse.de>
4044 Gabriel Dos Reis <gdr@integrable-solutions.net>
4046 * include/bits/cpp_type_traits.h: Add types to the structs thus
4047 making type_traits.h redundant; exploit new __truth_type and
4049 * include/bits/type_traits.h: Remove.
4050 * include/Makefile.am: Update.
4051 * include/Makefile.in: Regenerate.
4052 * include/backward/tempbuf.h: Include cpp_type_traits.h instead.
4053 * include/bits/basic_string.h (replace(iterator, iterator,
4054 _InputIterator, _InputIterator), _S_construct(_InIterator,
4055 _InIterator, const _Alloc&)): Use __is_integer instead.
4056 * include/bits/stl_bvector.h (vector(_InputIterator,
4057 _InputIterator, const allocator_type&), assign(_InputIterator,
4058 _InputIterator), insert(iterator, _InputIterator, _InputIterator)):
4060 * include/bits/stl_construct.h (_Destroy(_ForwardIterator,
4061 _ForwardIterator)): Use __is_scalar.
4062 * include/bits/stl_deque.h (deque(_InputIterator, _InputIterator,
4063 const allocator_type&), assign(_InputIterator, _InputIterator),
4064 insert(iterator, _InputIterator, _InputIterator)): Use __is_integer.
4065 * include/bits/stl_list.h (assign(_InputIterator, _InputIterator),
4066 insert(iterator, _InputIterator, _InputIterator)): Likewise.
4067 * include/bits/stl_tempbuf.h (_Temporary_buffer(_ForwardIterator,
4068 _ForwardIterator)): Use __is_scalar.
4069 * include/bits/stl_uninitialized.h (uninitialized_copy(_InputIterator,
4070 _InputIterator, _ForwardIterator), uninitialized_fill(_ForwardIterator,
4071 _ForwardIterator, const _Tp&), uninitialized_fill_n(_ForwardIterator,
4072 _Size, const _Tp&)): Likewise.
4073 * include/bits/stl_vector.h (vector(_InputIterator, _InputIterator,
4074 const allocator_type&), assign(_InputIterator, _InputIterator),
4075 insert(iterator, _InputIterator, _InputIterator)): Use __is_integer.
4076 * include/debug/debug.h (__valid_range(const _InputIterator&,
4077 const _InputIterator&)): Use __is_integer.
4078 * include/ext/slist (assign(_InputIterator, _InputIterator)): Likewise.
4079 * include/std/std_string.h: Include cpp_type_traits.h instead.
4081 2005-01-30 Paolo Carlini <pcarlini@suse.de>
4084 * config/locale/generic/c_locale.h (__convert_from_v): Switch only
4085 LC_NUMERIC, and only when actually != "C".
4087 2005-01-28 Paolo Carlini <pcarlini@suse.de>
4089 * include/tr1/type_traits (is_function): Minor consistency tweaks.
4091 2005-01-28 Geoffrey Keating <geoffk@apple.com>
4093 * testsuite/lib/libstdc++.exp (libstdc++_init): Search the path
4094 for the compiler. Don't set cxxflags.
4095 (v3_target_compile): Search for libv3test.a relative to $objdir.
4096 (lsearch_all_inline): New.
4097 (lsearch_all_inline_not): New.
4098 (v3-list-tests): Rewrite to not need generated files.
4099 * testsuite/Makefile.am (IGNORE_WCHAR_T): New.
4100 (IGNORE_THREAD): New.
4101 (TESTS_TO_IGNORE): New.
4102 (site.exp): Set tests_to_ignore, cxxflags.
4103 * aclocal.m4: Regenerate.
4104 * Makefile.in: Regenerate.
4105 * libmath/Makefile.in: Likewise.
4106 * libsupc++/Makefile.in: Likewise.
4107 * po/Makefile.in: Likewise.
4108 * src/Makefile.in: Likewise.
4109 * testsuite/Makefile.in: Likewise.
4111 2005-01-28 Paolo Carlini <pcarlini@suse.de>
4113 * include/tr1/type_traits: Implement is_empty.
4114 * testsuite/tr1/4_metaprogramming/type_properties/is_empty/
4116 * testsuite/tr1/4_metaprogramming/type_properties/is_empty/
4117 typedefs.cc: Likewise.
4119 * include/tr1/type_traits (__is_abstract_helper): Simplify a bit.
4121 2005-01-28 Paolo Carlini <pcarlini@suse.de>
4123 * include/tr1/type_traits: Implement is_abstract, by exploiting the
4124 resolution of DR core/337.
4125 * testsuite/testsuite_tr1.h: Add AbstractClass.
4126 * testsuite/tr1/4_metaprogramming/type_properties/is_abstract/
4127 is_abstract.cc: New.
4128 * testsuite/tr1/4_metaprogramming/type_properties/is_abstract/
4129 typedefs.cc: Likewise.
4131 * include/tr1/type_traits (is_function): Rewrite, use the conversion
4132 F& -> F* instead, thus avoiding problems with abstract classes.
4133 * testsuite/tr1/4_metaprogramming/primary_type_categories/
4134 is_function/is_function.cc: Add a test for tricky AbstractClass.
4136 2005-01-26 Paolo Carlini <pcarlini@suse.de>
4138 * include/ext/mt_allocator.h
4139 (struct __per_type_pool_policy<,, false>::_S_get_pool,
4140 struct __per_type_pool_policy<,, true>::_S_get_pool): Scale
4141 _M_chunk_size too with sizeof(_Tp), otherwise the allocator
4142 breaks down as soon as sizeof(_Tp) >~ _S_chunk_size / 128;
4143 reduce to 64 the multiplier for _M_max_bytes (safer wrt
4144 _Binmap_type being a short); trivial reformattings.
4145 * testsuite/ext/mt_allocator/check_allocate_big_per_type.cc: New.
4147 2005-01-26 Paolo Carlini <pcarlini@suse.de>
4149 * acinclude.m4 ([GLIBCXX_ENABLE_C99]): Add ac_c99_complex
4150 to the final test for enable_c99, thus robustifying it; remove
4151 duplicate final test on ac_99_math.
4152 * configure: Regenerate.
4154 * include/std/std_complex.h: Remove usages of the dead
4155 _GLIBCXX_BUGGY_COMPLEX macro.
4157 * testsuite/26_numerics/cmath/19322.cc: Protect with
4158 _GLIBCXX_USE_C99_MATH instead of the stronger _GLIBCXX_USE_C99,
4159 since only C99 math facilities are involved.
4160 * testsuite/26_numerics/cmath/c99_classification_macros_c++.cc:
4163 2005-01-25 Loren J. Rittle <ljrittle@acm.org>
4165 * acinclude.m4 (GLIBCXX_ENABLE_CLOCALE): Map FreeBSD to darwin
4166 instead of generic. Change autoconf report to "darwin or freebsd".
4167 * configure: Regenerate.
4168 * config/os/bsd/freebsd/ctype_inline.h (ctype<wchar_t>::do_is): Add.
4169 (ctype<wchar_t>::do_scan_is): Likewise.
4170 (ctype<wchar_t>::do_scan_not): Likewise.
4172 2005-01-25 Benjamin Kosnik <bkoz@redhat.com>
4174 * acinclude.m4 (GLIBCXX_ENABLE_C99): Test for complex math
4175 functions, and enable _GLIBCXX_USE_C99_COMPLEX_MATH if they exist.
4176 * acconfig.h: Add _GLIBCXX_USE_C99_COMPLEX_MATH.
4177 * config.h.in: Regenerate.
4178 * configure: Regenerate.
4179 * include/std/std_complex.h: Protect complex builtins with
4180 _GLIBCXX_USE_C99_COMPLEX_MATH.
4182 2005-01-24 Paolo Carlini <pcarlini@suse.de>
4184 * include/tr1/type_traits: Implement is_signed and is_unsigned.
4185 * testsuite/tr1/4_metaprogramming/type_properties/
4186 is_signed/is_signed.cc: New.
4187 * testsuite/tr1/4_metaprogramming/type_properties/
4188 is_signed/typedefs.cc: Likewise.
4189 * testsuite/tr1/4_metaprogramming/type_properties/
4190 is_unsigned/is_unsigned.cc: Likewise.
4191 * testsuite/tr1/4_metaprogramming/type_properties/
4192 is_unsigned/typedefs.cc: Likewise.
4194 2005-01-23 Paolo Carlini <pcarlini@suse.de>
4196 * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 34.
4198 2005-01-23 Paolo Carlini <pcarlini@suse.de>
4200 * testsuite/27_io/basic_ostream/cons/wchar_t/9827.cc: New.
4201 * testsuite/27_io/basic_ostream/endl/wchar_t/1.cc: Likewise.
4202 * testsuite/27_io/basic_ostream/ends/wchar_t/1.cc: Likewise.
4203 * testsuite/27_io/basic_ostream/ends/wchar_t/2.cc: Likewise.
4204 * testsuite/27_io/basic_ostream/exceptions/wchar_t/9561.cc: Likewise.
4205 * testsuite/27_io/basic_ostream/flush/wchar_t/1.cc: Likewise.
4206 * testsuite/27_io/basic_ostream/flush/wchar_t/2.cc: Likewise.
4207 * testsuite/27_io/basic_ostream/flush/wchar_t/
4208 exceptions_badbit_throw.cc: Likewise.
4209 * testsuite/27_io/basic_ostream/inserters_arithmetic/
4210 wchar_t/2.cc: Likewise.
4211 * testsuite/27_io/basic_ostream/inserters_arithmetic/
4212 wchar_t/3.cc: Likewise.
4213 * testsuite/27_io/basic_ostream/inserters_arithmetic/
4214 wchar_t/4.cc: Likewise.
4215 * testsuite/27_io/basic_ostream/inserters_arithmetic/
4216 wchar_t/4402.cc: Likewise.
4217 * testsuite/27_io/basic_ostream/inserters_arithmetic/
4218 wchar_t/5.cc: Likewise.
4219 * testsuite/27_io/basic_ostream/inserters_arithmetic/
4220 wchar_t/6.cc: Likewise.
4221 * testsuite/27_io/basic_ostream/inserters_arithmetic/
4222 wchar_t/9555-oa.cc: Likewise.
4223 * testsuite/27_io/basic_ostream/inserters_arithmetic/
4224 wchar_t/exceptions_badbit_throw.cc: Likewise.
4225 * testsuite/27_io/basic_ostream/inserters_arithmetic/
4226 wchar_t/exceptions_failbit_throw.cc: Likewise.
4227 * testsuite/27_io/basic_ostream/inserters_character/
4228 wchar_t/1.cc: Likewise.
4229 * testsuite/27_io/basic_ostream/inserters_character/
4230 wchar_t/2.cc: Likewise.
4231 * testsuite/27_io/basic_ostream/inserters_character/
4232 wchar_t/3.cc: Likewise.
4233 * testsuite/27_io/basic_ostream/inserters_character/
4234 wchar_t/4.cc: Likewise.
4235 * testsuite/27_io/basic_ostream/inserters_character/
4236 wchar_t/5.cc: Likewise.
4237 * testsuite/27_io/basic_ostream/inserters_character/
4238 wchar_t/6.cc: Likewise.
4239 * testsuite/27_io/basic_ostream/inserters_character/
4240 wchar_t/9555-oc.cc: Likewise.
4241 * testsuite/27_io/basic_ostream/inserters_other/
4242 wchar_t/1.cc: Likewise.
4243 * testsuite/27_io/basic_ostream/inserters_other/
4244 wchar_t/2.cc: Likewise.
4245 * testsuite/27_io/basic_ostream/inserters_other/
4246 wchar_t/3.cc: Likewise.
4247 * testsuite/27_io/basic_ostream/inserters_other/
4248 wchar_t/4.cc: Likewise.
4249 * testsuite/27_io/basic_ostream/inserters_other/
4250 wchar_t/5.cc: Likewise.
4251 * testsuite/27_io/basic_ostream/inserters_other/
4252 wchar_t/9318-out.cc: Likewise.
4253 * testsuite/27_io/basic_ostream/inserters_other/
4254 wchar_t/9424-out.cc: Likewise.
4255 * testsuite/27_io/basic_ostream/inserters_other/
4256 wchar_t/9555-oo.cc: Likewise.
4257 * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
4258 error_failbit.cc: Likewise.
4259 * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
4260 exceptions_badbit_throw.cc: Likewise.
4261 * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
4262 exceptions_failbit_throw.cc: Likewise.
4263 * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
4264 exceptions_null.cc: Likewise.
4265 * testsuite/27_io/basic_ostream/put/char/1.cc: Likewise.
4266 * testsuite/27_io/basic_ostream/put/wchar_t/1.cc: Likewise.
4267 * testsuite/27_io/basic_ostream/seekp/char/
4268 exceptions_badbit_throw.cc: Likewise.
4269 * testsuite/27_io/basic_ostream/seekp/wchar_t/
4270 2346-fstream.cc: Likewise.
4271 * testsuite/27_io/basic_ostream/seekp/wchar_t/
4272 2346-sstream.cc: Likewise.
4273 * testsuite/27_io/basic_ostream/seekp/wchar_t/
4274 exceptions_badbit_throw.cc: Likewise.
4275 * testsuite/27_io/basic_ostream/sentry/wchar_t/1.cc: Likewise.
4276 * testsuite/27_io/basic_ostream/sentry/wchar_t/2.cc: Likewise.
4277 * testsuite/27_io/basic_ostream/tellp/wchar_t/1.cc: Likewise.
4278 * testsuite/27_io/basic_ostream/tellp/wchar_t/2.cc: Likewise.
4279 * testsuite/27_io/basic_ostream/tellp/wchar_t/
4280 exceptions_badbit_throw.cc: Likewise.
4281 * testsuite/27_io/basic_ostream/write/wchar_t/1.cc: Likewise.
4283 * testsuite/data/wostream_inserter_char-1.tst: Likewise.
4284 * testsuite/data/wostream_inserter_char-1.txt: Likewise.
4285 * testsuite/data/wostream_inserter_other-1.tst: Likewise.
4286 * testsuite/data/wostream_inserter_other-2.tst: Likewise.
4287 * testsuite/data/wostream_seeks-1.tst: Likewise.
4289 * testsuite/27_io/basic_ostream/endl/char/1.cc: Minor tweaks.
4290 * testsuite/27_io/basic_ostream/ends/char/1.cc: Likewise.
4291 * testsuite/27_io/basic_ostream/exceptions/char/9561.cc: Likewise.
4292 * testsuite/27_io/basic_ostream/flush/char/1.cc: Likewise.
4293 * testsuite/27_io/basic_ostream/flush/char/2.cc: Likewise.
4294 * testsuite/27_io/basic_ostream/flush/char/
4295 exceptions_badbit_throw.cc: Likewise.
4296 * testsuite/27_io/basic_ostream/inserters_arithmetic/
4297 char/2.cc: Likewise.
4298 * testsuite/27_io/basic_ostream/inserters_arithmetic/
4299 char/3.cc: Likewise.
4300 * testsuite/27_io/basic_ostream/inserters_arithmetic/
4301 char/4.cc: Likewise.
4302 * testsuite/27_io/basic_ostream/inserters_arithmetic/
4303 char/4402.cc: Likewise.
4304 * testsuite/27_io/basic_ostream/inserters_arithmetic/
4305 char/5.cc: Likewise.
4306 * testsuite/27_io/basic_ostream/inserters_arithmetic/
4307 char/6.cc: Likewise.
4308 * testsuite/27_io/basic_ostream/inserters_character/
4309 char/4.cc: Likewise.
4310 * testsuite/27_io/basic_ostream/inserters_other/char/
4312 * testsuite/27_io/basic_ostream/inserters_other/char/
4314 * testsuite/27_io/basic_ostream/inserters_other/char/
4315 error_failbit.cc: Likewise.
4316 * testsuite/27_io/basic_ostream/inserters_other/char/
4317 exceptions_badbit_throw.cc: Likewise.
4318 * testsuite/27_io/basic_ostream/inserters_other/char/
4319 exceptions_failbit_throw.cc: Likewise.
4320 * testsuite/27_io/basic_ostream/inserters_other/char/
4321 exceptions_null.cc: Likewise.
4322 * testsuite/27_io/basic_ostream/put/char/1.cc: Likewise.
4323 * testsuite/27_io/basic_ostream/seekp/char/
4324 exceptions_badbit_throw.cc: Likewise.
4325 * testsuite/27_io/basic_ostream/sentry/char/2.cc: Likewise.
4326 * testsuite/27_io/basic_ostream/write/char/1.cc: Likewise.
4328 2005-01-23 Paolo Carlini <pcarlini@suse.de>
4330 * include/tr1/type_traits (aligned_storage): Use __aligned__ instead
4333 2005-01-23 Paolo Carlini <pcarlini@suse.de>
4334 Andreas Jaeger <aj@suse.de>
4337 * include/bits/functexcept.h: Mark the helpers as 'noreturn'.
4339 2005-01-21 Loren J. Rittle <ljrittle@acm.org>
4341 * testsuite/27_io/basic_filebuf/open/char/9507.cc: Allow
4342 lseek on fifo to succeed. Thus, check for consistent report.
4344 2005-01-21 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
4347 * include/bits/stl_list.h (_List_iterator): Initialize _M_node
4349 (_List_const_iterator): Likewise.
4350 * include/bits/stl_tree.h (_Rb_tree_iterator): Likewise.
4351 (_Rb_tree_const_iterator): Likewise.
4353 * testsuite/23_containers/map/operators/1_neg.cc: Adjust line numbers.
4354 * testsuite/23_containers/set/operators/1_neg.cc: Likewise.
4356 2005-01-20 Benjamin Kosnik <bkoz@redhat.com>
4358 * testsuite/Makefile.am (check-compile): New.
4359 * testsuite/Makefile.in: Regenerate.
4360 * scripts/check_compile_time: New.
4361 * scripts/check_performance: Tweaks.
4363 2005-01-19 Paolo Carlini <pcarlini@suse.de>
4366 * include/tr1/utility (struct __pair_get<1>::__get, __const_get):
4367 Fix typo in the return type.
4368 * testsuite/tr1/6_containers/utility/19535.cc: New.
4370 2005-01-19 Loren J. Rittle <ljrittle@acm.org>
4372 * include/ext/array_allocator.h (array_allocator<>::allocate):
4373 Avoid __used. Use __array_used instead.
4374 * docs/html/17_intro/BADNAMES: Add list for FreeBSD.
4376 2005-01-18 David Edelsohn <edelsohn@gnu.org>
4378 * config/os/aix/os_defines.h (_XOPEN_SOURCE): Delete.
4379 (_XOPEN_SOURCE_EXTENDED): Delete.
4381 2005-01-18 Benjamin Kosnik <bkoz@redhat.com>
4383 * testsuite/testsuite_performance.h (time_counter::start):
4385 (clear_counters): Inline.
4386 (start_counters): Inline.
4387 (stop_counters): Inline.
4388 * testsuite/performance/20_util/allocator/map_thread.cc: Return.
4389 * testsuite/performance/20_util/allocator/insert.cc: Remove bogus
4391 * testsuite/performance/20_util/allocator/map_thread.cc: Same.
4393 2005-01-17 Paolo Carlini <pcarlini@suse.de>
4396 * include/bits/stl_tree.h (_Rb_tree<>::insert_unique(iterator,
4397 const _Val&), _Rb_tree<>::insert_equal(iterator, const _Val&)):
4398 Obtain amortized constant complexity if t is inserted right after
4399 p - not before p - as per Table 69.
4400 * testsuite/performance/23_containers/set_insert_from_sorted.cc: New.
4402 * testsuite/23_containers/multiset/insert/2.cc: New.
4403 * testsuite/23_containers/set/insert/1.cc: Likewise.
4405 * testsuite/performance/23_containers/set_create_from_sorted.cc:
4408 * include/bits/stl_tree.h: Add a few missing std:: qualifications.
4410 2005-01-16 Jonathan Wakely <redi@gcc.gnu.org>
4412 * include/ext/rope: Qualify calls to std::copy() by sequence_buffer.
4413 * testsuite/ext/rope/4.cc: Add.
4415 2005-01-16 Lorenz Minder <lminder@gmx.net>
4416 Paolo Carlini <pcarlini@suse.de>
4419 * include/c_std/std_cmath.h: Define the C99 classification facilities
4420 directly inside namespace std:.
4421 * testsuite/26_numerics/cmath/19322.cc: New.
4423 2005-01-15 David Edelsohn <edelsohn@gnu.org>
4425 * config/os/aix/os_defines.h (_G_USING_THUNKS): Delete.
4427 2005-01-14 Paolo Carlini <pcarlini@suse.de>
4430 * include/bits/stl_tree.h (_Rb_tree<>::insert_equal(_II, _II),
4431 _Rb_tree<>::insert_unique(_II, _II)): Use insert_equal (insert_unique,
4432 respectively) with hint (end()).
4433 * testsuite/performance/23_containers/set_create_from_sorted.cc: New.
4435 2005-01-13 Geoffrey Keating <geoffk@apple.com>
4437 * configure.host (darwin): On darwin8 or later, no need to build
4438 libstdc++ with -flat_namespace.
4440 2005-01-13 Jonathan Wakely <redi@gcc.gnu.org>
4442 * docs/doxygen/user.cfg.in: Set HAVE_DOT back to YES.
4444 2005-01-13 Paolo Carlini <pcarlini@suse.de>
4446 * testsuite/26_numerics/cmath/c99_classification_macros_c++.cc:
4447 Re-enable commented-out test for double type.
4449 2005-01-11 Paolo Carlini <pcarlini@suse.de>
4450 Benjamin Kosnik <bkoz@redhat.com>
4452 * src/istream.cc (basic_istream<char>::ignore(streamsize),
4453 basic_istream<char>::ignore(streamsize, int_type),
4454 basic_istream<wchar_t>::ignore(streamsize),
4455 basic_istream<wchar_t>::ignore(streamsize, int_type)): In case
4456 more than numeric_limits<streamsize>::max() chars are skipped,
4457 set _M_gcount = max().
4458 * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
4459 int_type)): Likewise; keep simple, don't forward.
4461 2005-01-11 Paolo Carlini <pcarlini@suse.de>
4463 * src/istream.cc (basic_istream<char>::ignore(streamsize),
4464 basic_istream<char>::ignore(streamsize, int_type),
4465 basic_istream<wchar_t>::ignore(streamsize),
4466 basic_istream<wchar_t>::ignore(streamsize, int_type)): Revert
4467 2005-01-05 change: actually, the previous behavior is conforming
4468 and consistent with that of get(char_type*, streamsize, char_type),
4469 albeit slightly different from that of 3.3/3.4 in a corner case
4470 due to the use of snextc.
4471 * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
4472 int_type)): Likewise.
4473 * testsuite/27_io/basic_istream/ignore/char/4.cc: Remove.
4474 * testsuite/27_io/basic_istream/ignore/wchar_t/4.cc: Likewise.
4476 2005-01-11 Paolo Carlini <pcarlini@suse.de>
4478 * include/tr1/type_traits: Implement alignment_of and aligned_storage.
4479 * testsuite/tr1/4_metaprogramming/other_transformations/
4480 aligned_storage/aligned_storage.cc: New.
4481 * testsuite/tr1/4_metaprogramming/other_transformations/
4482 aligned_storage/typedefs.cc: Likewise.
4483 * testsuite/tr1/4_metaprogramming/type_properties/
4484 alignment_of/alignment_of.cc: Likewise.
4485 * testsuite/tr1/4_metaprogramming/type_properties/
4486 alignment_of/typedefs.cc: Likewise.
4488 2005-01-10 Paolo Carlini <pcarlini@suse.de>
4490 * Makefile.in: Regenerate.
4491 * libmath/Makefile.in: Likewise.
4492 * libsupc++/Makefile.in: Likewise.
4493 * po/Makefile.in: Likewise.
4494 * src/Makefile.in: Likewise.
4495 * testsuite/Makefile.in: Likewise.
4497 2005-01-10 Paolo Carlini <pcarlini@suse.de>
4499 * include/bits/stl_algobase.h (lexicographical_compare):
4502 2005-01-07 Benjamin Kosnik <bkoz@redhat.com>
4504 * acinclude.m4: Remove CCODECVT_H.
4505 * configure: Regenerate.
4506 * include/Makefile.am (host_headers_extra): Move to...
4507 (ext_headers): ...here.
4508 * include/Makefile.in: Regenerate.
4509 * include/ext/enc_filebuf: Remove enc_filebuf, consolidate
4511 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Move...
4512 * include/ext/codecvt_specializations.h: ...here. Remove
4513 _GLIBCXX_USE___ENC_TRAITS.
4514 (__enc_traits): To __encoding_state, put in __gnu_cxx namespace.
4515 (enc_char_traits): To __encoding_char_traits, put in __gnu_cxx
4517 * config/locale/generic/codecvt_specializations.h: Remove.
4518 * include/bits/codecvt.h: Remove codecvt_specializations.h include.
4519 * src/codecvt.cc: Remove __enc_traits::_S_max_size.
4521 2005-01-06 Benjamin Kosnik <bkoz@redhat.com>
4523 * include/bits/fstream.tcc: Remove unnecessary qualifications for
4524 uglified data members of basic_filebuf, including _M_buf,
4525 _M_buf_size, _M_mode, _M_pback_init.
4526 * include/std/std_fstream.h: Same.
4528 2005-01-05 Benjamin Kosnik <bkoz@redhat.com>
4530 * testsuite/testsuite_hooks.h:
4531 (copy_constructor::mark_call): Use __throw_runtime_error.
4532 (assignment_operator::mark_call): Same.
4533 * testsuite/testsuite_hooks.cc (verify_demangle): Same.
4534 (locale_data): Remove, just use runtime_error directly.
4535 (environment_variable): Same.
4537 (run_tests_wrapped_locale): Use __throw_runtime_error.
4538 (run_tests_wrapped_env): Same.
4539 (semaphore::semaphore): Same.
4540 (semaphore::signal): Same.
4541 (semaphore::wait): Same.
4542 * testsuite/testsuite_abi.h (symbol_error): Remove, use logic_error.
4543 * testsuite/testsuite_abi.cc (get_symbol): Use __throw_logic_error.
4544 (create_symbols): Use __throw_runtime_error.
4545 * src/bitmap_allocator.cc: Use __throw_bad_alloc.
4547 2005-01-05 Mark Mitchell <mark@codesourcery.com>
4549 * testsuite/27_io/basic_filebuf/open/char/9507.cc: Remove child
4552 2005-01-05 Paolo Carlini <pcarlini@suse.de>
4554 * src/istream.cc (basic_istream<char>::ignore(streamsize),
4555 basic_istream<char>::ignore(streamsize, int_type),
4556 basic_istream<wchar_t>::ignore(streamsize),
4557 basic_istream<wchar_t>::ignore(streamsize, int_type)): At the end,
4558 first check _M_gcount vs __n.
4559 * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
4560 int_type)): Likewise.
4561 * testsuite/27_io/basic_istream/ignore/char/4.cc: New.
4562 * testsuite/27_io/basic_istream/ignore/wchar_t/4.cc: Likewise.
4564 2005-01-03 Mark Mitchell <mark@codesourcery.com>
4566 * testsuite/testsuite_hooks.cc: Use __throw_exception_again
4567 instead of just throw.
4569 * testsuite/testsuite_hooks.cc: Update coypright and follow style
4571 * testsuite/testsuite_hooks.h: Likewise.
4572 * testsuite/27_io/basic_filebuf/close/char/4879.cc: Use
4573 semaphores, not sleep.
4574 * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise.
4575 * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
4576 * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise.
4577 * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc:
4579 * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise.
4580 * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise.
4581 * testsuite/27_io/objects/char/7.cc: Likewise.
4582 * testsuite/27_io/objects/char/9661-1.cc: Likewise.
4583 * testsuite/27_io/objects/wchar_t/7.cc: Likewise.
4584 * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise.
4586 * configure.ac: Check for sys/ipc.h and sys/sem.h.
4587 * config.h.in: Regenerated.
4588 * configure: Likewise.
4589 * testsuite/testsuite_hooks.cc (_GLIBCXX_SYSV_SEM): Conditionally
4591 (sys/types.h): Include.
4592 (sys/ipc.h): Likewise.
4593 (sys/sem.h): Likewise.
4594 (__gnu_test::semun): New type.
4595 (__gnu_test::semaphore::sempaphore): New function.
4596 (__gnu_test::semaphore::~semaphore): Likewise.
4597 (__gnu_test::semaphore::wait): Likewise.
4598 (__gnu_test::semaphore::signal): Likewise.
4599 * testsuite/testsuite_hooks.h (__gnu_test::semaphore): New class.
4600 * testsuite/27_io/basic_filebuf/close/char/4879.cc: Use
4601 semaphores, not sleep.
4602 * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise.
4603 * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
4604 * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise.
4605 * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc:
4607 * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise.
4608 * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise.
4609 * testsuite/27_io/objects/char/7.cc: Likewise.
4610 * testsuite/27_io/objects/char/9661-1.cc: Likewise.
4611 * testsuite/27_io/objects/wchar_t/7.cc: Likewise.
4612 * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise.
4614 2005-01-03 Paolo Carlini <pcarlini@suse.de>
4616 * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
4617 int_type)): Reset _M_gcount to numeric_limits<streamsize>::min().
4618 * src/istream.cc (basic_istream<char>::ignore(streamsize, int_type),
4619 basic_istream<wchar_t>::ignore(streamsize, int_type)): Likewise.
4620 * src/istream.cc (basic_istream<char>::ignore(streamsize),
4621 basic_istream<wchar_t>::ignore(streamsize)): Likewise; fix a typo.
4623 2005-01-02 Paolo Carlini <pcarlini@suse.de>
4625 * src/istream.cc (basic_istream<char>::ignore(streamsize),
4626 basic_istream<char>::ignore(streamsize, int_type),
4627 basic_istream<wchar_t>::ignore(streamsize),
4628 basic_istream<wchar_t>::ignore(streamsize, int_type)): Avoid
4629 _M_gcount overflows.
4630 * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
4631 int_type)): Likewise; use snextc in the main loop, consistently
4632 with the specializations above.
4634 2005-01-02 Chris Jefferson <chris@bubblescope.net>
4636 * include/bits/stl_algobase.h (mismatch): Correct concept check.
4638 2005-01-01 Paolo Carlini <pcarlini@suse.de>
4640 * testsuite/ext/enc_filebuf/char/13189.cc: Fix, first include
4641 testsuite_hooks.h, to know whether including ext/enc_filebuf.h.
4642 * testsuite/ext/enc_filebuf/wchar_t/13189.cc: Likewise.
4644 2005-01-01 Paolo Carlini <pcarlini@suse.de>
4646 * testsuite/27_io/basic_istream/extractors_character/char/1.cc: Fix,
4647 null-terminate array1 at the outset.
4648 * testsuite/27_io/basic_istream/extractors_character/wchar_t/1.cc: