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