1 2005-12-06 Paolo Carlini <pcarlini@suse.de>
3 * include/bits/basic_string.h (insert(iterator, _CharT),
4 erase(iterator), erase(iterator, iterator)): Avoid troubles
5 with ADL, user defined operators and __normal_iterator.
6 * include/bits/stl_iterator.h (operator-(const __normal_iterator
7 <_Iterator, _Container>&, const __normal_iterator<_Iterator,
8 _Container>&)): Add overload for left and right iterators of
10 * include/debug/safe_iterator.h (operator-(const _Safe_iterator
11 <_Iterator, _Sequence>&, const _Safe_iterator<_Iterator,
12 _Sequence>&)): Likewise.
13 * testsuite/21_strings/basic_string/types/1.cc: New.
15 2005-12-05 Paolo Carlini <pcarlini@suse.de>
17 * include/ext/sso_string_base.h (__sso_string_base<>::_M_assign):
18 Simplify, avoid pointless reallocations.
20 2005-12-04 Paolo Carlini <pcarlini@suse.de>
22 * include/ext/sso_string_base.h (__sso_string_base<>::_M_reserve):
25 2005-12-04 Paolo Carlini <pcarlini@suse.de>
27 * include/ext/vstring.h (__versa_string<>::operator+, all
28 versions): Move out of line...
29 * include/ext/vstring.tcc (__versa_string<>::operator+): ...
30 here; consistently use reserve for the benefit of sso_string_base;
31 prefer push_back to single-char append when appropriate.
33 * include/ext/vstring.h (__versa_string<>::push_back): Don't
34 call _M_reserve, _M_mutate instead.
35 (reserve): Just forward to _M_reserve.
36 * include/ext/vstring.tcc (__versa_string<>::_M_reserve): Remove.
37 * include/ext/rc_string_base.h (__rc_string_base<>::_M_reserve): Also
38 do the initial checks (first on length, in case __res == capacity).
39 * include/ext/sso_string_base.h (__sso_string_base<>::_M_reserve:
40 Likewise; don't call _M_set_length unnecessarily.
42 2005-12-04 Paolo Carlini <pcarlini@suse.de>
44 * include/ext/vstring.h (__versa_string<>::_M_append): New.
45 (append(const __versa_string&), append(const __versa_string&,
46 size_type, size_type), append(const _CharT*, size_type),
47 append(const _CharT*)): Use it.
48 (append(size_type, _CharT)): Delegate to _M_replace_aux.
49 (assign(const __versa_string&, size_type, size_type),
50 assign(const _CharT*), replace(size_type, size_type,
51 const _CharT*, size_type)): Forward to _M_replace.
52 * include/ext/vstring.tcc (__versa_string<>::_M_append):
53 Define, core append functionality.
54 (_M_replace): Simplify, move __s == 0 case to _M_replace_aux.
55 (_M_replace_aux): Reorganize, don't call _M_replace.
57 2005-12-04 Paolo Carlini <pcarlini@suse.de>
59 * include/ext/vstring.tcc (__versa_string<>::_M_replace):
60 Perform _M_check_length at the beginning and remove it from ...
61 (replace, _M_replace_dispatch, _M_replace_aux, assign): ... here.
62 (assign): Now move inline.
63 (resize): Don't call _M_check_length redundantly, append does.
65 2005-12-04 Paolo Carlini <pcarlini@suse.de>
67 * include/ext/sso_string_base.h (__sso_string_base<>::_M_get_allocator):
68 Add non const version.
69 * include/ext/rc_string_base.h (__rc_string_base<>::_M_get_allocator):
72 * include/ext/sso_string_base.h (__sso_string_base<>::_M_erase): Add.
73 * include/ext/rc_string_base.h (__rc_string_base<>::_M_erase): Likewise.
74 (_M_leak_hard): Use it.
75 * include/ext/vstring.h (__versa_string<>::clear, erase, all
77 * include/ext/vstring.tcc (__versa_string<>::resize): Likewise.
79 * include/ext/vstring.h (__versa_string<>::_M_replace_safe):
81 * include/ext/vstring.h (__versa_string<>::_M_replace): New, does
82 the in-place work or delegates to _M_mutate in case of reallocation.
83 * include/ext/vstring.tcc (__versa_string<>::_M_replace_safe):
85 * include/ext/vstring.tcc (__versa_string<>::_M_replace): Define.
86 (assign, replace, _M_replace_dispatch, _M_replace_aux): Use it.
87 * include/ext/sso_string_base.h (__sso_string_base<>::_M_mutate):
88 Change to manage only reallocations.
89 * include/ext/rc_string_base.h (__rc_string_base<>::_M_mutate):
92 * include/ext/vstring.h (__versa_string<>::insert(size_type,
93 const __versa_string&), insert(size_type, const __versa_string&,
94 size_type, size_type), insert(size_type, const _CharT*, size_type),
95 insert(size_type, const _CharT*)): Delegate to replace.
97 * include/ext/vstring.h (__versa_string<>::reserve): Move out of
99 * include/ext/vstring.tcc (__versa_string<>::reserve): Do the
100 checks and call _M_reserve.
101 * include/ext/vstring.h (__versa_string<>::append): Call _M_reserve
103 * include/ext/vstring.tcc (__versa_string<>::append, all versions):
105 * include/ext/sso_string_base.h (__sso_string_base<>::_M_reserve):
107 * include/ext/rc_string_base.h (__rc_string_base<>::_M_reserve):
110 2005-12-02 David Billinghurst (David.Billinghurst@riotinto.com)
113 * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Catch
114 error if file cannot be deleted.
116 2005-11-23 Paolo Carlini <pcarlini@suse.de>
118 PR libstdc++/24975 (basic_string)
119 * include/bits/basic_string.h (_Rep::_S_empty_rep): Avoid
120 strict-aliasing warnings.
122 2005-11-22 Paolo Carlini <pcarlini@suse.de>
125 * include/bits/stl_set.h (insert(iterator, const value_type&),
126 erase(iterator), erase(iterator, iterator)): Don't break aliasing
127 rules casting to _Rep_iterator&, forward to _Rb_tree facilities.
128 * include/bits/stl_multiset.h (insert(iterator, const value_type&),
129 erase(iterator), erase(iterator, iterator)): Likewise.
130 * include/bits/stl_tree.h (_Rb_tree<>::_M_insert(_Const_Base_ptr,
131 _Const_Base_ptr, const value_type&), insert_unique(const_iterator,
132 const value_type&), insert_equal(const_iterator, const value_type&),
133 erase(const_iterator), erase(const_iterator, const_iterator)): New,
134 _Rb_tree<>::const_iterator counterparts of existing facilities.
136 2005-11-21 Benjamin Kosnik <bkoz@redhat.com>
137 Ulrich Drepper <drepper@redhat.com>
140 * scripts/create_testsuite_files: Support for "C" test files.
141 * testsuite/lib/libstdc++.exp: Same.
142 * testsuite/libstdc++-dg/normal.exp: Same.
143 * testsuite/ext/mt_allocator/22309_thread.cc: Update names.
144 * testsuite/19_diagnostics/23591_thread-1.c: New.
145 * testsuite/testsuite_shared.cc: Add tests, rename existing functions.
146 * libsupc++/eh_globals.cc: Make global thread local if possible.
147 * configure.ac: Use GCC_CHECK_TLS.
148 * acinclude.m4: Include tls.m4.
149 * configure: Regenerate.
152 2005-11-21 Benjamin Kosnik <bkoz@redhat.com>
154 * libsupc++/del_op.cc: Include c++config.h first.
155 * libsupc++/eh_alloc.cc: Same.
156 * libsupc++/new_opv.cc: Same.
157 * libsupc++/eh_throw.cc: Same.
158 * libsupc++/new_op.cc: Same.
159 * libsupc++/del_opv.cc: Same.
160 * libsupc++/eh_catch.cc: Same.
161 * libsupc++/guard.cc: Same.
162 * libsupc++/del_opnt.cc: Same.
163 * libsupc++/eh_exception.cc: Same.
164 * libsupc++/new_opvnt.cc: Same.
165 * libsupc++/eh_term_handler.cc: Same.
166 * libsupc++/eh_personality.cc: Same.
167 * libsupc++/eh_call.cc: Same.
168 * libsupc++/new_opnt.cc: Same.
169 * libsupc++/del_opvnt.cc: Same.
171 2005-11-21 Benjamin Kosnik <bkoz@redhat.com>
173 * src/Makefile.am (LTCXXCOMPILE): CXXFLAGS last.
174 * libsupc++/Makefile.am: Same.
175 * src/Makefile.in: Regenerate.
176 * libsupc++/Makefile.in: Same.
178 2005-11-21 Paolo Carlini <pcarlini@suse.de>
180 * include/ext/sso_string_base.h: Minor formatting and stylistic fixes.
181 (__sso_string_base<>::_M_get_allocator): Return by const ref.
182 * include/ext/rc_string_base.h: Likewise.
183 (__rc_string_base<>::_M_get_allocator): Return by const ref.
184 (__rc_string_base<>::_M_dispose): Take void, use _M_get_allocator.
185 (__rc_string_base<>::_M_grab): Take one alloc, use _M_get_allocator.
186 (__rc_string_base<>::~__rc_string_base,
187 __rc_string_base(const __rc_string_base&), _M_assign, _M_reserve,
189 * include/ext/vstring_util.h: Minor stylistic fixes.
191 2005-11-18 Paolo Carlini <pcarlini@suse.de>
193 * include/ext/rc_string_base.h (__rc_string_base<>::_Rep): Avoid the
194 anonymous struct extension, adjust everywhere.
196 * include/ext/rc_string_base.h (__rc_string_base<>::_S_empty_rep()):
197 Just use a static member.
198 (__rc_string_base<>::__rc_string_base(), _S_construct): Adjust.
200 * include/ext/rc_string_base.h (__rc_string_base<>::_Rep): Use
201 anonymous union together with _CharT to fix alignment issues,
202 rebind to _Rep and rename _Raw_alloc to _Rep_alloc_type.
203 (__rc_string_base<>::_Rep::_S_create, _M_destroy): Adjust consistently.
205 * include/ext/vstring_util.h (__is_null_p): Move inside struct
206 __vstring_utility as static _S_is_null_pointer.
207 * include/ext/sso_string.h
208 (__sso_string_base<>::_M_construct(std::forward_iterator_tag): Adjust.
209 * include/ext/rc_string_base.h
210 (__rc_string_base<>::_S_construct(std::forward_iterator_tag): Likewise.
212 Implement Option 3 of DR 431 for ext/vstring - both available bases.
213 * include/bits/cpp_type_traits.h (struct __is_empty): Add.
214 * include/ext/vstring.h (__versa_string<>::swap): Delegate to
216 * include/ext/vstring.tcc (__versa_string<>::swap): Remove.
217 * include/ext/vstring_util.h (struct __vstring_utility<>): Add struct
218 _Alloc_hider<>, augmented of allocator swapping facility, specialized
219 to nop for empty allocators.
220 * include/ext/rc_string_base.h (__rc_string_base<>::_M_swap): Use it.
221 (__rc_string_base<>::_M_is_leaked, _M_set_sharable): Change to private.
222 * include/ext/sso_string_base.h (__sso_string_base<>::_M_swap):
224 (__sso_string_base<>::_M_is_leaked, _M_set_sharable): Remove, unused.
225 * include/ext/rc_string_base.h (__rc_string_base<>::_M_data(_CharT*):
227 * include/ext/sso_string_base.h (__sso_string_base<>::_M_data(_CharT*):
230 2005-11-17 Geoffrey Keating <geoffk@apple.com>
232 * config/os/bsd/darwin/ppc-extra.ver: New.
233 * src/Makefile.am (libstdc++-symbol.ver): Move outside conditionals,
234 and make dependent on port symbol files.
235 (libstdc++-symbol.explist): Use the generated .ver file, not
237 * src/compatibility.cc [APPLE] (__eprintf): New.
238 * src/Makefile.in: Regenerate.
239 * configure.host (powerpc*-*-darwin*): Define
240 port_specific_symbol_files.
242 2005-11-16 Nathan Sidwell <nathan@codesourcery.com>
244 * libsupc++/eh_arm.cc (__cxa_begin_cleanup): Remember a
245 foreign exception too.
246 (__gnu_end_cleanup): Recover a foreign exception too.
247 * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Cope
248 with forced unwinding.
249 * libsupc++/eh_throw.cc (__cxxabiv1::__cxa_rethrow): Use
250 _Unwind_Resume_or_Rethrow for ARM EABI.
252 2005-11-14 Geoffrey Keating <geoffk@apple.com>
254 * acinclude.m4 (GLIBCXX_CHECK_LINKER_FEATURES): Don't check for
255 shared libgcc for darwin exports.
256 * configure: Regenerate.
258 2005-11-13 Jonathan Wakely <redi@gcc.gnu.org>
260 * include/tr1/boost_shared_ptr.h (get_deleter):
261 Declare before shared_ptr.
262 (shared_ptr<>): Declare get_deleter as friend.
263 (shared_ptr<>:_M_get_deleter): Private.
265 2005-11-13 Douglas Gregor <doug.gregor@gmail.com>
268 * include/tr1/ref_wrap_iterate.h
269 (reference_wrapper::operator()()): Don't dereferene the result of
270 get() before calling it; it's already a reference.
271 * testsuite/tr1/3_function_objects/reference_wrapper/invoke.cc:
272 Test nullary calls to reference_wrappers.
274 2005-11-11 Paolo Carlini <pcarlini@suse.de>
277 * include/tr1/type_traits (__is_abstract_helper): Rename to __in_array
278 (with complemented logic).
279 (is_function): Use it, don't use __conv_helper.
280 (is_abstract): Adjust.
281 (__conv_helper): Rename to __is_convertible_simple.
282 (is_convertible): Adjust.
283 * testsuite/testsuite_tr1.h (class IncompleteClass): Add.
284 * testsuite/tr1/4_metaprogramming/composite_type_traits/is_object/
286 * testsuite/tr1/4_metaprogramming/primary_type_categories/is_enum/
288 * testsuite/tr1/4_metaprogramming/primary_type_categories/is_function/
291 2005-11-11 Paolo Carlini <pcarlini@suse.de>
294 * include/tr1/functional (hash): Inherit from std::unary_function.
295 * testsuite/tr1/6_containers/unordered/hash/24799.cc: New.
298 * include/tr1/boost_shared_ptr.h (swap(shared_ptr<>&, shared_ptr<>&),
299 swap(weak_ptr<>&, weak_ptr<>&)): Move inside namespace tr1.
300 * testsuite/tr1/2_general_utilities/memory/shared_ptr/modifiers/
304 * include/tr1/type_traits (__is_polymorhpic_helper): Adjust destructor.
305 * testsuite/tr1/4_metaprogramming/type_properties/is_polymorphic/
308 2005-11-10 Paolo Carlini <pcarlini@suse.de>
310 * testsuite/tr1/2_general_utilities/memory/
311 enable_shared_from_this/not_shared.cc: Adjust, remove xfail.
312 * testsuite/tr1/2_general_utilities/memory/
313 enable_shared_from_this/not_shared2.cc: Likewise.
314 * testsuite/tr1/2_general_utilities/memory/
315 enable_shared_from_this/not_shared3.cc: Likewise.
317 2005-11-10 Paolo Carlini <pcarlini@suse.de>
319 * include/tr1/boost_shared_ptr.h (_Sp_counted_base::release,
320 weak_release): Protect barriers with __GTHREADS.
322 2005-11-10 Paolo Carlini <pcarlini@suse.de>
323 Peter Dimov <pdimov@mmltd.net>
325 * include/tr1/boost_shared_ptr.h (_Sp_counted_base::release):
326 Optimize by manually inlining weak_release.
328 * include/tr1/boost_shared_ptr.h (_Sp_counted_base::release,
329 weak_release): Use explicit memory barriers.
331 2005-11-09 Benjamin Kosnik <bkoz@redhat.com>
332 Paolo Carlini <pcarlini@suse.de>
333 Gabriel Dos Reis <gdr@integrable-solutions.net>
336 * numeric_limits.cc: Split into...
337 * numeric_limits/specialization.cc: ..this.
338 * numeric_limits/is_iec559.cc: Same.
339 * numeric_limits/sign.cc: Same.
340 * numeric_limits/quiet_NaN.cc: Same.
341 * numeric_limits/digits10.cc: Same.
342 * numeric_limits/denorm_min.cc: Same.
343 * numeric_limits/min_max.cc: Same.
344 * numeric_limits/epsilon.cc: Same.
345 * numeric_limits/infinity.cc: Same.
346 * numeric_limits/traps.cc: New.
348 2005-11-09 Paolo Carlini <pcarlini@suse.de>
350 * include/tr1/boost_shared_ptr.h: Trivial formatting fixes.
352 2005-11-08 Benjamin Kosnik <bkoz@redhat.com>
354 * testsuite/lib/libstdc++.exp (check_v3_target_debug_mode): Use
355 exe as the executable extension.
357 * acinclude.m4 (GLIBCXX_ENABLE_ALLOCATOR): Change gnu defaults to
359 (GLIBCXX_ENABLE_PCH): Adjust message order.
360 * configure: Regenerate.
362 * scripts/testsuite_flags.in (query): Correct print_usagex typo.
364 * include/bits/functexcept.h: Remove argument names.
366 * src/mt_allocator.cc: Adjust comment.
368 2005-11-06 Paolo Carlini <pcarlini@suse.de>
371 * include/bits/stl_queue.h (priority_queue): Tweak a bit the
372 comment describing the container.
374 2005-11-05 Paolo Carlini <pcarlini@suse.de>
376 * configure.host: Add | rs6000 to the cpu_defines_dir switch,
377 consistently with the try_cpu one.
379 2005-11-05 Paolo Carlini <pcarlini@suse.de>
382 * include/bits/c++config: Include cpu_defines.h.
383 * include/Makefile.am: Add cpu_defines.h to host_headers.
384 * configure.host: Add cpu_defines_dir.
385 * configure.ac: Use it.
386 * config/cpu/powerpc/cpu_defines.h: New.
387 * config/cpu/generic/cpu_defines.h: Likewise.
388 * configure: Regenerate.
389 * Makefile.in: Likewise.
390 * include/Makefile.in: Likewise.
391 * libmath/Makefile.in: Likewise.
392 * libsupc++/Makefile.in: Likewise.
393 * po/Makefile.in: Likewise.
394 * src/Makefile.in: Likewise.
395 * testsuite/Makefile.in: Likewise.
397 2005-11-03 Paolo Carlini <pcarlini@suse.de>
399 * include/ext/sso_string_base.h (__sso_string_base<>::_M_swap):
400 Change the various traits_type::copy call to always copy the
401 entire local buffer; return early and don't do a full swap on
402 the lengths for two common cases; change two _S_copy to plain
405 2005-11-02 Thomas Kho <tkho@ucla.edu>
408 * include/bits/stl_vector.h (vector<>::clear): Open code
409 in terms of _Destroy.
411 2005-11-02 Paolo Carlini <pcarlini@suse.de>
413 * include/bits/vector.tcc (vector<>::_M_fill_assign): Qualify fill_n.
415 2005-11-01 Paolo Carlini <pcarlini@suse.de>
418 * include/tr1/boost_shared_ptr.h (shared_ptr<>::get_deleter):
419 Move out of shared_ptr.
420 * testsuite/tr1/2_general_utilities/memory/shared_ptr/misc/24595.cc:
423 2005-10-30 Paolo Carlini <pcarlini@suse.de>
426 * include/c_std/std_csignal.h: Adjust comment as per 17.4.1.2/4.
427 * include/c_std/std_cstdlib.h: Likewise.
428 * include/c_std/std_cstdio.h: Likewise.
429 * include/c_std/std_cstdarg.h: Likewise.
430 * include/c_std/std_cctype.h: Likewise.
431 * include/c_std/std_cerrno.h: Likewise.
432 * include/c_std/std_cmath.h: Likewise.
433 * include/c_std/std_ciso646.h: Likewise.
434 * include/c_std/std_ctime.h: Likewise.
435 * include/c_std/std_clocale.h: Likewise.
436 * include/c_std/std_climits.h: Likewise.
437 * include/c_std/std_cassert.h: Likewise.
438 * include/c_std/std_csetjmp.h: Likewise.
439 * include/c_std/std_cwchar.h: Likewise.
440 * include/c_std/std_cfloat.h: Likewise.
441 * include/c_std/std_cstring.h: Likewise.
442 * include/c_std/std_cstddef.h: Likewise.
443 * include/c_std/std_cwctype.h: Likewise.
445 2005-10-29 Carey Evans <carey.evans@gmail.com>
448 * config/os/djgpp/ctype_inline.h: Fix.
449 * config/os/djgpp/ctype_noninline.h: Likewise.
451 2005-10-28 Paolo Carlini <pcarlini@suse.de>
454 * include/c_std/std_cwchar.h (wcspbrk): Adjust signature.
455 * testsuite/21_strings/c_strings/wchar_t/24559.cc: New.
457 2005-10-25 Paolo Carlini <pcarlini@suse.de>
459 * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 39.
460 * docs/html/ext/howto.html: Adjust.
462 2005-10-21 Paolo Carlini <pcarlini@suse.de>
465 * config/locale/generic/time_members.h (__timepunct<>::
466 __timepunct(__c_locale, const char*, size_t)): Avoid leaking
467 memory if new throws inside _M_initialize_timepunct.
468 * config/locale/gnu/time_members.h (__timepunct<>::
469 __timepunct(__c_locale, const char*, size_t)): Likewise.
470 * config/locale/gnu/message_members.h (messages<>::
471 messages(__c_locale, const char*, size_t)): Rearrange to
474 2005-10-19 Paolo Carlini <pcarlini@suse.de>
476 * include/ext/sso_string_base.h (_M_swap): Rewrite.
478 2005-10-19 Paolo Carlini <pcarlini@suse.de>
480 * include/ext/rc_string_base.h (_S_terminal): Remove.
481 (_M_set_length): Adjust.
482 (_S_max_size): Change to anonymous enum.
483 (_M_max_size()): Add, returns the latter.
484 * include/ext/sso_string_base.h: Likewise.
485 * include/ext/vstring.h (max_size): Adjust.
487 2005-10-17 Jonathan Wakely <redi@gcc.gnu.org>
490 * include/tr1/boost_shared_ptr.h
491 (_Sp_counted_base::_Sp_counted_base()): When __GTHREAD_MUTEX_INIT
492 is defined, initialize the mutex.
494 2005-10-15 Paolo Carlini <pcarlini@suse.de>
496 * include/tr1/functional: Add missing #pragma GCC system_header.
498 2005-10-14 Paolo Carlini <pcarlini@suse.de>
500 * include/tr1/hashtable (hashtable::m_erase): Rename to erase_node.
501 (hashtable::erase(iterator), erase(const_iterator)): Adjust.
503 2005-10-13 Richard Earnshaw <richard.earnsahw@arm.com>
506 * acinclude.m4 (port_specific_symbol_files): More symbol versioning
508 * configure: Regenerate.
510 2005-10-13 Hans-Peter Nilsson <hp@axis.com>
512 * testsuite/lib/libstdc++.exp (libstdc++_init): Require
513 native testing before setting v3-sharedlib to 1.
515 2005-10-12 Joe Buck <Joe.Buck@synopsys.com>
517 * docs/html/27_io/howto.html: Use reference to ifstream when
520 2005-10-11 Andrew Pinski <pinskia@physics.uc.edu>
523 * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Fix typo in check
525 * configure: Regenerate.
527 2005-10-10 Benjamin Kosnik <bkoz@redhat.com>
529 * configure.ac (libtool_VERSION): To 6:7:0.
530 * configure: Regenerate.
531 * testsuite/testsuite_abi.cc (check_version): Add GLIBCXX_3.4.7.
532 * config/linker-map.gnu: Export locale::_Impl::_M_install_cache.
534 2005-10-10 Ian Lance Taylor <ian@airs.com>
537 * include/bits/locale_classes.h (locale::_Impl::_M_install_cache):
539 * src/locale.cc: Define here, add mutex.
541 2005-10-09 Paolo Carlini <pcarlini@suse.de>
543 PR libstdc++/24061 (issue 6.19)
544 * include/tr1/hashtable (struct node_const_iterator, struct
545 hashtable_const_iterator): New, add const variants to enable separate
546 overloadings for iterator and const_iterator in unordered_set and
547 unordered_multiset (as required by issue 6.19).
548 (class hashtable): Change the mutable_iterators template parameter
549 to constant_iterators and adjust throughout the logic.
550 (hashtable::insert(iterator, const value_type&), erase(iterator)
551 erase(iterator, iterator)): New, as per issue 6.19.
552 (hashtable::m_erase(node*, node**)): New, called by erase(iterator)
553 and erase(const_iterator).
554 (hashtable::Insert_Conv_Type): New, used by insert(iterator,
555 const value_type&) and insert(const_iterator, const value_type&)
556 to delegate the work to insert(const value_type&).
557 * include/tr1/unordered_map (class unordered_map, unordered_multimap):
559 * include/tr1/unordered_set (class unordered_set, unordered_multiset):
561 * testsuite/tr1/6_containers/unordered/erase/24061-map.cc: New.
562 * testsuite/tr1/6_containers/unordered/erase/24061-multimap.cc: New.
563 * testsuite/tr1/6_containers/unordered/erase/24061-multiset.cc: New.
564 * testsuite/tr1/6_containers/unordered/erase/24061-set.cc: New.
565 * testsuite/tr1/6_containers/unordered/insert/24061-map.cc: New.
566 * testsuite/tr1/6_containers/unordered/insert/24061-multimap.cc: New.
567 * testsuite/tr1/6_containers/unordered/insert/24061-multiset.cc: New.
568 * testsuite/tr1/6_containers/unordered/insert/24061-set.cc: New.
570 2005-10-08 Kazu Hirata <kazu@codesourcery.com>
572 Merge from csl-arm-branch:
573 2004-12-15 Daniel Jacobowitz <dan@codesourcery.com>
574 * libstdc++-v3/config/linker-map.gnu: Add ARM EABI symbols.
576 2005-10-07 Paolo Carlini <pcarlini@suse.de>
578 Fix libstdc++/24196 for ext/vstring/rc by returning to the behavior
579 of basic_string pre-2003-06-13; remove fully-dynamic-string stuff.
580 * include/ext/rc_string_base.h (_M_refcopy): Move inside the
581 _Rep class and remove code in macro.
582 (__rc_string_base()): Construct with _S_empty_rep()._M_refcopy().
583 (_M_dispose, _M_leak_hard): Remove code in macro.
584 (_S_construct): Return _S_empty_rep()._M_refcopy() for empty string.
587 * include/ext/rc_string_base.h (_Rep::_M_refdata()): Minor tweak,
590 2005-10-07 Benjamin Kosnik <bkoz@redhat.com>
592 * docs/doxygen/user.cfg.in: Update to Doyxygen 1.4.4.
594 2005-10-05 Paolo Carlini <pcarlini@suse.de>
596 * include/ext/sso_string_base.h (struct __sso_string_local):
597 Remove, actually POD types cannot have user defined constructors
598 (being aggregates) and therefore can always be members of unions.
599 (class __sso_string_base): Adjust consistently.
601 2005-10-05 Paolo Carlini <pcarlini@suse.de>
604 * testsuite/27_io/basic_filebuf/3.cc: Use __gnu_test::pod_ushort
606 * testsuite/27_io/basic_filebuf/seekoff/10132-2.cc: Likewise.
607 * testsuite/27_io/basic_filebuf/seekpos/10132-3.cc: Likewise.
608 * testsuite/27_io/basic_fstream/3.cc: Likewise; run the test.
609 * testsuite/27_io/basic_ifstream/3.cc: Likewise; run the test.
610 * testsuite/27_io/basic_ios/3.cc: Likewise.
611 * testsuite/27_io/basic_iostream/3.cc: Likewise; run the test.
612 * testsuite/27_io/basic_istream/3.cc: Likewise; run the test.
613 * testsuite/27_io/basic_istringstream/3.cc: Likewise; run the test.
614 * testsuite/27_io/basic_ofstream/3.cc: Likewise; run the test.
615 * testsuite/27_io/basic_ostream/3.cc: Likewise; run the test.
616 * testsuite/27_io/basic_ostringstream/3.cc: Likewise; run the test.
617 * testsuite/27_io/basic_streambuf/3.cc: Likewise.
618 * testsuite/27_io/basic_stringbuf/3.cc: Likewise.
619 * testsuite/27_io/basic_stringstream/3.cc: Likewise; run the test.
621 2005-10-05 Paolo Carlini <pcarlini@suse.de>
623 PR libstdc++/11729 (DR 280, [Ready])
624 * include/bits/stl_iterator.h: Add reverse_iterator global
625 functions with two template parameters (operator==, !=, <,
627 * testsuite/24_iterators/reverse_iterator/11729.cc: New.
628 * docs/html/ext/howto.html: Add an entry for issue 280.
630 2005-10-03 Paolo Carlini <pcarlini@suse.de>
632 * include/tr1/hashtable
633 (node_iterator::node_iterator(const node_iterator<,true,>&)): Fix to
634 take a "false" (i.e., is_const == false) node_iterator.
635 (hashtable_iterator::hashtable_iterator(const hashtable_iterator<,
636 true,>&)): Likewise for hashtable_iterator.
637 (hashtable::const_local_iterator): Fix typedef (is_const == true).
638 (hashtable::const_iterator): Likewise.
639 * testsuite/tr1/6_containers/unordered/types/map_iterator.cc: New.
640 * testsuite/tr1/6_containers/unordered/types/multimap_iterator.cc: New.
641 * testsuite/tr1/6_containers/unordered/types/set_iterator.cc: New.
642 * testsuite/tr1/6_containers/unordered/types/multiset_iterator.cc: New.
644 2005-10-02 Paolo Carlini <pcarlini@suse.de>
647 * include/tr1/hashtable (erase(const key_type&)): Return the
648 number of elements erased.
649 * testsuite/tr1/6_containers/unordered/hashtable/24054.cc: New.
651 2005-10-01 Kenny Simpson <theonetruekenny@yahoo.com>
653 * include/tr1/tuple_iterate.h (tuple::operator=(const std::pair<>&)):
656 2005-09-30 Paolo Carlini <pcarlini@suse.de>
659 * include/tr1/hashtable (hash_code_base<>::store_code): Add.
660 (hashtable<>::insert(const value_type&)): Use it.
661 * testsuite/tr1/6_containers/unordered/hashtable/24064.cc: New.
663 2005-09-30 Paolo Carlini <pcarlini@suse.de>
666 * include/bits/locale_facets.tcc (__numpunct_cache<>::_M_cache,
667 __moneypunct_cache<>::_M_cache): Check that grouping()[0] > 0.
668 (__verify_grouping): Do the last check only if __grouping[__min] > 0.
669 (__add_grouping<>): End recursion if *__gbeg <= 0.
670 * testsuite/22_locale/num_get/get/char/23953.cc: New.
671 * testsuite/22_locale/num_get/get/wchar_t/23953.cc: Likewise.
672 * testsuite/22_locale/num_put/put/char/23953.cc: Likewise.
673 * testsuite/22_locale/num_put/put/wchar_t/23953.cc: Likewise.
675 2005-09-29 Chris Jefferson <chris@bubblescope.net>
678 * include/tr1/tuple_iterate.h (tuple): Add operator=(std::pair).
679 * testsuite/tr1/6_containers/tuple/creation_functions/23978.cc: New.
681 * include/tr1/functional (ref, cref): Make inline.
682 * include/tr1/tuple_iterate.h (tie): Correct formatting.
683 (make_tuple): Make inline.
685 2005-09-25 Benjamin Kosnik <bkoz@redhat.com>
686 Eric Botcazou <ebotcazou@libertysurf.fr>
688 * include/ext/mt_allocator.h
689 (__per_type_pool<...true>::_S_initialize_once): Always call
691 (__common_pool<...true>::_S_initialize_once): Same.
693 2005-09-23 Benjamin Kosnik <bkoz@redhat.com>
695 * testsuite/ext/mt_allocator/tune-1.cc: Clarify for single-thread.
696 * testsuite/ext/mt_allocator/tune-2.cc: Same.
697 * testsuite/ext/mt_allocator/tune-3.cc: Same.
698 * testsuite/ext/mt_allocator/tune-4.cc: Same.
700 2005-09-21 Guillaume Melquiond <guillaume.melquiond@ens-lyon.fr>
703 * include/ext/mt_allocator.h: Remove excess
704 policy_type::_S_get_pool calls in constructors.
706 2005-09-18 Paolo Carlini <pcarlini@suse.de>
708 PR libstdc++/23417 (cont)
709 * include/bits/stl_tree.h (_Rb_tree_impl<true>): Use member
710 initialization list for -Weffc++.
712 2005-09-16 Janis Johnson <janis187@us.ibm.com>
714 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/23871.cc:
717 2005-09-15 Benjamin Kosnik <bkoz@redhat.com>
722 * include/bits/c++config: Set _GLIBCXX_STD regardless of __GXX_WEAK__.
723 Add in check for __NO_INLINE__ for warning.
724 * testsuite/lib/dg-options.exp (dg-require-debug-mode): New.
725 * testsuite/lib/libstdc++.exp (check_v3_target_debug_mode): New.
726 * testsuite/21_strings/basic_string/element_access/char/21674.cc:
728 * testsuite/21_strings/basic_string/element_access/wchar_t/21674.cc:
731 2005-09-15 Paolo Carlini <pcarlini@suse.de>
734 * include/std/std_ostream.h (operator<<(short), operator<<(unsigned
735 short), operator<<(int), operator<<(unsigned int), operator<<(float)):
736 Don't call operator<<(long), operator<<(unsigned long), or
737 operator<<(double), do the work mandated by the resolution of DR117...
738 * include/bits/ostream.tcc (operator<<(short), operator<<(unsigned
739 short), operator<<(int), operator<<(unsigned int), operator<<(float)):
741 * testsuite/27_io/basic_ostream/inserters_arithmetic/pod/23875.cc: New.
743 2005-09-15 Mark Mitchell <mark@codesourcery.com>
745 * testsuite/testsuite_character.h: Specialize character<>
746 templates in __gnu_cxx, not in __gnu_test.
748 2005-09-13 Jonathan Wakely <cow@compsoc.man.ac.uk>
749 Benjamin Kosnik <bkoz@redhat.com>
752 * testsuite/21_strings/basic_string/element_access/char/21674.cc: New.
753 * testsuite/21_strings/basic_string/element_access/wchar_t/21674.cc:
756 2005-09-12 David Edelsohn <dje@gcc.gnu.org>
760 * include/Makefile.am (stamp-assoc): Install each subgroup
761 of headers separately.
762 * include/Makefile.in: Regenerate.
764 2005-09-12 Benjamin Kosnik <bkoz@redhat.com>
766 * testsuite/ext/mt_allocator/22309_thread.cc: Remove dg-do run.
767 * testsuite/lib/libstdc++.exp ( proc libstdc++_init): Enable
768 shared only for linux.
770 2005-09-12 Benjamin Kosnik <bkoz@redhat.com>
771 David Edelsohn <dje@gcc.gnu.org>
775 * include/Makefile.am (assoc_headers): Break into five sub values.
776 (install-headers): Use them.
778 * include/Makefile.in: Regenerate.
780 2005-09-12 Chris Jefferson <chris@bubblescope.net>
782 * include/bits/stl_algo.h (search_n): Delegate to specializations.
783 (search_n(,,,,binary_predicate)): Likewise.
784 (__search_n(forward_iterator_tag)): Original search_n, tweak to
785 remove an unnecessary comparison.
786 (__search_n(,,,,binary_predicate,forward_iterator_tag)): Likewise.
788 2005-09-12 Jim Xochellis <jimxoch@yahoo.gr>
790 * include/bits/stl_algo.h
791 (__search_n(std::random_access_iterator_tag)): Add specialization.
792 (__search_n(,,,,binary_predicate,std::random_access_iterator_tag)):
795 2005-09-12 Benjamin Kosnik <bkoz@redhat.com>
798 * include/bits/stl_list.h (_List_impl): Use member initialization
800 * include/bits/stl_tree.h (_Rb_tree_impl): Same.
802 2005-09-12 Paolo Carlini <pcarlini@suse.de>
805 * include/bits/stl_iterator.h (__normal_iterator::
806 __normal_iterator<>(const __normal_iterator<_Iter, _Container>&)):
807 Enable only when _Iter is equal to _Container::pointer.
808 * testsuite/21_strings/basic_string/types/23767.cc: New.
809 * testsuite/23_containers/vector/types/23767.cc: Likewise.
810 * testsuite/ext/vstring/types/23767.cc: Likewise.
812 2005-09-11 Benjamin Kosnik <bkoz@redhat.com>
816 * include/ext/mt_allocator.h
817 (__gnu_cxx::__create_handler): Remove.
818 (__pool<true>::_M_destroy_thread_key): Compatibility only.
819 (__pool<true>::_M_initialize(__destroy): Same.
820 (__pool<true>::_M_initialize): New.
821 (__pool<true>::_M_initialize_once): Nothing fancy.
822 (__pool<true>::_M_once): Remove.
823 (__common_pool): New.
824 (__common_pool_base): New.
825 (__per_type_pool): New.
826 (__per_type_pool_base): New.
827 * src/mt_allocator.cc: Same.
828 * config/linker-map.gnu (__pool<true>::_M_initialize()): Add.
830 2005-09-11 Jakub Jelinek <jakub@redhat.com>
834 * src/mt_allocator.cc (__gnu_internal::freelist_mutex): Make static.
835 (__gnu_internal::__freelist): New type.
836 (__gnu_internal::freelist): New variable.
837 (__gnu_internal::_M_destroy_thread_key): New function.
838 (__gnu_cxx::__pool<true>::_M_destroy): Don't delete
839 _M_thread_freelist_initial.
840 (__gnu_cxx::__pool<true>::_M_initialize): Make argument nameless.
841 Don't use _M_thread_freelist and _M_thread_freelist_initial
842 __pool<true> fields, instead use __gnu_internal::freelist fields, call
843 gthread_key_create just once. Use
844 __gnu_internal::_M_destroy_thread_key as key destructor.
845 (__gnu_cxx::__pool<true>::_M_get_thread_id): Store size_t id
846 rather than _Thread_record* in the thread specific value. Don't
847 use _M_thread_freelist __pool<true> field, instead use
848 __gnu_internal::freelist fields.
849 (__gnu_cxx::__pool<true>::_M_destroy_thread_key): Do nothing.
851 2005-09-11 Benjamin Kosnik <bkoz@redhat.com>
852 Jakub Jelinek <jakub@redhat.com>
856 * testsuite/testsuite_shared.cc: New.
857 * testsuite/lib/dg-options.exp (dg-require-sharedlib): New.
858 * testsuite/lib/libstdc++.exp (libstdc++_init): Look for shared
859 library, and set v3-sharedlib based on this.
860 (check_v3_target_sharedlib): New.
861 (proc v3-build_support): Build shared objects.
862 * testsuite/ext/mt_allocator/22309_thread.cc: New, use above.
864 2005-09-11 Paolo Carlini <pcarlini@suse.de>
867 * include/bits/stl_list.h (_List_iterator<>::
868 _List_iterator(_List_node_base*), _List_const_iterator<>::
869 _List_const_iterator(const _List_node_base*)): Make explicit.
870 (list<>::begin(), list<>::end(), list<>::pop_back()): Adjust
872 * include/bits/list.tcc (list<>::insert, list<>::erase): Adjust
874 * include/bits/stl_tree.h (_Rb_tree_iterator<>::
875 _Rb_tree_iterator(_Link_type), _Rb_tree_const_iterator<>::
876 _Rb_tree_const_iterator(_Link_type)): Make explicit.
877 (_Rb_tree<>::begin(), _Rb_tree<>::end()): Adjust consistently.
878 * include/ext/slist (_Slist_iterator<>::_Slist_iterator(_Node*)):
880 (slist<>::erase(iterator), slist<>::erase(iterator, iterator)):
882 * include/tr1/hashtable (hashtable_iterator<>::
883 hashtable_iterator(hash_node<>**)): Make explicit.
884 * testsuite/23_containers/list/23781.cc: New.
885 * testsuite/23_containers/map/23781.cc: Likewise.
886 * testsuite/23_containers/multimap/23781.cc: Likewise.
887 * testsuite/23_containers/multiset/23781.cc: Likewise.
888 * testsuite/23_containers/set/23781.cc: Likewise.
889 * testsuite/ext/slist/23781.cc: Likewise.
890 * testsuite/tr1/6_containers/unordered/23781.cc: Likewise.
891 * testsuite/23_containers/map/operators/1_neg.cc: Adjust dg-error
893 * testsuite/23_containers/set/operators/1_neg.cc: Likewise.
895 * include/tr1/array (array<>::begin(), array<>::end()): Adjust
896 stylistically for consistency with the other containers.
898 2005-09-10 Joseph S. Myers <joseph@codesourcery.com>
900 * testsuite/26_numerics/cmath/c99_classification_macros_c.cc:
901 XFAIL on *-*-linux*, not *-*-linux-gnu.
903 2005-09-09 Benjamin Kosnik <bkoz@redhat.com>
904 Jakub Jelinek <jakub@redhat.com>
906 * src/debug.cc (iterator_base_mutex): Make static for internal
908 * src/locale_init.cc (locale_mutex): Same.
909 * src/mt_allocator.cc (freelist_mutex): Same.
910 * src/pool_allocator.cc (palloc_init_mutex): Same.
912 2005-09-02 Paolo Carlini <pcarlini@suse.de>
914 * testsuite/tr1/6_containers/unordered/hashtable/23465.cc:
915 Reduce maximum size and lf.
917 2005-09-01 Benjamin Kosnik <bkoz@redhat.com>
919 * include/c_std/std_cmath.h: Declare C99 functions and helper
922 2005-09-01 Benjamin Kosnik <bkoz@redhat.com>
923 Paolo Carlini <pcarlini@suse.de>
925 * testsuite/lib/libstdc++.exp (check_v3_target_cxa_atexit): Fix
928 2005-09-01 Benjamin Kosnik <bkoz@redhat.com>
930 * testsuite/lib/libstdc++.exp (check_v3_target_cxa_atexit): New.
931 * testsuite/lib/dg-options.exp (dg-require-cxa-atexit): New.
932 * testsuite/ext/mt_allocator/deallocate_local-6.cc: New.
933 * testsuite/ext/mt_allocator/deallocate_local-8.cc: New.
934 * testsuite/ext/mt_allocator/deallocate_local_thread-5.cc: New.
935 * testsuite/ext/mt_allocator/deallocate_local_thread-7.cc: New.
936 * docs/html/ext/mt_allocator.html: Add link to examples.
937 * testsuite/testsuite_allocator.h: Tweak.
938 * testsuite/ext/mt_allocator/deallocate_global-2.cc: Same.
939 * testsuite/ext/mt_allocator/deallocate_global-4.cc: Same.
940 * testsuite/ext/mt_allocator/deallocate_global_thread-1.cc: Same.
941 * testsuite/ext/mt_allocator/deallocate_global_thread-3.cc: Same.
942 * testsuite/ext/mt_allocator/deallocate_local-2.cc: Same.
943 * testsuite/ext/mt_allocator/deallocate_local-4.cc: Same.
944 * testsuite/ext/mt_allocator/deallocate_local_thread-1.cc: Same.
945 * testsuite/ext/mt_allocator/deallocate_local_thread-3.cc: Same.
946 * testsuite/ext/new_allocator/deallocate_global.cc: Same.
947 * testsuite/ext/new_allocator/deallocate_local.cc: Same.
949 2005-08-31 Paolo Carlini <pcarlini@suse.de>
950 Kaspar Fischer <fischerk@inf.ethz.ch>
953 * include/bits/stl_bvector.h (_Bit_iterator::operator[],
954 _Bit_const_iterator::operator[]): Const-ify.
955 * testsuite/23_containers/vector/bool/23632.cc: New.
957 2005-08-30 Paolo Carlini <pcarlini@suse.de>
959 PR libstdc++/23578 (cont)
960 * include/bits/stl_bvector.h (class vector<bool>): Add
961 a dummy data() to avoid problems in debug-mode.
963 2005-08-30 Paolo Carlini <pcarlini@suse.de>
965 * testsuite/ext/hash_map/23528.cc: New.
967 2005-08-29 Paolo Carlini <pcarlini@suse.de>
969 * include/bits/stl_map.h (class map): ... and a missing @a.
971 2005-08-29 Paolo Carlini <pcarlini@suse.de>
973 * include/bits/stl_map.h (class map): Add missing % in comment.
975 2005-08-29 Paolo Carlini <pcarlini@suse.de>
977 PR libstdc++/23578 (DR 464 [Ready])
978 * include/bits/stl_map.h (class map): Add at(const key_type&)
980 * include/bits/stl_vector.h (class vector): Add data() member
982 * include/debug/map.h (class map): Adjust consistently.
983 * include/debug/vector (class vector): Likewise.
984 * testsuite/23_containers/map/element_access/1.cc: New.
985 * testsuite/23_containers/vector/data_access/1.cc: Likewise.
986 * docs/html/ext/howto.html: Add an entry for DR 464.
988 2005-08-26 Benjamin Kosnik <bkoz@redhat.com>
990 PR libstdc++/20534 (contd)
991 * src/debug.cc (__gnu_debug): Remove __fancy_abort definition.
992 Remove cstdio and cstdlib includes.
993 * include/debug/debug.h: Define inline here. Remove
994 _GLIBCXX_DEBUG_ABORT.
995 * include/debug/macros.h: Remove __fancy_abort declaration,
996 _GLIBXX_DEBUG_ABORT definition.
997 * config/linker-map.gnu: Remove export.
999 2005-08-26 Benjamin Kosnik <bkoz@redhat.com>
1001 * scripts/check_compile (UNIQUE_ID): New. Use to name output files.
1003 2005-08-26 Paolo Carlini <pcarlini@suse.de>
1006 * include/tr1/array: Implement members back(), front(), data(),
1007 and the tuple interface; tidy.
1008 * testsuite/tr1/6_containers/array/element_access/back.cc: New.
1009 * testsuite/tr1/6_containers/array/element_access/data.cc: Likewise.
1010 * testsuite/tr1/6_containers/array/element_access/front.cc: Likewise.
1011 * testsuite/tr1/6_containers/array/tuple_interface/get.cc: Likewise.
1012 * testsuite/tr1/6_containers/array/tuple_interface/tuple_element.cc:
1014 * testsuite/tr1/6_containers/array/tuple_interface/tuple_size.cc:
1017 2005-08-25 Paolo Carlini <pcarlini@suse.de>
1019 * include/tr1/hashtable: Use __throw_exception_again,
1020 not naked throw, in the catch clauses.
1022 2005-08-24 Lawrence Lim <llim@redhat.com>
1023 Jakub Jelinek <jakub@redhat.com>
1024 Benjamin Kosnik <bkoz@redhat.com>
1027 * testsuite/21_strings/char_traits/requirements/char/1.cc
1028 (test01): Simplify counting.
1029 * testsuite/21_strings/char_traits/requirements/wchar_t/1.cc
1032 2005-08-24 Paolo Carlini <pcarlini@suse.de>
1033 Chris Jefferson <chris@bubblescope.net>
1036 * include/tr1/hashtable (hash_code_base::m_swap): Use
1038 (hashtable<>::hashtable(const hashtable&)): Use copy_code;
1039 fix m_allocate_node call.
1040 * testsuite/tr1/6_containers/unordered/hashtable/23465.cc: New.
1042 2005-08-23 Kelley Cook <kcook@gcc.gnu.org>
1045 * testsuite/data/sgetn.txt: Revert to previous FSF address.
1047 2005-08-23 Thomas Kho <tkho@ucla.edu>
1050 * include/bits/stl_construct.h (_Destroy(_ForwardIterator,
1051 _ForwardIterator, allocator<_Tp>)): Removed unused template parameter.
1053 2005-08-22 Geoffrey Keating <geoffk@apple.com>
1055 * testsuite/23_containers/vector/resize/1.cc: XFAIL on darwin8.
1056 * testsuite/27_io/ios_base/storage/2.cc: Likewise.
1058 2005-08-19 J"orn Rennecke <joern.rennecke@st.com>
1060 * config/cpu/sh/atomicity.h: Replace broken generic code with current
1061 copy of generic/atomicity.h .
1063 2005-08-17 Kelley Cook <kcook@gcc.gnu.org>
1065 * All files: Update FSF address.
1067 2005-08-09 Andrew Pinski <pinskia@physics.uc.edu>
1069 * testsuite/26_numerics/cmath/c99_classification_macros_c.cc:
1070 xfail on *-*-darwin*.
1072 2005-08-03 Geoffrey Keating <geoffk@apple.com>
1074 * configure.ac: Don't use GCC_NO_EXECUTABLES or clear
1075 GLIBCXX_IS_NATIVE on Darwin crosses.
1076 * acinclude.m4 (GLIBCXX_CONFIGURE_TESTSUITE): Don't skip configuring
1077 the testsuite just because there's no symbol versioning.
1078 * configure: Regenerate.
1080 * acinclude.m4 (GLIBCXX_CHECK_SETRLIMIT_ancilliary): Print
1082 (GLIBCXX_CHECK_S_ISREG_OR_S_IFREG): Likewise.
1083 (GLIBCXX_CHECK_POLL): Likewise.
1084 (GLIBCXX_CHECK_WRITEV): Likewise.
1085 (GLIBCXX_CHECK_INT64_T): Likewise.
1086 (GLIBCXX_CHECK_LFS): Likewise.
1087 * configure: Regenerate.
1089 2005-07-30 Andrew Pinski <pinskia@physics.uc.edu>
1091 * scripts/make_exports.pl: Pass --strip-underscores to c++filt.
1093 2005-07-29 H.J. Lu <hongjiu.lu@intel.com>
1096 * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Revert
1097 the change to info.ttype_base.
1099 2005-07-28 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
1101 * include/std/std_valarray.h: Fix grammar in comments.
1103 2005-07-25 Geoffrey Keating <geoffk@apple.com>
1105 * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Handle darwin-export,
1106 and make it the default for Darwin.
1107 * scripts/make-exports.pl: New.
1108 * src/Makefile.am: Update for changes to GLIBCXX_ENABLE_SYMVERS.
1109 Handle darwin-export.
1110 * configure: Regenerate.
1111 * include/Makefile.in: Regenerate.
1112 * libmath/Makefile.in: Regenerate.
1113 * libsupc++/Makefile.in: Regenerate.
1114 * po/Makefile.in: Regenerate.
1115 * src/Makefile.in: Regenerate.
1116 * testsuite/Makefile.in: Regenerate.
1118 2005-07-25 Dave Odell <evilalias@hotmail.com>
1121 * include/tr1/hashtable (hashtable<>::find_node): Const-ify.
1122 * testsuite/tr1/6_containers/unordered/hashtable/23053.cc: New.
1124 2005-07-25 Paolo Carlini <pcarlini@suse.de>
1127 * include/bits/basic_string.h: Declare the specialization
1128 operator>>(basic_istream<char>&, basic_string<char>&).
1129 * include/std/std_istream.h: Declate the specialization
1130 operator>>(basic_istream<char>&, char*).
1131 * include/std/std_streambuf.h (basic_streambuf): Add friend
1132 declarations for the above.
1133 * src/istream.cc: Define the above.
1134 * testsuite/27_io/basic_istream/extractors_character/char/4.cc: New.
1135 * testsuite/27_io/basic_istream/extractors_character/wchar_t/4.cc:
1137 * testsuite/performance/27_io/ifstream_extract_chars.cc: Likewise.
1139 2005-07-20 Paolo Carlini <pcarlini@suse.de>
1141 * include/bits/streambuf.tcc (xsgetn, xsputn): Use streamsize
1143 * src/streambuf.cc (__copy_streambufs): Likewise.
1145 2005-07-18 Paolo Carlini <pcarlini@suse.de>
1147 * config/locale/gnu/ctype_members.cc (do_is(mask, wchar_t)):
1148 Speed-up for the common case of mask == ctype_base::space;
1149 otherwise, exit the loop earlier if the mask is one of the
1152 2005-07-14 Paolo Carlini <pcarlini@suse.de>
1154 PR libstdc++/21193 (float, double, long double)
1155 * include/tr1/functional (hash<float>, hash<double>):
1156 Reimplement exploiting the Fnv_hash<>::hash helper.
1157 (hash<long double>): Reimplement using frexp (in this
1158 case, due to random padding bits, the former approach
1159 is not generally viable).
1161 2005-07-13 Paolo Carlini <pcarlini@suse.de>
1163 PR libstdc++/21193 (string & wstring)
1164 * include/tr1/functional (hash<string>, hash<wstring>):
1165 Reimplement using the FNV hash.
1167 * include/tr1/functional: Trivial formatting fixes.
1169 2005-07-11 Paolo Carlini <pcarlini@suse.de>
1171 * include/bits/ostream.tcc (basic_ostream<>::operator<<(long),
1172 basic_ostream<>::operator<<(long long)): Don't deal with oct
1173 and hex and casts to unsigned here...
1174 * include/bits/locale_facets.tcc (__int_to_char(_CharT*, long,
1175 const _CharT*, ios_base::fmtflags), __int_to_char(_CharT*, long
1176 long, const _CharT*, ios_base::fmtflags)): ... do that here,
1177 instead, as per Table 57.
1178 (num_put<>::_M_insert_int): Tidy treatment of numeric base and
1180 * include/std/std_ostream.h (operator<<(short), operator<<(int)):
1181 Adjust logic, as per the letter of the resolution of DR117 [WP].
1182 * testsuite/22_locale/num_put/put/char/10.cc: New.
1183 * testsuite/22_locale/num_put/put/wchar_t/10.cc: Likewise.
1184 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/7.cc:
1186 * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/7.cc:
1189 2005-07-07 David Edelsohn <edelsohn@gnu.org>
1191 * testsuite/ext/pb_assoc/example/tree_order_statistics_join.cc:
1192 Change map_t to map_type.
1194 2005-07-05 Paolo Carlini <pcarlini@suse.de>
1196 Add class __versa_string, a versatile "basic_string-type" class:
1197 an additional, non-standard, template parameter allows to specify
1198 the preferred base class. Two are provided: __rc_string_base,
1199 which implements a behavior very similar to our standard string,
1200 and __sso_string_base, not reference-counted and optimized for
1202 * include/ext/rc_string_base.h: New.
1203 * include/ext/sso_string_base.h: Likewise.
1204 * include/ext/vstring.h: Likewise.
1205 * include/ext/vstring.tcc: Likewise.
1206 * include/ext/vstring_fwd.h: Likewise.
1207 * include/ext/vstring_util.h: Likewise.
1208 * include/Makefile.am: Add.
1209 * include/Makefile.in: Regenerate.
1210 * testsuite/ext/vstring/explicit_instantiation/1.cc: New.
1211 * testsuite/ext/vstring/explicit_instantiation/2.cc: Likewise.
1212 * testsuite/ext/vstring/explicit_instantiation/char/1.cc: Likewise.
1213 * testsuite/ext/vstring/explicit_instantiation/wchar_t/1.cc: Likewise.
1215 * Makefile.in: Regenerate with autotools 1.9.3 (to date, the version
1216 officially used by v3).
1217 * aclocal.m4: Likewise.
1218 * libmath/Makefile.in: Likewise.
1219 * libsupc++/Makefile.in: Likewise.
1220 * po/Makefile.in: Likewise.
1221 * src/Makefile.in: Likewise.
1222 * testsuite/Makefile.in: Likewise.
1224 2005-07-01 Paolo Carlini <pcarlini@suse.de>
1226 Port from libstdcxx_so_7-branch:
1227 2004-10-28 Chris Jefferson <chris@bubblescope.net>
1230 * include/bit/stl_algo.h (find(,,,input_iterator_tag),
1231 find(,,,random_access_interator_tag),
1232 find_if(,,,input_iterator_tag),
1233 find_if(,,,random_access_iterator_tag)): Uglify function name.
1234 (find, find_if): Use new uglified specialisation names.
1235 * testsuite/25_algorithms/find/17441.cc: New.
1237 2005-06-30 Ulrich Weigand <uweigand@de.ibm.com>
1239 * include/ext/pb_assoc/detail/hash_fn/mask_based_range_hashing.hpp
1240 (PB_ASSOC_CLASS_C_DEC::s_highest_bit_1): Cast constant 1 to target
1241 type before shifting.
1243 2005-06-29 Paolo Carlini <pcarlini@suse.de>
1245 PR libstdc++/21244 (cont^2)
1246 * include/ext/bitmap_allocator.h: Convert everywhere
1247 bits_per_block to size_t.
1249 2005-06-29 Jonathan Wakely <redi@gcc.gnu.org>
1251 * include/bits/basic_string.h, include/bits/locale_facets.h: Fix
1252 Doxygen comments that use wrong parameter and function names.
1254 2005-06-29 Paolo Carlini <pcarlini@suse.de>
1256 * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 37.
1257 * docs/html/ext/howto.html: Adjust.
1259 2005-06-29 Paolo Carlini <pcarlini@suse.de>
1262 * include/bits/locale_facets.tcc (num_get<>::_M_extract_int,
1263 num_get<>::_M_extract_float, money_get<>::_M_extract):
1264 Adjust to assign the result also when digit grouping is
1265 wrong (but the grammar is correct), as per 22.2.2.1.2, p11-12
1266 (NB: consistently for money_get too).
1267 * config/locale/generic/c_locale.cc (__convert_to_v): Do
1268 not check ios_base::failbit at the outset.
1269 * config/locale/gnu/c_locale.cc: Likewise.
1270 * testsuite/22_locale/money_get/get/char/22131.cc: New.
1271 * testsuite/22_locale/money_get/get/wchar_t/22131.cc: Likewise.
1272 * testsuite/22_locale/num_get/get/char/22131.cc: Likewise.
1273 * testsuite/22_locale/num_get/get/wchar_t/22131.cc: Likewise.
1274 * testsuite/22_locale/num_get/get/char/12.cc: Adjust.
1275 * testsuite/22_locale/num_get/get/wchar_t/12.cc: Likewise.
1276 * testsuite/27_io/basic_istream/extractors_arithmetic/char/07.cc:
1278 * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/07.cc:
1281 2005-06-28 Paul Brook <paul@codesourcery.com>
1283 * acinclude.m4 (GLIBCXX_ENABLE_SJLJ_EXCEPTIONS): Check for
1285 * libsupc++/Makefile.am (sources): Add eh_call.c and eh_arm.c.
1286 * libsupc++/eh_arm.cc: New file.
1287 * libsupc++/eh_call.cc: New file.
1288 * libsupc++/eh_catch.cc (__cxa_get_exception_ptr): Use
1289 __gxx_caught_object.
1290 (__cxa_begin_catch): Ditto. Use __is_gxx_exception_class. Call
1291 _Unwind_Complete when using the ARM EABI.
1292 (__cxa_end_catch): Use __is_gxx_exception_class.
1293 * libsupc++/eh_personality.cc: Define NO_SIZE_OF_ENCODED_VALUE when
1295 (save_caught_exception, restore_caught_exception): New functions.
1296 (_throw_typet): New typedef.
1297 (get_ttype_entry, get_adjusted_ptr, check_exception_spec): Add ARM
1298 EABI implementations.
1299 (PERSONALITY_FUNCTION): Use new functions. Addd support for ARM EABI
1301 (__cxa_unexpected): Disable when using the ARM EABI.
1302 * libsupc++/eh_throw.cc (__cxa_throw): Use __GXX_INIT_EXCEPTION_CLASS.
1303 (__cxa_rethrow): Use __is_gxx_exception_class. Call
1304 _Unwind_RaiseException when using the ARM EABI.
1305 * libsupc++/unwind-cxx.h (struct __cxa_exception): Add fields for ARM
1307 (struct __cxa_eh_globals): Ditto.
1308 (__cxa_call_terminate): Add prototype.
1309 (__cxa_type_match, __cxa_begin_cleanup, __cxa_end_cleanup): Add
1311 (__get_exception_header_from_obj, __get_exception_header_from_ue):
1312 Move earlier in file.
1313 (__is_gxx_exception_class, __GXX_INIT_EXCEPTION_CLASS,
1314 __gxx_caught_object): New functions.
1315 * aclocal.m4: Regenerate.
1316 * configure: Regenerate.
1317 * Makefile.in: Regenerate.
1318 * include/Makefile.in: Regenerate.
1319 * libmath/Makefile.in: Regenerate.
1320 * libsupc++/Makefile.in: Regenerate.
1321 * po/Makefile.in: Regenerate.
1322 * src/Makefie.in: Regenerate.
1323 * testsuite/makefile.in: Regenerate.
1325 2005-06-27 Paolo Carlini <pcarlini@suse.de>
1328 * include/bits/stl_tree.h (insert_unique(iterator, const _Val&),
1329 insert_equal((iterator, const _Val&)): Reimplement to check both
1330 before and after, as per the algorithm "ignore hint if wrong" of
1333 2005-06-27 Benjamin Kosnik <bkoz@redhat.com>
1334 Ami Tavory <pbassoc@gmail.com>
1336 * docs/html/documentation.html: Add link for policy based
1337 associative containers docs.
1338 * docs/html/ext/pb_assoc/Std_hash_set_impl.jpg: New.
1339 * docs/html/ext/pb_assoc/acks.html: New.
1340 * docs/html/ext/pb_assoc/balls_and_bins.jpg: New.
1341 * docs/html/ext/pb_assoc/basic_assoc_cntnr.html: New.
1342 * docs/html/ext/pb_assoc/basic_assoc_cntnr_compound_data.html: New.
1343 * docs/html/ext/pb_assoc/basic_assoc_cntnr_no_data.html: New.
1344 * docs/html/ext/pb_assoc/basic_ds_tag.html: New.
1345 * docs/html/ext/pb_assoc/basic_hash_assoc_cntnr.html: New.
1346 * docs/html/ext/pb_assoc/basic_hash_ds_tag.html: New.
1347 * docs/html/ext/pb_assoc/basic_invalidation_guarantee.html: New.
1348 * docs/html/ext/pb_assoc/basic_ms_tag.html: New.
1349 * docs/html/ext/pb_assoc/basic_tree_assoc_cntnr.html: New.
1350 * docs/html/ext/pb_assoc/
1351 basic_tree_assoc_cntnr_const_node_iterator.html: New.
1352 * docs/html/ext/pb_assoc/
1353 basic_tree_assoc_cntnr_node_iterator.html: New.
1354 * docs/html/ext/pb_assoc/basic_tree_assoc_cntnr_rev.html: New.
1355 * docs/html/ext/pb_assoc/basic_tree_assoc_cntnr_rev_it.html: New.
1356 * docs/html/ext/pb_assoc/basic_tree_ds_tag.html: New.
1357 * docs/html/ext/pb_assoc/cc_hash_assoc_cntnr.html: New.
1358 * docs/html/ext/pb_assoc/cc_hash_ds_tag.html: New.
1359 * docs/html/ext/pb_assoc/
1360 cc_hash_max_collision_check_resize_trigger.html: New.
1361 * docs/html/ext/pb_assoc/cc_hash_policy_cd.jpg: New.
1362 * docs/html/ext/pb_assoc/cd.jpg: New.
1363 * docs/html/ext/pb_assoc/component_requirements.html: New.
1364 * docs/html/ext/pb_assoc/compound_data_enabled_ms_tag.html: New.
1365 * docs/html/ext/pb_assoc/compound_data_type.html: New.
1366 * docs/html/ext/pb_assoc/compound_ds_tag.html: New.
1367 * docs/html/ext/pb_assoc/concepts.html: New.
1368 * docs/html/ext/pb_assoc/contact.html: New.
1369 * docs/html/ext/pb_assoc/counter_update_metadata.html: New.
1370 * docs/html/ext/pb_assoc/counter_update_policy.html: New.
1371 * docs/html/ext/pb_assoc/data_enabled_ms_tag.html: New.
1372 * docs/html/ext/pb_assoc/design.html: New.
1373 * docs/html/ext/pb_assoc/different_underlying_dss.jpg: New.
1374 * docs/html/ext/pb_assoc/direct_mask_range_hashing.html: New.
1375 * docs/html/ext/pb_assoc/direct_mod_range_hashing.html: New.
1376 * docs/html/ext/pb_assoc/disclaimer.html: New.
1377 * docs/html/ext/pb_assoc/ds_gen.html: New.
1378 * docs/html/ext/pb_assoc/ds_tag_cd.jpg: New.
1379 * docs/html/ext/pb_assoc/ds_traits.html: New.
1380 * docs/html/ext/pb_assoc/embedded_lists_1.jpg: New.
1381 * docs/html/ext/pb_assoc/embedded_lists_2.jpg: New.
1382 * docs/html/ext/pb_assoc/examples.html: New.
1383 * docs/html/ext/pb_assoc/exception_guarantees_specifics.html: New.
1384 * docs/html/ext/pb_assoc/find_invalidation_guarantee.html: New.
1385 * docs/html/ext/pb_assoc/find_iterators_cd.jpg: New.
1386 * docs/html/ext/pb_assoc/find_iterators_range_ops_1.jpg: New.
1387 * docs/html/ext/pb_assoc/find_iterators_range_ops_2.jpg: New.
1388 * docs/html/ext/pb_assoc/generics.html: New.
1389 * docs/html/ext/pb_assoc/gp_hash_assoc_cntnr.html: New.
1390 * docs/html/ext/pb_assoc/gp_hash_ds_tag.html: New.
1391 * docs/html/ext/pb_assoc/gp_hash_policy_cd.jpg: New.
1392 * docs/html/ext/pb_assoc/hash_and_probe_general.html: New.
1393 * docs/html/ext/pb_assoc/hash_based_containers.html: New.
1394 * docs/html/ext/pb_assoc/hash_cd.jpg: New.
1395 * docs/html/ext/pb_assoc/hash_exponential_size_policy.html: New.
1396 * docs/html/ext/pb_assoc/hash_fn.html: New.
1397 * docs/html/ext/pb_assoc/hash_load_check_resize_trigger.html: New.
1398 * docs/html/ext/pb_assoc/hash_policies.html: New.
1399 * docs/html/ext/pb_assoc/hash_policy_cd.jpg: New.
1400 * docs/html/ext/pb_assoc/hash_prime_size_policy.html: New.
1401 * docs/html/ext/pb_assoc/hash_range_hashing_seq_diagram.jpg: New.
1402 * docs/html/ext/pb_assoc/hash_range_hashing_seq_diagram2.jpg: New.
1403 * docs/html/ext/pb_assoc/hash_ranged_hash_range_hashing_fns.jpg: New.
1404 * docs/html/ext/pb_assoc/hash_standard_resize_policy.html: New.
1405 * docs/html/ext/pb_assoc/home.html: New.
1406 * docs/html/ext/pb_assoc/index.html: New.
1407 * docs/html/ext/pb_assoc/insert_resize_sequence_diagram1.jpg: New.
1408 * docs/html/ext/pb_assoc/insert_resize_sequence_diagram2.jpg: New.
1409 * docs/html/ext/pb_assoc/insert_resize_sequence_diagram3.jpg: New.
1410 * docs/html/ext/pb_assoc/insert_type_methods.html: New.
1411 * docs/html/ext/pb_assoc/interface.html: New.
1412 * docs/html/ext/pb_assoc/interval_node_invariants.jpg: New.
1413 * docs/html/ext/pb_assoc/introduction.html: New.
1414 * docs/html/ext/pb_assoc/invalidation_guarantee_cd.jpg: New.
1415 * docs/html/ext/pb_assoc/invalidation_guarantee_erase.jpg: New.
1416 * docs/html/ext/pb_assoc/lib_download.html: New.
1417 * docs/html/ext/pb_assoc/linear_probe_fn.html: New.
1418 * docs/html/ext/pb_assoc/list_updates.html: New.
1419 * docs/html/ext/pb_assoc/lu_assoc_cntnr.html: New.
1420 * docs/html/ext/pb_assoc/lu_based_containers.html: New.
1421 * docs/html/ext/pb_assoc/lu_cd.jpg: New.
1422 * docs/html/ext/pb_assoc/lu_ds_tag.html: New.
1423 * docs/html/ext/pb_assoc/lu_ops.jpg: New.
1424 * docs/html/ext/pb_assoc/mmap_value_utils.html: New.
1425 * docs/html/ext/pb_assoc/motivation.html: New.
1426 * docs/html/ext/pb_assoc/move_to_front_update_metadata.html: New.
1427 * docs/html/ext/pb_assoc/move_to_front_update_policy.html: New.
1428 * docs/html/ext/pb_assoc/ms_cd.jpg: New.
1429 * docs/html/ext/pb_assoc/ms_gen.html: New.
1430 * docs/html/ext/pb_assoc/ms_tag_cd.jpg: New.
1431 * docs/html/ext/pb_assoc/ms_traits.html: New.
1432 * docs/html/ext/pb_assoc/node_invariant_invalidations.jpg: New.
1433 * docs/html/ext/pb_assoc/node_invariants.html: New.
1434 * docs/html/ext/pb_assoc/node_invariants.jpg: New.
1435 * docs/html/ext/pb_assoc/non_unique_mapping.html: New.
1436 * docs/html/ext/pb_assoc/non_unique_mapping_containers.jpg: New.
1437 * docs/html/ext/pb_assoc/null_data_type.html: New.
1438 * docs/html/ext/pb_assoc/null_hash_fn.html: New.
1439 * docs/html/ext/pb_assoc/null_probe_fn.html: New.
1440 * docs/html/ext/pb_assoc/order_by_key.html: New.
1441 * docs/html/ext/pb_assoc/order_statistics_key.html: New.
1442 * docs/html/ext/pb_assoc/order_statistics_key_cmp.html: New.
1443 * docs/html/ext/pb_assoc/order_statistics_node_updator.html: New.
1444 * docs/html/ext/pb_assoc/ov_tree_ds_tag.html: New.
1445 * docs/html/ext/pb_assoc/overview.html: New.
1446 * docs/html/ext/pb_assoc/pb_assoc_ex.html: New.
1447 * docs/html/ext/pb_assoc/portability.html: New.
1448 * docs/html/ext/pb_assoc/quadratic_probe_fn.html: New.
1449 * docs/html/ext/pb_assoc/range_invalidation_guarantee.html: New.
1450 * docs/html/ext/pb_assoc/rank_node_invariants.jpg: New.
1451 * docs/html/ext/pb_assoc/rationale_null_node_updator.jpg: New.
1452 * docs/html/ext/pb_assoc/rb_tree_ds_tag.html: New.
1453 * docs/html/ext/pb_assoc/reference_iterator.jpg: New.
1454 * docs/html/ext/pb_assoc/references.html: New.
1455 * docs/html/ext/pb_assoc/regression_tests.html: New.
1456 * docs/html/ext/pb_assoc/resize_general.html: New.
1457 * docs/html/ext/pb_assoc/resize_policies.html: New.
1458 * docs/html/ext/pb_assoc/resize_policy_cd.jpg: New.
1459 * docs/html/ext/pb_assoc/restoring_node_invariants.jpg: New.
1460 * docs/html/ext/pb_assoc/sample_node_updator.hpp: New.
1461 * docs/html/ext/pb_assoc/sample_probe_fn.hpp: New.
1462 * docs/html/ext/pb_assoc/sample_probe_fn.html: New.
1463 * docs/html/ext/pb_assoc/sample_range_hashing.hpp: New.
1464 * docs/html/ext/pb_assoc/sample_range_hashing.html: New.
1465 * docs/html/ext/pb_assoc/sample_ranged_hash_fn.hpp: New.
1466 * docs/html/ext/pb_assoc/sample_ranged_hash_fn.html: New.
1467 * docs/html/ext/pb_assoc/sample_ranged_probe_fn.hpp: New.
1468 * docs/html/ext/pb_assoc/sample_ranged_probe_fn.html: New.
1469 * docs/html/ext/pb_assoc/sample_resize_policy.hpp: New.
1470 * docs/html/ext/pb_assoc/sample_resize_policy.html: New.
1471 * docs/html/ext/pb_assoc/sample_resize_trigger.hpp: New.
1472 * docs/html/ext/pb_assoc/sample_size_policy.hpp: New.
1473 * docs/html/ext/pb_assoc/sample_update_policy.hpp: New.
1474 * docs/html/ext/pb_assoc/size_policies_general.html: New.
1475 * docs/html/ext/pb_assoc/splay_tree_ds_tag.html: New.
1476 * docs/html/ext/pb_assoc/timing_tests.html: New.
1477 * docs/html/ext/pb_assoc/toc.html: New.
1478 * docs/html/ext/pb_assoc/tree_assoc_cntnr.html: New.
1479 * docs/html/ext/pb_assoc/
1480 tree_assoc_cntnr_const_node_iterator.html: New.
1481 * docs/html/ext/pb_assoc/tree_assoc_cntnr_node_iterator.html: New.
1482 * docs/html/ext/pb_assoc/tree_based_containers.html: New.
1483 * docs/html/ext/pb_assoc/tree_cd.jpg: New.
1484 * docs/html/ext/pb_assoc/trigger_policies_general.html: New.
1485 * docs/html/ext/pb_assoc/tutorial.html: New.
1486 * docs/html/ext/pb_assoc/update_seq_diagram.jpg: New.
1487 * include/Makefile.am: Add assoc_srcdir, assoc_builddir, assoc_subdir,
1489 * include/Makefile.in: Regenerate.
1490 * include/ext/typelist.h: New.
1491 * include/ext/pb_assoc/assoc_cntnr.hpp: New.
1492 * include/ext/pb_assoc/data_type.hpp: New.
1493 * include/ext/pb_assoc/ds_trait.hpp: New.
1494 * include/ext/pb_assoc/exception.hpp: New.
1495 * include/ext/pb_assoc/hash_policy.hpp: New.
1496 * include/ext/pb_assoc/lu_policy.hpp: New.
1497 * include/ext/pb_assoc/ms_trait.hpp: New.
1498 * include/ext/pb_assoc/tree_policy.hpp: New.
1499 * include/ext/pb_assoc/trivial_iterator_def.hpp: New.
1500 * include/ext/pb_assoc/detail/assoc_cntnr_base.hpp: New.
1501 * include/ext/pb_assoc/detail/cond_dealtor.hpp: New.
1502 * include/ext/pb_assoc/detail/constructors_destructor_fn_imps.hpp: New.
1503 * include/ext/pb_assoc/detail/ds_trait_imp.hpp: New.
1504 * include/ext/pb_assoc/detail/hash_types_traits.hpp: New.
1505 * include/ext/pb_assoc/detail/map_debug_base.hpp: New.
1506 * include/ext/pb_assoc/detail/mapping_level_imp.hpp: New.
1507 * include/ext/pb_assoc/detail/ms_category_imp.hpp: New.
1508 * include/ext/pb_assoc/detail/ms_trait_imp.hpp: New.
1509 * include/ext/pb_assoc/detail/order_statistics_imp.hpp: New.
1510 * include/ext/pb_assoc/detail/standard_policies.hpp: New.
1511 * include/ext/pb_assoc/detail/standard_sizes.hpp: New.
1512 * include/ext/pb_assoc/detail/type_utils.hpp: New.
1513 * include/ext/pb_assoc/detail/typelist.hpp: New.
1514 * include/ext/pb_assoc/detail/types_traits.hpp: New.
1515 * include/ext/pb_assoc/detail/basic_assoc_cntnr/
1516 constructor_destructor_fn_imps.hpp: New.
1517 * include/ext/pb_assoc/detail/basic_assoc_cntnr/
1518 constructors_destructor_fn_imps.hpp: New.
1519 * include/ext/pb_assoc/detail/basic_assoc_cntnr/d_extract_key.hpp: New.
1520 * include/ext/pb_assoc/detail/basic_assoc_cntnr/
1521 d_find_fn_imps.hpp: New.
1522 * include/ext/pb_assoc/detail/basic_assoc_cntnr/
1523 d_insert_fn_imps.hpp: New.
1524 * include/ext/pb_assoc/detail/basic_assoc_cntnr/erase_fn_imps.hpp: New.
1525 * include/ext/pb_assoc/detail/basic_assoc_cntnr/extract_key.hpp: New.
1526 * include/ext/pb_assoc/detail/basic_assoc_cntnr/info_fn_imps.hpp: New.
1527 * include/ext/pb_assoc/detail/basic_assoc_cntnr/
1528 insert_fn_imps.hpp: New.
1529 * include/ext/pb_assoc/detail/basic_assoc_cntnr/
1530 iterators_fn_imps.hpp: New.
1531 * include/ext/pb_assoc/detail/basic_hash_assoc_cntnr/
1532 constructor_destructor_fn_imps.hpp: New.
1533 * include/ext/pb_assoc/detail/basic_hash_assoc_cntnr/
1534 constructors_destructor_fn_imps.hpp: New.
1535 * include/ext/pb_assoc/detail/basic_hash_assoc_cntnr/
1536 resize_fn_imps.hpp: New.
1537 * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
1538 constructor_destructor_fn_imps.hpp: New.
1539 * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
1540 constructors_destructor_fn_imps.hpp: New.
1541 * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
1542 erase_fn_imps.hpp: New.
1543 * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
1544 node_iteration_fn_imps.hpp: New.
1545 * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
1546 policy_access_fn_imps.hpp: New.
1547 * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
1548 r_erase_fn_imps.hpp: New.
1549 * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
1550 r_range_iteration_fn_imps.hpp: New.
1551 * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
1552 range_iteration_fn_imps.hpp: New.
1553 * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
1554 split_join_fn_imps.hpp: New.
1555 * include/ext/pb_assoc/detail/bin_search_tree_/
1556 bin_search_tree_.hpp: New.
1557 * include/ext/pb_assoc/detail/bin_search_tree_/
1558 cond_dtor_entry_dealtor.hpp: New.
1559 * include/ext/pb_assoc/detail/bin_search_tree_/
1560 cond_key_dtor_entry_dealtor.hpp: New.
1561 * include/ext/pb_assoc/detail/bin_search_tree_/
1562 constructors_destructor_fn_imps.hpp: New.
1563 * include/ext/pb_assoc/detail/bin_search_tree_/debug_fn_imps.hpp: New.
1564 * include/ext/pb_assoc/detail/bin_search_tree_/erase_fn_imps.hpp: New.
1565 * include/ext/pb_assoc/detail/bin_search_tree_/find_fn_imps.hpp: New.
1566 * include/ext/pb_assoc/detail/bin_search_tree_/find_iterators.hpp: New.
1567 * include/ext/pb_assoc/detail/bin_search_tree_/info_fn_imps.hpp: New.
1568 * include/ext/pb_assoc/detail/bin_search_tree_/insert_fn_imps.hpp: New.
1569 * include/ext/pb_assoc/detail/bin_search_tree_/
1570 iterators_fn_imps.hpp: New.
1571 * include/ext/pb_assoc/detail/bin_search_tree_/node_iterators.hpp: New.
1572 * include/ext/pb_assoc/detail/bin_search_tree_/
1573 r_erase_fn_imps.hpp: New.
1574 * include/ext/pb_assoc/detail/bin_search_tree_/rotate_fn_imps.hpp: New.
1575 * include/ext/pb_assoc/detail/bin_search_tree_/
1576 split_join_fn_imps.hpp: New.
1577 * include/ext/pb_assoc/detail/cc_hash_assoc_cntnr/
1578 constructor_destructor_fn_imps.hpp: New.
1579 * include/ext/pb_assoc/detail/cc_ht_map_/cc_ht_map_.hpp: New.
1580 * include/ext/pb_assoc/detail/cc_ht_map_/cmp_fn_imps.hpp: New.
1581 * include/ext/pb_assoc/detail/cc_ht_map_/
1582 cond_key_dtor_entry_dealtor.hpp: New.
1583 * include/ext/pb_assoc/detail/cc_ht_map_/
1584 constructor_destructor_fn_imps.hpp: New.
1585 * include/ext/pb_assoc/detail/cc_ht_map_/
1586 constructor_destructor_no_store_hash_fn_imps.hpp: New.
1587 * include/ext/pb_assoc/detail/cc_ht_map_/
1588 constructor_destructor_store_hash_fn_imps.hpp: New.
1589 * include/ext/pb_assoc/detail/cc_ht_map_/debug_fn_imps.hpp: New.
1590 * include/ext/pb_assoc/detail/cc_ht_map_/
1591 debug_no_store_hash_fn_imps.hpp: New.
1592 * include/ext/pb_assoc/detail/cc_ht_map_/
1593 debug_store_hash_fn_imps.hpp: New.
1594 * include/ext/pb_assoc/detail/cc_ht_map_/entry_list_fn_imps.hpp: New.
1595 * include/ext/pb_assoc/detail/cc_ht_map_/erase_fn_imps.hpp: New.
1596 * include/ext/pb_assoc/detail/cc_ht_map_/
1597 erase_no_store_hash_fn_imps.hpp: New.
1598 * include/ext/pb_assoc/detail/cc_ht_map_/
1599 erase_store_hash_fn_imps.hpp: New.
1600 * include/ext/pb_assoc/detail/cc_ht_map_/
1601 find_fn_imps.hpp: New.
1602 * include/ext/pb_assoc/detail/cc_ht_map_/
1603 find_no_store_hash_fn_imps.hpp: New.
1604 * include/ext/pb_assoc/detail/cc_ht_map_/
1605 find_store_hash_fn_imps.hpp: New.
1606 * include/ext/pb_assoc/detail/cc_ht_map_/info_fn_imps.hpp: New.
1607 * include/ext/pb_assoc/detail/cc_ht_map_/insert_fn_imps.hpp: New.
1608 * include/ext/pb_assoc/detail/cc_ht_map_/
1609 insert_no_store_hash_fn_imps.hpp: New.
1610 * include/ext/pb_assoc/detail/cc_ht_map_/
1611 insert_store_hash_fn_imps.hpp: New.
1612 * include/ext/pb_assoc/detail/cc_ht_map_/iterators_fn_imps.hpp: New.
1613 * include/ext/pb_assoc/detail/cc_ht_map_/
1614 policy_access_fn_imps.hpp: New.
1615 * include/ext/pb_assoc/detail/cc_ht_map_/resize_fn_imps.hpp: New.
1616 * include/ext/pb_assoc/detail/cc_ht_map_/
1617 resize_no_store_hash_fn_imps.hpp: New.
1618 * include/ext/pb_assoc/detail/cc_ht_map_/
1619 resize_store_hash_fn_imps.hpp: New.
1620 * include/ext/pb_assoc/detail/cc_ht_map_/size_fn_imps.hpp: New.
1621 * include/ext/pb_assoc/detail/cc_ht_map_/standard_policies.hpp: New.
1622 * include/ext/pb_assoc/detail/eq_fn/eq_by_less.hpp: New.
1623 * include/ext/pb_assoc/detail/eq_fn/hash_eq_fn.hpp: New.
1624 * include/ext/pb_assoc/detail/gp_hash_assoc_cntnr/
1625 constructor_destructor_fn_imps.hpp: New.
1626 * include/ext/pb_assoc/detail/gp_ht_map_/
1627 constructor_destructor_fn_imps.hpp: New.
1628 * include/ext/pb_assoc/detail/gp_ht_map_/
1629 constructor_destructor_no_store_hash_fn_imps.hpp: New.
1630 * include/ext/pb_assoc/detail/gp_ht_map_/
1631 constructor_destructor_store_hash_fn_imps.hpp: New.
1632 * include/ext/pb_assoc/detail/gp_ht_map_/debug_fn_imps.hpp: New.
1633 * include/ext/pb_assoc/detail/gp_ht_map_/
1634 debug_no_store_hash_fn_imps.hpp: New.
1635 * include/ext/pb_assoc/detail/gp_ht_map_/
1636 debug_store_hash_fn_imps.hpp: New.
1637 * include/ext/pb_assoc/detail/gp_ht_map_/erase_fn_imps.hpp: New.
1638 * include/ext/pb_assoc/detail/gp_ht_map_/
1639 erase_no_store_hash_fn_imps.hpp: New.
1640 * include/ext/pb_assoc/detail/gp_ht_map_/
1641 erase_store_hash_fn_imps.hpp: New.
1642 * include/ext/pb_assoc/detail/gp_ht_map_/find_fn_imps.hpp: New.
1643 * include/ext/pb_assoc/detail/gp_ht_map_/
1644 find_no_store_hash_fn_imps.hpp: New.
1645 * include/ext/pb_assoc/detail/gp_ht_map_/
1646 find_store_hash_fn_imps.hpp: New.
1647 * include/ext/pb_assoc/detail/gp_ht_map_/gp_ht_map_.hpp: New.
1648 * include/ext/pb_assoc/detail/gp_ht_map_/info_fn_imps.hpp: New.
1649 * include/ext/pb_assoc/detail/gp_ht_map_/insert_fn_imps.hpp: New.
1650 * include/ext/pb_assoc/detail/gp_ht_map_/
1651 insert_no_store_hash_fn_imps.hpp: New.
1652 * include/ext/pb_assoc/detail/gp_ht_map_/
1653 insert_store_hash_fn_imps.hpp: New.
1654 * include/ext/pb_assoc/detail/gp_ht_map_/iterator_fn_imps.hpp: New.
1655 * include/ext/pb_assoc/detail/gp_ht_map_/
1656 policy_access_fn_imps.hpp: New.
1657 * include/ext/pb_assoc/detail/gp_ht_map_/resize_fn_imps.hpp: New.
1658 * include/ext/pb_assoc/detail/gp_ht_map_/
1659 resize_no_store_hash_fn_imps.hpp: New.
1660 * include/ext/pb_assoc/detail/gp_ht_map_/
1661 resize_store_hash_fn_imps.hpp: New.
1662 * include/ext/pb_assoc/detail/hash_fn/
1663 direct_mask_range_hashing_imp.hpp: New.
1664 * include/ext/pb_assoc/detail/hash_fn/
1665 direct_mod_range_hashing_imp.hpp: New.
1666 * include/ext/pb_assoc/detail/hash_fn/linear_probe_fn_imp.hpp: New.
1667 * include/ext/pb_assoc/detail/hash_fn/
1668 mask_based_range_hashing.hpp: New.
1669 * include/ext/pb_assoc/detail/hash_fn/mod_based_range_hashing.hpp: New.
1670 * include/ext/pb_assoc/detail/hash_fn/probe_fn_base.hpp: New.
1671 * include/ext/pb_assoc/detail/hash_fn/quadratic_probe_fn_imp.hpp: New.
1672 * include/ext/pb_assoc/detail/hash_fn/ranged_hash_fn.hpp: New.
1673 * include/ext/pb_assoc/detail/hash_fn/ranged_probe_fn.hpp: New.
1674 * include/ext/pb_assoc/detail/lu_assoc_cntnr/
1675 constructor_destructor_fn_imps.hpp: New.
1676 * include/ext/pb_assoc/detail/lu_assoc_cntnr/
1677 policy_access_fn_imps.hpp: New.
1678 * include/ext/pb_assoc/detail/lu_map_/
1679 constructor_destructor_fn_imps.hpp: New.
1680 * include/ext/pb_assoc/detail/lu_map_/debug_fn_imps.hpp: New.
1681 * include/ext/pb_assoc/detail/lu_map_/erase_fn_imps.hpp: New.
1682 * include/ext/pb_assoc/detail/lu_map_/find_fn_imps.hpp: New.
1683 * include/ext/pb_assoc/detail/lu_map_/info_fn_imps.hpp: New.
1684 * include/ext/pb_assoc/detail/lu_map_/insert_fn_imps.hpp: New.
1685 * include/ext/pb_assoc/detail/lu_map_/iterators_fn_imps.hpp: New.
1686 * include/ext/pb_assoc/detail/lu_map_/lu_map_.hpp: New.
1687 * include/ext/pb_assoc/detail/lu_map_/policy_access_fn_imps.hpp: New.
1688 * include/ext/pb_assoc/detail/lu_policy/
1689 counter_lu_metadata_imp.hpp: New.
1690 * include/ext/pb_assoc/detail/lu_policy/counter_lu_policy_imp.hpp: New.
1691 * include/ext/pb_assoc/detail/lu_policy/mtf_lu_policy_imp.hpp: New.
1692 * include/ext/pb_assoc/detail/ov_tree_map_/cond_dtor.hpp: New.
1693 * include/ext/pb_assoc/detail/ov_tree_map_/
1694 constructors_destructor_fn_imps.hpp: New.
1695 * include/ext/pb_assoc/detail/ov_tree_map_/debug_fn_imps.hpp: New.
1696 * include/ext/pb_assoc/detail/ov_tree_map_/erase_fn_imps.hpp: New.
1697 * include/ext/pb_assoc/detail/ov_tree_map_/find_fn_imps.hpp: New.
1698 * include/ext/pb_assoc/detail/ov_tree_map_/info_fn_imps.hpp: New.
1699 * include/ext/pb_assoc/detail/ov_tree_map_/insert_fn_imps.hpp: New.
1700 * include/ext/pb_assoc/detail/ov_tree_map_/iterators_fn_imps.hpp: New.
1701 * include/ext/pb_assoc/detail/ov_tree_map_/node_iterators.hpp: New.
1702 * include/ext/pb_assoc/detail/ov_tree_map_/ov_tree_map_.hpp: New.
1703 * include/ext/pb_assoc/detail/ov_tree_map_/split_join_fn_imps.hpp: New.
1704 * include/ext/pb_assoc/detail/rb_tree_map_/
1705 constructors_destructor_fn_imps.hpp: New.
1706 * include/ext/pb_assoc/detail/rb_tree_map_/debug_fn_imps.hpp: New.
1707 * include/ext/pb_assoc/detail/rb_tree_map_/erase_fn_imps.hpp: New.
1708 * include/ext/pb_assoc/detail/rb_tree_map_/find_fn_imps.hpp: New.
1709 * include/ext/pb_assoc/detail/rb_tree_map_/info_fn_imps.hpp: New.
1710 * include/ext/pb_assoc/detail/rb_tree_map_/insert_fn_imps.hpp: New.
1711 * include/ext/pb_assoc/detail/rb_tree_map_/node.hpp: New.
1712 * include/ext/pb_assoc/detail/rb_tree_map_/rb_tree_.hpp: New.
1713 * include/ext/pb_assoc/detail/rb_tree_map_/split_join_fn_imps.hpp: New.
1714 * include/ext/pb_assoc/detail/resize_policy/
1715 cc_hash_max_collision_resize_trigger_imp.hpp: New.
1716 * include/ext/pb_assoc/detail/resize_policy/
1717 hash_exponential_size_policy_imp.hpp: New.
1718 * include/ext/pb_assoc/detail/resize_policy/
1719 hash_load_check_resize_trigger_imp.hpp: New.
1720 * include/ext/pb_assoc/detail/resize_policy/
1721 hash_prime_size_policy_imp.hpp: New.
1722 * include/ext/pb_assoc/detail/resize_policy/
1723 hash_standard_resize_policy_imp.hpp: New.
1724 * include/ext/pb_assoc/detail/resize_policy/
1725 ht_prime_size_policy_imp.hpp: New.
1726 * include/ext/pb_assoc/detail/resize_policy/size_base.hpp: New.
1727 * include/ext/pb_assoc/detail/splay_tree_/
1728 constructors_destructor_fn_imps.hpp: New.
1729 * include/ext/pb_assoc/detail/splay_tree_/debug_fn_imps.hpp: New.
1730 * include/ext/pb_assoc/detail/splay_tree_/erase_fn_imps.hpp: New.
1731 * include/ext/pb_assoc/detail/splay_tree_/find_fn_imps.hpp: New.
1732 * include/ext/pb_assoc/detail/splay_tree_/info_fn_imps.hpp: New.
1733 * include/ext/pb_assoc/detail/splay_tree_/insert_fn_imps.hpp: New.
1734 * include/ext/pb_assoc/detail/splay_tree_/node.hpp: New.
1735 * include/ext/pb_assoc/detail/splay_tree_/splay_fn_imps.hpp: New.
1736 * include/ext/pb_assoc/detail/splay_tree_/splay_tree_.hpp: New.
1737 * include/ext/pb_assoc/detail/splay_tree_/split_join_fn_imps.hpp: New.
1738 * include/ext/pb_assoc/detail/tree_assoc_cntnr/
1739 constructor_destructor_fn_imps.hpp: New.
1740 * include/ext/pb_assoc/detail/tree_policy/
1741 null_node_updator_imp.hpp: New.
1742 * include/ext/pb_assoc/detail/tree_policy/
1743 order_statistics_imp.hpp: New.
1744 * include/ext/pb_assoc/detail/typelist/typelist_append.hpp: New.
1745 * include/ext/pb_assoc/detail/typelist/typelist_apply.hpp: New.
1746 * include/ext/pb_assoc/detail/typelist/typelist_at_index.hpp: New.
1747 * include/ext/pb_assoc/detail/typelist/typelist_contains.hpp: New.
1748 * include/ext/pb_assoc/detail/typelist/typelist_filter.hpp: New.
1749 * include/ext/pb_assoc/detail/typelist/typelist_transform.hpp: New.
1750 * include/ext/pb_assoc/detail/typelist/
1751 typelist_typelist_append.hpp: New.
1752 * include/ext/pb_assoc/detail/unordered_iterator/
1753 const_find_iterator.hpp: New.
1754 * include/ext/pb_assoc/detail/unordered_iterator/
1755 const_iterator.hpp: New.
1756 * include/ext/pb_assoc/detail/unordered_iterator/
1757 find_iterator.hpp: New.
1758 * include/ext/pb_assoc/detail/unordered_iterator/iterator.hpp: New.
1759 * include/ext/pb_assoc/detail/value_type_adapter/
1760 constructor_destructor_and_related.hpp: New.
1761 * include/ext/pb_assoc/detail/value_type_adapter/
1762 erase_fn_imps.hpp: New.
1763 * include/ext/pb_assoc/detail/value_type_adapter/
1764 erase_if_pred.hpp: New.
1765 * include/ext/pb_assoc/detail/value_type_adapter/find_fn_imps.hpp: New.
1766 * include/ext/pb_assoc/detail/value_type_adapter/info_fn_imps.hpp: New.
1767 * include/ext/pb_assoc/detail/value_type_adapter/
1768 insert_fn_imps.hpp: New.
1769 * include/ext/pb_assoc/detail/value_type_adapter/
1770 invalidation_guarantee_selector.hpp: New.
1771 * include/ext/pb_assoc/detail/value_type_adapter/
1772 it_value_type_traits.hpp: New.
1773 * include/ext/pb_assoc/detail/value_type_adapter/iterator.hpp: New.
1774 * include/ext/pb_assoc/detail/value_type_adapter/
1775 iterator_fn_imps.hpp: New.
1776 * include/ext/pb_assoc/detail/value_type_adapter/ref_pair.hpp: New.
1777 * include/ext/pb_assoc/detail/value_type_adapter/
1778 value_type_adapter.hpp: New.
1779 * include/ext/pb_assoc/detail/value_type_adapter/
1780 value_type_traits.hpp: New.
1781 * testsuite/Makefile.am (CLEANFILES): Add .o, .dat, .cc.
1782 * testsuite/Makefile.in: Regenerate.
1783 * testsuite/testsuite_common_types.h: New.
1784 * testsuite/testsuite_visualization.h: New.
1785 * testsuite/ext/pb_assoc/example/basic_map.cc: New.
1786 * testsuite/ext/pb_assoc/example/basic_multimap.cc: New.
1787 * testsuite/ext/pb_assoc/example/basic_set.cc: New.
1788 * testsuite/ext/pb_assoc/example/ds_traits.cc: New.
1789 * testsuite/ext/pb_assoc/example/erase_if.cc: New.
1790 * testsuite/ext/pb_assoc/example/extract_key.cc: New.
1791 * testsuite/ext/pb_assoc/example/hash_find_neg.cc: New.
1792 * testsuite/ext/pb_assoc/example/hash_illegal_resize.cc: New.
1793 * testsuite/ext/pb_assoc/example/hash_initial_size.cc: New.
1794 * testsuite/ext/pb_assoc/example/hash_load_set_change.cc: New.
1795 * testsuite/ext/pb_assoc/example/hash_mod.cc: New.
1796 * testsuite/ext/pb_assoc/example/hash_resize.cc: New.
1797 * testsuite/ext/pb_assoc/example/hash_resize_neg.cc: New.
1798 * testsuite/ext/pb_assoc/example/hash_shift_mask.cc: New.
1799 * testsuite/ext/pb_assoc/example/mapping_level.cc: New.
1800 * testsuite/ext/pb_assoc/example/mapping_level_neg.cc: New.
1801 * testsuite/ext/pb_assoc/example/ms_traits.cc: New.
1802 * testsuite/ext/pb_assoc/example/ranged_hash.cc: New.
1803 * testsuite/ext/pb_assoc/example/store_hash.cc: New.
1804 * testsuite/ext/pb_assoc/example/tree_intervals.cc: New.
1805 * testsuite/ext/pb_assoc/example/tree_join.cc: New.
1806 * testsuite/ext/pb_assoc/example/tree_order_statistics.cc: New.
1807 * testsuite/ext/pb_assoc/example/tree_order_statistics_join.cc: New.
1808 * testsuite/ext/pb_assoc/example/tree_split.cc: New.
1809 * testsuite/performance/20_util/allocator/(insert.cc,
1810 insert_insert.cc, list_sort_search.cc, map_mt_find.cc, map_thread.cc,
1811 producer_consumer.cc): Recast to use typelists and move to...
1812 * testsuite/performance/23_containers/find/map.cc: New.
1813 * testsuite/performance/23_containers/index/map.cc: New.
1814 * testsuite/performance/23_containers/insert/associative.cc: New.
1815 * testsuite/performance/23_containers/insert/sequence.cc: New.
1816 * testsuite/performance/23_containers/insert_erase/associative.cc: New.
1817 * testsuite/performance/23_containers/producer_consumer/
1818 (associative.cc, sequence.cc): New.
1819 * testsuite/performance/23_containers/sort_search/list.cc: New.
1820 * testsuite/performance/23_containers/container_benchmark.cc: Remove.
1821 * testsuite/performance/23_containers/map_create_fill.cc: Move...
1822 * testsuite/performance/23_containers/create/map.cc: ...here.
1823 * testsuite/performance/23_containers/set_create_from_sorted.cc: Move.
1824 * testsuite/performance/23_containers/create_from_sorted/set.cc: here.
1825 * testsuite/performance/23_containers/list_create_fill_sort.cc: Move...
1826 * testsuite/performance/23_containers/create_sort/list.cc: ...here.
1827 * testsuite/performance/23_containers/set_insert_from_sorted.cc: Move.
1828 * testsuite/performance/23_containers/insert_from_sorted/set.cc: here.
1830 2005-06-23 Jakub Jelinek <jakub@redhat.com>
1833 * src/compatibility.cc (_GLIBCXX_SYMVER_COMPATIBILITY): Remove.
1834 (istreambuf_iterator, basic_fstream, basic_ifstream, basic_ofstream,
1835 _M_copy, _M_move, _M_assign, _M_disjunct, _M_check_length,
1836 _M_set_length_and_sharable, ignore, eq): Define to XX suffixed
1838 (ignore (streamsize)): Remove _W prefixed aliases.
1839 (_GLIBCXX_3_4_SYMVER_SPECIAL, _GLIBCXX_3_4_5_SYMVER_SPECIAL,
1840 _GLIBCXX_APPLY_SYMVER_SPECIAL): Remove.
1841 (_GLIBCXX_3_4_SYMVER, _GLIBCXX_3_4_5_SYMVER): Add XXname argument.
1842 Use #XXname instead of #name as the alias argument.
1843 * config/abi/compatibility.h: Replace uses of
1844 _GLIBCXX_APPLY_SYMVER_SPECIAL with _GLIBCXX_APPLY_SYMVER. Always
1845 pass 2 arguments to the _GLIBCXX_APPLY_SYMVER macro.
1846 * include/bits/char_traits.h (char_traits::eq): Revert 2005-06-15
1848 * acinclude.m4: Decrease glibcxx_min_gnu_ld_version back to 21400.
1849 * configure: Rebuilt.
1851 2005-06-19 Benjamin Kosnik <bkoz@redhat.com>
1854 * acinclude.m4 (GLIBCXX_CONFIGURE_TESTSUITE): Remove
1855 GLIBCXX_TEST_ABI. Remove duplicate _GLIBCXX_ASM_SYMVER define.
1856 Don't enable abi testing unless versioned.
1857 * configure: Regenerate.
1858 * testsuite/Makefile.am (check-abi): Remove conditional.
1859 * testsuite/Makefile.in: Regenerate.
1860 * testsuite/libstdc++-abi/abi.exp: Call build_support, then check
1861 v3-symver before proceeding.
1862 * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Set v3-symvers
1865 2005-06-17 Paolo Carlini <pcarlini@suse.de>
1867 Port from libstdcxx_so_7-branch:
1868 2005-01-12 Christopher Jefferson <chris@bubblescope.net>
1870 * include/bits/stl_function.h (mem_fun_t, const_mem_fun_t,
1871 mem_fun_ref_t, const_mem_fun_ref_t, mem_fun1_t, const_mem_fun1_t,
1872 mem_fun1_ref_t, const_mem_fun1_ref_t): Remove overloads for void
1873 return type, just an old HP/SGI workaround.
1874 * testsuite/20_util/functional/binders.cc: Move to...
1875 * testsuite/20_util/functional/binders/3113.cc: ...here.
1876 * testsuite/20_util/functional/binders/1.cc: New.
1878 2005-06-17 Jonathan Wakely <redi@gcc.gnu.org>
1880 * docs/html/21_strings/gotw29a.txt: Update code to corrected version.
1882 2005-06-17 Jakub Jelinek <jakub@redhat.com>
1883 Benjamin Kosnik <bkoz@redhat.com>
1885 * config/abi/alpha-linux-gnu/baseline_symbols.txt: Update.
1886 * config/abi/hppa-linux-gnu/baseline_symbols.txt: Same.
1887 * config/abi/mips-linux-gnu/baseline_symbols.txt: Same.
1888 * config/abi/sparc-linux-gnu/baseline_symbols.txt: Same.
1890 * config/abi/alpha-freebsd5/baseline_symbols.txt: Remove.
1891 * config/abi/i386-freebsd4/baseline_symbols.txt: Same.
1892 * config/abi/i386-freebsd5/baseline_symbols.txt: Same.
1893 * config/abi/sparc-freebsd5/baseline_symbols.txt: Same.
1895 * config/abi/arm-linux-gnu/baseline_symbols.txt: Remove.
1896 * config/abi/m68k-linux-gnu/baseline_symbols.txt: Same.
1898 2005-06-17 Jakub Jelinek <jakub@redhat.com>
1900 * config/abi/ia64-linux-gnu/baseline_symbols.txt: Update.
1901 * config/abi/s390x-linux-gnu/baseline_symbols.txt: Update.
1902 * config/abi/s390-linux-gnu/baseline_symbols.txt: Update.
1903 * config/abi/x86_64-linux-gnu/baseline_symbols.txt: Update.
1904 * config/abi/x86_64-linux-gnu/32/baseline_symbols.txt: Update.
1905 * config/abi/powerpc-linux-gnu/baseline_symbols.txt: Update.
1906 * config/abi/i486-linux-gnu/baseline_symbols.txt: Update.
1907 * config/abi/i386-linux-gnu/baseline_symbols.txt: Update.
1908 * config/abi/powerpc64-linux-gnu/baseline_symbols.txt: New file.
1909 * config/abi/powerpc64-linux-gnu/32/baseline_symbols.txt: New file.
1911 2005-06-16 Jakub Jelinek <jakub@redhat.com>
1913 * src/compatibility.cc: Include bits/c++config.h first.
1914 (_GLIBCXX_SYMVER_COMPATIBILITY): Define if _GLIBCXX_SYMVER
1915 and PIC are both defined.
1916 * include/bits/char_traits.h (char_traits::eq): Rename
1917 only if _GLIBCXX_SYMVER_COMPATIBILITY is defined.
1919 2005-06-16 Jakub Jelinek <jakub@redhat.com>
1921 * acinclude.m4 ((GLIBCXX_ENABLE_SYMVERS): Rename _GLIBCXX_SIZE_T_IS_INT
1922 to _GLIBCXX_SIZE_T_IS_UINT. Define _GLIBCXX_PTRDIFF_T_IS_INT.
1923 * configure: Regenerate.
1924 * config.h.in: Regenerate.
1925 * src/compatibility.cc (istream:ignore(streamsize)): Use
1926 _GLIBCXX_PTRDIFF_T_IS_INT instead of _GLIBCXX_SIZE_T_IS_INT.
1927 * config/abi/compatibility.h: Rename _GLIBCXX_SIZE_T_IS_INT
1928 to _GLIBCXX_SIZE_T_IS_UINT. Use _GLIBCXX_PTRDIFF_T_IS_INT
1929 instead for symbols with streamsize arguments.
1931 2005-06-16 Jakub Jelinek <jakub@redhat.com>
1933 * config/linker-map.gnu: Also export
1934 _ZNSt13basic_istreamIwSt11char_traitsIwEE6ignoreE[il][il].
1936 2005-06-15 Benjamin Kosnik <bkoz@redhat.com>
1938 * configure.ac (libtool_VERSION): To 6:6:0.
1939 * configure: Regenerate.
1940 * config/linker-map.gnu: Edit.
1941 * src/istream.cc: Move istream::ignore(streamsize) specializations...
1942 * src/compatibility.cc: ...here. New.
1943 * include/bits/char_traits.h (char_traits::eq): Rename when
1945 * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Define _GLIBCXX_SIZE_T_IS_INT.
1946 Bump glibcxx_min_gnu_ld_version to 21590.
1947 * configure: Regenerate.
1948 * acconfig.h: Remove _GLIBCXX_ASM_SYMVER.
1949 * config.h.in: Regenerate.
1950 * src/Makefile.am (sources): Add compatibility.cc.
1951 * src/Makefile.in: Regenerate.
1952 * include/Makefile.am (host_headers_noinst): Add compatibility.h.
1953 * include/Makefile.in: Regenerate.
1954 * testsuite/testsuite_abi.h (symbol): Add data members.
1955 * testsuite/testsuite_abi.cc (check_version): Add GLIBCXX_3.4.5,
1956 GLIBCXX_3.4.6. Remove deprecated versions. Do a better job
1959 2005-06-15 Paolo Carlini <pcarlini@suse.de>
1961 * include/tr1/hashtable: Trivial formatting fixes.
1962 * include/tr1/unordered_map: Likewise.
1963 * include/tr1/unordered_set: Likewise.
1965 2005-06-14 Tom Tromey <tromey@redhat.com>
1968 * configure, aclocal.m4: Rebuilt.
1969 * Makefile.in, include/Makefile.in, libmath/Makefile.in,
1970 libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in,
1971 testsuite/Makefile.in: Likewise.
1973 2005-06-08 Benjamin Kosnik <bkoz@redhat.com>
1976 * include/std/std_sstream.h (basic_stringbuf::showmanyc): Add.
1977 Remove unnecessary this->_M_mode decoration.
1978 * include/bits/fstream.tcc: Adjust line spacing.
1979 * testsuite/27_io/basic_streambuf/in_avail/char/1.cc: New, test
1980 base class behavior.
1981 * testsuite/27_io/basic_streambuf/in_avail/wchar_t/1.cc: Same.
1982 * testsuite/27_io/basic_stringbuf/in_avail/char/21955.cc: New.
1983 * testsuite/27_io/basic_stringbuf/in_avail/char/1.cc: Match
1985 * testsuite/27_io/basic_stringbuf/in_avail/wchar_t/1.cc: Same.
1986 * testsuite/27_io/basic_stringbuf/str/wchar_t/1.cc: Same.
1987 * testsuite/27_io/basic_stringbuf/str/char/1.cc: Same.
1988 * testsuite/27_io/basic_streambuf/in_avail/char/9701-3.cc: Move...
1989 * testsuite/27_io/basic_filebuf/in_avail/char/9701-3.cc: ...here.
1991 2005-06-07 Benjamin Kosnik <bkoz@redhat.com>
1993 * acinclude.m4 (GLIBCXX_ENABLE_C99): Use C++ compiler for complex
1995 * configure: Regenerated.
1997 2005-06-07 Adrian Straetling <straetling@de.ibm.com>
1999 * config/cpu/s390/atomicity.h: (__exchange_and_add,
2000 __atomic_add): Use the builtins for atomic memory operations.
2002 2005-06-06 Paolo Carlini <pcarlini@suse.de>
2004 PR libstdc++/21770 (cont: __gnu_debug::string)
2005 * include/debug/string: Use _Base typedefs for pointer, const_pointer,
2006 reference, const_reference, size_type, difference_type.
2007 * testsuite/21_strings/basic_string/2.cc: New.
2009 2005-06-06 Paolo Carlini <pcarlini@suse.de>
2011 PR libstdc++/21770 (cont: debug-mode)
2012 * include/debug/deque: Use _Base typedefs for pointer, const_pointer,
2013 reference, const_reference.
2014 * include/debug/list: Likewise.
2015 * include/debug/map.h: Likewise.
2016 * include/debug/multimap.h: Likewise.
2017 * include/debug/multiset.h: Likewise.
2018 * include/debug/set.h: Likewise.
2019 * include/debug/vector: Likewise.
2021 2005-06-06 Paolo Carlini <pcarlini@suse.de>
2023 Port from libstdcxx_so_7-branch:
2024 2004-09-24 Paolo Carlini <pcarlini@suse.de>
2025 Jonathan Wakely <redi@gcc.gnu.org>
2027 * include/bits/stl_list.h (list::list(size_type, value_type,
2028 const allocator_type&): Implement according to the letter of the
2029 standard, i.e., don't use two overloads, not equivalent in case
2030 of non default constructible T.
2031 (list::resize(size_type, const value_type&)): Fix the signature:
2032 according to the standard the second argument is by value; also,
2033 don't use two overloads.
2034 * include/bits/list.tcc (list::resize(size_type, const value_type&)):
2035 Adjust consistently the signature.
2036 * include/bits/stl_deque.h (deque::deque(size_type, value_type,
2037 const allocator_type&)): Likewise.
2038 (deque::resize(size_type, const value_type&)): Likewise.
2039 * include/bits/stl_vector.h (vector::vector(size_type, value_type,
2040 const allocator_type&)): Likewise.
2041 (vector::resize(size_type, const value_type&)): Likewise.
2042 * testsuite/testsuite_hooks.h: Add NonDefaultConstructible test type.
2043 * testsuite/23_containers/deque/explicit_instantiation/2.cc: New.
2044 * testsuite/23_containers/list/explicit_instantiation/2.cc: New.
2045 * testsuite/23_containers/map/explicit_instantiation/2.cc: New.
2046 * testsuite/23_containers/multimap/explicit_instantiation/2.cc: New.
2047 * testsuite/23_containers/multiset/explicit_instantiation/2.cc: New.
2048 * testsuite/23_containers/set/explicit_instantiation/2.cc: New.
2049 * testsuite/23_containers/vector/explicit_instantiation/2.cc: New.
2051 * include/bits/deque.tcc: Minor formatting fix.
2053 2005-06-06 Peter Doerfler <doerfler@techinfo.rwth-aachen.de>
2055 * include/bits/stl_function.h: ... and another one.
2057 2005-06-06 Peter Doerfler <doerfler@techinfo.rwth-aachen.de>
2059 * include/bits/stl_function.h: Fix typo in comment.
2061 2005-06-05 Paolo Carlini <pcarlini@suse.de>
2063 * acinclude.m4 ([GLIBCXX_ENABLE_C99]): Check clog, clogf, clogl
2064 too for ac_c99_complex.
2065 * configure: Regenerate.
2067 2005-06-03 Paolo Carlini <pcarlini@suse.de>
2070 * include/bits/stl_deque.h: Add concept-check. In class _Deque_base
2071 rebind _Alloc to _Tp_alloc_type, change _Deque_impl to inherit from
2072 the latter and add _M_get_Tp_allocator() which returns it. Use
2073 everywhere _M_get_Tp_allocator() instead of get_allocator().
2074 * include/bits/deque.tcc: Likewise, use _M_get_Tp_allocator().
2075 * include/bits/stl_list.h: Add concept-check. In class _List_base
2076 rebind _Alloc to _Tp_alloc_type and add _M_get_Tp_allocator(), which
2077 returns the allocator (of type _Node_alloc_type) converted to
2078 _Tp_alloc_type. Use everywhere _M_get_Tp_allocator() instead of
2080 * include/bits/list.tcc: Likewise, use _M_get_Tp_allocator().
2081 * include/bits/stl_vector.h: Add concept-check. In class _Vector_base
2082 rebind _Alloc to _Tp_alloc_type, change _Vector_impl to inherit from
2083 the latter and add _M_get_Tp_allocator() which returns it. Use
2084 everywhere _M_get_Tp_allocator() instead of get_allocator().
2085 * include/bits/vector.tcc: Likewise, use _M_get_Tp_allocator().
2086 * include/bits/stl_map.h: Add concept-check. Rebind _Alloc to
2087 _Pair_alloc_type and use it for _Rb_tree.
2088 * include/bits/stl_multimap.h: Likewise.
2089 * include/bits/stl_multiset.h: Add concept-check. Rebind _Alloc to
2090 _Key_alloc_type and use it for _Rb_tree.
2091 * include/bits/stl_set.h: Likewise.
2092 * include/bits/basic_string.h: Rebind _Alloc to _CharT_alloc_type and
2093 use it for the allocator typedefs.
2094 * testsuite/21_strings/basic_string/1.cc: New.
2095 * testsuite/23_containers/deque/explicit_instantiation.cc: Move to...
2096 * testsuite/23_containers/deque/explicit_instantiation/1.cc: ... here.
2097 * testsuite/23_containers/deque/explicit_instantiation/3.cc: New.
2098 * testsuite/23_containers/list/explicit_instantiation.cc: Move to...
2099 * testsuite/23_containers/list/explicit_instantiation/1.cc: ... here.
2100 * testsuite/23_containers/list/explicit_instantiation/3.cc: New.
2101 * testsuite/23_containers/map/explicit_instantiation.cc: Move to...
2102 * testsuite/23_containers/map/explicit_instantiation/1.cc: ... here.
2103 * testsuite/23_containers/map/explicit_instantiation/3.cc: New.
2104 * testsuite/23_containers/multimap/explicit_instantiation.cc: Move to...
2105 * testsuite/23_containers/multimap/explicit_instantiation/1.cc: .. here.
2106 * testsuite/23_containers/multimap/explicit_instantiation/3.cc: New.
2107 * testsuite/23_containers/multiset/explicit_instantiation.cc: Move to...
2108 * testsuite/23_containers/multiset/explicit_instantiation/1.cc: .. here.
2109 * testsuite/23_containers/multiset/explicit_instantiation/3.cc: New.
2110 * testsuite/23_containers/set/explicit_instantiation.cc: Move to...
2111 * testsuite/23_containers/set/explicit_instantiation/1.cc: .. here.
2112 * testsuite/23_containers/set/explicit_instantiation/3.cc: New.
2113 * testsuite/23_containers/vector/explicit_instantiation.cc: Move to...
2114 * testsuite/23_containers/vector/explicit_instantiation/1.cc: ... here.
2115 * testsuite/23_containers/vector/explicit_instantiation/3.cc: New.
2117 2005-06-02 Nathan Sidwell <nathan@codesourcery.com>
2120 * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust expected errors.
2121 * testsuite/27_io/ios_base/cons/copy_neg.cc: Likewise.
2123 2005-05-31 Paolo Carlini <pcarlini@suse.de>
2125 PR libstdc++/20534 (contd)
2126 * include/debug/macros.h: Add _GLIBCXX_DEBUG_ABORT, using
2127 __gnu_debug::__fancy_abort.
2128 * src/debug.cc: Define the latter.
2129 * include/debug/debug.h: Use _GLIBCXX_DEBUG_ABORT instead of
2131 * config/linker-map.gnu (__gnu_debug::__fancy_abort): Add.
2133 2005-05-30 Paolo Carlini <pcarlini@suse.de>
2135 * include/std/std_complex.h (log(const complex<_Tp>&)): When
2136 _GLIBCXX_USE_C99_COMPLEX, forward to __builtin_clog/clogf/clogl.
2138 2005-05-28 Paolo Carlini <pcarlini@suse.de>
2141 2005-05-18 Paolo Carlini <pcarlini@suse.de>
2142 Nathan Myers <ncm@cantrip.org>
2145 * include/bits/basic_string.h (_Raw_bytes_alloc): Rebind to
2146 size_type instead of char and rename to _Raw_alloc.
2147 * include/bits/basic_string.tcc (_Rep::_M_destroy, _Rep::_S_create):
2149 * src/bitmap_allocator.cc: Add instantiation for size_type.
2150 * src/mt_allocator.cc: Likewise.
2151 * src/pool_allocator.cc: Likewise.
2152 * include/ext/array_allocator.h: Tweak slightly, avoid assuming
2153 the existence of an _Array::begin() and size() members.
2154 * testsuite/ext/array_allocator/2.cc: Tweak to use an allocator
2155 of size_type, instead of char, thus avoiding problems with
2156 rebinds, not treated correctly by array_allocator.
2158 2005-05-27 Paolo Carlini <pcarlini@suse.de>
2160 * docs/html/abi.html: Mention 3.4.0 as the current baseline; add
2161 a notice about the configure options.
2163 2005-05-27 Mark Mitchell <mark@codesourcery.com>
2165 * docs/html/test.html: Mention PCH_CXXFLAGS.
2166 * testsuite/lib/libstdc++.exp: Set PCH_CXXFLAGS by probing for an
2167 available stcd++.h PCH.
2168 * testsuite/libstdc++-dg/normal.exp: Use PCH_CXXFLAGS.
2170 2005-05-27 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
2172 * src/misc-inst.cc: Remove unnecessary included files.
2174 2005-05-27 Benjamin Kosnik <bkoz@redhat.com>
2177 * include/bits/c++config: Remove extern template use when in debug
2178 mode, disable for non-weak systems.
2180 2005-05-27 Benjamin Kosnik <bkoz@redhat.com>
2183 * include/debug/debug.h: Forwarding header, that pulls in details
2184 only if in debug mode.
2185 * include/debug/macros.h: ...transfer all the internal macros here.
2186 * include/debug/functions.h: ...transfer all the functions here.
2187 * include/debug/safe_iterator.h: Add functions.h, macros.h includes.
2188 * include/debug/safe_sequence.h: Same.
2189 * include/debug/vector: Tweak.
2190 * include/Makefile.am (debug_headers): Add new includes.
2191 * include/Makefile.in: Regenerate.
2192 * testsuite/17_intro/no_assert_neg.cc: Add.
2194 * include/ext/hash_set: Add debug mode include.
2195 * include/ext/hash_map: Same.
2196 * include/debug/hash_map: Fix included files to match actual files.
2197 * include/debug/hash_set: Same.
2199 2005-05-26 Paolo Carlini <pcarlini@suse.de>
2202 * include/c_std/std_cstdlib.h: Do not open code llabs and lldiv,
2203 available when _GLIBCXX_USE_C99 is defined.
2204 * testsuite/26_numerics/cstdlib/13943.cc: New.
2206 * acinclude.m4 ([GLIBCXX_ENABLE_C99]): For completeness, check
2207 also strtoll and strtoull for ac_c99_stdlib.
2208 * configure: Regenerate.
2210 2005-05-25 Benjamin Kosnik <bkoz@redhat.com>
2212 * config/linker-map.gnu: Add linkage support for no extern templates.
2213 (std::ios_base::_M_call_callbacks): Add.
2214 (std::ios_base::_M_dispose_callbacks): Add.
2215 (std::locale::facet::_S_get_c_name): Add.
2216 (std::__copy_streambufs): Add.
2217 * configure.ac (libtool_VERSION): To 6:5:0.
2218 * configure: Regenerate.
2219 * testsuite/testsuite_abi.cc (check_version): Add GLIBCXX_3.4.5.
2221 2005-05-25 Paolo Carlini <pcarlini@suse.de>
2223 * include/bits/basic_string.h (_Rep::_M_set_length_and_sharable):
2224 Use, consistently, traits_type::assign.
2226 2005-05-25 Paolo Carlini <pcarlini@suse.de>
2228 * config/cpu/alpha/atomicity.h: Use the builtins for
2229 atomic memory operations.
2230 * config/cpu/powerpc/atomicity.h: Likewise.
2231 * config/cpu/ia64/atomicity.h: Do not include ia64intrin.h.
2233 2005-05-24 Paolo Carlini <pcarlini@suse.de>
2235 * testsuite/25_algorithms/equal.cc: Move to...
2236 * testsuite/25_algorithms/equal: ... here.
2237 * testsuite/25_algorithms/lower_bound.cc: Move to...
2238 * testsuite/25_algorithms/lower_bound: ... here.
2240 2005-05-24 Paolo Carlini <pcarlini@suse.de>
2242 Port from libstdcxx_so_7-branch:
2243 2005-20-05 Chris Jefferson <chris@bubblescope.net>
2245 * testsuite/25_algorithms/heap.cc: Move to...
2246 * testsuite/25_algorithms/heap/heap.cc: ...here.
2247 * testsuite/25_algorithms/partition.cc: Move to...
2248 * testsuite/25_algorithms/partition/partition.cc: ...here.
2250 2005-03-29 Christopher Jefferson <chris@bubblescope.net>
2252 * testsuite/25_algorithms/includes/1.cc: Add tests.
2253 * testsuite/25_algorithms/search/1.cc: Likewise.
2254 * testsuite/25_algorithms/unique_copy/1.cc: Likewise.
2255 * testsuite/25_algorithms/swap_ranges/1.cc: New.
2256 * testsuite/25_algorithms/swap_ranges/check_type.cc: New.
2257 * testsuite/25_algorithms/rotate.cc: Move to...
2258 * testsuite/25_algorithms/rotate/rotate.cc: ... here.
2259 * testsuite/25_algorithms/rotate/1.cc: New.
2260 * testsuite/25_algorithms/rotate/check_type.cc: New.
2261 * testsuite/25_algorithms/search_n/iterator.cc: Fix typo.
2263 2005-03-14 Christopher Jefferson <chris@bubblescope.net>
2265 * include/bits/stl_algo.h (replace_copy, replace_copy_if):
2266 Don't assume that __new_value and *__first are convertible to
2269 * testsuite/25_algorithms/find/1.cc: New.
2270 * testsuite/25_algorithms/find/check_type.cc: New.
2271 * testsuite/25_algorithms/find_if/1.cc: New.
2272 * testsuite/25_algorithms/find_if/check_type.cc: New.
2273 * testsuite/25_algorithms/replace/1.cc: New.
2274 * testsuite/25_algorithms/replace/check_type.cc: New.
2275 * testsuite/25_algorithms/replace_if/1.cc: New.
2276 * testsuite/25_algorithms/replace_if/check_type.cc: New.
2277 * testsuite/25_algorithms/replace_copy/1.cc: New.
2278 * testsuite/25_algorithms/replace_copy/check_type.cc: New.
2279 * testsuite/25_algorithms/replace_copy_if/1.cc: New.
2280 * testsuite/25_algorithms/replace_copy_if/check_type.cc: New.
2281 * testsuite/25_algorithms/remove/1.cc: New.
2282 * testsuite/25_algorithms/remove/check_type.cc: New.
2283 * testsuite/25_algorithms/remove_if/1.cc: New.
2284 * testsuite/25_algorithms/remove_if/check_type.cc: New.
2285 * testsuite/25_algorithms/count/1.cc: New.
2286 * testsuite/25_algorithms/count/check_type.cc: New.
2287 * testsuite/25_algorithms/count_if/1.cc: New.
2288 * testsuite/25_algorithms/count_if/check_type.cc: New.
2290 2005-02-27 Christopher Jefferson <chris@bubblescope.net>
2291 Paolo Carlini <pcarlini@suse.de>
2293 * testsuite/ext/is_heap/check_type.cc: New.
2295 2005-02-27 Paolo Carlini <pcarlini@suse.de>
2297 * testsuite/ext/is_heap/1.cc: New.
2299 2005-02-01 Christopher Jefferson <chris@bubblescope.net>
2301 * testsuite/ext/median.cc: New.
2302 * testsuite/25_algorithms/adjacent_find/1.cc: New.
2303 * testsuite/25_algorithms/adjacent_find/check_type.cc: New.
2304 * testsuite/25_algorithms/search/1.cc: New.
2305 * testsuite/25_algorithms/search/check_type.cc: New.
2306 * testsuite/25_algorithms/unique_copy/1.cc: New.
2307 * testsuite/25_algorithms/unique_copy/check_type.cc: New.
2308 * testsuite/25_algorithms/partial_sort/1.cc: New.
2309 * testsuite/25_algorithms/partial_sort/check_type.cc: New.
2310 * testsuite/25_algorithms/partial_sort_copy/1.cc: New.
2311 * testsuite/25_algorithms/partial_sort_copy/check_type.cc: New.
2312 * testsuite/25_algorithms/lower_bound/1.cc: New.
2313 * testsuite/25_algorithms/lower_bound/check_type.cc: New.
2314 * testsuite/25_algorithms/upper_bound/1.cc: New.
2315 * testsuite/25_algorithms/upper_bound/check_type.cc: New.
2316 * testsuite/25_algorithms/merge/1.cc: New.
2317 * testsuite/25_algorithms/merge/check_type.cc: New.
2318 * testsuite/25_algorithms/inplace_merge/1.cc: New.
2319 * testsuite/25_algorithms/inplace_merge/check_type.cc: New.
2320 * testsuite/25_algorithms/stable_sort/1.cc: New.
2321 * testsuite/25_algorithms/stable_sort/check_type.cc: New.
2322 * testsuite/25_algorithms/nth_element/1.cc: New.
2323 * testsuite/25_algorithms/nth_element/check_type.cc: New.
2324 * testsuite/25_algorithms/equal_range/1.cc: New.
2325 * testsuite/25_algorithms/equal_range/check_type.cc: New.
2326 * testsuite/25_algorithms/binary_search/1.cc: New.
2327 * testsuite/25_algorithms/binary_search/check_type.cc: New.
2328 * testsuite/25_algorithms/includes/1.cc: New.
2329 * testsuite/25_algorithms/includes/check_type.cc: New.
2330 * testsuite/25_algorithms/set_union/1.cc: New.
2331 * testsuite/25_algorithms/set_union/check_type.cc: New.
2332 * testsuite/25_algorithms/set_intersection/1.cc: New.
2333 * testsuite/25_algorithms/set_intersection/check_type.cc: New.
2334 * testsuite/25_algorithms/set_difference/1.cc: New.
2335 * testsuite/25_algorithms/set_difference/check_type.cc: New.
2336 * testsuite/25_algorithms/set_symmetric_difference/1.cc: New.
2337 * testsuite/25_algorithms/set_symmetric_difference/check_type.cc: New.
2338 * testsuite/25_algorithms/min_element/1.cc: New.
2339 * testsuite/25_algorithms/min_element/check_type.cc: New.
2340 * testsuite/25_algorithms/max_element/1.cc: New.
2341 * testsuite/25_algorithms/max_element/check_type.cc: New.
2342 * testsuite/25_algorithms/prev_permutation/1.cc: New.
2343 * testsuite/25_algorithms/prev_permutation/check_type.cc: New.
2344 * testsuite/25_algorithms/next_permutation/1.cc: New.
2345 * testsuite/25_algorithms/next_permutation/check_type.cc: New.
2346 * testsuite/25_algorithms/find_first_of/1.cc: New.
2347 * testsuite/25_algorithms/find_first_of/check_type.cc: New.
2348 * testsuite/25_algorithms/find_end/1.cc: New.
2349 * testsuite/25_algorithms/find_end/check_type.cc: New.
2350 * testsuite/25_algorithms/equal/check_type.cc: Insert iterator type.
2351 * testsuite/25_algorithms/lexicographical_compare/check_type.cc:
2354 2005-01-10 Christopher Jefferson <chris@bubblescope.net>
2356 * testsuite/25_algorithms/lexicographical_compare/check_type.cc: New.
2357 * testsuite/25_algorithms/lexicographical_compare/1.cc: Likewise.
2358 * testsuite/25_algorithms/mismatch/check_type.cc: Likewise.
2359 * testsuite/25_algorithms/mismatch/1.cc: Likewise.
2360 * testsuite/25_algorithms/equal/check_type.cc: New.
2361 * testsuite/25_algorithms/equal/1.cc: New.
2363 2005-05-24 Benjamin Kosnik <bkoz@redhat.com>
2365 * include/bits/allocator.h: Change ___glibcxx_base_allocator to
2366 __glibcxx_base_allocator.
2367 * config/allocator/bitmap_allocator_base.h: Same.
2368 * config/allocator/malloc_allocator_base.h: Same.
2369 * config/allocator/mt_allocator_base.h: Same.
2370 * config/allocator/new_allocator_base.h: Same.
2371 * config/allocator/pool_allocator_base.h: Same.
2373 2005-05-24 Jonathan Wakely <redi@gcc.gnu.org>
2375 * include/debug/string (class basic_string): Add missing
2376 default template arguments; provide typedefs for char
2378 (operator[]): Allow s[s.size()] in debug mode, but not
2381 2005-05-24 Paolo Carlini <pcarlini@suse.de>
2383 Port from libstdcxx_so_7-branch:
2384 2005-04-25 Christopher Jefferson <chris@bubblescope.net>
2386 * include/bits/stl_algo.h (count): Correct concept checks.
2387 (search_n) : Likewise.
2388 * testsuite/25_algorithms/search_n/check_type.cc: New.
2390 * testsuite/testsuite_iterators.h
2391 (random_access_iterator_wrapper::operator+): Move out of
2392 class to external function, and add symmetric version.
2394 2005-03-14 Christopher Jefferson <chris@bubblescope.net>
2396 * testsuite/testsuite_iterators.h (WritableObject::WritableObject):
2399 2005-02-01 Christopher Jefferson <chris@bubblescope.net>
2401 * testsuite/testsuite_iterators.h (random_access_iterator_wrapper::
2402 operator--): Fix typo.
2403 (OutputContainer::OutputContainer): Correct zeroing array.
2404 (WritableObject::operator==): Fix typo.
2405 (WritableObject::operator=): make operator= templated
2406 to allow differing types to be assigned.
2407 (WritableObject::operator++): Fix checking if iterator is
2408 written to multiple times.
2409 (random_access_iterator_wrapper::operator+): Add const.
2410 (random_access_iterator_wrapper::operator-): Likewise.
2411 (random_access_iterator_wrapper::operator[]): Add dereference.
2413 2005-05-23 Jonathan Wakely <redi@gcc.gnu.org>
2415 * docs/html/debug.html: Explain that _GLIBXX_DEBUG_PEDANTIC
2416 had to be defined for pedantic mode in 3.4 and 4.0.0.
2418 2005-05-20 Jan Beulich <jbeulich@novell.com>
2420 * libmath/stubs.c: Also implement fabsf/fabsl if not present in the
2423 2005-05-20 Paolo Carlini <pcarlini@suse.de>
2425 * include/bits/stl_algo.h (__rotate<_RandomAccessIterator>):
2426 Don't qualify __tmp as const, _ValueType is not necessarily
2428 * include/bits/stl_algobase.h (swap, __iter_swap<false>):
2429 Likewise, as an harmless extension.
2431 2005-05-19 Richard Henderson <rth@redhat.com>
2433 * libsupc++/unwind-cxx.h: Revert gcc_unreachable change.
2435 2005-05-19 Jonathan Wakely <redi@gcc.gnu.org>
2437 * include/bits/basic_string.h (operator[]): Allow s[s.size()] in
2438 debug mode, but not pedantic mode.
2440 2005-05-19 Jan Beulich <jbeulich@novell.com>
2442 * libsupc++/unwind-cxx.h: Include cstdlib.
2443 (gcc_unreachable): #define.
2444 * libsupc++/eh_personality.cc (gcc_unreachable): Remove #define.
2446 2005-05-18 Paolo Carlini <pcarlini@suse.de>
2447 Nathan Myers <ncm@cantrip.org>
2450 * include/bits/basic_string.h (_Raw_bytes_alloc): Rebind to
2451 size_type instead of char and rename to _Raw_alloc.
2452 * include/bits/basic_string.tcc (_Rep::_M_destroy, _Rep::_S_create):
2454 * src/bitmap_allocator.cc: Add instantiation for size_type.
2455 * src/mt_allocator.cc: Likewise.
2456 * src/pool_allocator.cc: Likewise.
2457 * include/ext/array_allocator.h: Tweak slightly, avoid assuming
2458 the existence of an _Array::begin() and size() members.
2459 * testsuite/ext/array_allocator/2.cc: Tweak to use an allocator
2460 of size_type, instead of char, thus avoiding problems with
2461 rebinds, not treated correctly by array_allocator.
2463 2005-05-18 Paolo Carlini <pcarlini@suse.de>
2465 * testsuite/22_locale/ctype/is/char/2.cc: Adjust dg-require-namedlocale.
2466 * testsuite/22_locale/ctype/is/wchar_t/2.cc: Likewise.
2467 * testsuite/22_locale/time_get/get_year/char/wrapped_env.cc: Add
2468 missing dg-require-namedlocale.
2469 * testsuite/22_locale/time_get/get_year/char/wrapped_locale.cc:
2471 * testsuite/22_locale/time_get/get_year/wchar_t/wrapped_env.cc:
2473 * testsuite/22_locale/time_get/get_year/wchar_t/wrapped_locale.cc:
2476 2005-05-18 Paolo Carlini <pcarlini@suse.de>
2478 * testsuite/testsuite_hooks.cc: Remove try_named_locale.
2479 * testsuite/testsuite_hooks.h: Remove try_named_locale.
2480 * testsuite/lib/libstdc++.exp (check_v3_target_namedlocale): New.
2481 * testsuite/lib/dg-options.exp (dg-require-namedlocale): New, uses
2483 * testsuite/22_locale/codecvt/always_noconv/char/wrapped_env.cc: Use
2484 dg-require-namedlocale.
2485 * testsuite/22_locale/codecvt/always_noconv/char/wrapped_locale.cc:
2487 * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: Likewise.
2488 * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: Likewise.
2489 * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: Likewise.
2490 * testsuite/22_locale/codecvt/always_noconv/wchar_t/wrapped_env.cc:
2492 * testsuite/22_locale/codecvt/always_noconv/wchar_t/wrapped_locale.cc:
2494 * testsuite/22_locale/codecvt/encoding/char/wrapped_env.cc: Likewise.
2495 * testsuite/22_locale/codecvt/encoding/char/wrapped_locale.cc: Likewise.
2496 * testsuite/22_locale/codecvt/encoding/wchar_t/2.cc: Likewise.
2497 * testsuite/22_locale/codecvt/encoding/wchar_t/3.cc: Likewise.
2498 * testsuite/22_locale/codecvt/encoding/wchar_t/4.cc: Likewise.
2499 * testsuite/22_locale/codecvt/encoding/wchar_t/wrapped_env.cc: Likewise.
2500 * testsuite/22_locale/codecvt/encoding/wchar_t/wrapped_locale.cc:
2502 * testsuite/22_locale/codecvt/in/char/wrapped_env.cc: Likewise.
2503 * testsuite/22_locale/codecvt/in/char/wrapped_locale.cc: Likewise.
2504 * testsuite/22_locale/codecvt/in/wchar_t/2.cc: Likewise.
2505 * testsuite/22_locale/codecvt/in/wchar_t/3.cc: Likewise.
2506 * testsuite/22_locale/codecvt/in/wchar_t/4.cc: Likewise.
2507 * testsuite/22_locale/codecvt/in/wchar_t/7.cc: Likewise.
2508 * testsuite/22_locale/codecvt/in/wchar_t/8.cc: Likewise.
2509 * testsuite/22_locale/codecvt/in/wchar_t/9.cc: Likewise.
2510 * testsuite/22_locale/codecvt/in/wchar_t/wrapped_env.cc: Likewise.
2511 * testsuite/22_locale/codecvt/in/wchar_t/wrapped_locale.cc: Likewise.
2512 * testsuite/22_locale/codecvt/length/char/wrapped_env.cc: Likewise.
2513 * testsuite/22_locale/codecvt/length/char/wrapped_locale.cc: Likewise.
2514 * testsuite/22_locale/codecvt/length/wchar_t/2.cc: Likewise.
2515 * testsuite/22_locale/codecvt/length/wchar_t/3.cc: Likewise.
2516 * testsuite/22_locale/codecvt/length/wchar_t/4.cc: Likewise.
2517 * testsuite/22_locale/codecvt/length/wchar_t/7.cc: Likewise.
2518 * testsuite/22_locale/codecvt/length/wchar_t/wrapped_env.cc: Likewise.
2519 * testsuite/22_locale/codecvt/length/wchar_t/wrapped_locale.cc:
2521 * testsuite/22_locale/codecvt/max_length/char/wrapped_env.cc: Likewise.
2522 * testsuite/22_locale/codecvt/max_length/char/wrapped_locale.cc:
2524 * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: Likewise.
2525 * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: Likewise.
2526 * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: Likewise.
2527 * testsuite/22_locale/codecvt/max_length/wchar_t/wrapped_env.cc:
2529 * testsuite/22_locale/codecvt/max_length/wchar_t/wrapped_locale.cc:
2531 * testsuite/22_locale/codecvt/out/char/wrapped_env.cc: Likewise.
2532 * testsuite/22_locale/codecvt/out/char/wrapped_locale.cc: Likewise.
2533 * testsuite/22_locale/codecvt/out/wchar_t/2.cc: Likewise.
2534 * testsuite/22_locale/codecvt/out/wchar_t/3.cc: Likewise.
2535 * testsuite/22_locale/codecvt/out/wchar_t/4.cc: Likewise.
2536 * testsuite/22_locale/codecvt/out/wchar_t/7.cc: Likewise.
2537 * testsuite/22_locale/codecvt/out/wchar_t/wrapped_env.cc: Likewise.
2538 * testsuite/22_locale/codecvt/out/wchar_t/wrapped_locale.cc: Likewise.
2539 * testsuite/22_locale/codecvt/unshift/char/wrapped_env.cc: Likewise.
2540 * testsuite/22_locale/codecvt/unshift/char/wrapped_locale.cc: Likewise.
2541 * testsuite/22_locale/codecvt/unshift/wchar_t/2.cc: Likewise.
2542 * testsuite/22_locale/codecvt/unshift/wchar_t/3.cc: Likewise.
2543 * testsuite/22_locale/codecvt/unshift/wchar_t/4.cc: Likewise.
2544 * testsuite/22_locale/codecvt/unshift/wchar_t/wrapped_env.cc: Likewise.
2545 * testsuite/22_locale/codecvt/unshift/wchar_t/wrapped_locale.cc:
2547 * testsuite/22_locale/collate/compare/char/1.cc: Likewise.
2548 * testsuite/22_locale/collate/compare/char/2.cc: Likewise.
2549 * testsuite/22_locale/collate/compare/char/3.cc: Likewise.
2550 * testsuite/22_locale/collate/compare/char/wrapped_env.cc: Likewise.
2551 * testsuite/22_locale/collate/compare/char/wrapped_locale.cc: Likewise.
2552 * testsuite/22_locale/collate/compare/wchar_t/1.cc: Likewise.
2553 * testsuite/22_locale/collate/compare/wchar_t/2.cc: Likewise.
2554 * testsuite/22_locale/collate/compare/wchar_t/3.cc: Likewise.
2555 * testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc: Likewise.
2556 * testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc:
2558 * testsuite/22_locale/collate/hash/char/2.cc: Likewise.
2559 * testsuite/22_locale/collate/hash/char/wrapped_env.cc: Likewise.
2560 * testsuite/22_locale/collate/hash/char/wrapped_locale.cc: Likewise.
2561 * testsuite/22_locale/collate/hash/wchar_t/2.cc: Likewise.
2562 * testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc: Likewise.
2563 * testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc: Likewise.
2564 * testsuite/22_locale/collate/transform/char/2.cc: Likewise.
2565 * testsuite/22_locale/collate/transform/char/3.cc: Likewise.
2566 * testsuite/22_locale/collate/transform/char/wrapped_env.cc: Likewise.
2567 * testsuite/22_locale/collate/transform/char/wrapped_locale.cc:
2569 * testsuite/22_locale/collate/transform/wchar_t/2.cc: Likewise.
2570 * testsuite/22_locale/collate/transform/wchar_t/3.cc: Likewise.
2571 * testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc:
2573 * testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc:
2575 * testsuite/22_locale/collate_byname/named_equivalence.cc: Likewise.
2576 * testsuite/22_locale/ctype/cons/char/wrapped_env.cc: Likewise.
2577 * testsuite/22_locale/ctype/cons/char/wrapped_locale.cc: Likewise.
2578 * testsuite/22_locale/ctype/is/char/2.cc: Likewise.
2579 * testsuite/22_locale/ctype/is/char/wrapped_env.cc: Likewise.
2580 * testsuite/22_locale/ctype/is/char/wrapped_locale.cc: Likewise.
2581 * testsuite/22_locale/ctype/is/wchar_t/2.cc: Likewise.
2582 * testsuite/22_locale/ctype/is/wchar_t/wrapped_env.cc: Likewise.
2583 * testsuite/22_locale/ctype/is/wchar_t/wrapped_locale.cc: Likewise.
2584 * testsuite/22_locale/ctype/narrow/char/wrapped_env.cc: Likewise.
2585 * testsuite/22_locale/ctype/narrow/char/wrapped_locale.cc: Likewise.
2586 * testsuite/22_locale/ctype/narrow/wchar_t/3.cc: Likewise.
2587 * testsuite/22_locale/ctype/narrow/wchar_t/wrapped_env.cc: Likewise.
2588 * testsuite/22_locale/ctype/narrow/wchar_t/wrapped_locale.cc: Likewise.
2589 * testsuite/22_locale/ctype/scan/char/wrapped_env.cc: Likewise.
2590 * testsuite/22_locale/ctype/scan/char/wrapped_locale.cc: Likewise.
2591 * testsuite/22_locale/ctype/scan/wchar_t/wrapped_env.cc: Likewise.
2592 * testsuite/22_locale/ctype/scan/wchar_t/wrapped_locale.cc: Likewise.
2593 * testsuite/22_locale/ctype/to/char/wrapped_env.cc: Likewise.
2594 * testsuite/22_locale/ctype/to/char/wrapped_locale.cc: Likewise.
2595 * testsuite/22_locale/ctype/to/wchar_t/wrapped_env.cc: Likewise.
2596 * testsuite/22_locale/ctype/to/wchar_t/wrapped_locale.cc: Likewise.
2597 * testsuite/22_locale/ctype/widen/char/wrapped_env.cc: Likewise.
2598 * testsuite/22_locale/ctype/widen/char/wrapped_locale.cc: Likewise.
2599 * testsuite/22_locale/ctype/widen/wchar_t/2.cc: Likewise.
2600 * testsuite/22_locale/ctype/widen/wchar_t/3.cc: Likewise.
2601 * testsuite/22_locale/ctype/widen/wchar_t/wrapped_env.cc: Likewise.
2602 * testsuite/22_locale/ctype/widen/wchar_t/wrapped_locale.cc: Likewise.
2603 * testsuite/22_locale/facet/2.cc: Likewise.
2604 * testsuite/22_locale/locale/cons/12352.cc: Likewise.
2605 * testsuite/22_locale/locale/cons/12438.cc: Likewise.
2606 * testsuite/22_locale/locale/cons/12658_thread-1.cc: Likewise.
2607 * testsuite/22_locale/locale/cons/12658_thread-2.cc: Likewise.
2608 * testsuite/22_locale/locale/cons/2.cc: Likewise.
2609 * testsuite/22_locale/locale/cons/4.cc: Likewise.
2610 * testsuite/22_locale/locale/cons/5.cc: Likewise.
2611 * testsuite/22_locale/locale/cons/7.cc: Likewise.
2612 * testsuite/22_locale/locale/cons/7222-env.cc: Likewise.
2613 * testsuite/22_locale/locale/global_locale_objects/14071.cc: Likewise.
2614 * testsuite/22_locale/locale/global_locale_objects/2.cc: Likewise.
2615 * testsuite/22_locale/messages/members/char/1.cc: Likewise.
2616 * testsuite/22_locale/messages/members/char/2.cc: Likewise.
2617 * testsuite/22_locale/messages/members/char/3.cc: Likewise.
2618 * testsuite/22_locale/messages/members/char/wrapped_env.cc: Likewise.
2619 * testsuite/22_locale/messages/members/char/wrapped_locale.cc: Likewise.
2620 * testsuite/22_locale/messages_byname/named_equivalence.cc: Likewise.
2621 * testsuite/22_locale/money_get/get/char/1.cc: Likewise.
2622 * testsuite/22_locale/money_get/get/char/10.cc: Likewise.
2623 * testsuite/22_locale/money_get/get/char/11.cc: Likewise.
2624 * testsuite/22_locale/money_get/get/char/11528.cc: Likewise.
2625 * testsuite/22_locale/money_get/get/char/12.cc: Likewise.
2626 * testsuite/22_locale/money_get/get/char/13.cc: Likewise.
2627 * testsuite/22_locale/money_get/get/char/15.cc: Likewise.
2628 * testsuite/22_locale/money_get/get/char/16.cc: Likewise.
2629 * testsuite/22_locale/money_get/get/char/17.cc: Likewise.
2630 * testsuite/22_locale/money_get/get/char/18.cc: Likewise.
2631 * testsuite/22_locale/money_get/get/char/2.cc: Likewise.
2632 * testsuite/22_locale/money_get/get/char/3.cc: Likewise.
2633 * testsuite/22_locale/money_get/get/char/4.cc: Likewise.
2634 * testsuite/22_locale/money_get/get/char/wrapped_env.cc: Likewise.
2635 * testsuite/22_locale/money_get/get/char/wrapped_locale.cc: Likewise.
2636 * testsuite/22_locale/money_get/get/wchar_t/1.cc: Likewise.
2637 * testsuite/22_locale/money_get/get/wchar_t/10.cc: Likewise.
2638 * testsuite/22_locale/money_get/get/wchar_t/11.cc: Likewise.
2639 * testsuite/22_locale/money_get/get/wchar_t/11528.cc: Likewise.
2640 * testsuite/22_locale/money_get/get/wchar_t/12.cc: Likewise.
2641 * testsuite/22_locale/money_get/get/wchar_t/13.cc: Likewise.
2642 * testsuite/22_locale/money_get/get/wchar_t/15.cc: Likewise.
2643 * testsuite/22_locale/money_get/get/wchar_t/16.cc: Likewise.
2644 * testsuite/22_locale/money_get/get/wchar_t/17.cc: Likewise.
2645 * testsuite/22_locale/money_get/get/wchar_t/18.cc: Likewise.
2646 * testsuite/22_locale/money_get/get/wchar_t/2.cc: Likewise.
2647 * testsuite/22_locale/money_get/get/wchar_t/3.cc: Likewise.
2648 * testsuite/22_locale/money_get/get/wchar_t/4.cc: Likewise.
2649 * testsuite/22_locale/money_get/get/wchar_t/wrapped_env.cc: Likewise.
2650 * testsuite/22_locale/money_get/get/wchar_t/wrapped_locale.cc: Likewise.
2651 * testsuite/22_locale/money_put/put/char/1.cc: Likewise.
2652 * testsuite/22_locale/money_put/put/char/2.cc: Likewise.
2653 * testsuite/22_locale/money_put/put/char/3.cc: Likewise.
2654 * testsuite/22_locale/money_put/put/char/9780-3.cc: Likewise.
2655 * testsuite/22_locale/money_put/put/char/wrapped_env.cc: Likewise.
2656 * testsuite/22_locale/money_put/put/char/wrapped_locale.cc: Likewise.
2657 * testsuite/22_locale/money_put/put/wchar_t/1.cc: Likewise.
2658 * testsuite/22_locale/money_put/put/wchar_t/2.cc: Likewise.
2659 * testsuite/22_locale/money_put/put/wchar_t/3.cc: Likewise.
2660 * testsuite/22_locale/money_put/put/wchar_t/wrapped_env.cc: Likewise.
2661 * testsuite/22_locale/money_put/put/wchar_t/wrapped_locale.cc: Likewise.
2662 * testsuite/22_locale/moneypunct/members/char/2.cc: Likewise.
2663 * testsuite/22_locale/moneypunct/members/char/wrapped_env.cc: Likewise.
2664 * testsuite/22_locale/moneypunct/members/char/wrapped_locale.cc:
2666 * testsuite/22_locale/moneypunct/members/wchar_t/2.cc: Likewise.
2667 * testsuite/22_locale/moneypunct/members/wchar_t/wrapped_env.cc:
2669 * testsuite/22_locale/moneypunct/members/wchar_t/wrapped_locale.cc:
2671 * testsuite/22_locale/moneypunct_byname/named_equivalence.cc: Likewise.
2672 * testsuite/22_locale/num_get/get/char/1.cc: Likewise.
2673 * testsuite/22_locale/num_get/get/char/3.cc: Likewise.
2674 * testsuite/22_locale/num_get/get/char/5.cc: Likewise.
2675 * testsuite/22_locale/num_get/get/char/6.cc: Likewise.
2676 * testsuite/22_locale/num_get/get/char/9.cc: Likewise.
2677 * testsuite/22_locale/num_get/get/char/wrapped_env.cc: Likewise.
2678 * testsuite/22_locale/num_get/get/char/wrapped_locale.cc: Likewise.
2679 * testsuite/22_locale/num_get/get/wchar_t/1.cc: Likewise.
2680 * testsuite/22_locale/num_get/get/wchar_t/3.cc: Likewise.
2681 * testsuite/22_locale/num_get/get/wchar_t/5.cc: Likewise.
2682 * testsuite/22_locale/num_get/get/wchar_t/6.cc: Likewise.
2683 * testsuite/22_locale/num_get/get/wchar_t/9.cc: Likewise.
2684 * testsuite/22_locale/num_get/get/wchar_t/wrapped_env.cc: Likewise.
2685 * testsuite/22_locale/num_get/get/wchar_t/wrapped_locale.cc: Likewise.
2686 * testsuite/22_locale/num_put/put/char/1.cc: Likewise.
2687 * testsuite/22_locale/num_put/put/char/20909.cc: Likewise.
2688 * testsuite/22_locale/num_put/put/char/20914.cc: Likewise.
2689 * testsuite/22_locale/num_put/put/char/3.cc: Likewise.
2690 * testsuite/22_locale/num_put/put/char/5.cc: Likewise.
2691 * testsuite/22_locale/num_put/put/char/9780-2.cc: Likewise.
2692 * testsuite/22_locale/num_put/put/char/wrapped_env.cc: Likewise.
2693 * testsuite/22_locale/num_put/put/char/wrapped_locale.cc: Likewise.
2694 * testsuite/22_locale/num_put/put/wchar_t/1.cc: Likewise.
2695 * testsuite/22_locale/num_put/put/wchar_t/20909.cc: Likewise.
2696 * testsuite/22_locale/num_put/put/wchar_t/20914.cc: Likewise.
2697 * testsuite/22_locale/num_put/put/wchar_t/3.cc: Likewise.
2698 * testsuite/22_locale/num_put/put/wchar_t/5.cc: Likewise.
2699 * testsuite/22_locale/num_put/put/wchar_t/wrapped_env.cc: Likewise.
2700 * testsuite/22_locale/num_put/put/wchar_t/wrapped_locale.cc: Likewise.
2701 * testsuite/22_locale/numpunct/members/char/2.cc: Likewise.
2702 * testsuite/22_locale/numpunct/members/char/3.cc: Likewise.
2703 * testsuite/22_locale/numpunct/members/char/wrapped_env.cc: Likewise.
2704 * testsuite/22_locale/numpunct/members/char/wrapped_locale.cc: Likewise.
2705 * testsuite/22_locale/numpunct/members/wchar_t/2.cc: Likewise.
2706 * testsuite/22_locale/numpunct/members/wchar_t/wrapped_env.cc: Likewise.
2707 * testsuite/22_locale/numpunct/members/wchar_t/wrapped_locale.cc:
2709 * testsuite/22_locale/numpunct_byname/named_equivalence.cc: Likewise.
2710 * testsuite/22_locale/time_get/date_order/char/wrapped_env.cc: Likewise.
2711 * testsuite/22_locale/time_get/date_order/char/wrapped_locale.cc:
2713 * testsuite/22_locale/time_get/date_order/wchar_t/wrapped_env.cc:
2715 * testsuite/22_locale/time_get/date_order/wchar_t/wrapped_locale.cc:
2717 * testsuite/22_locale/time_get/get_date/char/12750.cc: Likewise.
2718 * testsuite/22_locale/time_get/get_date/char/2.cc: Likewise.
2719 * testsuite/22_locale/time_get/get_date/char/wrapped_env.cc: Likewise.
2720 * testsuite/22_locale/time_get/get_date/char/wrapped_locale.cc:
2722 * testsuite/22_locale/time_get/get_date/wchar_t/12750.cc: Likewise.
2723 * testsuite/22_locale/time_get/get_date/wchar_t/2.cc: Likewise.
2724 * testsuite/22_locale/time_get/get_date/wchar_t/4.cc: Likewise.
2725 * testsuite/22_locale/time_get/get_date/wchar_t/wrapped_env.cc:
2727 * testsuite/22_locale/time_get/get_date/wchar_t/wrapped_locale.cc:
2729 * testsuite/22_locale/time_get/get_monthname/char/2.cc: Likewise.
2730 * testsuite/22_locale/time_get/get_monthname/char/wrapped_env.cc:
2732 * testsuite/22_locale/time_get/get_monthname/char/wrapped_locale.cc:
2734 * testsuite/22_locale/time_get/get_monthname/wchar_t/2.cc: Likewise.
2735 * testsuite/22_locale/time_get/get_monthname/wchar_t/wrapped_env.cc:
2737 * testsuite/22_locale/time_get/get_monthname/wchar_t/wrapped_locale.cc:
2739 * testsuite/22_locale/time_get/get_time/char/1.cc: Likewise.
2740 * testsuite/22_locale/time_get/get_time/char/2.cc: Likewise.
2741 * testsuite/22_locale/time_get/get_time/char/wrapped_env.cc: Likewise.
2742 * testsuite/22_locale/time_get/get_time/char/wrapped_locale.cc:
2744 * testsuite/22_locale/time_get/get_time/wchar_t/1.cc: Likewise.
2745 * testsuite/22_locale/time_get/get_time/wchar_t/2.cc: Likewise.
2746 * testsuite/22_locale/time_get/get_time/wchar_t/wrapped_env.cc:
2748 * testsuite/22_locale/time_get/get_time/wchar_t/wrapped_locale.cc:
2750 * testsuite/22_locale/time_get/get_weekday/char/2.cc: Likewise.
2751 * testsuite/22_locale/time_get/get_weekday/char/wrapped_env.cc:
2753 * testsuite/22_locale/time_get/get_weekday/char/wrapped_locale.cc:
2755 * testsuite/22_locale/time_get/get_weekday/wchar_t/2.cc: Likewise.
2756 * testsuite/22_locale/time_get/get_weekday/wchar_t/wrapped_env.cc:
2758 * testsuite/22_locale/time_get/get_weekday/wchar_t/wrapped_locale.cc:
2760 * testsuite/22_locale/time_put/put/char/17038.cc: Likewise.
2761 * testsuite/22_locale/time_put/put/char/2.cc: Likewise.
2762 * testsuite/22_locale/time_put/put/char/3.cc: Likewise.
2763 * testsuite/22_locale/time_put/put/char/4.cc: Likewise.
2764 * testsuite/22_locale/time_put/put/char/6.cc: Likewise.
2765 * testsuite/22_locale/time_put/put/char/7.cc: Likewise.
2766 * testsuite/22_locale/time_put/put/char/8.cc: Likewise.
2767 * testsuite/22_locale/time_put/put/char/9780-1.cc: Likewise.
2768 * testsuite/22_locale/time_put/put/char/wrapped_env.cc: Likewise.
2769 * testsuite/22_locale/time_put/put/char/wrapped_locale.cc: Likewise.
2770 * testsuite/22_locale/time_put/put/wchar_t/17038.cc: Likewise.
2771 * testsuite/22_locale/time_put/put/wchar_t/2.cc: Likewise.
2772 * testsuite/22_locale/time_put/put/wchar_t/3.cc: Likewise.
2773 * testsuite/22_locale/time_put/put/wchar_t/4.cc: Likewise.
2774 * testsuite/22_locale/time_put/put/wchar_t/6.cc: Likewise.
2775 * testsuite/22_locale/time_put/put/wchar_t/7.cc: Likewise.
2776 * testsuite/22_locale/time_put/put/wchar_t/8.cc: Likewise.
2777 * testsuite/22_locale/time_put/put/wchar_t/wrapped_env.cc: Likewise.
2778 * testsuite/22_locale/time_put/put/wchar_t/wrapped_locale.cc: Likewise.
2779 * testsuite/27_io/basic_filebuf/imbue/char/13007.cc: Likewise.
2780 * testsuite/27_io/basic_filebuf/imbue/char/13171-1.cc: Likewise.
2781 * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
2782 * testsuite/27_io/basic_filebuf/imbue/char/13171-4.cc: Likewise.
2783 * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise.
2784 * testsuite/27_io/basic_filebuf/imbue/char/14975-1.cc: Likewise.
2785 * testsuite/27_io/basic_filebuf/imbue/char/2.cc: Likewise.
2786 * testsuite/27_io/basic_filebuf/imbue/char/9322.cc: Likewise.
2787 * testsuite/27_io/basic_filebuf/imbue/wchar_t/12868.cc: Likewise.
2788 * testsuite/27_io/basic_filebuf/imbue/wchar_t/13007.cc: Likewise.
2789 * testsuite/27_io/basic_filebuf/imbue/wchar_t/13171-3.cc: Likewise.
2790 * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-2.cc: Likewise.
2791 * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-3.cc: Likewise.
2792 * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc: Likewise.
2793 * testsuite/27_io/basic_filebuf/imbue/wchar_t/2.cc: Likewise.
2794 * testsuite/27_io/basic_filebuf/imbue/wchar_t/9322.cc: Likewise.
2795 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1.cc: Likewise.
2796 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2.cc: Likewise.
2797 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3.cc: Likewise.
2798 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4.cc: Likewise.
2799 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/1.cc: Likewise.
2800 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/2.cc: Likewise.
2801 * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9874.cc: Likewise.
2802 * testsuite/27_io/basic_filebuf/underflow/wchar_t/1.cc: Likewise.
2803 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-1.cc: Likewise.
2804 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-2.cc: Likewise.
2805 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-3.cc: Likewise.
2806 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-4.cc: Likewise.
2807 * testsuite/27_io/basic_filebuf/underflow/wchar_t/2.cc: Likewise.
2808 * testsuite/27_io/basic_filebuf/underflow/wchar_t/3.cc: Likewise.
2809 * testsuite/27_io/basic_filebuf/underflow/wchar_t/4.cc: Likewise.
2810 * testsuite/27_io/basic_filebuf/underflow/wchar_t/5.cc: Likewise.
2811 * testsuite/27_io/basic_filebuf/underflow/wchar_t/9520.cc: Likewise.
2812 * testsuite/27_io/basic_ios/copyfmt/char/2.cc: Likewise.
2813 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/2.cc:
2815 * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/2.cc:
2817 * testsuite/27_io/basic_streambuf/imbue/char/13007-1.cc: Likewise.
2818 * testsuite/27_io/basic_streambuf/imbue/char/13007-2.cc: Likewise.
2819 * testsuite/27_io/basic_streambuf/imbue/char/9322.cc: Likewise.
2820 * testsuite/27_io/basic_streambuf/imbue/wchar_t/13007-1.cc: Likewise.
2821 * testsuite/27_io/basic_streambuf/imbue/wchar_t/13007-2.cc: Likewise.
2822 * testsuite/27_io/basic_streambuf/imbue/wchar_t/9322.cc: Likewise.
2823 * testsuite/27_io/basic_stringbuf/imbue/char/9322.cc: Likewise.
2824 * testsuite/27_io/basic_stringbuf/imbue/wchar_t/9322.cc: Likewise.
2825 * testsuite/27_io/objects/wchar_t/10.cc: Likewise.
2826 * testsuite/27_io/objects/wchar_t/11.cc: Likewise.
2827 * testsuite/27_io/objects/wchar_t/12.cc: Likewise.
2828 * testsuite/27_io/objects/wchar_t/13.cc: Likewise.
2829 * testsuite/27_io/objects/wchar_t/9520.cc: Likewise.
2830 * testsuite/ext/stdio_sync_filebuf/wchar_t/12077.cc: Likewise.
2832 2005-05-17 Nathan Sidwell <nathan@codesourcery.com>
2834 * libsupc++/eh_personality.cc (gcc_unreachable): Define.
2836 2005-05-16 Paolo Carlini <pcarlini@suse.de>
2838 * docs/html/install.html: Update list of required named
2839 locales, add "es_ES".
2841 2005-05-13 Magnus Fromreide <magfr@lysator.liu.se>
2843 * testsuite/27_io/basic_streambuf/sgetn/char/1.cc: Use
2844 initialization instead of copying as the string is used only once.
2845 * testsuite/27_io/basic_streambuf/sgetn/wchar_t/1.cc: Likewise.
2846 * testsuite/27_io/basic_streambuf/sputn/char/1.cc: Likewise.
2847 * testsuite/27_io/basic_streambuf/sputn/wchar_t/1.cc: Likewise.
2849 2005-05-12 Benjamin Kosnik <bkoz@redhat.com>
2851 * scripts/create_testsuite_files: Fix.
2853 2005-05-12 Kaz Kojima <kkojima@gcc.gnu.org>
2855 * testsuite/18_support/numeric_limits.cc (dg-options): Add
2856 -mieee to options on sh*-*-*.
2858 2005-05-10 Jonathan Wakely <redi@gcc.gnu.org>
2860 * include/debug/debug.h: Fix typo in macro name.
2862 2005-05-09 Paolo Carlini <pcarlini@suse.de>
2863 Giovanni Bajo <giovannibajo@gcc.gnu.org>
2866 * include/bits/deque.tcc: Fully qualify names from namespace std.
2867 * include/bits/stl_bvector.h: Likewise.
2868 * include/bits/stl_deque.h: Likewise.
2869 * include/bits/stl_list.h: Likewise.
2870 * include/bits/stl_map.h: Likewise.
2871 * include/bits/stl_multimap.h: Likewise.
2872 * include/bits/stl_multiset.h: Likewise.
2873 * include/bits/stl_set.h: Likewise.
2874 * include/bits/stl_vector.h: Likewise.
2875 * include/bits/vector.tcc: Likewise.
2876 * include/std/std_bitset.h: Likewise.
2877 * testsuite/23_containers/bitset/18604.cc: New.
2878 * testsuite/23_containers/deque/18604.cc: Likewise.
2879 * testsuite/23_containers/list/18604.cc: Likewise.
2880 * testsuite/23_containers/map/18604.cc: Likewise.
2881 * testsuite/23_containers/set/18604.cc: Likewise.
2882 * testsuite/23_containers/vector/18604.cc: Likewise.
2884 2005-05-09 Mike Stump <mrs@apple.com>
2886 * configure: Regenerate.
2888 2005-05-09 Jonathan Wakely <redi@gcc.gnu.org>
2890 DR 434. bitset::to_string() hard to use [Ready]
2891 * include/debug/bitset (to_string): Add three overloads, taking
2892 fewer template arguments.
2894 2005-05-06 Mark Mitchell <mark@codesourcery.com>
2896 * testsuite/testsuite_hooks.cc (try_mkfifo): Remove.
2897 * testsuite/testsuite_hooks.h (try_mkfifo): Likewise.
2898 * testsuite/27_io/basic_filebuf/close/char/4879.cc: Use
2899 dg-require-fork and dg-require-mkfifo. Replace try_mkfifo with
2901 * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise.
2902 * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
2903 * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise.
2904 * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-2.cc:
2906 * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc:
2908 * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise.
2909 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc:
2911 * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise.
2912 * testsuite/27_io/objects/char/7.cc: Likewise.
2913 * testsuite/27_io/objects/char/9661-1.cc: Likewise.
2914 * testsuite/27_io/objects/wchar_t/7.cc: Likewise.
2915 * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise.
2917 2005-05-04 Benjamin Kosnik <bkoz@redhat.com>
2919 * acinclude.m4: Remove testsuite_wchar_t and testsuite_thread.
2920 * testsuite/Makefile.am: Same.
2921 * scripts/create_testsuite_files: Same.
2922 * Makefile.in: Regenerate.
2924 * include/Makefile.in: Same.
2925 * libmath/Makefile.in: Same.
2926 * libsupc++/Makefile.in: Same.
2927 * po/Makefile.in: Same.
2928 * src/Makefile.in: Same.
2930 2005-05-04 Mark Mitchell <mark@codesourcery.com>
2932 * testsuite/lib/libstdc++.exp (v3-build_support): Look for
2933 __GTHREADS, rather than _GLIBCXX_HAVE_GTHR_DEFAULT, to determine
2934 whether or not thread support is available.
2936 * docs/html/test.html: Explain how to run the testsuite on an
2937 installed directory.
2939 2005-05-01 Paolo Carlini <pcarlini@suse.de>
2941 * config/os/aix/os_defines.h: Remove obsolete __off_t,
2942 __off64_t, __ssize_t defines.
2943 * config/os/djgpp/os_defines.h: Likewise.
2944 * config/os/hpux/os_defines.h: Likewise.
2945 * config/os/irix/irix5.2/os_defines.h: Likewise.
2946 * config/os/irix/irix6.5/os_defines.h: Likewise.
2947 * config/os/solaris/solaris2.5/os_defines.h: Likewise.
2948 * config/os/solaris/solaris2.6/os_defines.h: Likewise.
2949 * config/os/solaris/solaris2.7/os_defines.h: Likewise.
2950 * docs/html/17_intro/porting.html: Don't discuss the defines.
2951 * docs/html/17_intro/porting.texi: Likewise.
2953 2005-04-29 Paolo Carlini <pcarlini@suse.de>
2954 Nathan Myers <ncm@cantrip.org>
2957 * include/bits/fstream.tcc (basic_filebuf<>::xsgetn):
2958 Loop on short reads; remove the work-around for
2959 libstdc++/20806, not needed anymore.
2961 2005-04-29 Paolo Carlini <pcarlini@suse.de>
2964 * include/bits/locale_facets.tcc (num_get::_M_extract_float,
2965 num_get::_M_extract_int, num_get::do_get(bool&),
2966 num_put::_M_insert_int, num_put::_M_insert_float,
2967 num_put::do_put(bool), money_get::_M_extract,
2968 money_put::_M_insert): Adjust the __cache_type typedef not to
2969 forward to a numpunct/moneypunct typedef.
2970 * testsuite/testsuite_character.h: Add pod_uint and its numpunct
2971 and moneypunct specializations.
2972 * testsuite/testsuite_character.cc: Add numpunct<pod_uint>::id
2973 and moneypunct<pod_uint>::id.
2974 * testsuite/22_locale/num_get/3.cc: New.
2975 * testsuite/22_locale/num_put/3.cc: Likewise.
2976 * testsuite/22_locale/money_get/3.cc: Likewise.
2977 * testsuite/22_locale/money_put/3.cc: Likewise.
2979 * include/bits/locale_facets.tcc (money_put::_M_insert,
2980 time_get::_M_extract_name): Prefer operator== to operator!=
2983 2005-04-29 Paolo Carlini <pcarlini@suse.de>
2985 * include/tr1/type_traits (is_convertible): Adjust according
2986 to the resolution of TR1 issue 3.20.
2987 * testsuite/tr1/4_metaprogramming/relationships_between_types/
2988 is_convertible/is_convertible.cc: Add tests.
2990 2005-04-28 Paolo Carlini <pcarlini@suse.de>
2991 Gabriel Dos Reis <gdr@integrable-solutions.net>
2993 PR libstdc++/21244 (cont)
2994 * include/bits/cpp_type_traits.h (struct __traitor): Convert
2996 * include/bits/stl_algo.h: Convert _S_threshold to int.
2997 * include/bits/stl_bvector.h: Revert previous change, convert
2999 * include/debug/formatter.h: Convert __max_parameters to
3001 * include/ext/mt_allocator.h: Likewise for _S_chunk_size.
3002 * include/ext/pool_allocator.h: Likewise for _S_max_bytes and
3004 * include/ext/rope: Likewise for _S_alloc_granularity; convert
3005 _S_max_rope_depth to int.
3006 * include/ext/ropeimpl.h: Convert _S_path_cache_len to int;
3007 _S_max_rope_depth to int; _S_copy_max to size_t.
3009 2005-04-27 Benjamin Kosnik <bkoz@redhat.com>
3011 * docs/doxygen/user.cfg.in: Update to doxygen-1.4.2.
3012 * docs/doxygen/doxygroups.cc: Update namespace comments.
3014 2005-04-27 Dominik Strasser <dominik.strasser@infineon.com>
3015 Paolo Carlini <pcarlini@suse.de>
3018 * include/bits/stl_bvector.h: Change the anonymous enum
3019 at namespace scope to _S_word_bit_enum.
3020 * testsuite/23_containers/vector/bool/21244.cc: New.
3022 2005-04-27 Paolo Carlini <pcarlini@suse.de>
3024 * include/tr1/type_traits (has_trivial_copy, has_trivial_assign,
3025 has_nothrow_copy, has_nothrow_assign): Adjust according to the
3026 resolution of TR1 issue 3.21.
3027 * testsuite/testsuite_tr1.h (test_copy_property,
3028 test_assign_property): Remove.
3029 * testsuite/tr1/4_metaprogramming/type_properties/
3030 has_nothrow_assign/has_nothrow_assign.cc: Adjust.
3031 * testsuite/tr1/4_metaprogramming/type_properties/
3032 has_nothrow_copy/has_nothrow_copy.cc: Likewise.
3033 * testsuite/tr1/4_metaprogramming/type_properties/
3034 has_trivial_assign/has_trivial_assign.cc: Likewise.
3035 * testsuite/tr1/4_metaprogramming/type_properties/
3036 has_trivial_copy/has_trivial_copy.cc: Likewise.
3038 2005-04-26 Jones Desougi <jones@ingate.com>
3041 * linkage.m4: Fix comments.
3043 2005-04-26 Paolo Carlini <pcarlini@suse.de>
3046 * include/bits/locale_facets.tcc (_M_extract_int): Avoid signed
3047 integer overflow, always use a suited unsigned type in the main
3049 (struct __to_unsigned_type): New.
3050 * testsuite/22_locale/num_get/get/char/16.cc: New.
3051 * testsuite/22_locale/num_get/get/wchar_t/16.cc: Likewise.
3053 2005-04-25 Paolo Carlini <pcarlini@suse.de>
3056 * include/bits/basic_string.h (compare): Adjust the documentation
3057 to match the implementation and the standard.
3059 2005-04-24 Paolo Carlini <pcarlini@suse.de>
3061 * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 35.
3063 2005-04-20 Mark Mitchell <mark@codesourcery.com>
3065 * testsuite/ext/bitmap_allocator/check_allocate_max_size.cpp: Add
3066 explicit instantiations for systems without weak symbols.
3067 * testsuite/ext/bitmap_allocator/check_deallocate_null.cc:
3070 2005-04-18 Jonathan Wakely <redi@gcc.gnu.org>
3072 * include/bits/stl_algo.h (rotate_copy): Add missing std qualification.
3074 2005-04-17 Paolo Carlini <pcarlini@suse.de>
3077 * include/bits/locale_facets.tcc (__int_to_char(_CharT*, _ValueT,
3078 const _CharT*, ios_base::fmtflags, bool)): Don't deal with numeric
3079 base or sign here, instead...
3080 (_M_insert_int(_OutIter, ios_base&, _CharT, _ValueT)): ... here,
3081 after adding the grouping. This fixes the bug and also allows to
3082 clean-up the code dealing with integer types.
3083 (_M_group_int(const char*, size_t, _CharT, ios_base&, _CharT*,
3084 _CharT*, int&)): Simplify, remove bits dealing with numeric base.
3085 (__int_to_char(_CharT*, unsigned long, const _CharT*,
3086 ios_base::fmtflags), __int_to_char(_CharT*, unsigned long long,
3087 const _CharT*, ios_base::fmtflags)): Remove hackish fix for
3089 (__int_to_char(_CharT*, long, const _CharT*, ios_base::fmtflags),
3090 __int_to_char(_CharT*, long long, const _CharT*, ios_base::fmtflags)):
3091 Simplify, don't pass the sign.
3092 (_M_insert_float(_OutIter, ios_base&, _CharT, char, _ValueT)):
3093 Deal with a sign at the beginning of __cs; robustify the grouping
3095 * testsuite/22_locale/num_put/put/char/20914.cc: New.
3096 * testsuite/22_locale/num_put/put/wchar_t/20914.cc: Likewise.
3098 2005-04-14 Benjamin Kosnik <bkoz@redhat.com>
3100 * include/ext/bitmap_allocator.h
3101 (__gnu_cxx::free_list::_M_get_mutex): New.
3102 (__gnu_cxx::free_list::_M_get_free_list): New.
3103 (__gnu_cxx::free_list::_S_bfl_mutex): Remove.
3104 (__gnu_cxx::free_list::_S_free_list): Remove.
3105 * src/bitmap_allocator.cc: Same.
3106 * config/linker-map.gnu: Remove free_list and mutex export.
3108 2005-04-14 Benjamin Kosnik <bkoz@redhat.com>
3110 * include/ext/pod_char_traits.h (__gnu_cxx::character): Add char_type.
3111 (character::to): New.
3112 (character::from): New.
3113 (operator==): Add state parameter.
3115 (char_traits::copy): Use std::copy.
3116 (char_traits::assign): Use std::fill_n.
3117 (char_traits::to_char_type): Use character::from.
3118 (char_traits::to_int_type): Use character::to.
3119 * testsuite/testsuite_character.h (__gnu_test::character): Remove.
3120 (__gnu_test::conversion_state): Remove.
3121 (__gnu_test::pod_char): Remove.
3122 (pod_char): New typedef.
3123 (pod_uchar): New typedef.
3124 (pod_ushort): New typedef.
3125 * testsuite/testsuite_character.cc: Fixups.
3126 * testsuite/21_strings/basic_string/inserters_extractors/pod/
3128 * testsuite/21_strings/basic_string/inserters_extractors/pod/
3130 * testsuite/22_locale/numpunct/members/pod/1.cc: Same.
3131 * testsuite/22_locale/numpunct/members/pod/2.cc: Same.
3132 * testsuite/27_io/basic_filebuf/close/12790-1.cc: Same.
3133 * testsuite/27_io/basic_filebuf/open/12790-1.cc: Same.
3134 * testsuite/27_io/basic_filebuf/seekoff/12790-1.cc: Same.
3135 * testsuite/27_io/basic_filebuf/seekoff/12790-2.cc: Same.
3136 * testsuite/27_io/basic_filebuf/seekoff/12790-3.cc: Same.
3137 * testsuite/27_io/basic_filebuf/seekoff/12790-4.cc: Same.
3138 * testsuite/27_io/basic_filebuf/seekpos/12790-1.cc: Same.
3139 * testsuite/27_io/basic_filebuf/seekpos/12790-2.cc: Same.
3140 * testsuite/27_io/basic_filebuf/seekpos/12790-3.cc: Same.
3141 * testsuite/27_io/basic_ios/imbue/14072.cc: Same.
3142 * testsuite/27_io/basic_istream/extractors_arithmetic/pod/
3144 * testsuite/27_io/basic_istream/extractors_character/pod/
3146 * testsuite/27_io/basic_istream/extractors_other/pod/3983-3.cc: Same.
3147 * testsuite/27_io/basic_istream/sentry/pod/1.cc: Same.
3148 * testsuite/27_io/basic_ostream/sentry/pod/1.cc: Same.
3150 2005-04-12 Mike Stump <mrs@apple.com>
3152 * configure: Regenerate.
3154 2005-04-08 Benjamin Kosnik <bkoz@redhat.com>
3156 * testsuite/Makefile.am: Remove libv3test.a.
3157 * testsuite/Makefile.in: Regenerate.
3158 * testsuite/lib/libstdc++.exp (v3_target_compile): Fix comments.
3160 2005-04-08 Paolo Carlini <pcarlini@suse.de>
3163 * include/bits/locale_facets.tcc (num_put<>::_M_insert_float):
3164 Don't even try to group numbers like 2e20, i.e., no decimal
3165 point, scientific notation.
3166 * testsuite/22_locale/num_put/put/char/20909.cc: New.
3167 * testsuite/22_locale/num_put/put/wchar_t/20909.cc: Likewise.
3169 2005-04-08 Kelley Cook <kcook@gcc.gnu.org>
3171 * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Define _GLIBCXX_ASM_SYMVER.
3172 * acconfig.h: Delete file.
3173 * Makefile.in, acinclude.m4, configure: Regenerate.
3175 2005-04-08 Kelley Cook <kcook@gcc.gnu.org>
3177 * linkage.m4 (GLIBCXX_MAYBE_UNDERSCORED_FUNCS): New macro.
3178 (GLIBCXX_CHECK_MATH_DECL_AND_LINKAGE_1,
3179 GLIBCXX_CHECK_MATH_DECL_AND_LINKAGE_2,
3180 GLIBCXX_CHECK_MATH_DECL_AND_LINKAGE_3,
3181 GLIBCXX_CHECK_MATH_DECLS_AND_LINKAGES_1,
3182 GLIBCXX_CHECK_STDLIB_DECL_AND_LINKAGE_2): Use it.
3183 (GLIBCXX_CHECK_MATH_SUPPORT): Delete obsolete comment.
3184 * acconfig.h: Delete redundant macros.
3185 * config.h.in, configure: Regenerate.
3187 2005-04-08 Kelley Cook <kcook@gcc.gnu.org>
3189 * linkage.m4 (GLIBCXX_CHECK_MATH_DECLS_AND_LINKAGES_1): Eliminate
3190 a subshell and if test fails, test for same functions with
3192 (GLIBCXX_CHECK_MATH_SUPPORT): Eliminate seperate checks for _funcs.
3193 * configure: Regenerate.
3195 2005-04-08 Danny Smith <dannysmith@users.sourceforge.net>
3196 Paolo Carlini <pcarlini@suse.de>
3199 * config/os/mingw32/os_defines.h: Define
3200 _GLIBCXX_HAVE_DOS_BASED_FILESYSTEM.
3201 * config/os/newlib/os_defines.h: Likewise, for __CYGWIN__.
3202 * include/bits/fstream.tcc (basic_filebuf<>::showmanyc()):
3204 (basic_filebuf<>::xsgetn(_CharT*, streamsize)): Likewise.
3206 2005-04-08 Kelley Cook <kcook@gcc.gnu.org>
3208 * acconfig.h: Sort the bottom section.
3209 * config.h.in: Regenerate.
3211 2005-04-08 Kelley Cook <kcook@gcc.gnu.org>
3213 * acconfig.h: Remove redundant HAVE_FLOAT_H.
3214 * config.h.in: Regenerate.
3216 2005-04-08 Kelley Cook <kcook@gcc.gnu.org>
3218 * configure.ac: Create template for PACKAGE and VERSION.
3219 Update comment on how to regenerate file. Update minimum
3220 automake version to 1.9.3.
3221 * acconfig.h: Remove PACKAGE and VERSION.
3222 * aclocal.m4, configure, Makefile.in, po/Makefile.in,
3223 src/Makefile.in, include/Makefile.in, libmath/Makefile.in,
3224 testsuite/Makefile.in, config.h.in: Regenerate.
3226 2005-04-06 Benjamin Kosnik <bkoz@redhat.com>
3228 * docs/html/test.html: Update.
3229 * testsuite/printnow.c: Remove.
3230 * scripts/check_survey.in: Remove.
3232 * testsuite/abi_check.cc: To...
3233 * testuite/testsuite_abi_check.cc: ...here.
3234 * testsuite/libstdc++-abi/abi.exp: Change abi_check.cc to
3235 testsuite_abi_check.cc.
3237 * testsuite/testsuite_hooks.h: Move character related bits to...
3238 * testsuite/testsuite_character.h: ...here.
3239 * testsuite/testsuite_character.cc: ... and here.
3240 * testsuite/21_strings/basic_string/inserters_extractors/pod/
3241 10081-in.cc: Use testsuite_character.h.
3242 * testsuite/21_strings/basic_string/inserters_extractors/pod/
3244 * testsuite/22_locale/numpunct/members/pod/1.cc: Same.
3245 * testsuite/22_locale/numpunct/members/pod/2.cc: Same.
3246 * testsuite/27_io/basic_filebuf/2.cc: Same.
3247 * testsuite/27_io/basic_fstream/2.cc: Same.
3248 * testsuite/27_io/basic_istream/2.cc: Same.
3249 * testsuite/27_io/basic_istream/extractors_arithmetic/pod/
3251 * testsuite/27_io/basic_istream/extractors_character/char/
3253 * testsuite/27_io/basic_istream/extractors_character/pod/
3255 * testsuite/27_io/basic_istream/extractors_other/pod/3983-3.cc: Same.
3256 * testsuite/27_io/basic_istream/sentry/pod/1.cc: Same.
3257 * testsuite/27_io/basic_ostream/2.cc: Same.
3258 * testsuite/27_io/basic_ostream/sentry/pod/1.cc: Same.
3259 * testsuite/27_io/basic_streambuf/2.cc: Same.
3260 * testsuite/27_io/basic_stringbuf/2.cc: Same.
3261 * testsuite/27_io/basic_stringbuf/4.cc: Same.
3262 * testsuite/27_io/basic_stringstream/2.cc: Same.
3263 * testsuite/27_io/fpos/1.cc: Same.
3264 * testsuite/ext/mt_allocator/tune-1.cc: Same.
3265 * testsuite/ext/mt_allocator/tune-2.cc: Same.
3266 * testsuite/ext/stdio_filebuf/char/1.cc: Same.
3267 * testsuite/lib/libstdc++.exp (v3-build_support): Add
3268 testsuite_character.cc.
3269 * testsuite/Makefile.am (libv3test_a_SOURCES): Add
3270 testsuite_character.cc.
3271 * testsuite/Makefile.in: Regenerate.
3273 * configure.ac: Remove use of check_survey.
3274 * configure: Regenerate.
3275 * testsuite/Makefile.am: Remove check-script and
3276 check-script-install rules.
3277 * testsuite/Makefile.in: Regenerate.
3279 2005-04-06 Ulrich Weigand <uweigand@de.ibm.com>
3281 * config/cpu/s390/atomicity.h (__exchange_and_add): Add "memory"
3282 clobber to inline assembly statement.
3284 2005-04-06 Kelley Cook <kcook@gcc.gnu.org>
3286 * acinclude.m4 (_GLIBCXX_USE_LONG_LONG,
3287 _GLIBCXX_USE_WCHAR_T, _GLIBCXX_USE_C99, _GLIBCXX_USE_C99_MATH,
3288 _GLIBCXX_USE_C99_COMPLEX, _GLIBCXX_RES_LIMITS, _GLIBCXX_CONCEPT_CHECKS,
3289 _GLIBCXX_SYMVER, _GLIBCXX_USE_LFS, _GLIBCXX_FULLY_DYNAMIC_STRING,
3290 _GLIBCXX_USE_NLS, HAVE_GTHR_DEFAULT, HAVE_MBSTATE_T, HAVE_POLL,
3291 HAVE_S_ISREG, HAVE_S_IFREG, HAVE_WRITEV, HAVE_INT64_T,
3292 HAVE_LC_MESSAGES): Use long form of AC_DEFINE ...
3293 * acconfig.h: ... to eliminate them from here.
3294 (_GLIBCXX_ASM_SYMVER): Move definition below @BOTTOM@.
3295 * config.h.in, configure: Regenerate.
3297 2005-04-05 Kelley Cook <kcook@gcc.gnu.org>
3299 * Makefile.am (ACLOCAL_AMFLAGS): Define.
3300 * crossconfig.m4: Wrap file into new GLIBCXX_CROSSCONFIG macro.
3301 * configure.ac: Use it.
3302 * acinclude.m4: Delete explicit m4_includes and sincludes.
3303 * aclocal.m4, configure, Makefile.in, po/Makefile.in,
3304 src/Makefile.in, include/Makefile.in, libmath/Makefile.in,
3305 testsuite/Makefile.in: Regenerate.
3307 2005-04-05 Jonathan Wakely <redi@gcc.gnu.org>
3309 * include/tr1/memory, include/tr1/boost_shared_ptr.h: Use mutex
3310 to make _Sp_counted_base::add_ref_lock() thread-safe. Check whether
3311 to destroy resources by testing for equality, not inequality. Add
3312 empty critical sections to solve memory visibility issues.
3313 * testsuite/tr1/2_general_utilities/memory/
3314 shared_ptr/cons/auto_ptr_neg.cc: Use dg-excess-errors instead of
3315 explicitly listing line numbers which need to be kept in sync.
3316 * testsuite/tr1/2_general_utilities/memory/
3317 shared_ptr/assign/auto_ptr_neg.cc: Same.
3318 * testsuite/tr1/2_general_utilities/memory/
3319 shared_ptr/assign/auto_ptr_rvalue_neg.cc: Same.
3320 * testsuite/tr1/2_general_utilities/memory/
3321 shared_ptr/cons/weak_ptr_expired.cc: Make XFAIL for consistency when
3323 * testsuite/tr1/2_general_utilities/memory/
3324 enable_shared_from_this/not_shared.cc: Add explanatory comments.
3325 * testsuite/tr1/2_general_utilities/memory/
3326 enable_shared_from_this/not_shared2.cc: Same.
3327 * testsuite/tr1/2_general_utilities/memory/
3328 enable_shared_from_this/not_shared3.cc: Same.
3330 2005-04-05 Kelley Cook <kcook@gcc.gnu.org>
3332 * acconfig.h: Delete macros already AC_DEFINED.
3333 * config.h.in: Regenerate.
3335 2005-04-05 Kelley Cook <kcook@gcc.gnu.org>
3337 * acconfig.h (HAVE_MODF): Remove.
3338 * linkage.m4: Check for modf.
3339 * config.h.in, configure: Regenerate.
3341 2005-04-05 Kelley Cook <kcook@gcc.gnu.org>
3343 * acconfig.h (ENABLE_NLS, HAVE_CATGETS): Remove.
3344 (HAVE_GETTEXT, HAVE_STPCPY): Likewise.
3345 * config.h.in: Regenerate.
3347 2005-04-05 Kelley Cook <kcook@gcc.gnu.org>
3349 * linkage.m4 (GLIBCXX_CHECK_BUILTIN_MATH_DEC): Use m4 translit macro
3350 to convert to uppercase instead of shelling out to tr.
3351 * acconfig.h: Remove now redundant HAVE__BUILTINS_*.
3352 * configure, config.h.in: Regenerate.
3354 2005-04-05 Kelley Cook <kcook@gcc.gnu.org>
3356 * acconfig.h (HAVE_TANL): Correct cut-and-paste typo.
3357 * config.h.in: Regenerate.
3359 2005-04-04 Mark Mitchell <mark@codesourcery.com>
3361 * testsuite/Makefile.am (check-local): Remove.
3362 (curent_symbols.txt): Likewise.
3363 (check-abi): Do not depend on current_symbols.txt.
3364 * testsuite/Makefile.in: Regenerated.
3365 * testsuite/libstdc++-abi/abi.exp: Build current_symbols.txt.
3367 2005-04-02 Douglas Gregor <doug.gregor@gmail.com>
3369 * include/tr1/tuple_iterate.h (tuple_element): Use new macro
3370 _GLIBCXX_T_NUM_ARGS_PLUS_1 because _T is a macro on Darwin.
3371 * include/tr1/repeat.h (_GLIBCXX_T_NUM_ARGS_PLUS_1): Define for
3373 * scripts/gen_includers.h: Define _GLIBCXX_T_NUM_ARGS_PLUS_1 for
3376 2005-04-01 Douglas Gregor <doug.gregor@gmail.com>
3378 * include/tr1/functional (_Maybe_wrap_member_pointer): Wrap up
3379 member pointers in _Mem_fn but let other function objects pass
3381 * include/tr1/functional_iterator (bind): Reduce number of bind()
3382 overloads to two to eliminate ambiguities. Use
3383 _Maybe_wrap_member_pointer to handle member pointers gracefully.
3385 2005-04-01 Mark Mitchell <mark@codesourcery.com>
3387 * testsuite/Makefile.am (noinst_PROGRAMS): Remove.
3388 (site.exp): Write out the path to the baseline file.
3389 (check-abi): Use DejaGNU.
3390 (check-abi-verbose): Remove.
3391 * testsuite/Makefile.in: Regenerated.
3392 * testsuite/abi_check.cc (main): Check the return value from
3394 * testsuite/testsuite_abi.cc (compare_symbols): Return a value.
3395 * testsuite/testsuite_abi.h (compare_symbols): Adjust prototype.
3396 * testsuite/libstdc++-abi/abi.exp: New file.
3398 2005-03-31 Chris Jefferson <chris@bubblescope.net>
3400 * include/tr1/tuple: Support iteration via tuple_iterate.h.
3401 * include/tr1/tuple_iterate.h: Iteration file for tuple.
3403 2005-03-31 Douglas Gregor <doug.gregor@gmail.com>
3405 * include/Makefile.am (tr1_headers): Add bind and mu repetition
3406 headers and reference_wrapper<> forwarding header.
3407 * include/Makefile.in: Regenerate.
3408 * include/tr1/bind_iterate.h: Implementation of function call
3409 operators for the function object returned from tr1::bind().
3410 * include/tr1/bind_repeat.h: Bind-specific repetition header,
3411 akin to include/tr1/repeat.h.
3412 * include/tr1/functional (_Mem_fn): Bug fix: declare result member
3413 template for use with result_of.
3414 (is_bind_expression): New.
3415 (is_placeholder): New.
3416 (_Placeholder): New. Placeholder type for bind.
3417 (_Mu): New. Implementation detail of bind.
3418 (_Bind, _Bind_result): New. Function objects returned by bind.
3419 (_GLIBCXX_JOIN): New. Required to create bind placeholders.
3420 * include/tr1/functional_iterate.h (_Bind, _Bind_result, bind):
3421 New. Implementation of tr1::bind.
3422 * include/tr1/mu_iterate.h (_Mu): result template and operator()
3423 for the _Mu helper to bind.
3424 * include/tr1/ref_fwd.h (reference_wrapper): Forward declaration
3425 used by tuple header.
3428 * include/tr1/repeat.h: Add bind-specific repetition macros.
3429 * include/tr1/tuple: Use reference_wrapper forwarding header for
3430 initial definitions, then include <tr1/functional> at the end, to
3431 make the circular dependencies work.
3432 (tie): Support zero-argument tie() function.
3433 * testsuite/tr1/3_function_objects/bind/all_bound.cc: New test of
3434 bind() functionality with parameters bound.
3435 * testsuite/tr1/3_function_objects/bind/nested.cc: New test of
3436 nested bind() expressions.
3437 * testsuite/tr1/3_function_objects/bind/placeholders.cc: New test
3438 of bind() placeholders.
3439 * testsuite/tr1/3_function_objects/bind/ref.cc: New test of bind()
3440 with arguments bound via reference_wrapper<>.
3441 * scripts/gen_includers.pl: Generate the repetitive part of
3442 include/tr1/repeat.h.
3443 * scripts/gen_bind_includers.pl: Generate the repetitive part of
3444 include/tr1/bind_repeat.h.
3446 2005-03-30 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
3448 * testsuite/Makefile.am (CXX): Use ${SHELL}.
3449 (GLIBCXX_INCLUDES): Same.
3450 (AM_CXXFLAGS): Same.
3451 * testsuite/Makefile.in: Regenerate.
3453 2005-03-25 Mark Mitchell <mark@codesourcery.com>
3455 * testsuite/lib/libstdc++.exp (libstdc++_init): Define LOCALEDIR
3456 when testing an installed compiler.
3458 * testsuite/lib/libstdc++.exp (v3-build_support): Pass -w when
3459 compiling support objects.
3461 2005-03-24 Benjamin Kosnik <bkoz@redhat.com>
3463 * include/tr1/memory: Forward to...
3464 * include/tr1/boost_shared_ptr.h: ...here. Add Boost Software License.
3465 * include/Makefile.am (tr1_headers): Add boost_shared_ptr.h.
3466 * include/Makefile.in: Regenerate.
3467 * testsuite/tr1/2_general_utilities/memory/shared_ptr/cons/
3468 auto_ptr_neg.cc: Adjust line numbers.
3470 2005-03-23 Mark Mitchell <mark@codesourcery.com>
3472 * testsuite/Makefile.am (all-local): Do not build testsuite_files.
3473 * testsuite/Makefile.in: Regenerated.
3475 2005-03-23 Benjamin Kosnik <bkoz@redhat.com>
3477 * acinclude.m4: Adjust so that _GLIBCXX_USE_C99 implies
3478 using _GLIBCXX_USE_C99_COMPLEX, _GLIBCXX_USE_C99_MATH, and
3479 _GLIBCXX_USE_C99_WCHAR.
3480 Remove GLIBCXX_ENABLE_C_MBCHAR, consolidate in GLIBCXX_ENABLE_C99
3481 and GLIBCXX_ENABLE_WCHAR_T.
3482 Take C99 bits from GLIBCXX_CHECK_WCHAR_T_SUPPORT and put in
3484 Change remaining parts of GLIBCXX_CHECK_WCHAR_T_SUPPORT to
3485 GLIBCXX_CHECK_ICONV_SUPPORT.
3486 * configure.ac: Remove GLIBCXX_ENABLE_C_MBCHAR, use
3487 GLIBCXX_CHECK_ICONV_SUPPORT and GLIBCXX_ENABLE_WCHAR_T.
3488 * crossconfig.m4: Same.
3489 * acconfig.h: Same, adjust comments.
3490 * config.h.in: Regenerate.
3491 * configure: Regenerate.
3492 * docs/html/configopts.html: Change --enable-c-mbchar to
3495 * config/locale/gnu/c++locale_internal.h: Guard wide functions
3496 with _GLIBCXX_USE_WCHAR_T.
3497 * include/c_std/std_cwctype.h: Alphabetize, remove duplicates.
3498 * include/c_std/std_cstdio.h: Spacing.
3500 * config/locale/gnu/c_locale.h: Tweaks for unused warnings.
3501 * src/debug.cc: Same.
3503 2005-03-23 Mark Mitchell <mark@codesourcery.com>
3505 * testsuite/libstdc++-dg/normal.exp: Read testsuite_files, if it
3508 * testsuite/lib/libstdc++.exp (libstdc++_wchar_t): Rename to ...
3509 (v3-wchar_t): ... this.
3510 (libstdc++_threads): Rename to ...
3511 (v3-threads): ... this.
3512 (libstdc++_test_objs): Rename to ...
3513 (v3-test_objs): ... this.
3514 (libstdc++_build_support): Rename to ...
3515 (v3-build_support): ... this.
3516 * testsuite/libstdc++-dg/normal.exp: Adjust to use new names.
3518 * testsuite/lib/libstdc++.exp (libstdc++_init): Improve handling
3519 of compilers not in the build directory.
3520 (libstdc++_wchar_t): New variable.
3521 (libstdc++_threads): Likewise.
3522 (libstdc++_test_objs): Likewise.
3523 (v3_target_compile): Use libstdc++_test_objs.
3524 (v3-list-tests): Remove.
3525 (listdc++_build_support): New function.
3526 * testsuite/libstdc++-dg/normal.exp: Rework to dynamically
3527 generate list of tests.
3529 2005-03-21 Chris Jefferson <chris@bubblescope.net>
3532 * include/bits/stl_algobase.h (iter_swap): Only delegate iter_swap
3533 to swap when the iterator's reference_type is a reference to its
3535 * testsuite/25_algorithms/iter_swap/20577.cc: New.
3537 2005-03-21 Zack Weinberg <zack@codesourcery.com>
3539 * acinclude.m4 (GLIBCXX_CONFIGURE): Delete gcc_version logic.
3540 (GLIBCXX_EXPORT_INSTALL_INFO): Adjust quotation so ${gcc_version}
3541 is expanded by the Makefiles, not by configure.
3542 * fragment.am: Set gcc_version.
3543 * libmath/Makefile.am: Likewise.
3544 * configure, Makefile.in, include/Makefile.in, libmath/Makefile.in
3545 * libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in
3546 * testsuite/Makefile.in: Regenerate.
3548 2005-03-16 Paolo Carlini <pcarlini@suse.de>
3550 * testsuite/20_util/functional/binders.cc: Remove explicit
3551 instantiations for non-weak systems.
3552 * testsuite/20_util/memory/allocator/1.cc: Likewise.
3553 * testsuite/20_util/memory/allocator/10378.cc: Likewise.
3554 * testsuite/20_util/memory/allocator/10416.cc: Likewise.
3555 * testsuite/20_util/memory/allocator/8230.cc: Likewise.
3556 * testsuite/20_util/utility/rel_ops.cc: Likewise.
3557 * testsuite/22_locale/ctype/is/char/2.cc: Likewise.
3558 * testsuite/22_locale/ctype/is/wchar_t/2.cc: Likewise.
3559 * testsuite/23_containers/deque/cons/1.cc: Likewise.
3560 * testsuite/23_containers/deque/cons/2.cc: Likewise.
3561 * testsuite/23_containers/deque/invalidation/1.cc: Likewise.
3562 * testsuite/23_containers/deque/invalidation/2.cc: Likewise.
3563 * testsuite/23_containers/deque/invalidation/3.cc: Likewise.
3564 * testsuite/23_containers/deque/invalidation/4.cc: Likewise.
3565 * testsuite/23_containers/deque/modifiers/swap.cc: Likewise.
3566 * testsuite/23_containers/deque/operators/1.cc: Likewise.
3567 * testsuite/23_containers/list/capacity/1.cc: Likewise.
3568 * testsuite/23_containers/list/cons/1.cc: Likewise.
3569 * testsuite/23_containers/list/cons/2.cc: Likewise.
3570 * testsuite/23_containers/list/cons/3.cc: Likewise.
3571 * testsuite/23_containers/list/cons/4.cc: Likewise.
3572 * testsuite/23_containers/list/cons/5.cc: Likewise.
3573 * testsuite/23_containers/list/cons/6.cc: Likewise.
3574 * testsuite/23_containers/list/cons/7.cc: Likewise.
3575 * testsuite/23_containers/list/cons/8.cc: Likewise.
3576 * testsuite/23_containers/list/cons/9.cc: Likewise.
3577 * testsuite/23_containers/list/invalidation/1.cc: Likewise.
3578 * testsuite/23_containers/list/invalidation/2.cc: Likewise.
3579 * testsuite/23_containers/list/invalidation/3.cc: Likewise.
3580 * testsuite/23_containers/list/invalidation/4.cc: Likewise.
3581 * testsuite/23_containers/list/modifiers/1.cc: Likewise.
3582 * testsuite/23_containers/list/modifiers/2.cc: Likewise.
3583 * testsuite/23_containers/list/modifiers/3.cc: Likewise.
3584 * testsuite/23_containers/list/operators/1.cc: Likewise.
3585 * testsuite/23_containers/list/operators/2.cc: Likewise.
3586 * testsuite/23_containers/list/operators/3.cc: Likewise.
3587 * testsuite/23_containers/list/operators/4.cc: Likewise.
3588 * testsuite/23_containers/map/insert/1.cc: Likewise.
3589 * testsuite/23_containers/map/invalidation/1.cc: Likewise.
3590 * testsuite/23_containers/map/invalidation/2.cc: Likewise.
3591 * testsuite/23_containers/map/modifiers/swap.cc: Likewise.
3592 * testsuite/23_containers/map/operators/1.cc: Likewise.
3593 * testsuite/23_containers/multimap/invalidation/1.cc: Likewise.
3594 * testsuite/23_containers/multimap/invalidation/2.cc: Likewise.
3595 * testsuite/23_containers/multimap/modifiers/swap.cc: Likewise.
3596 * testsuite/23_containers/multiset/insert/1.cc: Likewise.
3597 * testsuite/23_containers/multiset/insert/2.cc: Likewise.
3598 * testsuite/23_containers/multiset/invalidation/1.cc: Likewise.
3599 * testsuite/23_containers/multiset/invalidation/2.cc: Likewise.
3600 * testsuite/23_containers/multiset/modifiers/swap.cc: Likewise.
3601 * testsuite/23_containers/priority_queue/members/7161.cc: Likewise.
3602 * testsuite/23_containers/queue/members/7157.cc: Likewise.
3603 * testsuite/23_containers/set/insert/1.cc: Likewise.
3604 * testsuite/23_containers/set/invalidation/1.cc: Likewise.
3605 * testsuite/23_containers/set/invalidation/2.cc: Likewise.
3606 * testsuite/23_containers/set/modifiers/swap.cc: Likewise.
3607 * testsuite/23_containers/stack/members/7158.cc: Likewise.
3608 * testsuite/23_containers/vector/bool/6886.cc: Likewise.
3609 * testsuite/23_containers/vector/capacity/1.cc: Likewise.
3610 * testsuite/23_containers/vector/capacity/8230.cc: Likewise.
3611 * testsuite/23_containers/vector/cons/1.cc: Likewise.
3612 * testsuite/23_containers/vector/cons/2.cc: Likewise.
3613 * testsuite/23_containers/vector/cons/3.cc: Likewise.
3614 * testsuite/23_containers/vector/cons/6513.cc: Likewise.
3615 * testsuite/23_containers/vector/element_access/1.cc: Likewise.
3616 * testsuite/23_containers/vector/invalidation/1.cc: Likewise.
3617 * testsuite/23_containers/vector/invalidation/2.cc: Likewise.
3618 * testsuite/23_containers/vector/invalidation/3.cc: Likewise.
3619 * testsuite/23_containers/vector/invalidation/4.cc: Likewise.
3620 * testsuite/23_containers/vector/modifiers/1.cc: Likewise.
3621 * testsuite/23_containers/vector/modifiers/2.cc: Likewise.
3622 * testsuite/23_containers/vector/modifiers/swap.cc: Likewise.
3623 * testsuite/23_containers/vector/resize/1.cc: Likewise.
3624 * testsuite/24_iterators/back_insert_iterator.cc: Likewise.
3625 * testsuite/24_iterators/front_insert_iterator.cc: Likewise.
3626 * testsuite/24_iterators/insert_iterator.cc: Likewise.
3627 * testsuite/24_iterators/iterator.cc: Likewise.
3628 * testsuite/25_algorithms/copy/1.cc: Likewise.
3629 * testsuite/25_algorithms/copy/2.cc: Likewise.
3630 * testsuite/25_algorithms/copy/3.cc: Likewise.
3631 * testsuite/25_algorithms/copy/4.cc: Likewise.
3632 * testsuite/25_algorithms/equal.cc: Likewise.
3633 * testsuite/25_algorithms/fill/1.cc: Likewise.
3634 * testsuite/25_algorithms/fill/2.cc: Likewise.
3635 * testsuite/25_algorithms/min_max.cc: Likewise.
3636 * testsuite/25_algorithms/rotate.cc: Likewise.
3637 * testsuite/25_algorithms/unique/1.cc: Likewise.
3638 * testsuite/25_algorithms/unique/2.cc: Likewise.
3639 * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9874.cc: Likewise.
3640 * testsuite/ext/concept_checks.cc: Likewise.
3641 * testsuite/ext/hash_map/1.cc: Likewise.
3642 * testsuite/ext/hash_set/1.cc: Likewise.
3643 * testsuite/ext/rope/1.cc: Likewise.
3644 * testsuite/ext/rope/2.cc: Likewise.
3645 * testsuite/ext/rope/3.cc: Likewise.
3646 * testsuite/thread/pthread1.cc: Likewise.
3647 * testsuite/thread/pthread4.cc: Likewise.
3648 * testsuite/thread/pthread5.cc: Likewise.
3649 * testsuite/thread/pthread6.cc: Likewise.
3650 * testsuite/thread/pthread7-rope.cc: Likewise.
3652 2005-03-15 Zack Weinberg <zack@codesourcery.com>
3654 * include/Makefile.am (c++config.h): Depend on DATESTAMP from gcc
3655 subdirectory. Generate #define of __GLIBCXX__ from contents of
3657 * include/Makefile.in: Regenerate.
3658 * include/bits/c++config: Do not define __GLIBCXX__.
3660 2005-03-15 Paolo Carlini <pcarlini@suse.de>
3663 * include/std/std_complex.h (pow(const complex<_Tp>&,
3664 const _Tp&)): On non-c99 platforms, don't try to compute
3665 log of complex zero.
3667 2005-03-10 Ben Elliston <bje@au.ibm.com>
3669 * testsuite/22_locale/locale/cons/12658_thread-1.cc: Don't XFAIL
3672 2005-03-07 Paolo Carlini <pcarlini@suse.de>
3674 * include/tr1/type_traits (is_polymorphic): Don't forget
3675 the virtual destructor, thus avoiding warnings.
3676 * testsuite/testsuite_tr1.h (class AbstractClass,
3677 class PolymorphicClass): Likewise.
3679 2005-03-07 Paolo Carlini <pcarlini@suse.de>
3681 * include/std/std_complex.h (pow(const complex<_Tp>&,
3682 const complex<_Tp>&)): Dispatch to either __complex_pow(__x.__rep(),
3683 __y.__rep()) or __complex_pow(__x, __y) depending on the macro
3684 _GLIBCXX_USE_C99_COMPLEX.
3686 2005-03-07 Paolo Carlini <pcarlini@suse.de>
3688 * include/std/std_fstream.h (basic_fstream<>::open,
3689 basic_ifstream<>::open, basic_ofstream<>::open): Implement the
3690 resolution of DR 409 [Ready], call clear() on success.
3691 * docs/html/ext/howto.html: Add an entry for DR 409.
3692 * docs/html/faq/index.html (4_4): Clarify the new behavior.
3693 * testsuite/27_io/basic_ifstream/open/char/1.cc: Adjust.
3694 * testsuite/27_io/basic_ofstream/open/char/1.cc: Likewise.
3696 2005-03-05 Joseph S. Myers <joseph@codesourcery.com>
3698 * testsuite/22_locale/collate/compare/wchar_t/2.cc,
3699 testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc,
3700 testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc,
3701 testsuite/22_locale/collate/hash/wchar_t/2.cc,
3702 testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc,
3703 testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc,
3704 testsuite/22_locale/collate/transform/wchar_t/2.cc,
3705 testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc,
3706 testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc:
3707 XFAIL on *-*-hpux11.23.
3709 2005-03-04 Paolo Carlini <pcarlini@suse.de>
3711 * include/tr1/type_traits: Add is_base_of.
3712 * testsuite/tr1/4_metaprogramming/relationships_between_types/
3713 is_base_of/is_base_of.cc: New.
3714 * testsuite/tr1/4_metaprogramming/relationships_between_types/
3715 is_base_of/typedefs.cc: Likewise.
3717 2005-03-03 Benjamin Kosnik <bkoz@redhat.com>
3719 * include/tr1/functional: Convert relative path.
3721 * docs/doxygen/user.cfg.in: Add tr1 includes.
3723 2005-03-03 Paolo Carlini <pcarlini@suse.de>
3725 * include/tr1/type_traits: Implemenet is_polymorphic.
3726 (is_empty): Minor tweaks.
3727 * testsuite/testsuite_tr1.h: Add test types.
3728 * testsuite/tr1/4_metaprogramming/type_properties/
3729 is_polymorphic/is_polymorphic.cc: New.
3730 * testsuite/tr1/4_metaprogramming/type_properties/
3731 is_polymorphic/typedefs.cc: Likewise.
3732 * testsuite/tr1/4_metaprogramming/composite_type_traits/
3733 is_union_or_class/is_union_or_class.cc: Add tests.
3735 2005-03-02 Douglas Gregor <doug.gregor@gmail.com>
3737 * include/tr1/functional (_Has_result_type): Cleanup.
3738 (_Result_of_impl): Handle member data pointers correctly.
3739 (reference_wrapper): Support invocation.
3740 Move repetition code into new file include/tr1/repeat.h.
3741 * include/tr1/functional_iterate.h (reference_wrapper): Support
3742 invocation. Cleanup long lines.
3743 * include/tr1/ref_wrap_iterate.h (reference_wrapper): Declare
3744 invocation operators.
3745 * include/tr1/repeat.h: Code repetition header.
3746 * include/Makefile.am: Add ref_wrap_iterate.h, repeat.h.
3747 * include/Makefile.in: Add ref_wrap_iterate.h, repeat.h.
3748 * testsuite/tr1/3_function_objects/reference_wrapper/invoke.cc:
3749 New test of reference_wrapper invocation.
3750 * testsuite/tr1/3_function_objects/reference_wrapper/typedefs.cc:
3751 New test of reference_wrapper typedefs and base classes.
3752 * testsuite/tr1/3_function_objects/result_of.cc: Trivial cleanup
3755 2005-03-02 Douglas Gregor <doug.gregor@gmail.com>
3757 * include/tr1/function (result_of): New class template.
3758 * include/tr1/functional/iterator.h: Implementation of TR1
3760 * testsuite/tr1/3_function_objects/result_of.cc: New test
3762 2005-03-01 Vladimir Merzliakov <wanderer@rsu.ru>
3764 * testsuite/26_numerics/cmath/c99_classification_macros_c.cc: Tweak.
3766 2005-02-28 Benjamin Kosnik <bkoz@redhat.com>
3768 * testsuite/tr1/2_general_utilities/memory/shared_ptr/
3769 cons/auto_ptr_neg.cc: Correct line numbers.
3771 * testsuite/testsuite_abi.cc: Add CXXABI_1.3.1.
3773 2005-02-28 Jonathan Wakely <redi@gcc.gnu.org>
3775 * include/tr1/memory: Replace checked_deleter with (unchecked)
3776 _Sp_deleter as GCC warns about delete on incomplete types anyway.
3778 2005-02-28 Jonathan Wakely <redi@gcc.gnu.org>
3780 * include/tr1/memory: Add missing "inline" to __throw_bad_weak_ptr.
3782 2005-02-28 Hans-Peter Nilsson <hp@axis.com>
3785 * config/cpu/cris/atomicity.h (__exchange_and_add): In asm, use
3786 'Q' constraint, not 'm'.
3788 2005-02-26 Earl Chew <earl_chew@agilent.com>
3789 Christopher Jefferson <chris@bubblescope.net>
3791 * include/bits/stl_tree.h (_Rb_tree<>::_M_insert): Don't leak
3792 memory if _M_key_compare throws.
3794 2005-02-25 Paolo Carlini <pcarlini@suse.de>
3796 * include/tr1/type_traits: Add the trivial is_union and is_class;
3797 add the __is_union_or_class extension.
3798 (is_enum, is_empty): Use the latter.
3799 * include/tr1/type_traits_fwd.h: Add __is_union_or_class.
3800 * testsuite/testsuite_tr1.h: Add UnionType; trivial formatting
3802 * testsuite/tr1/4_metaprogramming/composite_type_traits/
3803 is_union_or_class/is_union_or_class.cc: New.
3804 * testsuite/tr1/4_metaprogramming/composite_type_traits/
3805 is_union_or_class/typedefs.cc: Likewise.
3807 2005-02-24 Benjamin Kosnik <bkoz@redhat.com>
3809 * testsuite/tr1/6_containers/unordered/instantiate/hash.cc: Guard
3810 wchar_t use with _GLIBCXX_USE_WCHAR_T.
3812 2005-02-24 Benjamin Kosnik <bkoz@redhat.com>
3814 * include/std/std_complex.h: _GLIBCXX_USE_C99_COMPLEX_MATH to
3815 _GLIBCXX_USE_C99_COMPLEX.
3816 * acinclude.m4: Same.
3818 * configure: Regenerate.
3819 * config.h.in: Same.
3821 2005-02-24 Paolo Carlini <pcarlini@suse.de>
3823 * include/tr1/functional (mem_fn): Avoid _T, badname on
3826 2005-02-23 Douglas Gregor <doug.gregor@gmail.com>
3828 * include/tr1/functional (function): New class template.
3829 (mem_fn): New function template.
3830 Implementations of TR1 function and mem_fn facilities.
3831 * include/tr1/functional_iterate.h: Implementations of TR1
3832 function and mem_fn facilities.
3833 * testsuite/tr1/3_function_objects/function/1.cc: New
3834 test of std::tr1::function.
3835 * testsuite/tr1/3_function_objects/function/2.cc: New
3836 test of std::tr1::function.
3837 * testsuite/tr1/3_function_objects/function/3.cc: New
3838 test of std::tr1::function.
3839 * testsuite/tr1/3_function_objects/function/4.cc: New
3840 test of std::tr1::function.
3841 * testsuite/tr1/3_function_objects/function/5.cc: New
3842 test of std::tr1::function.
3843 * testsuite/tr1/3_function_objects/function/6.cc: New
3844 test of std::tr1::function.
3845 * testsuite/tr1/3_function_objects/function/7.cc: New
3846 test of std::tr1::function.
3847 * testsuite/tr1/3_function_objects/function/8.cc: New
3848 test of std::tr1::function.
3849 * testsuite/tr1/3_function_objects/function/9.cc: New
3850 test of std::tr1::function.
3851 * testsuite/tr1/3_function_objects/mem_fn.cc: New test of
3854 2005-02-23 Paolo Carlini <pcarlini@suse.de>
3856 * include/tr1/type_traits: Implement is_convertible.
3857 * testsuite/tr1/4_metaprogramming/relationships_between_types/
3858 is_convertible/is_convertible.cc: New.
3859 * testsuite/tr1/4_metaprogramming/relationships_between_types/
3860 is_convertible/typedefs.cc: Likewise.
3861 * testsuite/testsuite_tr1.h: Add class DerivedType.
3863 * include/tr1/type_traits (is_function): Don't mistake references
3864 to function types for function types.
3865 * testsuite/tr1/4_metaprogramming/primary_type_categories/
3866 is_function/is_function.cc: Add testcase.
3868 2005-02-22 Benjamin Kosnik <bkoz@redhat.com>
3870 * scripts/check_performance: Tweaks.
3872 * testsuite/27_io/basic_ostream/inserters_other/wchar_t/2.cc: Name
3873 output file with extension that clean rules can find.
3875 2005-02-22 Richard Henderson <rth@redhat.com>
3878 * libsupc++/eh_catch.cc (__cxa_begin_catch): Don't special case
3879 decrement of uncaughtExceptions for rethrow.
3881 2005-02-22 Paolo Carlini <pcarlini@suse.de>
3883 * include/tr1/functional: Fix License to GPL with exception.
3884 * include/tr1/hashtable: Likewise.
3885 * include/tr1/tuple: Likewise.
3886 * include/tr1/type_traits: Likewise.
3887 * include/tr1/type_traits_fwd.h: Likewise.
3888 * include/tr1/unordered_map: Likewise.
3889 * include/tr1/unordered_set: Likewise.
3890 * include/tr1/utility: Likewise.
3892 2005-02-22 Paolo Carlini <pcarlini@suse.de>
3894 * testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/
3895 auto_ptr_neg.cc: Add missing dg-do compile directive.
3896 * testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/
3897 auto_ptr_rvalue_neg.cc: Likewise.
3898 * testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/
3899 shared_ptr_neg.cc: Likewise.
3900 * testsuite/tr1/2_general_utilities/memory/shared_ptr/cons/
3901 auto_ptr_neg.cc: Likewise.
3902 * testsuite/tr1/2_general_utilities/memory/shared_ptr/modifiers/
3903 reset_neg.cc: Likewise.
3904 * testsuite/tr1/2_general_utilities/memory/shared_ptr/modifiers/
3905 swap_neg.cc: Likewise.
3907 2005-02-22 Jonathan Wakely <redi@gcc.gnu.org>
3909 * include/Makefile.am, include/Makefile.in: Fix accidental extra
3910 change from previous commit.
3912 2005-02-21 Jonathan Wakely <redi@gcc.gnu.org>
3914 * include/tr1/memory: New file.
3915 * include/Makefile.am, include/Makefile.in: Add new TR1 header.
3916 * testsuite/tr1/2_general_utilities/memory/
3917 enable_shared_from_this/not_shared.cc: New test.
3918 * testsuite/tr1/2_general_utilities/memory/
3919 enable_shared_from_this/not_shared2.cc: New test.
3920 * testsuite/tr1/2_general_utilities/memory/
3921 enable_shared_from_this/not_shared3.cc: New test.
3922 * testsuite/tr1/2_general_utilities/memory/
3923 enable_shared_from_this/shared.cc: New test.
3924 * testsuite/tr1/2_general_utilities/memory/
3925 enable_shared_from_this/still_shared.cc: New test.
3926 * testsuite/tr1/2_general_utilities/memory/
3927 shared_ptr/assign/assign.cc: New test.
3928 * testsuite/tr1/2_general_utilities/memory/
3929 shared_ptr/assign/auto_ptr.cc: New test.
3930 * testsuite/tr1/2_general_utilities/memory/
3931 shared_ptr/assign/auto_ptr_neg.cc: New test.
3932 * testsuite/tr1/2_general_utilities/memory/
3933 shared_ptr/assign/auto_ptr_rvalue_neg.cc: New test.
3934 * testsuite/tr1/2_general_utilities/memory/
3935 shared_ptr/assign/shared_ptr.cc: New test.
3936 * testsuite/tr1/2_general_utilities/memory/
3937 shared_ptr/assign/shared_ptr_neg.cc: New test.
3938 * testsuite/tr1/2_general_utilities/memory/
3939 shared_ptr/comparison/cmp.cc: New test.
3940 * testsuite/tr1/2_general_utilities/memory/
3941 shared_ptr/cons/auto_ptr.cc: New test.
3942 * testsuite/tr1/2_general_utilities/memory/
3943 shared_ptr/cons/auto_ptr_neg.cc: New test.
3944 * testsuite/tr1/2_general_utilities/memory/
3945 shared_ptr/cons/copy.cc: New test.
3946 * testsuite/tr1/2_general_utilities/memory/
3947 shared_ptr/cons/default.cc: New test.
3948 * testsuite/tr1/2_general_utilities/memory/
3949 shared_ptr/cons/pointer.cc: New test.
3950 * testsuite/tr1/2_general_utilities/memory/
3951 shared_ptr/cons/weak_ptr.cc: New test.
3952 * testsuite/tr1/2_general_utilities/memory/
3953 shared_ptr/cons/weak_ptr_expired.cc: New test.
3954 * testsuite/tr1/2_general_utilities/memory/
3955 shared_ptr/dest/dest.cc: New test.
3956 * testsuite/tr1/2_general_utilities/memory/
3957 shared_ptr/misc/io.cc: New test.
3958 * testsuite/tr1/2_general_utilities/memory/
3959 shared_ptr/misc/swap.cc: New test.
3960 * testsuite/tr1/2_general_utilities/memory/
3961 shared_ptr/modifiers/reset.cc: New test.
3962 * testsuite/tr1/2_general_utilities/memory/
3963 shared_ptr/modifiers/reset_neg.cc: New test.
3964 * testsuite/tr1/2_general_utilities/memory/
3965 shared_ptr/modifiers/swap.cc: New test.
3966 * testsuite/tr1/2_general_utilities/memory/
3967 shared_ptr/modifiers/swap_neg.cc: New test.
3968 * testsuite/tr1/2_general_utilities/memory/
3969 shared_ptr/observers/bool_conv.cc: New test.
3970 * testsuite/tr1/2_general_utilities/memory/
3971 shared_ptr/observers/get.cc: New test.
3972 * testsuite/tr1/2_general_utilities/memory/
3973 shared_ptr/observers/unique.cc: New test.
3974 * testsuite/tr1/2_general_utilities/memory/
3975 shared_ptr/observers/use_count.cc: New test.
3977 2005-02-21 Paolo Carlini <pcarlini@suse.de>
3979 * include/tr1/type_traits (is_member_function_pointer):
3980 Remove ugly workaround for c++/19076.
3982 2005-02-21 Paolo Carlini <pcarlini@suse.de>
3984 * include/bits/basic_string.tcc (_Rep::_M_destroy): Don't
3985 check for this == &_S_empty_rep, it's always false, here.
3987 2005-02-19 Matt Austern <austern@gmail.com>
3989 * include/tr1/functional (tr1_hashtable_define_trivial_hash): Make
3990 hash<T>::operator() a const member function for T a fundamental type
3991 * include/tr1/hashtable (extract1st::operator()): Declare const.
3992 (hash_code_base): Declare all member functions const
3993 (hashtable::find): fix call to this->bucket_count()
3994 (hashtable::count): Likewise.
3995 (hashtable::equal_range): m_incr_bucket applies to iterator, not node.
3996 * testsuite/tr1/6_containers/unordered/find/set1.cc: New test.
3997 * testsuite/tr1/6_containers/unordered/find/map1.cc: New test.
3998 * testsuite/tr1/6_containers/unordered/find/multimap1.cc: New test.
3999 * testsuite/tr1/6_containers/unordered/find/multiset1.cc: New test.
4001 2005-02-19 Hans-Peter Nilsson <hp@axis.com>
4004 * include/tr1/functional (hash<std::wstring>): Wrap in #ifdef
4005 _GLIBCXX_USE_WCHAR_T.
4007 2005-02-18 Richard Henderson <rth@redhat.com>
4010 * config/linker-map.gnu (CXXABI_1.3.1): Add __cxa_get_exception_ptr.
4011 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Increment
4012 uncaughtExceptions here instead of ...
4013 * libsupc++/eh_throw.cc (__cxa_throw) ... here.
4014 (__cxa_rethrow): Increment uncaughtExceptions here instead of ...
4015 * libsupc++/eh_catch.cc (__cxa_end_catch): ... here.
4016 (__cxa_get_exception_ptr): New.
4017 * libsupc++/unwind-cxx.h (__cxa_get_exception_ptr): Declare.
4019 2005-02-18 Matt Austern <austern@apple.com>
4021 * testsuite/tr1/6_containers/unordered/insert/array_syntax.cc: Fix
4022 test case to use assignment instead of ==
4023 * testsuite/tr1/6_containers/unordered/insert/map_range.cc: New test.
4024 * testsuite/tr1/6_containers/unordered/insert/multimap_range.cc: New test.
4025 * testsuite/tr1/6_containers/unordered/insert/multiset_range.cc: New test.
4026 * testsuite/tr1/6_containers/unordered/insert/set_range.cc: New test.
4028 2005-02-18 Eric Botcazou <ebotcazou@libertysurf.fr>
4030 * testsuite/thread/pthread1.cc: Do not invoke pthread_setconcurrency
4031 on Solaris 2.6 and below.
4032 * testsuite/thread/pthread2.cc: Likewise.
4033 * testsuite/thread/pthread3.cc: Likewise.
4034 * testsuite/thread/pthread4.cc: Likewise.
4035 * testsuite/thread/pthread5.cc: Likewise.
4036 * testsuite/thread/pthread6.cc: Likewise.
4037 * testsuite/thread/pthread7-rope.cc: Likewise.
4039 2005-02-17 Matt Austern <austern@apple.com>
4041 * include/tr1/functional (hash): New function object.
4042 * include/tr1/hashtable: New file.
4043 * include/tr1/unordered_set: New file.
4044 * include/tr1/unordered_map: New file.
4045 * include/Makefile.am: Add three new TR1 headers.
4046 * include/Makefile.in: Likewise.
4047 * testsuite/tr1/6_containers/unordered/insert/array_syntax.cc: New test.
4048 * testsuite/tr1/6_containers/unordered/insert/map_single.cc: New test.
4049 * testsuite/tr1/6_containers/unordered/insert/multimap_single.cc: New test.
4050 * testsuite/tr1/6_containers/unordered/insert/multiset_single.cc: New test.
4051 * testsuite/tr1/6_containers/unordered/insert/set_single.cc: New test.
4052 * testsuite/tr1/6_containers/unordered/instantiate/hash.cc: New test.
4053 * testsuite/tr1/6_containers/unordered/instantiate/map.cc: New test.
4054 * testsuite/tr1/6_containers/unordered/instantiate/multimap.cc: New test.
4055 * testsuite/tr1/6_containers/unordered/instantiate/multiset.cc: New test.
4056 * testsuite/tr1/6_containers/unordered/instantiate/set.cc: New test.
4058 2005-02-16 Paolo Carlini <pcarlini@suse.de>
4060 * testsuite/23_containers/set/modifiers/16728.cc:
4061 Remove redundant include <testsuite_performance.h>.
4063 2005-02-16 Paolo Carlini <pcarlini@suse.de>
4066 * testsuite/21_strings/basic_string/find/char/3.cc: Fix the test
4067 at line #66 to not access str_lit01 beyond its end.
4068 * testsuite/21_strings/basic_string/find/wchar_t/3.cc: Likewise.
4070 2005-02-15 Paolo Carlini <pcarlini@suse.de>
4071 Jon Grimm <jgrimm2@us.ibm.com>
4074 * include/bits/locale_facets.h (ctype<char>::_M_narrow_init()):
4075 Fix the logic setting _M_narrow_ok: first check whether the
4076 transformation is trivial with a dflt == 0, then deal with the
4077 special case of zero.
4078 * testsuite/22_locale/ctype/narrow/char/19955.cc: New.
4080 * include/bits/locale_facets.h (ctype<char>::_M_widen_init()):
4081 Tweak consistently to use memcmp; minor formatting fixes.
4083 2005-02-15 Jakub Jelinek <jakub@redhat.com>
4086 * testsuite/demangle/abi_examples/01.cc (main): Adjust for 2005-02-13
4088 * testsuite/demangle/abi_examples/02.cc (main): Likewise.
4090 2005-02-13 Richard Guenther <rguenth@gcc.gnu.org>
4091 Paolo Carlini <pcarlini@suse.de>
4094 * include/c_std/std_cmath.h (pow): Use __builtin_powi[lf]
4095 for integer overloads.
4097 * testsuite/26_numerics/cmath/powi.cc: New.
4099 2005-02-11 Janis Johnson <janis187@us.ibm.com>
4101 * testsuite/26_numerics/complex/13450.cc: Fix XFAIL selector.
4102 * testsuite/26_numerics/complex/complex_value.cc: Ditto.
4103 * testsuite/26_numerics/complex/pow.cc: Ditto.
4105 * testsuite/lib/libstdc++.exp: Load target-supports-dg.exp.
4106 * testsuite/26_numerics/complex/13450.cc: XFAIL for broken_cplxf_arg.
4107 * testsuite/26_numerics/complex/complex_value.cc: Ditto.
4108 * testsuite/26_numerics/complex/pow.cc: Ditto.
4110 2005-02-09 Mike Stump <mrs@apple.com>
4112 * libsupc++/del_op.cc: Don't include cstdlib when !_GLIBCXX_HOSTED.
4114 2005-02-09 Janis Johnson <janis187@us.ibm.com>
4116 * testsuite/ext/array_allocator/2.cc: XFAIL for powerpc*-*-linux*.
4118 2005-02-08 Mark Mitchell <mark@codesourcery.com>
4120 * config/linker-map.gnu (GLIBCXX_3.4): Add _ZNSdC* and _ZNSdD*.
4122 2005-02-07 Loren J. Rittle <ljrittle@acm.org>
4124 * testsuite/27_io/basic_istream/getline/wchar_t/5.cc: Make buf static.
4125 * testsuite/27_io/basic_stringbuf/setbuf/wchar_t/4.cc: Make ref and
4128 2005-02-02 Brad Spencer <spencer@infointeractive.com>
4130 * debug.html: Fix broken tags.
4131 * documentation.html: Same.
4133 2005-02-02 Andreas Jaeger <aj@suse.de>
4135 * testsuite/lib/libstdc++.exp: Revert Geoffrey Keating's patch
4137 * testsuite/Makefile.am: Likewise.
4138 * testsuite/Makefile.in: Likewise.
4140 2005-02-01 Paolo Carlini <pcarlini@suse.de>
4142 * include/bits/cpp_type_traits.h: Rename _M_type fields to
4143 __value, except for __enable_if, _M_type -> __type, consistently
4144 with the other traits.
4145 * include/bits/stl_algobase.h: Tweak consistently.
4146 * include/bits/stl_tree.h: Likewise.
4147 * include/bits/valarray_array.h: Likewise.
4148 * include/c_std/std_cmath.h: Likewise.
4149 * include/debug/safe_iterator.h: Likewise.
4150 * include/std/std_complex.h: Likewise.
4152 2005-01-31 Brad Spencer <spencer@infointeractive.com>
4154 * crossconfig.m4: Repair Solaris cross bits for strtold and strtof.
4155 * configure: Regenerated.
4157 2005-01-31 Mark Mitchell <mark@codesourcery.com>
4159 * include/std/std_limits.h (numeric_limits<float>::has_denorm):
4161 (numeric_limits<double>::has_denorm): Likewise.
4162 (numeric_limits<long double>::has_denorm): Likewise.
4164 2005-01-31 Paolo Carlini <pcarlini@suse.de>
4165 Gabriel Dos Reis <gdr@integrable-solutions.net>
4167 * include/bits/cpp_type_traits.h: Add types to the structs thus
4168 making type_traits.h redundant; exploit new __truth_type and
4170 * include/bits/type_traits.h: Remove.
4171 * include/Makefile.am: Update.
4172 * include/Makefile.in: Regenerate.
4173 * include/backward/tempbuf.h: Include cpp_type_traits.h instead.
4174 * include/bits/basic_string.h (replace(iterator, iterator,
4175 _InputIterator, _InputIterator), _S_construct(_InIterator,
4176 _InIterator, const _Alloc&)): Use __is_integer instead.
4177 * include/bits/stl_bvector.h (vector(_InputIterator,
4178 _InputIterator, const allocator_type&), assign(_InputIterator,
4179 _InputIterator), insert(iterator, _InputIterator, _InputIterator)):
4181 * include/bits/stl_construct.h (_Destroy(_ForwardIterator,
4182 _ForwardIterator)): Use __is_scalar.
4183 * include/bits/stl_deque.h (deque(_InputIterator, _InputIterator,
4184 const allocator_type&), assign(_InputIterator, _InputIterator),
4185 insert(iterator, _InputIterator, _InputIterator)): Use __is_integer.
4186 * include/bits/stl_list.h (assign(_InputIterator, _InputIterator),
4187 insert(iterator, _InputIterator, _InputIterator)): Likewise.
4188 * include/bits/stl_tempbuf.h (_Temporary_buffer(_ForwardIterator,
4189 _ForwardIterator)): Use __is_scalar.
4190 * include/bits/stl_uninitialized.h (uninitialized_copy(_InputIterator,
4191 _InputIterator, _ForwardIterator), uninitialized_fill(_ForwardIterator,
4192 _ForwardIterator, const _Tp&), uninitialized_fill_n(_ForwardIterator,
4193 _Size, const _Tp&)): Likewise.
4194 * include/bits/stl_vector.h (vector(_InputIterator, _InputIterator,
4195 const allocator_type&), assign(_InputIterator, _InputIterator),
4196 insert(iterator, _InputIterator, _InputIterator)): Use __is_integer.
4197 * include/debug/debug.h (__valid_range(const _InputIterator&,
4198 const _InputIterator&)): Use __is_integer.
4199 * include/ext/slist (assign(_InputIterator, _InputIterator)): Likewise.
4200 * include/std/std_string.h: Include cpp_type_traits.h instead.
4202 2005-01-30 Paolo Carlini <pcarlini@suse.de>
4205 * config/locale/generic/c_locale.h (__convert_from_v): Switch only
4206 LC_NUMERIC, and only when actually != "C".
4208 2005-01-28 Paolo Carlini <pcarlini@suse.de>
4210 * include/tr1/type_traits (is_function): Minor consistency tweaks.
4212 2005-01-28 Geoffrey Keating <geoffk@apple.com>
4214 * testsuite/lib/libstdc++.exp (libstdc++_init): Search the path
4215 for the compiler. Don't set cxxflags.
4216 (v3_target_compile): Search for libv3test.a relative to $objdir.
4217 (lsearch_all_inline): New.
4218 (lsearch_all_inline_not): New.
4219 (v3-list-tests): Rewrite to not need generated files.
4220 * testsuite/Makefile.am (IGNORE_WCHAR_T): New.
4221 (IGNORE_THREAD): New.
4222 (TESTS_TO_IGNORE): New.
4223 (site.exp): Set tests_to_ignore, cxxflags.
4224 * aclocal.m4: Regenerate.
4225 * Makefile.in: Regenerate.
4226 * libmath/Makefile.in: Likewise.
4227 * libsupc++/Makefile.in: Likewise.
4228 * po/Makefile.in: Likewise.
4229 * src/Makefile.in: Likewise.
4230 * testsuite/Makefile.in: Likewise.
4232 2005-01-28 Paolo Carlini <pcarlini@suse.de>
4234 * include/tr1/type_traits: Implement is_empty.
4235 * testsuite/tr1/4_metaprogramming/type_properties/is_empty/
4237 * testsuite/tr1/4_metaprogramming/type_properties/is_empty/
4238 typedefs.cc: Likewise.
4240 * include/tr1/type_traits (__is_abstract_helper): Simplify a bit.
4242 2005-01-28 Paolo Carlini <pcarlini@suse.de>
4244 * include/tr1/type_traits: Implement is_abstract, by exploiting the
4245 resolution of DR core/337.
4246 * testsuite/testsuite_tr1.h: Add AbstractClass.
4247 * testsuite/tr1/4_metaprogramming/type_properties/is_abstract/
4248 is_abstract.cc: New.
4249 * testsuite/tr1/4_metaprogramming/type_properties/is_abstract/
4250 typedefs.cc: Likewise.
4252 * include/tr1/type_traits (is_function): Rewrite, use the conversion
4253 F& -> F* instead, thus avoiding problems with abstract classes.
4254 * testsuite/tr1/4_metaprogramming/primary_type_categories/
4255 is_function/is_function.cc: Add a test for tricky AbstractClass.
4257 2005-01-26 Paolo Carlini <pcarlini@suse.de>
4259 * include/ext/mt_allocator.h
4260 (struct __per_type_pool_policy<,, false>::_S_get_pool,
4261 struct __per_type_pool_policy<,, true>::_S_get_pool): Scale
4262 _M_chunk_size too with sizeof(_Tp), otherwise the allocator
4263 breaks down as soon as sizeof(_Tp) >~ _S_chunk_size / 128;
4264 reduce to 64 the multiplier for _M_max_bytes (safer wrt
4265 _Binmap_type being a short); trivial reformattings.
4266 * testsuite/ext/mt_allocator/check_allocate_big_per_type.cc: New.
4268 2005-01-26 Paolo Carlini <pcarlini@suse.de>
4270 * acinclude.m4 ([GLIBCXX_ENABLE_C99]): Add ac_c99_complex
4271 to the final test for enable_c99, thus robustifying it; remove
4272 duplicate final test on ac_99_math.
4273 * configure: Regenerate.
4275 * include/std/std_complex.h: Remove usages of the dead
4276 _GLIBCXX_BUGGY_COMPLEX macro.
4278 * testsuite/26_numerics/cmath/19322.cc: Protect with
4279 _GLIBCXX_USE_C99_MATH instead of the stronger _GLIBCXX_USE_C99,
4280 since only C99 math facilities are involved.
4281 * testsuite/26_numerics/cmath/c99_classification_macros_c++.cc:
4284 2005-01-25 Loren J. Rittle <ljrittle@acm.org>
4286 * acinclude.m4 (GLIBCXX_ENABLE_CLOCALE): Map FreeBSD to darwin
4287 instead of generic. Change autoconf report to "darwin or freebsd".
4288 * configure: Regenerate.
4289 * config/os/bsd/freebsd/ctype_inline.h (ctype<wchar_t>::do_is): Add.
4290 (ctype<wchar_t>::do_scan_is): Likewise.
4291 (ctype<wchar_t>::do_scan_not): Likewise.
4293 2005-01-25 Benjamin Kosnik <bkoz@redhat.com>
4295 * acinclude.m4 (GLIBCXX_ENABLE_C99): Test for complex math
4296 functions, and enable _GLIBCXX_USE_C99_COMPLEX_MATH if they exist.
4297 * acconfig.h: Add _GLIBCXX_USE_C99_COMPLEX_MATH.
4298 * config.h.in: Regenerate.
4299 * configure: Regenerate.
4300 * include/std/std_complex.h: Protect complex builtins with
4301 _GLIBCXX_USE_C99_COMPLEX_MATH.
4303 2005-01-24 Paolo Carlini <pcarlini@suse.de>
4305 * include/tr1/type_traits: Implement is_signed and is_unsigned.
4306 * testsuite/tr1/4_metaprogramming/type_properties/
4307 is_signed/is_signed.cc: New.
4308 * testsuite/tr1/4_metaprogramming/type_properties/
4309 is_signed/typedefs.cc: Likewise.
4310 * testsuite/tr1/4_metaprogramming/type_properties/
4311 is_unsigned/is_unsigned.cc: Likewise.
4312 * testsuite/tr1/4_metaprogramming/type_properties/
4313 is_unsigned/typedefs.cc: Likewise.
4315 2005-01-23 Paolo Carlini <pcarlini@suse.de>
4317 * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 34.
4319 2005-01-23 Paolo Carlini <pcarlini@suse.de>
4321 * testsuite/27_io/basic_ostream/cons/wchar_t/9827.cc: New.
4322 * testsuite/27_io/basic_ostream/endl/wchar_t/1.cc: Likewise.
4323 * testsuite/27_io/basic_ostream/ends/wchar_t/1.cc: Likewise.
4324 * testsuite/27_io/basic_ostream/ends/wchar_t/2.cc: Likewise.
4325 * testsuite/27_io/basic_ostream/exceptions/wchar_t/9561.cc: Likewise.
4326 * testsuite/27_io/basic_ostream/flush/wchar_t/1.cc: Likewise.
4327 * testsuite/27_io/basic_ostream/flush/wchar_t/2.cc: Likewise.
4328 * testsuite/27_io/basic_ostream/flush/wchar_t/
4329 exceptions_badbit_throw.cc: Likewise.
4330 * testsuite/27_io/basic_ostream/inserters_arithmetic/
4331 wchar_t/2.cc: Likewise.
4332 * testsuite/27_io/basic_ostream/inserters_arithmetic/
4333 wchar_t/3.cc: Likewise.
4334 * testsuite/27_io/basic_ostream/inserters_arithmetic/
4335 wchar_t/4.cc: Likewise.
4336 * testsuite/27_io/basic_ostream/inserters_arithmetic/
4337 wchar_t/4402.cc: Likewise.
4338 * testsuite/27_io/basic_ostream/inserters_arithmetic/
4339 wchar_t/5.cc: Likewise.
4340 * testsuite/27_io/basic_ostream/inserters_arithmetic/
4341 wchar_t/6.cc: Likewise.
4342 * testsuite/27_io/basic_ostream/inserters_arithmetic/
4343 wchar_t/9555-oa.cc: Likewise.
4344 * testsuite/27_io/basic_ostream/inserters_arithmetic/
4345 wchar_t/exceptions_badbit_throw.cc: Likewise.
4346 * testsuite/27_io/basic_ostream/inserters_arithmetic/
4347 wchar_t/exceptions_failbit_throw.cc: Likewise.
4348 * testsuite/27_io/basic_ostream/inserters_character/
4349 wchar_t/1.cc: Likewise.
4350 * testsuite/27_io/basic_ostream/inserters_character/
4351 wchar_t/2.cc: Likewise.
4352 * testsuite/27_io/basic_ostream/inserters_character/
4353 wchar_t/3.cc: Likewise.
4354 * testsuite/27_io/basic_ostream/inserters_character/
4355 wchar_t/4.cc: Likewise.
4356 * testsuite/27_io/basic_ostream/inserters_character/
4357 wchar_t/5.cc: Likewise.
4358 * testsuite/27_io/basic_ostream/inserters_character/
4359 wchar_t/6.cc: Likewise.
4360 * testsuite/27_io/basic_ostream/inserters_character/
4361 wchar_t/9555-oc.cc: Likewise.
4362 * testsuite/27_io/basic_ostream/inserters_other/
4363 wchar_t/1.cc: Likewise.
4364 * testsuite/27_io/basic_ostream/inserters_other/
4365 wchar_t/2.cc: Likewise.
4366 * testsuite/27_io/basic_ostream/inserters_other/
4367 wchar_t/3.cc: Likewise.
4368 * testsuite/27_io/basic_ostream/inserters_other/
4369 wchar_t/4.cc: Likewise.
4370 * testsuite/27_io/basic_ostream/inserters_other/
4371 wchar_t/5.cc: Likewise.
4372 * testsuite/27_io/basic_ostream/inserters_other/
4373 wchar_t/9318-out.cc: Likewise.
4374 * testsuite/27_io/basic_ostream/inserters_other/
4375 wchar_t/9424-out.cc: Likewise.
4376 * testsuite/27_io/basic_ostream/inserters_other/
4377 wchar_t/9555-oo.cc: Likewise.
4378 * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
4379 error_failbit.cc: Likewise.
4380 * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
4381 exceptions_badbit_throw.cc: Likewise.
4382 * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
4383 exceptions_failbit_throw.cc: Likewise.
4384 * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
4385 exceptions_null.cc: Likewise.
4386 * testsuite/27_io/basic_ostream/put/char/1.cc: Likewise.
4387 * testsuite/27_io/basic_ostream/put/wchar_t/1.cc: Likewise.
4388 * testsuite/27_io/basic_ostream/seekp/char/
4389 exceptions_badbit_throw.cc: Likewise.
4390 * testsuite/27_io/basic_ostream/seekp/wchar_t/
4391 2346-fstream.cc: Likewise.
4392 * testsuite/27_io/basic_ostream/seekp/wchar_t/
4393 2346-sstream.cc: Likewise.
4394 * testsuite/27_io/basic_ostream/seekp/wchar_t/
4395 exceptions_badbit_throw.cc: Likewise.
4396 * testsuite/27_io/basic_ostream/sentry/wchar_t/1.cc: Likewise.
4397 * testsuite/27_io/basic_ostream/sentry/wchar_t/2.cc: Likewise.
4398 * testsuite/27_io/basic_ostream/tellp/wchar_t/1.cc: Likewise.
4399 * testsuite/27_io/basic_ostream/tellp/wchar_t/2.cc: Likewise.
4400 * testsuite/27_io/basic_ostream/tellp/wchar_t/
4401 exceptions_badbit_throw.cc: Likewise.
4402 * testsuite/27_io/basic_ostream/write/wchar_t/1.cc: Likewise.
4404 * testsuite/data/wostream_inserter_char-1.tst: Likewise.
4405 * testsuite/data/wostream_inserter_char-1.txt: Likewise.
4406 * testsuite/data/wostream_inserter_other-1.tst: Likewise.
4407 * testsuite/data/wostream_inserter_other-2.tst: Likewise.
4408 * testsuite/data/wostream_seeks-1.tst: Likewise.
4410 * testsuite/27_io/basic_ostream/endl/char/1.cc: Minor tweaks.
4411 * testsuite/27_io/basic_ostream/ends/char/1.cc: Likewise.
4412 * testsuite/27_io/basic_ostream/exceptions/char/9561.cc: Likewise.
4413 * testsuite/27_io/basic_ostream/flush/char/1.cc: Likewise.
4414 * testsuite/27_io/basic_ostream/flush/char/2.cc: Likewise.
4415 * testsuite/27_io/basic_ostream/flush/char/
4416 exceptions_badbit_throw.cc: Likewise.
4417 * testsuite/27_io/basic_ostream/inserters_arithmetic/
4418 char/2.cc: Likewise.
4419 * testsuite/27_io/basic_ostream/inserters_arithmetic/
4420 char/3.cc: Likewise.
4421 * testsuite/27_io/basic_ostream/inserters_arithmetic/
4422 char/4.cc: Likewise.
4423 * testsuite/27_io/basic_ostream/inserters_arithmetic/
4424 char/4402.cc: Likewise.
4425 * testsuite/27_io/basic_ostream/inserters_arithmetic/
4426 char/5.cc: Likewise.
4427 * testsuite/27_io/basic_ostream/inserters_arithmetic/
4428 char/6.cc: Likewise.
4429 * testsuite/27_io/basic_ostream/inserters_character/
4430 char/4.cc: Likewise.
4431 * testsuite/27_io/basic_ostream/inserters_other/char/
4433 * testsuite/27_io/basic_ostream/inserters_other/char/
4435 * testsuite/27_io/basic_ostream/inserters_other/char/
4436 error_failbit.cc: Likewise.
4437 * testsuite/27_io/basic_ostream/inserters_other/char/
4438 exceptions_badbit_throw.cc: Likewise.
4439 * testsuite/27_io/basic_ostream/inserters_other/char/
4440 exceptions_failbit_throw.cc: Likewise.
4441 * testsuite/27_io/basic_ostream/inserters_other/char/
4442 exceptions_null.cc: Likewise.
4443 * testsuite/27_io/basic_ostream/put/char/1.cc: Likewise.
4444 * testsuite/27_io/basic_ostream/seekp/char/
4445 exceptions_badbit_throw.cc: Likewise.
4446 * testsuite/27_io/basic_ostream/sentry/char/2.cc: Likewise.
4447 * testsuite/27_io/basic_ostream/write/char/1.cc: Likewise.
4449 2005-01-23 Paolo Carlini <pcarlini@suse.de>
4451 * include/tr1/type_traits (aligned_storage): Use __aligned__ instead
4454 2005-01-23 Paolo Carlini <pcarlini@suse.de>
4455 Andreas Jaeger <aj@suse.de>
4458 * include/bits/functexcept.h: Mark the helpers as 'noreturn'.
4460 2005-01-21 Loren J. Rittle <ljrittle@acm.org>
4462 * testsuite/27_io/basic_filebuf/open/char/9507.cc: Allow
4463 lseek on fifo to succeed. Thus, check for consistent report.
4465 2005-01-21 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
4468 * include/bits/stl_list.h (_List_iterator): Initialize _M_node
4470 (_List_const_iterator): Likewise.
4471 * include/bits/stl_tree.h (_Rb_tree_iterator): Likewise.
4472 (_Rb_tree_const_iterator): Likewise.
4474 * testsuite/23_containers/map/operators/1_neg.cc: Adjust line numbers.
4475 * testsuite/23_containers/set/operators/1_neg.cc: Likewise.
4477 2005-01-20 Benjamin Kosnik <bkoz@redhat.com>
4479 * testsuite/Makefile.am (check-compile): New.
4480 * testsuite/Makefile.in: Regenerate.
4481 * scripts/check_compile_time: New.
4482 * scripts/check_performance: Tweaks.
4484 2005-01-19 Paolo Carlini <pcarlini@suse.de>
4487 * include/tr1/utility (struct __pair_get<1>::__get, __const_get):
4488 Fix typo in the return type.
4489 * testsuite/tr1/6_containers/utility/19535.cc: New.
4491 2005-01-19 Loren J. Rittle <ljrittle@acm.org>
4493 * include/ext/array_allocator.h (array_allocator<>::allocate):
4494 Avoid __used. Use __array_used instead.
4495 * docs/html/17_intro/BADNAMES: Add list for FreeBSD.
4497 2005-01-18 David Edelsohn <edelsohn@gnu.org>
4499 * config/os/aix/os_defines.h (_XOPEN_SOURCE): Delete.
4500 (_XOPEN_SOURCE_EXTENDED): Delete.
4502 2005-01-18 Benjamin Kosnik <bkoz@redhat.com>
4504 * testsuite/testsuite_performance.h (time_counter::start):
4506 (clear_counters): Inline.
4507 (start_counters): Inline.
4508 (stop_counters): Inline.
4509 * testsuite/performance/20_util/allocator/map_thread.cc: Return.
4510 * testsuite/performance/20_util/allocator/insert.cc: Remove bogus
4512 * testsuite/performance/20_util/allocator/map_thread.cc: Same.
4514 2005-01-17 Paolo Carlini <pcarlini@suse.de>
4517 * include/bits/stl_tree.h (_Rb_tree<>::insert_unique(iterator,
4518 const _Val&), _Rb_tree<>::insert_equal(iterator, const _Val&)):
4519 Obtain amortized constant complexity if t is inserted right after
4520 p - not before p - as per Table 69.
4521 * testsuite/performance/23_containers/set_insert_from_sorted.cc: New.
4523 * testsuite/23_containers/multiset/insert/2.cc: New.
4524 * testsuite/23_containers/set/insert/1.cc: Likewise.
4526 * testsuite/performance/23_containers/set_create_from_sorted.cc:
4529 * include/bits/stl_tree.h: Add a few missing std:: qualifications.
4531 2005-01-16 Jonathan Wakely <redi@gcc.gnu.org>
4533 * include/ext/rope: Qualify calls to std::copy() by sequence_buffer.
4534 * testsuite/ext/rope/4.cc: Add.
4536 2005-01-16 Lorenz Minder <lminder@gmx.net>
4537 Paolo Carlini <pcarlini@suse.de>
4540 * include/c_std/std_cmath.h: Define the C99 classification facilities
4541 directly inside namespace std:.
4542 * testsuite/26_numerics/cmath/19322.cc: New.
4544 2005-01-15 David Edelsohn <edelsohn@gnu.org>
4546 * config/os/aix/os_defines.h (_G_USING_THUNKS): Delete.
4548 2005-01-14 Paolo Carlini <pcarlini@suse.de>
4551 * include/bits/stl_tree.h (_Rb_tree<>::insert_equal(_II, _II),
4552 _Rb_tree<>::insert_unique(_II, _II)): Use insert_equal (insert_unique,
4553 respectively) with hint (end()).
4554 * testsuite/performance/23_containers/set_create_from_sorted.cc: New.
4556 2005-01-13 Geoffrey Keating <geoffk@apple.com>
4558 * configure.host (darwin): On darwin8 or later, no need to build
4559 libstdc++ with -flat_namespace.
4561 2005-01-13 Jonathan Wakely <redi@gcc.gnu.org>
4563 * docs/doxygen/user.cfg.in: Set HAVE_DOT back to YES.
4565 2005-01-13 Paolo Carlini <pcarlini@suse.de>
4567 * testsuite/26_numerics/cmath/c99_classification_macros_c++.cc:
4568 Re-enable commented-out test for double type.
4570 2005-01-11 Paolo Carlini <pcarlini@suse.de>
4571 Benjamin Kosnik <bkoz@redhat.com>
4573 * src/istream.cc (basic_istream<char>::ignore(streamsize),
4574 basic_istream<char>::ignore(streamsize, int_type),
4575 basic_istream<wchar_t>::ignore(streamsize),
4576 basic_istream<wchar_t>::ignore(streamsize, int_type)): In case
4577 more than numeric_limits<streamsize>::max() chars are skipped,
4578 set _M_gcount = max().
4579 * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
4580 int_type)): Likewise; keep simple, don't forward.
4582 2005-01-11 Paolo Carlini <pcarlini@suse.de>
4584 * src/istream.cc (basic_istream<char>::ignore(streamsize),
4585 basic_istream<char>::ignore(streamsize, int_type),
4586 basic_istream<wchar_t>::ignore(streamsize),
4587 basic_istream<wchar_t>::ignore(streamsize, int_type)): Revert
4588 2005-01-05 change: actually, the previous behavior is conforming
4589 and consistent with that of get(char_type*, streamsize, char_type),
4590 albeit slightly different from that of 3.3/3.4 in a corner case
4591 due to the use of snextc.
4592 * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
4593 int_type)): Likewise.
4594 * testsuite/27_io/basic_istream/ignore/char/4.cc: Remove.
4595 * testsuite/27_io/basic_istream/ignore/wchar_t/4.cc: Likewise.
4597 2005-01-11 Paolo Carlini <pcarlini@suse.de>
4599 * include/tr1/type_traits: Implement alignment_of and aligned_storage.
4600 * testsuite/tr1/4_metaprogramming/other_transformations/
4601 aligned_storage/aligned_storage.cc: New.
4602 * testsuite/tr1/4_metaprogramming/other_transformations/
4603 aligned_storage/typedefs.cc: Likewise.
4604 * testsuite/tr1/4_metaprogramming/type_properties/
4605 alignment_of/alignment_of.cc: Likewise.
4606 * testsuite/tr1/4_metaprogramming/type_properties/
4607 alignment_of/typedefs.cc: Likewise.
4609 2005-01-10 Paolo Carlini <pcarlini@suse.de>
4611 * Makefile.in: Regenerate.
4612 * libmath/Makefile.in: Likewise.
4613 * libsupc++/Makefile.in: Likewise.
4614 * po/Makefile.in: Likewise.
4615 * src/Makefile.in: Likewise.
4616 * testsuite/Makefile.in: Likewise.
4618 2005-01-10 Paolo Carlini <pcarlini@suse.de>
4620 * include/bits/stl_algobase.h (lexicographical_compare):
4623 2005-01-07 Benjamin Kosnik <bkoz@redhat.com>
4625 * acinclude.m4: Remove CCODECVT_H.
4626 * configure: Regenerate.
4627 * include/Makefile.am (host_headers_extra): Move to...
4628 (ext_headers): ...here.
4629 * include/Makefile.in: Regenerate.
4630 * include/ext/enc_filebuf: Remove enc_filebuf, consolidate
4632 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Move...
4633 * include/ext/codecvt_specializations.h: ...here. Remove
4634 _GLIBCXX_USE___ENC_TRAITS.
4635 (__enc_traits): To __encoding_state, put in __gnu_cxx namespace.
4636 (enc_char_traits): To __encoding_char_traits, put in __gnu_cxx
4638 * config/locale/generic/codecvt_specializations.h: Remove.
4639 * include/bits/codecvt.h: Remove codecvt_specializations.h include.
4640 * src/codecvt.cc: Remove __enc_traits::_S_max_size.
4642 2005-01-06 Benjamin Kosnik <bkoz@redhat.com>
4644 * include/bits/fstream.tcc: Remove unnecessary qualifications for
4645 uglified data members of basic_filebuf, including _M_buf,
4646 _M_buf_size, _M_mode, _M_pback_init.
4647 * include/std/std_fstream.h: Same.
4649 2005-01-05 Benjamin Kosnik <bkoz@redhat.com>
4651 * testsuite/testsuite_hooks.h:
4652 (copy_constructor::mark_call): Use __throw_runtime_error.
4653 (assignment_operator::mark_call): Same.
4654 * testsuite/testsuite_hooks.cc (verify_demangle): Same.
4655 (locale_data): Remove, just use runtime_error directly.
4656 (environment_variable): Same.
4658 (run_tests_wrapped_locale): Use __throw_runtime_error.
4659 (run_tests_wrapped_env): Same.
4660 (semaphore::semaphore): Same.
4661 (semaphore::signal): Same.
4662 (semaphore::wait): Same.
4663 * testsuite/testsuite_abi.h (symbol_error): Remove, use logic_error.
4664 * testsuite/testsuite_abi.cc (get_symbol): Use __throw_logic_error.
4665 (create_symbols): Use __throw_runtime_error.
4666 * src/bitmap_allocator.cc: Use __throw_bad_alloc.
4668 2005-01-05 Mark Mitchell <mark@codesourcery.com>
4670 * testsuite/27_io/basic_filebuf/open/char/9507.cc: Remove child
4673 2005-01-05 Paolo Carlini <pcarlini@suse.de>
4675 * src/istream.cc (basic_istream<char>::ignore(streamsize),
4676 basic_istream<char>::ignore(streamsize, int_type),
4677 basic_istream<wchar_t>::ignore(streamsize),
4678 basic_istream<wchar_t>::ignore(streamsize, int_type)): At the end,
4679 first check _M_gcount vs __n.
4680 * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
4681 int_type)): Likewise.
4682 * testsuite/27_io/basic_istream/ignore/char/4.cc: New.
4683 * testsuite/27_io/basic_istream/ignore/wchar_t/4.cc: Likewise.
4685 2005-01-03 Mark Mitchell <mark@codesourcery.com>
4687 * testsuite/testsuite_hooks.cc: Use __throw_exception_again
4688 instead of just throw.
4690 * testsuite/testsuite_hooks.cc: Update coypright and follow style
4692 * testsuite/testsuite_hooks.h: Likewise.
4693 * testsuite/27_io/basic_filebuf/close/char/4879.cc: Use
4694 semaphores, not sleep.
4695 * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise.
4696 * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
4697 * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise.
4698 * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc:
4700 * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise.
4701 * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise.
4702 * testsuite/27_io/objects/char/7.cc: Likewise.
4703 * testsuite/27_io/objects/char/9661-1.cc: Likewise.
4704 * testsuite/27_io/objects/wchar_t/7.cc: Likewise.
4705 * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise.
4707 * configure.ac: Check for sys/ipc.h and sys/sem.h.
4708 * config.h.in: Regenerated.
4709 * configure: Likewise.
4710 * testsuite/testsuite_hooks.cc (_GLIBCXX_SYSV_SEM): Conditionally
4712 (sys/types.h): Include.
4713 (sys/ipc.h): Likewise.
4714 (sys/sem.h): Likewise.
4715 (__gnu_test::semun): New type.
4716 (__gnu_test::semaphore::sempaphore): New function.
4717 (__gnu_test::semaphore::~semaphore): Likewise.
4718 (__gnu_test::semaphore::wait): Likewise.
4719 (__gnu_test::semaphore::signal): Likewise.
4720 * testsuite/testsuite_hooks.h (__gnu_test::semaphore): New class.
4721 * testsuite/27_io/basic_filebuf/close/char/4879.cc: Use
4722 semaphores, not sleep.
4723 * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise.
4724 * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
4725 * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise.
4726 * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc:
4728 * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise.
4729 * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise.
4730 * testsuite/27_io/objects/char/7.cc: Likewise.
4731 * testsuite/27_io/objects/char/9661-1.cc: Likewise.
4732 * testsuite/27_io/objects/wchar_t/7.cc: Likewise.
4733 * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise.
4735 2005-01-03 Paolo Carlini <pcarlini@suse.de>
4737 * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
4738 int_type)): Reset _M_gcount to numeric_limits<streamsize>::min().
4739 * src/istream.cc (basic_istream<char>::ignore(streamsize, int_type),
4740 basic_istream<wchar_t>::ignore(streamsize, int_type)): Likewise.
4741 * src/istream.cc (basic_istream<char>::ignore(streamsize),
4742 basic_istream<wchar_t>::ignore(streamsize)): Likewise; fix a typo.
4744 2005-01-02 Paolo Carlini <pcarlini@suse.de>
4746 * src/istream.cc (basic_istream<char>::ignore(streamsize),
4747 basic_istream<char>::ignore(streamsize, int_type),
4748 basic_istream<wchar_t>::ignore(streamsize),
4749 basic_istream<wchar_t>::ignore(streamsize, int_type)): Avoid
4750 _M_gcount overflows.
4751 * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
4752 int_type)): Likewise; use snextc in the main loop, consistently
4753 with the specializations above.
4755 2005-01-02 Chris Jefferson <chris@bubblescope.net>
4757 * include/bits/stl_algobase.h (mismatch): Correct concept check.
4759 2005-01-01 Paolo Carlini <pcarlini@suse.de>
4761 * testsuite/ext/enc_filebuf/char/13189.cc: Fix, first include
4762 testsuite_hooks.h, to know whether including ext/enc_filebuf.h.
4763 * testsuite/ext/enc_filebuf/wchar_t/13189.cc: Likewise.
4765 2005-01-01 Paolo Carlini <pcarlini@suse.de>
4767 * testsuite/27_io/basic_istream/extractors_character/char/1.cc: Fix,
4768 null-terminate array1 at the outset.
4769 * testsuite/27_io/basic_istream/extractors_character/wchar_t/1.cc: