1 2005-11-17 Geoffrey Keating <geoffk@apple.com>
3 * config/os/bsd/darwin/ppc-extra.ver: New.
4 * src/Makefile.am (libstdc++-symbol.ver): Move outside conditionals,
5 and make dependent on port symbol files.
6 (libstdc++-symbol.explist): Use the generated .ver file, not
8 * src/compatibility.cc [APPLE] (__eprintf): New.
9 * src/Makefile.in: Regenerate.
10 * configure.host (powerpc*-*-darwin*): Define
11 port_specific_symbol_files.
13 2005-11-16 Nathan Sidwell <nathan@codesourcery.com>
15 * libsupc++/eh_arm.cc (__cxa_begin_cleanup): Remember a
16 foreign exception too.
17 (__gnu_end_cleanup): Recover a foreign exception too.
18 * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Cope
19 with forced unwinding.
20 * libsupc++/eh_throw.cc (__cxxabiv1::__cxa_rethrow): Use
21 _Unwind_Resume_or_Rethrow for ARM EABI.
23 2005-11-14 Geoffrey Keating <geoffk@apple.com>
25 * acinclude.m4 (GLIBCXX_CHECK_LINKER_FEATURES): Don't check for
26 shared libgcc for darwin exports.
27 * configure: Regenerate.
29 2005-11-13 Jonathan Wakely <redi@gcc.gnu.org>
31 * include/tr1/boost_shared_ptr.h (get_deleter):
32 Declare before shared_ptr.
33 (shared_ptr<>): Declare get_deleter as friend.
34 (shared_ptr<>:_M_get_deleter): Private.
36 2005-11-13 Douglas Gregor <doug.gregor@gmail.com>
39 * include/tr1/ref_wrap_iterate.h
40 (reference_wrapper::operator()()): Don't dereferene the result of
41 get() before calling it; it's already a reference.
42 * testsuite/tr1/3_function_objects/reference_wrapper/invoke.cc:
43 Test nullary calls to reference_wrappers.
45 2005-11-11 Paolo Carlini <pcarlini@suse.de>
48 * include/tr1/type_traits (__is_abstract_helper): Rename to __in_array
49 (with complemented logic).
50 (is_function): Use it, don't use __conv_helper.
51 (is_abstract): Adjust.
52 (__conv_helper): Rename to __is_convertible_simple.
53 (is_convertible): Adjust.
54 * testsuite/testsuite_tr1.h (class IncompleteClass): Add.
55 * testsuite/tr1/4_metaprogramming/composite_type_traits/is_object/
57 * testsuite/tr1/4_metaprogramming/primary_type_categories/is_enum/
59 * testsuite/tr1/4_metaprogramming/primary_type_categories/is_function/
62 2005-11-11 Paolo Carlini <pcarlini@suse.de>
65 * include/tr1/functional (hash): Inherit from std::unary_function.
66 * testsuite/tr1/6_containers/unordered/hash/24799.cc: New.
69 * include/tr1/boost_shared_ptr.h (swap(shared_ptr<>&, shared_ptr<>&),
70 swap(weak_ptr<>&, weak_ptr<>&)): Move inside namespace tr1.
71 * testsuite/tr1/2_general_utilities/memory/shared_ptr/modifiers/
75 * include/tr1/type_traits (__is_polymorhpic_helper): Adjust destructor.
76 * testsuite/tr1/4_metaprogramming/type_properties/is_polymorphic/
79 2005-11-10 Paolo Carlini <pcarlini@suse.de>
81 * testsuite/tr1/2_general_utilities/memory/
82 enable_shared_from_this/not_shared.cc: Adjust, remove xfail.
83 * testsuite/tr1/2_general_utilities/memory/
84 enable_shared_from_this/not_shared2.cc: Likewise.
85 * testsuite/tr1/2_general_utilities/memory/
86 enable_shared_from_this/not_shared3.cc: Likewise.
88 2005-11-10 Paolo Carlini <pcarlini@suse.de>
90 * include/tr1/boost_shared_ptr.h (_Sp_counted_base::release,
91 weak_release): Protect barriers with __GTHREADS.
93 2005-11-10 Paolo Carlini <pcarlini@suse.de>
94 Peter Dimov <pdimov@mmltd.net>
96 * include/tr1/boost_shared_ptr.h (_Sp_counted_base::release):
97 Optimize by manually inlining weak_release.
99 * include/tr1/boost_shared_ptr.h (_Sp_counted_base::release,
100 weak_release): Use explicit memory barriers.
102 2005-11-09 Benjamin Kosnik <bkoz@redhat.com>
103 Paolo Carlini <pcarlini@suse.de>
104 Gabriel Dos Reis <gdr@integrable-solutions.net>
107 * numeric_limits.cc: Split into...
108 * numeric_limits/specialization.cc: ..this.
109 * numeric_limits/is_iec559.cc: Same.
110 * numeric_limits/sign.cc: Same.
111 * numeric_limits/quiet_NaN.cc: Same.
112 * numeric_limits/digits10.cc: Same.
113 * numeric_limits/denorm_min.cc: Same.
114 * numeric_limits/min_max.cc: Same.
115 * numeric_limits/epsilon.cc: Same.
116 * numeric_limits/infinity.cc: Same.
117 * numeric_limits/traps.cc: New.
119 2005-11-09 Paolo Carlini <pcarlini@suse.de>
121 * include/tr1/boost_shared_ptr.h: Trivial formatting fixes.
123 2005-11-08 Benjamin Kosnik <bkoz@redhat.com>
125 * testsuite/lib/libstdc++.exp (check_v3_target_debug_mode): Use
126 exe as the executable extension.
128 * acinclude.m4 (GLIBCXX_ENABLE_ALLOCATOR): Change gnu defaults to
130 (GLIBCXX_ENABLE_PCH): Adjust message order.
131 * configure: Regenerate.
133 * scripts/testsuite_flags.in (query): Correct print_usagex typo.
135 * include/bits/functexcept.h: Remove argument names.
137 * src/mt_allocator.cc: Adjust comment.
139 2005-11-06 Paolo Carlini <pcarlini@suse.de>
142 * include/bits/stl_queue.h (priority_queue): Tweak a bit the
143 comment describing the container.
145 2005-11-05 Paolo Carlini <pcarlini@suse.de>
147 * configure.host: Add | rs6000 to the cpu_defines_dir switch,
148 consistently with the try_cpu one.
150 2005-11-05 Paolo Carlini <pcarlini@suse.de>
153 * include/bits/c++config: Include cpu_defines.h.
154 * include/Makefile.am: Add cpu_defines.h to host_headers.
155 * configure.host: Add cpu_defines_dir.
156 * configure.ac: Use it.
157 * config/cpu/powerpc/cpu_defines.h: New.
158 * config/cpu/generic/cpu_defines.h: Likewise.
159 * configure: Regenerate.
160 * Makefile.in: Likewise.
161 * include/Makefile.in: Likewise.
162 * libmath/Makefile.in: Likewise.
163 * libsupc++/Makefile.in: Likewise.
164 * po/Makefile.in: Likewise.
165 * src/Makefile.in: Likewise.
166 * testsuite/Makefile.in: Likewise.
168 2005-11-03 Paolo Carlini <pcarlini@suse.de>
170 * include/ext/sso_string_base.h (__sso_string_base<>::_M_swap):
171 Change the various traits_type::copy call to always copy the
172 entire local buffer; return early and don't do a full swap on
173 the lengths for two common cases; change two _S_copy to plain
176 2005-11-02 Thomas Kho <tkho@ucla.edu>
179 * include/bits/stl_vector.h (vector<>::clear): Open code
180 in terms of _Destroy.
182 2005-11-02 Paolo Carlini <pcarlini@suse.de>
184 * include/bits/vector.tcc (vector<>::_M_fill_assign): Qualify fill_n.
186 2005-11-01 Paolo Carlini <pcarlini@suse.de>
189 * include/tr1/boost_shared_ptr.h (shared_ptr<>::get_deleter):
190 Move out of shared_ptr.
191 * testsuite/tr1/2_general_utilities/memory/shared_ptr/misc/24595.cc:
194 2005-10-30 Paolo Carlini <pcarlini@suse.de>
197 * include/c_std/std_csignal.h: Adjust comment as per 17.4.1.2/4.
198 * include/c_std/std_cstdlib.h: Likewise.
199 * include/c_std/std_cstdio.h: Likewise.
200 * include/c_std/std_cstdarg.h: Likewise.
201 * include/c_std/std_cctype.h: Likewise.
202 * include/c_std/std_cerrno.h: Likewise.
203 * include/c_std/std_cmath.h: Likewise.
204 * include/c_std/std_ciso646.h: Likewise.
205 * include/c_std/std_ctime.h: Likewise.
206 * include/c_std/std_clocale.h: Likewise.
207 * include/c_std/std_climits.h: Likewise.
208 * include/c_std/std_cassert.h: Likewise.
209 * include/c_std/std_csetjmp.h: Likewise.
210 * include/c_std/std_cwchar.h: Likewise.
211 * include/c_std/std_cfloat.h: Likewise.
212 * include/c_std/std_cstring.h: Likewise.
213 * include/c_std/std_cstddef.h: Likewise.
214 * include/c_std/std_cwctype.h: Likewise.
216 2005-10-29 Carey Evans <carey.evans@gmail.com>
219 * config/os/djgpp/ctype_inline.h: Fix.
220 * config/os/djgpp/ctype_noninline.h: Likewise.
222 2005-10-28 Paolo Carlini <pcarlini@suse.de>
225 * include/c_std/std_cwchar.h (wcspbrk): Adjust signature.
226 * testsuite/21_strings/c_strings/wchar_t/24559.cc: New.
228 2005-10-25 Paolo Carlini <pcarlini@suse.de>
230 * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 39.
231 * docs/html/ext/howto.html: Adjust.
233 2005-10-21 Paolo Carlini <pcarlini@suse.de>
236 * config/locale/generic/time_members.h (__timepunct<>::
237 __timepunct(__c_locale, const char*, size_t)): Avoid leaking
238 memory if new throws inside _M_initialize_timepunct.
239 * config/locale/gnu/time_members.h (__timepunct<>::
240 __timepunct(__c_locale, const char*, size_t)): Likewise.
241 * config/locale/gnu/message_members.h (messages<>::
242 messages(__c_locale, const char*, size_t)): Rearrange to
245 2005-10-19 Paolo Carlini <pcarlini@suse.de>
247 * include/ext/sso_string_base.h (_M_swap): Rewrite.
249 2005-10-19 Paolo Carlini <pcarlini@suse.de>
251 * include/ext/rc_string_base.h (_S_terminal): Remove.
252 (_M_set_length): Adjust.
253 (_S_max_size): Change to anonymous enum.
254 (_M_max_size()): Add, returns the latter.
255 * include/ext/sso_string_base.h: Likewise.
256 * include/ext/vstring.h (max_size): Adjust.
258 2005-10-17 Jonathan Wakely <redi@gcc.gnu.org>
261 * include/tr1/boost_shared_ptr.h
262 (_Sp_counted_base::_Sp_counted_base()): When __GTHREAD_MUTEX_INIT
263 is defined, initialize the mutex.
265 2005-10-15 Paolo Carlini <pcarlini@suse.de>
267 * include/tr1/functional: Add missing #pragma GCC system_header.
269 2005-10-14 Paolo Carlini <pcarlini@suse.de>
271 * include/tr1/hashtable (hashtable::m_erase): Rename to erase_node.
272 (hashtable::erase(iterator), erase(const_iterator)): Adjust.
274 2005-10-13 Richard Earnshaw <richard.earnsahw@arm.com>
277 * acinclude.m4 (port_specific_symbol_files): More symbol versioning
279 * configure: Regenerate.
281 2005-10-13 Hans-Peter Nilsson <hp@axis.com>
283 * testsuite/lib/libstdc++.exp (libstdc++_init): Require
284 native testing before setting v3-sharedlib to 1.
286 2005-10-12 Joe Buck <Joe.Buck@synopsys.com>
288 * docs/html/27_io/howto.html: Use reference to ifstream when
291 2005-10-11 Andrew Pinski <pinskia@physics.uc.edu>
294 * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Fix typo in check
296 * configure: Regenerate.
298 2005-10-10 Benjamin Kosnik <bkoz@redhat.com>
300 * configure.ac (libtool_VERSION): To 6:7:0.
301 * configure: Regenerate.
302 * testsuite/testsuite_abi.cc (check_version): Add GLIBCXX_3.4.7.
303 * config/linker-map.gnu: Export locale::_Impl::_M_install_cache.
305 2005-10-10 Ian Lance Taylor <ian@airs.com>
308 * include/bits/locale_classes.h (locale::_Impl::_M_install_cache):
310 * src/locale.cc: Define here, add mutex.
312 2005-10-09 Paolo Carlini <pcarlini@suse.de>
314 PR libstdc++/24061 (issue 6.19)
315 * include/tr1/hashtable (struct node_const_iterator, struct
316 hashtable_const_iterator): New, add const variants to enable separate
317 overloadings for iterator and const_iterator in unordered_set and
318 unordered_multiset (as required by issue 6.19).
319 (class hashtable): Change the mutable_iterators template parameter
320 to constant_iterators and adjust throughout the logic.
321 (hashtable::insert(iterator, const value_type&), erase(iterator)
322 erase(iterator, iterator)): New, as per issue 6.19.
323 (hashtable::m_erase(node*, node**)): New, called by erase(iterator)
324 and erase(const_iterator).
325 (hashtable::Insert_Conv_Type): New, used by insert(iterator,
326 const value_type&) and insert(const_iterator, const value_type&)
327 to delegate the work to insert(const value_type&).
328 * include/tr1/unordered_map (class unordered_map, unordered_multimap):
330 * include/tr1/unordered_set (class unordered_set, unordered_multiset):
332 * testsuite/tr1/6_containers/unordered/erase/24061-map.cc: New.
333 * testsuite/tr1/6_containers/unordered/erase/24061-multimap.cc: New.
334 * testsuite/tr1/6_containers/unordered/erase/24061-multiset.cc: New.
335 * testsuite/tr1/6_containers/unordered/erase/24061-set.cc: New.
336 * testsuite/tr1/6_containers/unordered/insert/24061-map.cc: New.
337 * testsuite/tr1/6_containers/unordered/insert/24061-multimap.cc: New.
338 * testsuite/tr1/6_containers/unordered/insert/24061-multiset.cc: New.
339 * testsuite/tr1/6_containers/unordered/insert/24061-set.cc: New.
341 2005-10-08 Kazu Hirata <kazu@codesourcery.com>
343 Merge from csl-arm-branch:
344 2004-12-15 Daniel Jacobowitz <dan@codesourcery.com>
345 * libstdc++-v3/config/linker-map.gnu: Add ARM EABI symbols.
347 2005-10-07 Paolo Carlini <pcarlini@suse.de>
349 Fix libstdc++/24196 for ext/vstring/rc by returning to the behavior
350 of basic_string pre-2003-06-13; remove fully-dynamic-string stuff.
351 * include/ext/rc_string_base.h (_M_refcopy): Move inside the
352 _Rep class and remove code in macro.
353 (__rc_string_base()): Construct with _S_empty_rep()._M_refcopy().
354 (_M_dispose, _M_leak_hard): Remove code in macro.
355 (_S_construct): Return _S_empty_rep()._M_refcopy() for empty string.
358 * include/ext/rc_string_base.h (_Rep::_M_refdata()): Minor tweak,
361 2005-10-07 Benjamin Kosnik <bkoz@redhat.com>
363 * docs/doxygen/user.cfg.in: Update to Doyxygen 1.4.4.
365 2005-10-05 Paolo Carlini <pcarlini@suse.de>
367 * include/ext/sso_string_base.h (struct __sso_string_local):
368 Remove, actually POD types cannot have user defined constructors
369 (being aggregates) and therefore can always be members of unions.
370 (class __sso_string_base): Adjust consistently.
372 2005-10-05 Paolo Carlini <pcarlini@suse.de>
375 * testsuite/27_io/basic_filebuf/3.cc: Use __gnu_test::pod_ushort
377 * testsuite/27_io/basic_filebuf/seekoff/10132-2.cc: Likewise.
378 * testsuite/27_io/basic_filebuf/seekpos/10132-3.cc: Likewise.
379 * testsuite/27_io/basic_fstream/3.cc: Likewise; run the test.
380 * testsuite/27_io/basic_ifstream/3.cc: Likewise; run the test.
381 * testsuite/27_io/basic_ios/3.cc: Likewise.
382 * testsuite/27_io/basic_iostream/3.cc: Likewise; run the test.
383 * testsuite/27_io/basic_istream/3.cc: Likewise; run the test.
384 * testsuite/27_io/basic_istringstream/3.cc: Likewise; run the test.
385 * testsuite/27_io/basic_ofstream/3.cc: Likewise; run the test.
386 * testsuite/27_io/basic_ostream/3.cc: Likewise; run the test.
387 * testsuite/27_io/basic_ostringstream/3.cc: Likewise; run the test.
388 * testsuite/27_io/basic_streambuf/3.cc: Likewise.
389 * testsuite/27_io/basic_stringbuf/3.cc: Likewise.
390 * testsuite/27_io/basic_stringstream/3.cc: Likewise; run the test.
392 2005-10-05 Paolo Carlini <pcarlini@suse.de>
394 PR libstdc++/11729 (DR 280, [Ready])
395 * include/bits/stl_iterator.h: Add reverse_iterator global
396 functions with two template parameters (operator==, !=, <,
398 * testsuite/24_iterators/reverse_iterator/11729.cc: New.
399 * docs/html/ext/howto.html: Add an entry for issue 280.
401 2005-10-03 Paolo Carlini <pcarlini@suse.de>
403 * include/tr1/hashtable
404 (node_iterator::node_iterator(const node_iterator<,true,>&)): Fix to
405 take a "false" (i.e., is_const == false) node_iterator.
406 (hashtable_iterator::hashtable_iterator(const hashtable_iterator<,
407 true,>&)): Likewise for hashtable_iterator.
408 (hashtable::const_local_iterator): Fix typedef (is_const == true).
409 (hashtable::const_iterator): Likewise.
410 * testsuite/tr1/6_containers/unordered/types/map_iterator.cc: New.
411 * testsuite/tr1/6_containers/unordered/types/multimap_iterator.cc: New.
412 * testsuite/tr1/6_containers/unordered/types/set_iterator.cc: New.
413 * testsuite/tr1/6_containers/unordered/types/multiset_iterator.cc: New.
415 2005-10-02 Paolo Carlini <pcarlini@suse.de>
418 * include/tr1/hashtable (erase(const key_type&)): Return the
419 number of elements erased.
420 * testsuite/tr1/6_containers/unordered/hashtable/24054.cc: New.
422 2005-10-01 Kenny Simpson <theonetruekenny@yahoo.com>
424 * include/tr1/tuple_iterate.h (tuple::operator=(const std::pair<>&)):
427 2005-09-30 Paolo Carlini <pcarlini@suse.de>
430 * include/tr1/hashtable (hash_code_base<>::store_code): Add.
431 (hashtable<>::insert(const value_type&)): Use it.
432 * testsuite/tr1/6_containers/unordered/hashtable/24064.cc: New.
434 2005-09-30 Paolo Carlini <pcarlini@suse.de>
437 * include/bits/locale_facets.tcc (__numpunct_cache<>::_M_cache,
438 __moneypunct_cache<>::_M_cache): Check that grouping()[0] > 0.
439 (__verify_grouping): Do the last check only if __grouping[__min] > 0.
440 (__add_grouping<>): End recursion if *__gbeg <= 0.
441 * testsuite/22_locale/num_get/get/char/23953.cc: New.
442 * testsuite/22_locale/num_get/get/wchar_t/23953.cc: Likewise.
443 * testsuite/22_locale/num_put/put/char/23953.cc: Likewise.
444 * testsuite/22_locale/num_put/put/wchar_t/23953.cc: Likewise.
446 2005-09-29 Chris Jefferson <chris@bubblescope.net>
449 * include/tr1/tuple_iterate.h (tuple): Add operator=(std::pair).
450 * testsuite/tr1/6_containers/tuple/creation_functions/23978.cc: New.
452 * include/tr1/functional (ref, cref): Make inline.
453 * include/tr1/tuple_iterate.h (tie): Correct formatting.
454 (make_tuple): Make inline.
456 2005-09-25 Benjamin Kosnik <bkoz@redhat.com>
457 Eric Botcazou <ebotcazou@libertysurf.fr>
459 * include/ext/mt_allocator.h
460 (__per_type_pool<...true>::_S_initialize_once): Always call
462 (__common_pool<...true>::_S_initialize_once): Same.
464 2005-09-23 Benjamin Kosnik <bkoz@redhat.com>
466 * testsuite/ext/mt_allocator/tune-1.cc: Clarify for single-thread.
467 * testsuite/ext/mt_allocator/tune-2.cc: Same.
468 * testsuite/ext/mt_allocator/tune-3.cc: Same.
469 * testsuite/ext/mt_allocator/tune-4.cc: Same.
471 2005-09-21 Guillaume Melquiond <guillaume.melquiond@ens-lyon.fr>
474 * include/ext/mt_allocator.h: Remove excess
475 policy_type::_S_get_pool calls in constructors.
477 2005-09-18 Paolo Carlini <pcarlini@suse.de>
479 PR libstdc++/23417 (cont)
480 * include/bits/stl_tree.h (_Rb_tree_impl<true>): Use member
481 initialization list for -Weffc++.
483 2005-09-16 Janis Johnson <janis187@us.ibm.com>
485 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/23871.cc:
488 2005-09-15 Benjamin Kosnik <bkoz@redhat.com>
493 * include/bits/c++config: Set _GLIBCXX_STD regardless of __GXX_WEAK__.
494 Add in check for __NO_INLINE__ for warning.
495 * testsuite/lib/dg-options.exp (dg-require-debug-mode): New.
496 * testsuite/lib/libstdc++.exp (check_v3_target_debug_mode): New.
497 * testsuite/21_strings/basic_string/element_access/char/21674.cc:
499 * testsuite/21_strings/basic_string/element_access/wchar_t/21674.cc:
502 2005-09-15 Paolo Carlini <pcarlini@suse.de>
505 * include/std/std_ostream.h (operator<<(short), operator<<(unsigned
506 short), operator<<(int), operator<<(unsigned int), operator<<(float)):
507 Don't call operator<<(long), operator<<(unsigned long), or
508 operator<<(double), do the work mandated by the resolution of DR117...
509 * include/bits/ostream.tcc (operator<<(short), operator<<(unsigned
510 short), operator<<(int), operator<<(unsigned int), operator<<(float)):
512 * testsuite/27_io/basic_ostream/inserters_arithmetic/pod/23875.cc: New.
514 2005-09-15 Mark Mitchell <mark@codesourcery.com>
516 * testsuite/testsuite_character.h: Specialize character<>
517 templates in __gnu_cxx, not in __gnu_test.
519 2005-09-13 Jonathan Wakely <cow@compsoc.man.ac.uk>
520 Benjamin Kosnik <bkoz@redhat.com>
523 * testsuite/21_strings/basic_string/element_access/char/21674.cc: New.
524 * testsuite/21_strings/basic_string/element_access/wchar_t/21674.cc:
527 2005-09-12 David Edelsohn <dje@gcc.gnu.org>
531 * include/Makefile.am (stamp-assoc): Install each subgroup
532 of headers separately.
533 * include/Makefile.in: Regenerate.
535 2005-09-12 Benjamin Kosnik <bkoz@redhat.com>
537 * testsuite/ext/mt_allocator/22309_thread.cc: Remove dg-do run.
538 * testsuite/lib/libstdc++.exp ( proc libstdc++_init): Enable
539 shared only for linux.
541 2005-09-12 Benjamin Kosnik <bkoz@redhat.com>
542 David Edelsohn <dje@gcc.gnu.org>
546 * include/Makefile.am (assoc_headers): Break into five sub values.
547 (install-headers): Use them.
549 * include/Makefile.in: Regenerate.
551 2005-09-12 Chris Jefferson <chris@bubblescope.net>
553 * include/bits/stl_algo.h (search_n): Delegate to specializations.
554 (search_n(,,,,binary_predicate)): Likewise.
555 (__search_n(forward_iterator_tag)): Original search_n, tweak to
556 remove an unnecessary comparison.
557 (__search_n(,,,,binary_predicate,forward_iterator_tag)): Likewise.
559 2005-09-12 Jim Xochellis <jimxoch@yahoo.gr>
561 * include/bits/stl_algo.h
562 (__search_n(std::random_access_iterator_tag)): Add specialization.
563 (__search_n(,,,,binary_predicate,std::random_access_iterator_tag)):
566 2005-09-12 Benjamin Kosnik <bkoz@redhat.com>
569 * include/bits/stl_list.h (_List_impl): Use member initialization
571 * include/bits/stl_tree.h (_Rb_tree_impl): Same.
573 2005-09-12 Paolo Carlini <pcarlini@suse.de>
576 * include/bits/stl_iterator.h (__normal_iterator::
577 __normal_iterator<>(const __normal_iterator<_Iter, _Container>&)):
578 Enable only when _Iter is equal to _Container::pointer.
579 * testsuite/21_strings/basic_string/types/23767.cc: New.
580 * testsuite/23_containers/vector/types/23767.cc: Likewise.
581 * testsuite/ext/vstring/types/23767.cc: Likewise.
583 2005-09-11 Benjamin Kosnik <bkoz@redhat.com>
587 * include/ext/mt_allocator.h
588 (__gnu_cxx::__create_handler): Remove.
589 (__pool<true>::_M_destroy_thread_key): Compatibility only.
590 (__pool<true>::_M_initialize(__destroy): Same.
591 (__pool<true>::_M_initialize): New.
592 (__pool<true>::_M_initialize_once): Nothing fancy.
593 (__pool<true>::_M_once): Remove.
594 (__common_pool): New.
595 (__common_pool_base): New.
596 (__per_type_pool): New.
597 (__per_type_pool_base): New.
598 * src/mt_allocator.cc: Same.
599 * config/linker-map.gnu (__pool<true>::_M_initialize()): Add.
601 2005-09-11 Jakub Jelinek <jakub@redhat.com>
605 * src/mt_allocator.cc (__gnu_internal::freelist_mutex): Make static.
606 (__gnu_internal::__freelist): New type.
607 (__gnu_internal::freelist): New variable.
608 (__gnu_internal::_M_destroy_thread_key): New function.
609 (__gnu_cxx::__pool<true>::_M_destroy): Don't delete
610 _M_thread_freelist_initial.
611 (__gnu_cxx::__pool<true>::_M_initialize): Make argument nameless.
612 Don't use _M_thread_freelist and _M_thread_freelist_initial
613 __pool<true> fields, instead use __gnu_internal::freelist fields, call
614 gthread_key_create just once. Use
615 __gnu_internal::_M_destroy_thread_key as key destructor.
616 (__gnu_cxx::__pool<true>::_M_get_thread_id): Store size_t id
617 rather than _Thread_record* in the thread specific value. Don't
618 use _M_thread_freelist __pool<true> field, instead use
619 __gnu_internal::freelist fields.
620 (__gnu_cxx::__pool<true>::_M_destroy_thread_key): Do nothing.
622 2005-09-11 Benjamin Kosnik <bkoz@redhat.com>
623 Jakub Jelinek <jakub@redhat.com>
627 * testsuite/testsuite_shared.cc: New.
628 * testsuite/lib/dg-options.exp (dg-require-sharedlib): New.
629 * testsuite/lib/libstdc++.exp (libstdc++_init): Look for shared
630 library, and set v3-sharedlib based on this.
631 (check_v3_target_sharedlib): New.
632 (proc v3-build_support): Build shared objects.
633 * testsuite/ext/mt_allocator/22309_thread.cc: New, use above.
635 2005-09-11 Paolo Carlini <pcarlini@suse.de>
638 * include/bits/stl_list.h (_List_iterator<>::
639 _List_iterator(_List_node_base*), _List_const_iterator<>::
640 _List_const_iterator(const _List_node_base*)): Make explicit.
641 (list<>::begin(), list<>::end(), list<>::pop_back()): Adjust
643 * include/bits/list.tcc (list<>::insert, list<>::erase): Adjust
645 * include/bits/stl_tree.h (_Rb_tree_iterator<>::
646 _Rb_tree_iterator(_Link_type), _Rb_tree_const_iterator<>::
647 _Rb_tree_const_iterator(_Link_type)): Make explicit.
648 (_Rb_tree<>::begin(), _Rb_tree<>::end()): Adjust consistently.
649 * include/ext/slist (_Slist_iterator<>::_Slist_iterator(_Node*)):
651 (slist<>::erase(iterator), slist<>::erase(iterator, iterator)):
653 * include/tr1/hashtable (hashtable_iterator<>::
654 hashtable_iterator(hash_node<>**)): Make explicit.
655 * testsuite/23_containers/list/23781.cc: New.
656 * testsuite/23_containers/map/23781.cc: Likewise.
657 * testsuite/23_containers/multimap/23781.cc: Likewise.
658 * testsuite/23_containers/multiset/23781.cc: Likewise.
659 * testsuite/23_containers/set/23781.cc: Likewise.
660 * testsuite/ext/slist/23781.cc: Likewise.
661 * testsuite/tr1/6_containers/unordered/23781.cc: Likewise.
662 * testsuite/23_containers/map/operators/1_neg.cc: Adjust dg-error
664 * testsuite/23_containers/set/operators/1_neg.cc: Likewise.
666 * include/tr1/array (array<>::begin(), array<>::end()): Adjust
667 stylistically for consistency with the other containers.
669 2005-09-10 Joseph S. Myers <joseph@codesourcery.com>
671 * testsuite/26_numerics/cmath/c99_classification_macros_c.cc:
672 XFAIL on *-*-linux*, not *-*-linux-gnu.
674 2005-09-09 Benjamin Kosnik <bkoz@redhat.com>
675 Jakub Jelinek <jakub@redhat.com>
677 * src/debug.cc (iterator_base_mutex): Make static for internal
679 * src/locale_init.cc (locale_mutex): Same.
680 * src/mt_allocator.cc (freelist_mutex): Same.
681 * src/pool_allocator.cc (palloc_init_mutex): Same.
683 2005-09-02 Paolo Carlini <pcarlini@suse.de>
685 * testsuite/tr1/6_containers/unordered/hashtable/23465.cc:
686 Reduce maximum size and lf.
688 2005-09-01 Benjamin Kosnik <bkoz@redhat.com>
690 * include/c_std/std_cmath.h: Declare C99 functions and helper
693 2005-09-01 Benjamin Kosnik <bkoz@redhat.com>
694 Paolo Carlini <pcarlini@suse.de>
696 * testsuite/lib/libstdc++.exp (check_v3_target_cxa_atexit): Fix
699 2005-09-01 Benjamin Kosnik <bkoz@redhat.com>
701 * testsuite/lib/libstdc++.exp (check_v3_target_cxa_atexit): New.
702 * testsuite/lib/dg-options.exp (dg-require-cxa-atexit): New.
703 * testsuite/ext/mt_allocator/deallocate_local-6.cc: New.
704 * testsuite/ext/mt_allocator/deallocate_local-8.cc: New.
705 * testsuite/ext/mt_allocator/deallocate_local_thread-5.cc: New.
706 * testsuite/ext/mt_allocator/deallocate_local_thread-7.cc: New.
707 * docs/html/ext/mt_allocator.html: Add link to examples.
708 * testsuite/testsuite_allocator.h: Tweak.
709 * testsuite/ext/mt_allocator/deallocate_global-2.cc: Same.
710 * testsuite/ext/mt_allocator/deallocate_global-4.cc: Same.
711 * testsuite/ext/mt_allocator/deallocate_global_thread-1.cc: Same.
712 * testsuite/ext/mt_allocator/deallocate_global_thread-3.cc: Same.
713 * testsuite/ext/mt_allocator/deallocate_local-2.cc: Same.
714 * testsuite/ext/mt_allocator/deallocate_local-4.cc: Same.
715 * testsuite/ext/mt_allocator/deallocate_local_thread-1.cc: Same.
716 * testsuite/ext/mt_allocator/deallocate_local_thread-3.cc: Same.
717 * testsuite/ext/new_allocator/deallocate_global.cc: Same.
718 * testsuite/ext/new_allocator/deallocate_local.cc: Same.
720 2005-08-31 Paolo Carlini <pcarlini@suse.de>
721 Kaspar Fischer <fischerk@inf.ethz.ch>
724 * include/bits/stl_bvector.h (_Bit_iterator::operator[],
725 _Bit_const_iterator::operator[]): Const-ify.
726 * testsuite/23_containers/vector/bool/23632.cc: New.
728 2005-08-30 Paolo Carlini <pcarlini@suse.de>
730 PR libstdc++/23578 (cont)
731 * include/bits/stl_bvector.h (class vector<bool>): Add
732 a dummy data() to avoid problems in debug-mode.
734 2005-08-30 Paolo Carlini <pcarlini@suse.de>
736 * testsuite/ext/hash_map/23528.cc: New.
738 2005-08-29 Paolo Carlini <pcarlini@suse.de>
740 * include/bits/stl_map.h (class map): ... and a missing @a.
742 2005-08-29 Paolo Carlini <pcarlini@suse.de>
744 * include/bits/stl_map.h (class map): Add missing % in comment.
746 2005-08-29 Paolo Carlini <pcarlini@suse.de>
748 PR libstdc++/23578 (DR 464 [Ready])
749 * include/bits/stl_map.h (class map): Add at(const key_type&)
751 * include/bits/stl_vector.h (class vector): Add data() member
753 * include/debug/map.h (class map): Adjust consistently.
754 * include/debug/vector (class vector): Likewise.
755 * testsuite/23_containers/map/element_access/1.cc: New.
756 * testsuite/23_containers/vector/data_access/1.cc: Likewise.
757 * docs/html/ext/howto.html: Add an entry for DR 464.
759 2005-08-26 Benjamin Kosnik <bkoz@redhat.com>
761 PR libstdc++/20534 (contd)
762 * src/debug.cc (__gnu_debug): Remove __fancy_abort definition.
763 Remove cstdio and cstdlib includes.
764 * include/debug/debug.h: Define inline here. Remove
765 _GLIBCXX_DEBUG_ABORT.
766 * include/debug/macros.h: Remove __fancy_abort declaration,
767 _GLIBXX_DEBUG_ABORT definition.
768 * config/linker-map.gnu: Remove export.
770 2005-08-26 Benjamin Kosnik <bkoz@redhat.com>
772 * scripts/check_compile (UNIQUE_ID): New. Use to name output files.
774 2005-08-26 Paolo Carlini <pcarlini@suse.de>
777 * include/tr1/array: Implement members back(), front(), data(),
778 and the tuple interface; tidy.
779 * testsuite/tr1/6_containers/array/element_access/back.cc: New.
780 * testsuite/tr1/6_containers/array/element_access/data.cc: Likewise.
781 * testsuite/tr1/6_containers/array/element_access/front.cc: Likewise.
782 * testsuite/tr1/6_containers/array/tuple_interface/get.cc: Likewise.
783 * testsuite/tr1/6_containers/array/tuple_interface/tuple_element.cc:
785 * testsuite/tr1/6_containers/array/tuple_interface/tuple_size.cc:
788 2005-08-25 Paolo Carlini <pcarlini@suse.de>
790 * include/tr1/hashtable: Use __throw_exception_again,
791 not naked throw, in the catch clauses.
793 2005-08-24 Lawrence Lim <llim@redhat.com>
794 Jakub Jelinek <jakub@redhat.com>
795 Benjamin Kosnik <bkoz@redhat.com>
798 * testsuite/21_strings/char_traits/requirements/char/1.cc
799 (test01): Simplify counting.
800 * testsuite/21_strings/char_traits/requirements/wchar_t/1.cc
803 2005-08-24 Paolo Carlini <pcarlini@suse.de>
804 Chris Jefferson <chris@bubblescope.net>
807 * include/tr1/hashtable (hash_code_base::m_swap): Use
809 (hashtable<>::hashtable(const hashtable&)): Use copy_code;
810 fix m_allocate_node call.
811 * testsuite/tr1/6_containers/unordered/hashtable/23465.cc: New.
813 2005-08-23 Kelley Cook <kcook@gcc.gnu.org>
816 * testsuite/data/sgetn.txt: Revert to previous FSF address.
818 2005-08-23 Thomas Kho <tkho@ucla.edu>
821 * include/bits/stl_construct.h (_Destroy(_ForwardIterator,
822 _ForwardIterator, allocator<_Tp>)): Removed unused template parameter.
824 2005-08-22 Geoffrey Keating <geoffk@apple.com>
826 * testsuite/23_containers/vector/resize/1.cc: XFAIL on darwin8.
827 * testsuite/27_io/ios_base/storage/2.cc: Likewise.
829 2005-08-19 J"orn Rennecke <joern.rennecke@st.com>
831 * config/cpu/sh/atomicity.h: Replace broken generic code with current
832 copy of generic/atomicity.h .
834 2005-08-17 Kelley Cook <kcook@gcc.gnu.org>
836 * All files: Update FSF address.
838 2005-08-09 Andrew Pinski <pinskia@physics.uc.edu>
840 * testsuite/26_numerics/cmath/c99_classification_macros_c.cc:
841 xfail on *-*-darwin*.
843 2005-08-03 Geoffrey Keating <geoffk@apple.com>
845 * configure.ac: Don't use GCC_NO_EXECUTABLES or clear
846 GLIBCXX_IS_NATIVE on Darwin crosses.
847 * acinclude.m4 (GLIBCXX_CONFIGURE_TESTSUITE): Don't skip configuring
848 the testsuite just because there's no symbol versioning.
849 * configure: Regenerate.
851 * acinclude.m4 (GLIBCXX_CHECK_SETRLIMIT_ancilliary): Print
853 (GLIBCXX_CHECK_S_ISREG_OR_S_IFREG): Likewise.
854 (GLIBCXX_CHECK_POLL): Likewise.
855 (GLIBCXX_CHECK_WRITEV): Likewise.
856 (GLIBCXX_CHECK_INT64_T): Likewise.
857 (GLIBCXX_CHECK_LFS): Likewise.
858 * configure: Regenerate.
860 2005-07-30 Andrew Pinski <pinskia@physics.uc.edu>
862 * scripts/make_exports.pl: Pass --strip-underscores to c++filt.
864 2005-07-29 H.J. Lu <hongjiu.lu@intel.com>
867 * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Revert
868 the change to info.ttype_base.
870 2005-07-28 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
872 * include/std/std_valarray.h: Fix grammar in comments.
874 2005-07-25 Geoffrey Keating <geoffk@apple.com>
876 * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Handle darwin-export,
877 and make it the default for Darwin.
878 * scripts/make-exports.pl: New.
879 * src/Makefile.am: Update for changes to GLIBCXX_ENABLE_SYMVERS.
880 Handle darwin-export.
881 * configure: Regenerate.
882 * include/Makefile.in: Regenerate.
883 * libmath/Makefile.in: Regenerate.
884 * libsupc++/Makefile.in: Regenerate.
885 * po/Makefile.in: Regenerate.
886 * src/Makefile.in: Regenerate.
887 * testsuite/Makefile.in: Regenerate.
889 2005-07-25 Dave Odell <evilalias@hotmail.com>
892 * include/tr1/hashtable (hashtable<>::find_node): Const-ify.
893 * testsuite/tr1/6_containers/unordered/hashtable/23053.cc: New.
895 2005-07-25 Paolo Carlini <pcarlini@suse.de>
898 * include/bits/basic_string.h: Declare the specialization
899 operator>>(basic_istream<char>&, basic_string<char>&).
900 * include/std/std_istream.h: Declate the specialization
901 operator>>(basic_istream<char>&, char*).
902 * include/std/std_streambuf.h (basic_streambuf): Add friend
903 declarations for the above.
904 * src/istream.cc: Define the above.
905 * testsuite/27_io/basic_istream/extractors_character/char/4.cc: New.
906 * testsuite/27_io/basic_istream/extractors_character/wchar_t/4.cc:
908 * testsuite/performance/27_io/ifstream_extract_chars.cc: Likewise.
910 2005-07-20 Paolo Carlini <pcarlini@suse.de>
912 * include/bits/streambuf.tcc (xsgetn, xsputn): Use streamsize
914 * src/streambuf.cc (__copy_streambufs): Likewise.
916 2005-07-18 Paolo Carlini <pcarlini@suse.de>
918 * config/locale/gnu/ctype_members.cc (do_is(mask, wchar_t)):
919 Speed-up for the common case of mask == ctype_base::space;
920 otherwise, exit the loop earlier if the mask is one of the
923 2005-07-14 Paolo Carlini <pcarlini@suse.de>
925 PR libstdc++/21193 (float, double, long double)
926 * include/tr1/functional (hash<float>, hash<double>):
927 Reimplement exploiting the Fnv_hash<>::hash helper.
928 (hash<long double>): Reimplement using frexp (in this
929 case, due to random padding bits, the former approach
930 is not generally viable).
932 2005-07-13 Paolo Carlini <pcarlini@suse.de>
934 PR libstdc++/21193 (string & wstring)
935 * include/tr1/functional (hash<string>, hash<wstring>):
936 Reimplement using the FNV hash.
938 * include/tr1/functional: Trivial formatting fixes.
940 2005-07-11 Paolo Carlini <pcarlini@suse.de>
942 * include/bits/ostream.tcc (basic_ostream<>::operator<<(long),
943 basic_ostream<>::operator<<(long long)): Don't deal with oct
944 and hex and casts to unsigned here...
945 * include/bits/locale_facets.tcc (__int_to_char(_CharT*, long,
946 const _CharT*, ios_base::fmtflags), __int_to_char(_CharT*, long
947 long, const _CharT*, ios_base::fmtflags)): ... do that here,
948 instead, as per Table 57.
949 (num_put<>::_M_insert_int): Tidy treatment of numeric base and
951 * include/std/std_ostream.h (operator<<(short), operator<<(int)):
952 Adjust logic, as per the letter of the resolution of DR117 [WP].
953 * testsuite/22_locale/num_put/put/char/10.cc: New.
954 * testsuite/22_locale/num_put/put/wchar_t/10.cc: Likewise.
955 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/7.cc:
957 * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/7.cc:
960 2005-07-07 David Edelsohn <edelsohn@gnu.org>
962 * testsuite/ext/pb_assoc/example/tree_order_statistics_join.cc:
963 Change map_t to map_type.
965 2005-07-05 Paolo Carlini <pcarlini@suse.de>
967 Add class __versa_string, a versatile "basic_string-type" class:
968 an additional, non-standard, template parameter allows to specify
969 the preferred base class. Two are provided: __rc_string_base,
970 which implements a behavior very similar to our standard string,
971 and __sso_string_base, not reference-counted and optimized for
973 * include/ext/rc_string_base.h: New.
974 * include/ext/sso_string_base.h: Likewise.
975 * include/ext/vstring.h: Likewise.
976 * include/ext/vstring.tcc: Likewise.
977 * include/ext/vstring_fwd.h: Likewise.
978 * include/ext/vstring_util.h: Likewise.
979 * include/Makefile.am: Add.
980 * include/Makefile.in: Regenerate.
981 * testsuite/ext/vstring/explicit_instantiation/1.cc: New.
982 * testsuite/ext/vstring/explicit_instantiation/2.cc: Likewise.
983 * testsuite/ext/vstring/explicit_instantiation/char/1.cc: Likewise.
984 * testsuite/ext/vstring/explicit_instantiation/wchar_t/1.cc: Likewise.
986 * Makefile.in: Regenerate with autotools 1.9.3 (to date, the version
987 officially used by v3).
988 * aclocal.m4: Likewise.
989 * libmath/Makefile.in: Likewise.
990 * libsupc++/Makefile.in: Likewise.
991 * po/Makefile.in: Likewise.
992 * src/Makefile.in: Likewise.
993 * testsuite/Makefile.in: Likewise.
995 2005-07-01 Paolo Carlini <pcarlini@suse.de>
997 Port from libstdcxx_so_7-branch:
998 2004-10-28 Chris Jefferson <chris@bubblescope.net>
1001 * include/bit/stl_algo.h (find(,,,input_iterator_tag),
1002 find(,,,random_access_interator_tag),
1003 find_if(,,,input_iterator_tag),
1004 find_if(,,,random_access_iterator_tag)): Uglify function name.
1005 (find, find_if): Use new uglified specialisation names.
1006 * testsuite/25_algorithms/find/17441.cc: New.
1008 2005-06-30 Ulrich Weigand <uweigand@de.ibm.com>
1010 * include/ext/pb_assoc/detail/hash_fn/mask_based_range_hashing.hpp
1011 (PB_ASSOC_CLASS_C_DEC::s_highest_bit_1): Cast constant 1 to target
1012 type before shifting.
1014 2005-06-29 Paolo Carlini <pcarlini@suse.de>
1016 PR libstdc++/21244 (cont^2)
1017 * include/ext/bitmap_allocator.h: Convert everywhere
1018 bits_per_block to size_t.
1020 2005-06-29 Jonathan Wakely <redi@gcc.gnu.org>
1022 * include/bits/basic_string.h, include/bits/locale_facets.h: Fix
1023 Doxygen comments that use wrong parameter and function names.
1025 2005-06-29 Paolo Carlini <pcarlini@suse.de>
1027 * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 37.
1028 * docs/html/ext/howto.html: Adjust.
1030 2005-06-29 Paolo Carlini <pcarlini@suse.de>
1033 * include/bits/locale_facets.tcc (num_get<>::_M_extract_int,
1034 num_get<>::_M_extract_float, money_get<>::_M_extract):
1035 Adjust to assign the result also when digit grouping is
1036 wrong (but the grammar is correct), as per 22.2.2.1.2, p11-12
1037 (NB: consistently for money_get too).
1038 * config/locale/generic/c_locale.cc (__convert_to_v): Do
1039 not check ios_base::failbit at the outset.
1040 * config/locale/gnu/c_locale.cc: Likewise.
1041 * testsuite/22_locale/money_get/get/char/22131.cc: New.
1042 * testsuite/22_locale/money_get/get/wchar_t/22131.cc: Likewise.
1043 * testsuite/22_locale/num_get/get/char/22131.cc: Likewise.
1044 * testsuite/22_locale/num_get/get/wchar_t/22131.cc: Likewise.
1045 * testsuite/22_locale/num_get/get/char/12.cc: Adjust.
1046 * testsuite/22_locale/num_get/get/wchar_t/12.cc: Likewise.
1047 * testsuite/27_io/basic_istream/extractors_arithmetic/char/07.cc:
1049 * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/07.cc:
1052 2005-06-28 Paul Brook <paul@codesourcery.com>
1054 * acinclude.m4 (GLIBCXX_ENABLE_SJLJ_EXCEPTIONS): Check for
1056 * libsupc++/Makefile.am (sources): Add eh_call.c and eh_arm.c.
1057 * libsupc++/eh_arm.cc: New file.
1058 * libsupc++/eh_call.cc: New file.
1059 * libsupc++/eh_catch.cc (__cxa_get_exception_ptr): Use
1060 __gxx_caught_object.
1061 (__cxa_begin_catch): Ditto. Use __is_gxx_exception_class. Call
1062 _Unwind_Complete when using the ARM EABI.
1063 (__cxa_end_catch): Use __is_gxx_exception_class.
1064 * libsupc++/eh_personality.cc: Define NO_SIZE_OF_ENCODED_VALUE when
1066 (save_caught_exception, restore_caught_exception): New functions.
1067 (_throw_typet): New typedef.
1068 (get_ttype_entry, get_adjusted_ptr, check_exception_spec): Add ARM
1069 EABI implementations.
1070 (PERSONALITY_FUNCTION): Use new functions. Addd support for ARM EABI
1072 (__cxa_unexpected): Disable when using the ARM EABI.
1073 * libsupc++/eh_throw.cc (__cxa_throw): Use __GXX_INIT_EXCEPTION_CLASS.
1074 (__cxa_rethrow): Use __is_gxx_exception_class. Call
1075 _Unwind_RaiseException when using the ARM EABI.
1076 * libsupc++/unwind-cxx.h (struct __cxa_exception): Add fields for ARM
1078 (struct __cxa_eh_globals): Ditto.
1079 (__cxa_call_terminate): Add prototype.
1080 (__cxa_type_match, __cxa_begin_cleanup, __cxa_end_cleanup): Add
1082 (__get_exception_header_from_obj, __get_exception_header_from_ue):
1083 Move earlier in file.
1084 (__is_gxx_exception_class, __GXX_INIT_EXCEPTION_CLASS,
1085 __gxx_caught_object): New functions.
1086 * aclocal.m4: Regenerate.
1087 * configure: Regenerate.
1088 * Makefile.in: Regenerate.
1089 * include/Makefile.in: Regenerate.
1090 * libmath/Makefile.in: Regenerate.
1091 * libsupc++/Makefile.in: Regenerate.
1092 * po/Makefile.in: Regenerate.
1093 * src/Makefie.in: Regenerate.
1094 * testsuite/makefile.in: Regenerate.
1096 2005-06-27 Paolo Carlini <pcarlini@suse.de>
1099 * include/bits/stl_tree.h (insert_unique(iterator, const _Val&),
1100 insert_equal((iterator, const _Val&)): Reimplement to check both
1101 before and after, as per the algorithm "ignore hint if wrong" of
1104 2005-06-27 Benjamin Kosnik <bkoz@redhat.com>
1105 Ami Tavory <pbassoc@gmail.com>
1107 * docs/html/documentation.html: Add link for policy based
1108 associative containers docs.
1109 * docs/html/ext/pb_assoc/Std_hash_set_impl.jpg: New.
1110 * docs/html/ext/pb_assoc/acks.html: New.
1111 * docs/html/ext/pb_assoc/balls_and_bins.jpg: New.
1112 * docs/html/ext/pb_assoc/basic_assoc_cntnr.html: New.
1113 * docs/html/ext/pb_assoc/basic_assoc_cntnr_compound_data.html: New.
1114 * docs/html/ext/pb_assoc/basic_assoc_cntnr_no_data.html: New.
1115 * docs/html/ext/pb_assoc/basic_ds_tag.html: New.
1116 * docs/html/ext/pb_assoc/basic_hash_assoc_cntnr.html: New.
1117 * docs/html/ext/pb_assoc/basic_hash_ds_tag.html: New.
1118 * docs/html/ext/pb_assoc/basic_invalidation_guarantee.html: New.
1119 * docs/html/ext/pb_assoc/basic_ms_tag.html: New.
1120 * docs/html/ext/pb_assoc/basic_tree_assoc_cntnr.html: New.
1121 * docs/html/ext/pb_assoc/
1122 basic_tree_assoc_cntnr_const_node_iterator.html: New.
1123 * docs/html/ext/pb_assoc/
1124 basic_tree_assoc_cntnr_node_iterator.html: New.
1125 * docs/html/ext/pb_assoc/basic_tree_assoc_cntnr_rev.html: New.
1126 * docs/html/ext/pb_assoc/basic_tree_assoc_cntnr_rev_it.html: New.
1127 * docs/html/ext/pb_assoc/basic_tree_ds_tag.html: New.
1128 * docs/html/ext/pb_assoc/cc_hash_assoc_cntnr.html: New.
1129 * docs/html/ext/pb_assoc/cc_hash_ds_tag.html: New.
1130 * docs/html/ext/pb_assoc/
1131 cc_hash_max_collision_check_resize_trigger.html: New.
1132 * docs/html/ext/pb_assoc/cc_hash_policy_cd.jpg: New.
1133 * docs/html/ext/pb_assoc/cd.jpg: New.
1134 * docs/html/ext/pb_assoc/component_requirements.html: New.
1135 * docs/html/ext/pb_assoc/compound_data_enabled_ms_tag.html: New.
1136 * docs/html/ext/pb_assoc/compound_data_type.html: New.
1137 * docs/html/ext/pb_assoc/compound_ds_tag.html: New.
1138 * docs/html/ext/pb_assoc/concepts.html: New.
1139 * docs/html/ext/pb_assoc/contact.html: New.
1140 * docs/html/ext/pb_assoc/counter_update_metadata.html: New.
1141 * docs/html/ext/pb_assoc/counter_update_policy.html: New.
1142 * docs/html/ext/pb_assoc/data_enabled_ms_tag.html: New.
1143 * docs/html/ext/pb_assoc/design.html: New.
1144 * docs/html/ext/pb_assoc/different_underlying_dss.jpg: New.
1145 * docs/html/ext/pb_assoc/direct_mask_range_hashing.html: New.
1146 * docs/html/ext/pb_assoc/direct_mod_range_hashing.html: New.
1147 * docs/html/ext/pb_assoc/disclaimer.html: New.
1148 * docs/html/ext/pb_assoc/ds_gen.html: New.
1149 * docs/html/ext/pb_assoc/ds_tag_cd.jpg: New.
1150 * docs/html/ext/pb_assoc/ds_traits.html: New.
1151 * docs/html/ext/pb_assoc/embedded_lists_1.jpg: New.
1152 * docs/html/ext/pb_assoc/embedded_lists_2.jpg: New.
1153 * docs/html/ext/pb_assoc/examples.html: New.
1154 * docs/html/ext/pb_assoc/exception_guarantees_specifics.html: New.
1155 * docs/html/ext/pb_assoc/find_invalidation_guarantee.html: New.
1156 * docs/html/ext/pb_assoc/find_iterators_cd.jpg: New.
1157 * docs/html/ext/pb_assoc/find_iterators_range_ops_1.jpg: New.
1158 * docs/html/ext/pb_assoc/find_iterators_range_ops_2.jpg: New.
1159 * docs/html/ext/pb_assoc/generics.html: New.
1160 * docs/html/ext/pb_assoc/gp_hash_assoc_cntnr.html: New.
1161 * docs/html/ext/pb_assoc/gp_hash_ds_tag.html: New.
1162 * docs/html/ext/pb_assoc/gp_hash_policy_cd.jpg: New.
1163 * docs/html/ext/pb_assoc/hash_and_probe_general.html: New.
1164 * docs/html/ext/pb_assoc/hash_based_containers.html: New.
1165 * docs/html/ext/pb_assoc/hash_cd.jpg: New.
1166 * docs/html/ext/pb_assoc/hash_exponential_size_policy.html: New.
1167 * docs/html/ext/pb_assoc/hash_fn.html: New.
1168 * docs/html/ext/pb_assoc/hash_load_check_resize_trigger.html: New.
1169 * docs/html/ext/pb_assoc/hash_policies.html: New.
1170 * docs/html/ext/pb_assoc/hash_policy_cd.jpg: New.
1171 * docs/html/ext/pb_assoc/hash_prime_size_policy.html: New.
1172 * docs/html/ext/pb_assoc/hash_range_hashing_seq_diagram.jpg: New.
1173 * docs/html/ext/pb_assoc/hash_range_hashing_seq_diagram2.jpg: New.
1174 * docs/html/ext/pb_assoc/hash_ranged_hash_range_hashing_fns.jpg: New.
1175 * docs/html/ext/pb_assoc/hash_standard_resize_policy.html: New.
1176 * docs/html/ext/pb_assoc/home.html: New.
1177 * docs/html/ext/pb_assoc/index.html: New.
1178 * docs/html/ext/pb_assoc/insert_resize_sequence_diagram1.jpg: New.
1179 * docs/html/ext/pb_assoc/insert_resize_sequence_diagram2.jpg: New.
1180 * docs/html/ext/pb_assoc/insert_resize_sequence_diagram3.jpg: New.
1181 * docs/html/ext/pb_assoc/insert_type_methods.html: New.
1182 * docs/html/ext/pb_assoc/interface.html: New.
1183 * docs/html/ext/pb_assoc/interval_node_invariants.jpg: New.
1184 * docs/html/ext/pb_assoc/introduction.html: New.
1185 * docs/html/ext/pb_assoc/invalidation_guarantee_cd.jpg: New.
1186 * docs/html/ext/pb_assoc/invalidation_guarantee_erase.jpg: New.
1187 * docs/html/ext/pb_assoc/lib_download.html: New.
1188 * docs/html/ext/pb_assoc/linear_probe_fn.html: New.
1189 * docs/html/ext/pb_assoc/list_updates.html: New.
1190 * docs/html/ext/pb_assoc/lu_assoc_cntnr.html: New.
1191 * docs/html/ext/pb_assoc/lu_based_containers.html: New.
1192 * docs/html/ext/pb_assoc/lu_cd.jpg: New.
1193 * docs/html/ext/pb_assoc/lu_ds_tag.html: New.
1194 * docs/html/ext/pb_assoc/lu_ops.jpg: New.
1195 * docs/html/ext/pb_assoc/mmap_value_utils.html: New.
1196 * docs/html/ext/pb_assoc/motivation.html: New.
1197 * docs/html/ext/pb_assoc/move_to_front_update_metadata.html: New.
1198 * docs/html/ext/pb_assoc/move_to_front_update_policy.html: New.
1199 * docs/html/ext/pb_assoc/ms_cd.jpg: New.
1200 * docs/html/ext/pb_assoc/ms_gen.html: New.
1201 * docs/html/ext/pb_assoc/ms_tag_cd.jpg: New.
1202 * docs/html/ext/pb_assoc/ms_traits.html: New.
1203 * docs/html/ext/pb_assoc/node_invariant_invalidations.jpg: New.
1204 * docs/html/ext/pb_assoc/node_invariants.html: New.
1205 * docs/html/ext/pb_assoc/node_invariants.jpg: New.
1206 * docs/html/ext/pb_assoc/non_unique_mapping.html: New.
1207 * docs/html/ext/pb_assoc/non_unique_mapping_containers.jpg: New.
1208 * docs/html/ext/pb_assoc/null_data_type.html: New.
1209 * docs/html/ext/pb_assoc/null_hash_fn.html: New.
1210 * docs/html/ext/pb_assoc/null_probe_fn.html: New.
1211 * docs/html/ext/pb_assoc/order_by_key.html: New.
1212 * docs/html/ext/pb_assoc/order_statistics_key.html: New.
1213 * docs/html/ext/pb_assoc/order_statistics_key_cmp.html: New.
1214 * docs/html/ext/pb_assoc/order_statistics_node_updator.html: New.
1215 * docs/html/ext/pb_assoc/ov_tree_ds_tag.html: New.
1216 * docs/html/ext/pb_assoc/overview.html: New.
1217 * docs/html/ext/pb_assoc/pb_assoc_ex.html: New.
1218 * docs/html/ext/pb_assoc/portability.html: New.
1219 * docs/html/ext/pb_assoc/quadratic_probe_fn.html: New.
1220 * docs/html/ext/pb_assoc/range_invalidation_guarantee.html: New.
1221 * docs/html/ext/pb_assoc/rank_node_invariants.jpg: New.
1222 * docs/html/ext/pb_assoc/rationale_null_node_updator.jpg: New.
1223 * docs/html/ext/pb_assoc/rb_tree_ds_tag.html: New.
1224 * docs/html/ext/pb_assoc/reference_iterator.jpg: New.
1225 * docs/html/ext/pb_assoc/references.html: New.
1226 * docs/html/ext/pb_assoc/regression_tests.html: New.
1227 * docs/html/ext/pb_assoc/resize_general.html: New.
1228 * docs/html/ext/pb_assoc/resize_policies.html: New.
1229 * docs/html/ext/pb_assoc/resize_policy_cd.jpg: New.
1230 * docs/html/ext/pb_assoc/restoring_node_invariants.jpg: New.
1231 * docs/html/ext/pb_assoc/sample_node_updator.hpp: New.
1232 * docs/html/ext/pb_assoc/sample_probe_fn.hpp: New.
1233 * docs/html/ext/pb_assoc/sample_probe_fn.html: New.
1234 * docs/html/ext/pb_assoc/sample_range_hashing.hpp: New.
1235 * docs/html/ext/pb_assoc/sample_range_hashing.html: New.
1236 * docs/html/ext/pb_assoc/sample_ranged_hash_fn.hpp: New.
1237 * docs/html/ext/pb_assoc/sample_ranged_hash_fn.html: New.
1238 * docs/html/ext/pb_assoc/sample_ranged_probe_fn.hpp: New.
1239 * docs/html/ext/pb_assoc/sample_ranged_probe_fn.html: New.
1240 * docs/html/ext/pb_assoc/sample_resize_policy.hpp: New.
1241 * docs/html/ext/pb_assoc/sample_resize_policy.html: New.
1242 * docs/html/ext/pb_assoc/sample_resize_trigger.hpp: New.
1243 * docs/html/ext/pb_assoc/sample_size_policy.hpp: New.
1244 * docs/html/ext/pb_assoc/sample_update_policy.hpp: New.
1245 * docs/html/ext/pb_assoc/size_policies_general.html: New.
1246 * docs/html/ext/pb_assoc/splay_tree_ds_tag.html: New.
1247 * docs/html/ext/pb_assoc/timing_tests.html: New.
1248 * docs/html/ext/pb_assoc/toc.html: New.
1249 * docs/html/ext/pb_assoc/tree_assoc_cntnr.html: New.
1250 * docs/html/ext/pb_assoc/
1251 tree_assoc_cntnr_const_node_iterator.html: New.
1252 * docs/html/ext/pb_assoc/tree_assoc_cntnr_node_iterator.html: New.
1253 * docs/html/ext/pb_assoc/tree_based_containers.html: New.
1254 * docs/html/ext/pb_assoc/tree_cd.jpg: New.
1255 * docs/html/ext/pb_assoc/trigger_policies_general.html: New.
1256 * docs/html/ext/pb_assoc/tutorial.html: New.
1257 * docs/html/ext/pb_assoc/update_seq_diagram.jpg: New.
1258 * include/Makefile.am: Add assoc_srcdir, assoc_builddir, assoc_subdir,
1260 * include/Makefile.in: Regenerate.
1261 * include/ext/typelist.h: New.
1262 * include/ext/pb_assoc/assoc_cntnr.hpp: New.
1263 * include/ext/pb_assoc/data_type.hpp: New.
1264 * include/ext/pb_assoc/ds_trait.hpp: New.
1265 * include/ext/pb_assoc/exception.hpp: New.
1266 * include/ext/pb_assoc/hash_policy.hpp: New.
1267 * include/ext/pb_assoc/lu_policy.hpp: New.
1268 * include/ext/pb_assoc/ms_trait.hpp: New.
1269 * include/ext/pb_assoc/tree_policy.hpp: New.
1270 * include/ext/pb_assoc/trivial_iterator_def.hpp: New.
1271 * include/ext/pb_assoc/detail/assoc_cntnr_base.hpp: New.
1272 * include/ext/pb_assoc/detail/cond_dealtor.hpp: New.
1273 * include/ext/pb_assoc/detail/constructors_destructor_fn_imps.hpp: New.
1274 * include/ext/pb_assoc/detail/ds_trait_imp.hpp: New.
1275 * include/ext/pb_assoc/detail/hash_types_traits.hpp: New.
1276 * include/ext/pb_assoc/detail/map_debug_base.hpp: New.
1277 * include/ext/pb_assoc/detail/mapping_level_imp.hpp: New.
1278 * include/ext/pb_assoc/detail/ms_category_imp.hpp: New.
1279 * include/ext/pb_assoc/detail/ms_trait_imp.hpp: New.
1280 * include/ext/pb_assoc/detail/order_statistics_imp.hpp: New.
1281 * include/ext/pb_assoc/detail/standard_policies.hpp: New.
1282 * include/ext/pb_assoc/detail/standard_sizes.hpp: New.
1283 * include/ext/pb_assoc/detail/type_utils.hpp: New.
1284 * include/ext/pb_assoc/detail/typelist.hpp: New.
1285 * include/ext/pb_assoc/detail/types_traits.hpp: New.
1286 * include/ext/pb_assoc/detail/basic_assoc_cntnr/
1287 constructor_destructor_fn_imps.hpp: New.
1288 * include/ext/pb_assoc/detail/basic_assoc_cntnr/
1289 constructors_destructor_fn_imps.hpp: New.
1290 * include/ext/pb_assoc/detail/basic_assoc_cntnr/d_extract_key.hpp: New.
1291 * include/ext/pb_assoc/detail/basic_assoc_cntnr/
1292 d_find_fn_imps.hpp: New.
1293 * include/ext/pb_assoc/detail/basic_assoc_cntnr/
1294 d_insert_fn_imps.hpp: New.
1295 * include/ext/pb_assoc/detail/basic_assoc_cntnr/erase_fn_imps.hpp: New.
1296 * include/ext/pb_assoc/detail/basic_assoc_cntnr/extract_key.hpp: New.
1297 * include/ext/pb_assoc/detail/basic_assoc_cntnr/info_fn_imps.hpp: New.
1298 * include/ext/pb_assoc/detail/basic_assoc_cntnr/
1299 insert_fn_imps.hpp: New.
1300 * include/ext/pb_assoc/detail/basic_assoc_cntnr/
1301 iterators_fn_imps.hpp: New.
1302 * include/ext/pb_assoc/detail/basic_hash_assoc_cntnr/
1303 constructor_destructor_fn_imps.hpp: New.
1304 * include/ext/pb_assoc/detail/basic_hash_assoc_cntnr/
1305 constructors_destructor_fn_imps.hpp: New.
1306 * include/ext/pb_assoc/detail/basic_hash_assoc_cntnr/
1307 resize_fn_imps.hpp: New.
1308 * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
1309 constructor_destructor_fn_imps.hpp: New.
1310 * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
1311 constructors_destructor_fn_imps.hpp: New.
1312 * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
1313 erase_fn_imps.hpp: New.
1314 * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
1315 node_iteration_fn_imps.hpp: New.
1316 * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
1317 policy_access_fn_imps.hpp: New.
1318 * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
1319 r_erase_fn_imps.hpp: New.
1320 * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
1321 r_range_iteration_fn_imps.hpp: New.
1322 * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
1323 range_iteration_fn_imps.hpp: New.
1324 * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
1325 split_join_fn_imps.hpp: New.
1326 * include/ext/pb_assoc/detail/bin_search_tree_/
1327 bin_search_tree_.hpp: New.
1328 * include/ext/pb_assoc/detail/bin_search_tree_/
1329 cond_dtor_entry_dealtor.hpp: New.
1330 * include/ext/pb_assoc/detail/bin_search_tree_/
1331 cond_key_dtor_entry_dealtor.hpp: New.
1332 * include/ext/pb_assoc/detail/bin_search_tree_/
1333 constructors_destructor_fn_imps.hpp: New.
1334 * include/ext/pb_assoc/detail/bin_search_tree_/debug_fn_imps.hpp: New.
1335 * include/ext/pb_assoc/detail/bin_search_tree_/erase_fn_imps.hpp: New.
1336 * include/ext/pb_assoc/detail/bin_search_tree_/find_fn_imps.hpp: New.
1337 * include/ext/pb_assoc/detail/bin_search_tree_/find_iterators.hpp: New.
1338 * include/ext/pb_assoc/detail/bin_search_tree_/info_fn_imps.hpp: New.
1339 * include/ext/pb_assoc/detail/bin_search_tree_/insert_fn_imps.hpp: New.
1340 * include/ext/pb_assoc/detail/bin_search_tree_/
1341 iterators_fn_imps.hpp: New.
1342 * include/ext/pb_assoc/detail/bin_search_tree_/node_iterators.hpp: New.
1343 * include/ext/pb_assoc/detail/bin_search_tree_/
1344 r_erase_fn_imps.hpp: New.
1345 * include/ext/pb_assoc/detail/bin_search_tree_/rotate_fn_imps.hpp: New.
1346 * include/ext/pb_assoc/detail/bin_search_tree_/
1347 split_join_fn_imps.hpp: New.
1348 * include/ext/pb_assoc/detail/cc_hash_assoc_cntnr/
1349 constructor_destructor_fn_imps.hpp: New.
1350 * include/ext/pb_assoc/detail/cc_ht_map_/cc_ht_map_.hpp: New.
1351 * include/ext/pb_assoc/detail/cc_ht_map_/cmp_fn_imps.hpp: New.
1352 * include/ext/pb_assoc/detail/cc_ht_map_/
1353 cond_key_dtor_entry_dealtor.hpp: New.
1354 * include/ext/pb_assoc/detail/cc_ht_map_/
1355 constructor_destructor_fn_imps.hpp: New.
1356 * include/ext/pb_assoc/detail/cc_ht_map_/
1357 constructor_destructor_no_store_hash_fn_imps.hpp: New.
1358 * include/ext/pb_assoc/detail/cc_ht_map_/
1359 constructor_destructor_store_hash_fn_imps.hpp: New.
1360 * include/ext/pb_assoc/detail/cc_ht_map_/debug_fn_imps.hpp: New.
1361 * include/ext/pb_assoc/detail/cc_ht_map_/
1362 debug_no_store_hash_fn_imps.hpp: New.
1363 * include/ext/pb_assoc/detail/cc_ht_map_/
1364 debug_store_hash_fn_imps.hpp: New.
1365 * include/ext/pb_assoc/detail/cc_ht_map_/entry_list_fn_imps.hpp: New.
1366 * include/ext/pb_assoc/detail/cc_ht_map_/erase_fn_imps.hpp: New.
1367 * include/ext/pb_assoc/detail/cc_ht_map_/
1368 erase_no_store_hash_fn_imps.hpp: New.
1369 * include/ext/pb_assoc/detail/cc_ht_map_/
1370 erase_store_hash_fn_imps.hpp: New.
1371 * include/ext/pb_assoc/detail/cc_ht_map_/
1372 find_fn_imps.hpp: New.
1373 * include/ext/pb_assoc/detail/cc_ht_map_/
1374 find_no_store_hash_fn_imps.hpp: New.
1375 * include/ext/pb_assoc/detail/cc_ht_map_/
1376 find_store_hash_fn_imps.hpp: New.
1377 * include/ext/pb_assoc/detail/cc_ht_map_/info_fn_imps.hpp: New.
1378 * include/ext/pb_assoc/detail/cc_ht_map_/insert_fn_imps.hpp: New.
1379 * include/ext/pb_assoc/detail/cc_ht_map_/
1380 insert_no_store_hash_fn_imps.hpp: New.
1381 * include/ext/pb_assoc/detail/cc_ht_map_/
1382 insert_store_hash_fn_imps.hpp: New.
1383 * include/ext/pb_assoc/detail/cc_ht_map_/iterators_fn_imps.hpp: New.
1384 * include/ext/pb_assoc/detail/cc_ht_map_/
1385 policy_access_fn_imps.hpp: New.
1386 * include/ext/pb_assoc/detail/cc_ht_map_/resize_fn_imps.hpp: New.
1387 * include/ext/pb_assoc/detail/cc_ht_map_/
1388 resize_no_store_hash_fn_imps.hpp: New.
1389 * include/ext/pb_assoc/detail/cc_ht_map_/
1390 resize_store_hash_fn_imps.hpp: New.
1391 * include/ext/pb_assoc/detail/cc_ht_map_/size_fn_imps.hpp: New.
1392 * include/ext/pb_assoc/detail/cc_ht_map_/standard_policies.hpp: New.
1393 * include/ext/pb_assoc/detail/eq_fn/eq_by_less.hpp: New.
1394 * include/ext/pb_assoc/detail/eq_fn/hash_eq_fn.hpp: New.
1395 * include/ext/pb_assoc/detail/gp_hash_assoc_cntnr/
1396 constructor_destructor_fn_imps.hpp: New.
1397 * include/ext/pb_assoc/detail/gp_ht_map_/
1398 constructor_destructor_fn_imps.hpp: New.
1399 * include/ext/pb_assoc/detail/gp_ht_map_/
1400 constructor_destructor_no_store_hash_fn_imps.hpp: New.
1401 * include/ext/pb_assoc/detail/gp_ht_map_/
1402 constructor_destructor_store_hash_fn_imps.hpp: New.
1403 * include/ext/pb_assoc/detail/gp_ht_map_/debug_fn_imps.hpp: New.
1404 * include/ext/pb_assoc/detail/gp_ht_map_/
1405 debug_no_store_hash_fn_imps.hpp: New.
1406 * include/ext/pb_assoc/detail/gp_ht_map_/
1407 debug_store_hash_fn_imps.hpp: New.
1408 * include/ext/pb_assoc/detail/gp_ht_map_/erase_fn_imps.hpp: New.
1409 * include/ext/pb_assoc/detail/gp_ht_map_/
1410 erase_no_store_hash_fn_imps.hpp: New.
1411 * include/ext/pb_assoc/detail/gp_ht_map_/
1412 erase_store_hash_fn_imps.hpp: New.
1413 * include/ext/pb_assoc/detail/gp_ht_map_/find_fn_imps.hpp: New.
1414 * include/ext/pb_assoc/detail/gp_ht_map_/
1415 find_no_store_hash_fn_imps.hpp: New.
1416 * include/ext/pb_assoc/detail/gp_ht_map_/
1417 find_store_hash_fn_imps.hpp: New.
1418 * include/ext/pb_assoc/detail/gp_ht_map_/gp_ht_map_.hpp: New.
1419 * include/ext/pb_assoc/detail/gp_ht_map_/info_fn_imps.hpp: New.
1420 * include/ext/pb_assoc/detail/gp_ht_map_/insert_fn_imps.hpp: New.
1421 * include/ext/pb_assoc/detail/gp_ht_map_/
1422 insert_no_store_hash_fn_imps.hpp: New.
1423 * include/ext/pb_assoc/detail/gp_ht_map_/
1424 insert_store_hash_fn_imps.hpp: New.
1425 * include/ext/pb_assoc/detail/gp_ht_map_/iterator_fn_imps.hpp: New.
1426 * include/ext/pb_assoc/detail/gp_ht_map_/
1427 policy_access_fn_imps.hpp: New.
1428 * include/ext/pb_assoc/detail/gp_ht_map_/resize_fn_imps.hpp: New.
1429 * include/ext/pb_assoc/detail/gp_ht_map_/
1430 resize_no_store_hash_fn_imps.hpp: New.
1431 * include/ext/pb_assoc/detail/gp_ht_map_/
1432 resize_store_hash_fn_imps.hpp: New.
1433 * include/ext/pb_assoc/detail/hash_fn/
1434 direct_mask_range_hashing_imp.hpp: New.
1435 * include/ext/pb_assoc/detail/hash_fn/
1436 direct_mod_range_hashing_imp.hpp: New.
1437 * include/ext/pb_assoc/detail/hash_fn/linear_probe_fn_imp.hpp: New.
1438 * include/ext/pb_assoc/detail/hash_fn/
1439 mask_based_range_hashing.hpp: New.
1440 * include/ext/pb_assoc/detail/hash_fn/mod_based_range_hashing.hpp: New.
1441 * include/ext/pb_assoc/detail/hash_fn/probe_fn_base.hpp: New.
1442 * include/ext/pb_assoc/detail/hash_fn/quadratic_probe_fn_imp.hpp: New.
1443 * include/ext/pb_assoc/detail/hash_fn/ranged_hash_fn.hpp: New.
1444 * include/ext/pb_assoc/detail/hash_fn/ranged_probe_fn.hpp: New.
1445 * include/ext/pb_assoc/detail/lu_assoc_cntnr/
1446 constructor_destructor_fn_imps.hpp: New.
1447 * include/ext/pb_assoc/detail/lu_assoc_cntnr/
1448 policy_access_fn_imps.hpp: New.
1449 * include/ext/pb_assoc/detail/lu_map_/
1450 constructor_destructor_fn_imps.hpp: New.
1451 * include/ext/pb_assoc/detail/lu_map_/debug_fn_imps.hpp: New.
1452 * include/ext/pb_assoc/detail/lu_map_/erase_fn_imps.hpp: New.
1453 * include/ext/pb_assoc/detail/lu_map_/find_fn_imps.hpp: New.
1454 * include/ext/pb_assoc/detail/lu_map_/info_fn_imps.hpp: New.
1455 * include/ext/pb_assoc/detail/lu_map_/insert_fn_imps.hpp: New.
1456 * include/ext/pb_assoc/detail/lu_map_/iterators_fn_imps.hpp: New.
1457 * include/ext/pb_assoc/detail/lu_map_/lu_map_.hpp: New.
1458 * include/ext/pb_assoc/detail/lu_map_/policy_access_fn_imps.hpp: New.
1459 * include/ext/pb_assoc/detail/lu_policy/
1460 counter_lu_metadata_imp.hpp: New.
1461 * include/ext/pb_assoc/detail/lu_policy/counter_lu_policy_imp.hpp: New.
1462 * include/ext/pb_assoc/detail/lu_policy/mtf_lu_policy_imp.hpp: New.
1463 * include/ext/pb_assoc/detail/ov_tree_map_/cond_dtor.hpp: New.
1464 * include/ext/pb_assoc/detail/ov_tree_map_/
1465 constructors_destructor_fn_imps.hpp: New.
1466 * include/ext/pb_assoc/detail/ov_tree_map_/debug_fn_imps.hpp: New.
1467 * include/ext/pb_assoc/detail/ov_tree_map_/erase_fn_imps.hpp: New.
1468 * include/ext/pb_assoc/detail/ov_tree_map_/find_fn_imps.hpp: New.
1469 * include/ext/pb_assoc/detail/ov_tree_map_/info_fn_imps.hpp: New.
1470 * include/ext/pb_assoc/detail/ov_tree_map_/insert_fn_imps.hpp: New.
1471 * include/ext/pb_assoc/detail/ov_tree_map_/iterators_fn_imps.hpp: New.
1472 * include/ext/pb_assoc/detail/ov_tree_map_/node_iterators.hpp: New.
1473 * include/ext/pb_assoc/detail/ov_tree_map_/ov_tree_map_.hpp: New.
1474 * include/ext/pb_assoc/detail/ov_tree_map_/split_join_fn_imps.hpp: New.
1475 * include/ext/pb_assoc/detail/rb_tree_map_/
1476 constructors_destructor_fn_imps.hpp: New.
1477 * include/ext/pb_assoc/detail/rb_tree_map_/debug_fn_imps.hpp: New.
1478 * include/ext/pb_assoc/detail/rb_tree_map_/erase_fn_imps.hpp: New.
1479 * include/ext/pb_assoc/detail/rb_tree_map_/find_fn_imps.hpp: New.
1480 * include/ext/pb_assoc/detail/rb_tree_map_/info_fn_imps.hpp: New.
1481 * include/ext/pb_assoc/detail/rb_tree_map_/insert_fn_imps.hpp: New.
1482 * include/ext/pb_assoc/detail/rb_tree_map_/node.hpp: New.
1483 * include/ext/pb_assoc/detail/rb_tree_map_/rb_tree_.hpp: New.
1484 * include/ext/pb_assoc/detail/rb_tree_map_/split_join_fn_imps.hpp: New.
1485 * include/ext/pb_assoc/detail/resize_policy/
1486 cc_hash_max_collision_resize_trigger_imp.hpp: New.
1487 * include/ext/pb_assoc/detail/resize_policy/
1488 hash_exponential_size_policy_imp.hpp: New.
1489 * include/ext/pb_assoc/detail/resize_policy/
1490 hash_load_check_resize_trigger_imp.hpp: New.
1491 * include/ext/pb_assoc/detail/resize_policy/
1492 hash_prime_size_policy_imp.hpp: New.
1493 * include/ext/pb_assoc/detail/resize_policy/
1494 hash_standard_resize_policy_imp.hpp: New.
1495 * include/ext/pb_assoc/detail/resize_policy/
1496 ht_prime_size_policy_imp.hpp: New.
1497 * include/ext/pb_assoc/detail/resize_policy/size_base.hpp: New.
1498 * include/ext/pb_assoc/detail/splay_tree_/
1499 constructors_destructor_fn_imps.hpp: New.
1500 * include/ext/pb_assoc/detail/splay_tree_/debug_fn_imps.hpp: New.
1501 * include/ext/pb_assoc/detail/splay_tree_/erase_fn_imps.hpp: New.
1502 * include/ext/pb_assoc/detail/splay_tree_/find_fn_imps.hpp: New.
1503 * include/ext/pb_assoc/detail/splay_tree_/info_fn_imps.hpp: New.
1504 * include/ext/pb_assoc/detail/splay_tree_/insert_fn_imps.hpp: New.
1505 * include/ext/pb_assoc/detail/splay_tree_/node.hpp: New.
1506 * include/ext/pb_assoc/detail/splay_tree_/splay_fn_imps.hpp: New.
1507 * include/ext/pb_assoc/detail/splay_tree_/splay_tree_.hpp: New.
1508 * include/ext/pb_assoc/detail/splay_tree_/split_join_fn_imps.hpp: New.
1509 * include/ext/pb_assoc/detail/tree_assoc_cntnr/
1510 constructor_destructor_fn_imps.hpp: New.
1511 * include/ext/pb_assoc/detail/tree_policy/
1512 null_node_updator_imp.hpp: New.
1513 * include/ext/pb_assoc/detail/tree_policy/
1514 order_statistics_imp.hpp: New.
1515 * include/ext/pb_assoc/detail/typelist/typelist_append.hpp: New.
1516 * include/ext/pb_assoc/detail/typelist/typelist_apply.hpp: New.
1517 * include/ext/pb_assoc/detail/typelist/typelist_at_index.hpp: New.
1518 * include/ext/pb_assoc/detail/typelist/typelist_contains.hpp: New.
1519 * include/ext/pb_assoc/detail/typelist/typelist_filter.hpp: New.
1520 * include/ext/pb_assoc/detail/typelist/typelist_transform.hpp: New.
1521 * include/ext/pb_assoc/detail/typelist/
1522 typelist_typelist_append.hpp: New.
1523 * include/ext/pb_assoc/detail/unordered_iterator/
1524 const_find_iterator.hpp: New.
1525 * include/ext/pb_assoc/detail/unordered_iterator/
1526 const_iterator.hpp: New.
1527 * include/ext/pb_assoc/detail/unordered_iterator/
1528 find_iterator.hpp: New.
1529 * include/ext/pb_assoc/detail/unordered_iterator/iterator.hpp: New.
1530 * include/ext/pb_assoc/detail/value_type_adapter/
1531 constructor_destructor_and_related.hpp: New.
1532 * include/ext/pb_assoc/detail/value_type_adapter/
1533 erase_fn_imps.hpp: New.
1534 * include/ext/pb_assoc/detail/value_type_adapter/
1535 erase_if_pred.hpp: New.
1536 * include/ext/pb_assoc/detail/value_type_adapter/find_fn_imps.hpp: New.
1537 * include/ext/pb_assoc/detail/value_type_adapter/info_fn_imps.hpp: New.
1538 * include/ext/pb_assoc/detail/value_type_adapter/
1539 insert_fn_imps.hpp: New.
1540 * include/ext/pb_assoc/detail/value_type_adapter/
1541 invalidation_guarantee_selector.hpp: New.
1542 * include/ext/pb_assoc/detail/value_type_adapter/
1543 it_value_type_traits.hpp: New.
1544 * include/ext/pb_assoc/detail/value_type_adapter/iterator.hpp: New.
1545 * include/ext/pb_assoc/detail/value_type_adapter/
1546 iterator_fn_imps.hpp: New.
1547 * include/ext/pb_assoc/detail/value_type_adapter/ref_pair.hpp: New.
1548 * include/ext/pb_assoc/detail/value_type_adapter/
1549 value_type_adapter.hpp: New.
1550 * include/ext/pb_assoc/detail/value_type_adapter/
1551 value_type_traits.hpp: New.
1552 * testsuite/Makefile.am (CLEANFILES): Add .o, .dat, .cc.
1553 * testsuite/Makefile.in: Regenerate.
1554 * testsuite/testsuite_common_types.h: New.
1555 * testsuite/testsuite_visualization.h: New.
1556 * testsuite/ext/pb_assoc/example/basic_map.cc: New.
1557 * testsuite/ext/pb_assoc/example/basic_multimap.cc: New.
1558 * testsuite/ext/pb_assoc/example/basic_set.cc: New.
1559 * testsuite/ext/pb_assoc/example/ds_traits.cc: New.
1560 * testsuite/ext/pb_assoc/example/erase_if.cc: New.
1561 * testsuite/ext/pb_assoc/example/extract_key.cc: New.
1562 * testsuite/ext/pb_assoc/example/hash_find_neg.cc: New.
1563 * testsuite/ext/pb_assoc/example/hash_illegal_resize.cc: New.
1564 * testsuite/ext/pb_assoc/example/hash_initial_size.cc: New.
1565 * testsuite/ext/pb_assoc/example/hash_load_set_change.cc: New.
1566 * testsuite/ext/pb_assoc/example/hash_mod.cc: New.
1567 * testsuite/ext/pb_assoc/example/hash_resize.cc: New.
1568 * testsuite/ext/pb_assoc/example/hash_resize_neg.cc: New.
1569 * testsuite/ext/pb_assoc/example/hash_shift_mask.cc: New.
1570 * testsuite/ext/pb_assoc/example/mapping_level.cc: New.
1571 * testsuite/ext/pb_assoc/example/mapping_level_neg.cc: New.
1572 * testsuite/ext/pb_assoc/example/ms_traits.cc: New.
1573 * testsuite/ext/pb_assoc/example/ranged_hash.cc: New.
1574 * testsuite/ext/pb_assoc/example/store_hash.cc: New.
1575 * testsuite/ext/pb_assoc/example/tree_intervals.cc: New.
1576 * testsuite/ext/pb_assoc/example/tree_join.cc: New.
1577 * testsuite/ext/pb_assoc/example/tree_order_statistics.cc: New.
1578 * testsuite/ext/pb_assoc/example/tree_order_statistics_join.cc: New.
1579 * testsuite/ext/pb_assoc/example/tree_split.cc: New.
1580 * testsuite/performance/20_util/allocator/(insert.cc,
1581 insert_insert.cc, list_sort_search.cc, map_mt_find.cc, map_thread.cc,
1582 producer_consumer.cc): Recast to use typelists and move to...
1583 * testsuite/performance/23_containers/find/map.cc: New.
1584 * testsuite/performance/23_containers/index/map.cc: New.
1585 * testsuite/performance/23_containers/insert/associative.cc: New.
1586 * testsuite/performance/23_containers/insert/sequence.cc: New.
1587 * testsuite/performance/23_containers/insert_erase/associative.cc: New.
1588 * testsuite/performance/23_containers/producer_consumer/
1589 (associative.cc, sequence.cc): New.
1590 * testsuite/performance/23_containers/sort_search/list.cc: New.
1591 * testsuite/performance/23_containers/container_benchmark.cc: Remove.
1592 * testsuite/performance/23_containers/map_create_fill.cc: Move...
1593 * testsuite/performance/23_containers/create/map.cc: ...here.
1594 * testsuite/performance/23_containers/set_create_from_sorted.cc: Move.
1595 * testsuite/performance/23_containers/create_from_sorted/set.cc: here.
1596 * testsuite/performance/23_containers/list_create_fill_sort.cc: Move...
1597 * testsuite/performance/23_containers/create_sort/list.cc: ...here.
1598 * testsuite/performance/23_containers/set_insert_from_sorted.cc: Move.
1599 * testsuite/performance/23_containers/insert_from_sorted/set.cc: here.
1601 2005-06-23 Jakub Jelinek <jakub@redhat.com>
1604 * src/compatibility.cc (_GLIBCXX_SYMVER_COMPATIBILITY): Remove.
1605 (istreambuf_iterator, basic_fstream, basic_ifstream, basic_ofstream,
1606 _M_copy, _M_move, _M_assign, _M_disjunct, _M_check_length,
1607 _M_set_length_and_sharable, ignore, eq): Define to XX suffixed
1609 (ignore (streamsize)): Remove _W prefixed aliases.
1610 (_GLIBCXX_3_4_SYMVER_SPECIAL, _GLIBCXX_3_4_5_SYMVER_SPECIAL,
1611 _GLIBCXX_APPLY_SYMVER_SPECIAL): Remove.
1612 (_GLIBCXX_3_4_SYMVER, _GLIBCXX_3_4_5_SYMVER): Add XXname argument.
1613 Use #XXname instead of #name as the alias argument.
1614 * config/abi/compatibility.h: Replace uses of
1615 _GLIBCXX_APPLY_SYMVER_SPECIAL with _GLIBCXX_APPLY_SYMVER. Always
1616 pass 2 arguments to the _GLIBCXX_APPLY_SYMVER macro.
1617 * include/bits/char_traits.h (char_traits::eq): Revert 2005-06-15
1619 * acinclude.m4: Decrease glibcxx_min_gnu_ld_version back to 21400.
1620 * configure: Rebuilt.
1622 2005-06-19 Benjamin Kosnik <bkoz@redhat.com>
1625 * acinclude.m4 (GLIBCXX_CONFIGURE_TESTSUITE): Remove
1626 GLIBCXX_TEST_ABI. Remove duplicate _GLIBCXX_ASM_SYMVER define.
1627 Don't enable abi testing unless versioned.
1628 * configure: Regenerate.
1629 * testsuite/Makefile.am (check-abi): Remove conditional.
1630 * testsuite/Makefile.in: Regenerate.
1631 * testsuite/libstdc++-abi/abi.exp: Call build_support, then check
1632 v3-symver before proceeding.
1633 * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Set v3-symvers
1636 2005-06-17 Paolo Carlini <pcarlini@suse.de>
1638 Port from libstdcxx_so_7-branch:
1639 2005-01-12 Christopher Jefferson <chris@bubblescope.net>
1641 * include/bits/stl_function.h (mem_fun_t, const_mem_fun_t,
1642 mem_fun_ref_t, const_mem_fun_ref_t, mem_fun1_t, const_mem_fun1_t,
1643 mem_fun1_ref_t, const_mem_fun1_ref_t): Remove overloads for void
1644 return type, just an old HP/SGI workaround.
1645 * testsuite/20_util/functional/binders.cc: Move to...
1646 * testsuite/20_util/functional/binders/3113.cc: ...here.
1647 * testsuite/20_util/functional/binders/1.cc: New.
1649 2005-06-17 Jonathan Wakely <redi@gcc.gnu.org>
1651 * docs/html/21_strings/gotw29a.txt: Update code to corrected version.
1653 2005-06-17 Jakub Jelinek <jakub@redhat.com>
1654 Benjamin Kosnik <bkoz@redhat.com>
1656 * config/abi/alpha-linux-gnu/baseline_symbols.txt: Update.
1657 * config/abi/hppa-linux-gnu/baseline_symbols.txt: Same.
1658 * config/abi/mips-linux-gnu/baseline_symbols.txt: Same.
1659 * config/abi/sparc-linux-gnu/baseline_symbols.txt: Same.
1661 * config/abi/alpha-freebsd5/baseline_symbols.txt: Remove.
1662 * config/abi/i386-freebsd4/baseline_symbols.txt: Same.
1663 * config/abi/i386-freebsd5/baseline_symbols.txt: Same.
1664 * config/abi/sparc-freebsd5/baseline_symbols.txt: Same.
1666 * config/abi/arm-linux-gnu/baseline_symbols.txt: Remove.
1667 * config/abi/m68k-linux-gnu/baseline_symbols.txt: Same.
1669 2005-06-17 Jakub Jelinek <jakub@redhat.com>
1671 * config/abi/ia64-linux-gnu/baseline_symbols.txt: Update.
1672 * config/abi/s390x-linux-gnu/baseline_symbols.txt: Update.
1673 * config/abi/s390-linux-gnu/baseline_symbols.txt: Update.
1674 * config/abi/x86_64-linux-gnu/baseline_symbols.txt: Update.
1675 * config/abi/x86_64-linux-gnu/32/baseline_symbols.txt: Update.
1676 * config/abi/powerpc-linux-gnu/baseline_symbols.txt: Update.
1677 * config/abi/i486-linux-gnu/baseline_symbols.txt: Update.
1678 * config/abi/i386-linux-gnu/baseline_symbols.txt: Update.
1679 * config/abi/powerpc64-linux-gnu/baseline_symbols.txt: New file.
1680 * config/abi/powerpc64-linux-gnu/32/baseline_symbols.txt: New file.
1682 2005-06-16 Jakub Jelinek <jakub@redhat.com>
1684 * src/compatibility.cc: Include bits/c++config.h first.
1685 (_GLIBCXX_SYMVER_COMPATIBILITY): Define if _GLIBCXX_SYMVER
1686 and PIC are both defined.
1687 * include/bits/char_traits.h (char_traits::eq): Rename
1688 only if _GLIBCXX_SYMVER_COMPATIBILITY is defined.
1690 2005-06-16 Jakub Jelinek <jakub@redhat.com>
1692 * acinclude.m4 ((GLIBCXX_ENABLE_SYMVERS): Rename _GLIBCXX_SIZE_T_IS_INT
1693 to _GLIBCXX_SIZE_T_IS_UINT. Define _GLIBCXX_PTRDIFF_T_IS_INT.
1694 * configure: Regenerate.
1695 * config.h.in: Regenerate.
1696 * src/compatibility.cc (istream:ignore(streamsize)): Use
1697 _GLIBCXX_PTRDIFF_T_IS_INT instead of _GLIBCXX_SIZE_T_IS_INT.
1698 * config/abi/compatibility.h: Rename _GLIBCXX_SIZE_T_IS_INT
1699 to _GLIBCXX_SIZE_T_IS_UINT. Use _GLIBCXX_PTRDIFF_T_IS_INT
1700 instead for symbols with streamsize arguments.
1702 2005-06-16 Jakub Jelinek <jakub@redhat.com>
1704 * config/linker-map.gnu: Also export
1705 _ZNSt13basic_istreamIwSt11char_traitsIwEE6ignoreE[il][il].
1707 2005-06-15 Benjamin Kosnik <bkoz@redhat.com>
1709 * configure.ac (libtool_VERSION): To 6:6:0.
1710 * configure: Regenerate.
1711 * config/linker-map.gnu: Edit.
1712 * src/istream.cc: Move istream::ignore(streamsize) specializations...
1713 * src/compatibility.cc: ...here. New.
1714 * include/bits/char_traits.h (char_traits::eq): Rename when
1716 * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Define _GLIBCXX_SIZE_T_IS_INT.
1717 Bump glibcxx_min_gnu_ld_version to 21590.
1718 * configure: Regenerate.
1719 * acconfig.h: Remove _GLIBCXX_ASM_SYMVER.
1720 * config.h.in: Regenerate.
1721 * src/Makefile.am (sources): Add compatibility.cc.
1722 * src/Makefile.in: Regenerate.
1723 * include/Makefile.am (host_headers_noinst): Add compatibility.h.
1724 * include/Makefile.in: Regenerate.
1725 * testsuite/testsuite_abi.h (symbol): Add data members.
1726 * testsuite/testsuite_abi.cc (check_version): Add GLIBCXX_3.4.5,
1727 GLIBCXX_3.4.6. Remove deprecated versions. Do a better job
1730 2005-06-15 Paolo Carlini <pcarlini@suse.de>
1732 * include/tr1/hashtable: Trivial formatting fixes.
1733 * include/tr1/unordered_map: Likewise.
1734 * include/tr1/unordered_set: Likewise.
1736 2005-06-14 Tom Tromey <tromey@redhat.com>
1739 * configure, aclocal.m4: Rebuilt.
1740 * Makefile.in, include/Makefile.in, libmath/Makefile.in,
1741 libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in,
1742 testsuite/Makefile.in: Likewise.
1744 2005-06-08 Benjamin Kosnik <bkoz@redhat.com>
1747 * include/std/std_sstream.h (basic_stringbuf::showmanyc): Add.
1748 Remove unnecessary this->_M_mode decoration.
1749 * include/bits/fstream.tcc: Adjust line spacing.
1750 * testsuite/27_io/basic_streambuf/in_avail/char/1.cc: New, test
1751 base class behavior.
1752 * testsuite/27_io/basic_streambuf/in_avail/wchar_t/1.cc: Same.
1753 * testsuite/27_io/basic_stringbuf/in_avail/char/21955.cc: New.
1754 * testsuite/27_io/basic_stringbuf/in_avail/char/1.cc: Match
1756 * testsuite/27_io/basic_stringbuf/in_avail/wchar_t/1.cc: Same.
1757 * testsuite/27_io/basic_stringbuf/str/wchar_t/1.cc: Same.
1758 * testsuite/27_io/basic_stringbuf/str/char/1.cc: Same.
1759 * testsuite/27_io/basic_streambuf/in_avail/char/9701-3.cc: Move...
1760 * testsuite/27_io/basic_filebuf/in_avail/char/9701-3.cc: ...here.
1762 2005-06-07 Benjamin Kosnik <bkoz@redhat.com>
1764 * acinclude.m4 (GLIBCXX_ENABLE_C99): Use C++ compiler for complex
1766 * configure: Regenerated.
1768 2005-06-07 Adrian Straetling <straetling@de.ibm.com>
1770 * config/cpu/s390/atomicity.h: (__exchange_and_add,
1771 __atomic_add): Use the builtins for atomic memory operations.
1773 2005-06-06 Paolo Carlini <pcarlini@suse.de>
1775 PR libstdc++/21770 (cont: __gnu_debug::string)
1776 * include/debug/string: Use _Base typedefs for pointer, const_pointer,
1777 reference, const_reference, size_type, difference_type.
1778 * testsuite/21_strings/basic_string/2.cc: New.
1780 2005-06-06 Paolo Carlini <pcarlini@suse.de>
1782 PR libstdc++/21770 (cont: debug-mode)
1783 * include/debug/deque: Use _Base typedefs for pointer, const_pointer,
1784 reference, const_reference.
1785 * include/debug/list: Likewise.
1786 * include/debug/map.h: Likewise.
1787 * include/debug/multimap.h: Likewise.
1788 * include/debug/multiset.h: Likewise.
1789 * include/debug/set.h: Likewise.
1790 * include/debug/vector: Likewise.
1792 2005-06-06 Paolo Carlini <pcarlini@suse.de>
1794 Port from libstdcxx_so_7-branch:
1795 2004-09-24 Paolo Carlini <pcarlini@suse.de>
1796 Jonathan Wakely <redi@gcc.gnu.org>
1798 * include/bits/stl_list.h (list::list(size_type, value_type,
1799 const allocator_type&): Implement according to the letter of the
1800 standard, i.e., don't use two overloads, not equivalent in case
1801 of non default constructible T.
1802 (list::resize(size_type, const value_type&)): Fix the signature:
1803 according to the standard the second argument is by value; also,
1804 don't use two overloads.
1805 * include/bits/list.tcc (list::resize(size_type, const value_type&)):
1806 Adjust consistently the signature.
1807 * include/bits/stl_deque.h (deque::deque(size_type, value_type,
1808 const allocator_type&)): Likewise.
1809 (deque::resize(size_type, const value_type&)): Likewise.
1810 * include/bits/stl_vector.h (vector::vector(size_type, value_type,
1811 const allocator_type&)): Likewise.
1812 (vector::resize(size_type, const value_type&)): Likewise.
1813 * testsuite/testsuite_hooks.h: Add NonDefaultConstructible test type.
1814 * testsuite/23_containers/deque/explicit_instantiation/2.cc: New.
1815 * testsuite/23_containers/list/explicit_instantiation/2.cc: New.
1816 * testsuite/23_containers/map/explicit_instantiation/2.cc: New.
1817 * testsuite/23_containers/multimap/explicit_instantiation/2.cc: New.
1818 * testsuite/23_containers/multiset/explicit_instantiation/2.cc: New.
1819 * testsuite/23_containers/set/explicit_instantiation/2.cc: New.
1820 * testsuite/23_containers/vector/explicit_instantiation/2.cc: New.
1822 * include/bits/deque.tcc: Minor formatting fix.
1824 2005-06-06 Peter Doerfler <doerfler@techinfo.rwth-aachen.de>
1826 * include/bits/stl_function.h: ... and another one.
1828 2005-06-06 Peter Doerfler <doerfler@techinfo.rwth-aachen.de>
1830 * include/bits/stl_function.h: Fix typo in comment.
1832 2005-06-05 Paolo Carlini <pcarlini@suse.de>
1834 * acinclude.m4 ([GLIBCXX_ENABLE_C99]): Check clog, clogf, clogl
1835 too for ac_c99_complex.
1836 * configure: Regenerate.
1838 2005-06-03 Paolo Carlini <pcarlini@suse.de>
1841 * include/bits/stl_deque.h: Add concept-check. In class _Deque_base
1842 rebind _Alloc to _Tp_alloc_type, change _Deque_impl to inherit from
1843 the latter and add _M_get_Tp_allocator() which returns it. Use
1844 everywhere _M_get_Tp_allocator() instead of get_allocator().
1845 * include/bits/deque.tcc: Likewise, use _M_get_Tp_allocator().
1846 * include/bits/stl_list.h: Add concept-check. In class _List_base
1847 rebind _Alloc to _Tp_alloc_type and add _M_get_Tp_allocator(), which
1848 returns the allocator (of type _Node_alloc_type) converted to
1849 _Tp_alloc_type. Use everywhere _M_get_Tp_allocator() instead of
1851 * include/bits/list.tcc: Likewise, use _M_get_Tp_allocator().
1852 * include/bits/stl_vector.h: Add concept-check. In class _Vector_base
1853 rebind _Alloc to _Tp_alloc_type, change _Vector_impl to inherit from
1854 the latter and add _M_get_Tp_allocator() which returns it. Use
1855 everywhere _M_get_Tp_allocator() instead of get_allocator().
1856 * include/bits/vector.tcc: Likewise, use _M_get_Tp_allocator().
1857 * include/bits/stl_map.h: Add concept-check. Rebind _Alloc to
1858 _Pair_alloc_type and use it for _Rb_tree.
1859 * include/bits/stl_multimap.h: Likewise.
1860 * include/bits/stl_multiset.h: Add concept-check. Rebind _Alloc to
1861 _Key_alloc_type and use it for _Rb_tree.
1862 * include/bits/stl_set.h: Likewise.
1863 * include/bits/basic_string.h: Rebind _Alloc to _CharT_alloc_type and
1864 use it for the allocator typedefs.
1865 * testsuite/21_strings/basic_string/1.cc: New.
1866 * testsuite/23_containers/deque/explicit_instantiation.cc: Move to...
1867 * testsuite/23_containers/deque/explicit_instantiation/1.cc: ... here.
1868 * testsuite/23_containers/deque/explicit_instantiation/3.cc: New.
1869 * testsuite/23_containers/list/explicit_instantiation.cc: Move to...
1870 * testsuite/23_containers/list/explicit_instantiation/1.cc: ... here.
1871 * testsuite/23_containers/list/explicit_instantiation/3.cc: New.
1872 * testsuite/23_containers/map/explicit_instantiation.cc: Move to...
1873 * testsuite/23_containers/map/explicit_instantiation/1.cc: ... here.
1874 * testsuite/23_containers/map/explicit_instantiation/3.cc: New.
1875 * testsuite/23_containers/multimap/explicit_instantiation.cc: Move to...
1876 * testsuite/23_containers/multimap/explicit_instantiation/1.cc: .. here.
1877 * testsuite/23_containers/multimap/explicit_instantiation/3.cc: New.
1878 * testsuite/23_containers/multiset/explicit_instantiation.cc: Move to...
1879 * testsuite/23_containers/multiset/explicit_instantiation/1.cc: .. here.
1880 * testsuite/23_containers/multiset/explicit_instantiation/3.cc: New.
1881 * testsuite/23_containers/set/explicit_instantiation.cc: Move to...
1882 * testsuite/23_containers/set/explicit_instantiation/1.cc: .. here.
1883 * testsuite/23_containers/set/explicit_instantiation/3.cc: New.
1884 * testsuite/23_containers/vector/explicit_instantiation.cc: Move to...
1885 * testsuite/23_containers/vector/explicit_instantiation/1.cc: ... here.
1886 * testsuite/23_containers/vector/explicit_instantiation/3.cc: New.
1888 2005-06-02 Nathan Sidwell <nathan@codesourcery.com>
1891 * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust expected errors.
1892 * testsuite/27_io/ios_base/cons/copy_neg.cc: Likewise.
1894 2005-05-31 Paolo Carlini <pcarlini@suse.de>
1896 PR libstdc++/20534 (contd)
1897 * include/debug/macros.h: Add _GLIBCXX_DEBUG_ABORT, using
1898 __gnu_debug::__fancy_abort.
1899 * src/debug.cc: Define the latter.
1900 * include/debug/debug.h: Use _GLIBCXX_DEBUG_ABORT instead of
1902 * config/linker-map.gnu (__gnu_debug::__fancy_abort): Add.
1904 2005-05-30 Paolo Carlini <pcarlini@suse.de>
1906 * include/std/std_complex.h (log(const complex<_Tp>&)): When
1907 _GLIBCXX_USE_C99_COMPLEX, forward to __builtin_clog/clogf/clogl.
1909 2005-05-28 Paolo Carlini <pcarlini@suse.de>
1912 2005-05-18 Paolo Carlini <pcarlini@suse.de>
1913 Nathan Myers <ncm@cantrip.org>
1916 * include/bits/basic_string.h (_Raw_bytes_alloc): Rebind to
1917 size_type instead of char and rename to _Raw_alloc.
1918 * include/bits/basic_string.tcc (_Rep::_M_destroy, _Rep::_S_create):
1920 * src/bitmap_allocator.cc: Add instantiation for size_type.
1921 * src/mt_allocator.cc: Likewise.
1922 * src/pool_allocator.cc: Likewise.
1923 * include/ext/array_allocator.h: Tweak slightly, avoid assuming
1924 the existence of an _Array::begin() and size() members.
1925 * testsuite/ext/array_allocator/2.cc: Tweak to use an allocator
1926 of size_type, instead of char, thus avoiding problems with
1927 rebinds, not treated correctly by array_allocator.
1929 2005-05-27 Paolo Carlini <pcarlini@suse.de>
1931 * docs/html/abi.html: Mention 3.4.0 as the current baseline; add
1932 a notice about the configure options.
1934 2005-05-27 Mark Mitchell <mark@codesourcery.com>
1936 * docs/html/test.html: Mention PCH_CXXFLAGS.
1937 * testsuite/lib/libstdc++.exp: Set PCH_CXXFLAGS by probing for an
1938 available stcd++.h PCH.
1939 * testsuite/libstdc++-dg/normal.exp: Use PCH_CXXFLAGS.
1941 2005-05-27 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
1943 * src/misc-inst.cc: Remove unnecessary included files.
1945 2005-05-27 Benjamin Kosnik <bkoz@redhat.com>
1948 * include/bits/c++config: Remove extern template use when in debug
1949 mode, disable for non-weak systems.
1951 2005-05-27 Benjamin Kosnik <bkoz@redhat.com>
1954 * include/debug/debug.h: Forwarding header, that pulls in details
1955 only if in debug mode.
1956 * include/debug/macros.h: ...transfer all the internal macros here.
1957 * include/debug/functions.h: ...transfer all the functions here.
1958 * include/debug/safe_iterator.h: Add functions.h, macros.h includes.
1959 * include/debug/safe_sequence.h: Same.
1960 * include/debug/vector: Tweak.
1961 * include/Makefile.am (debug_headers): Add new includes.
1962 * include/Makefile.in: Regenerate.
1963 * testsuite/17_intro/no_assert_neg.cc: Add.
1965 * include/ext/hash_set: Add debug mode include.
1966 * include/ext/hash_map: Same.
1967 * include/debug/hash_map: Fix included files to match actual files.
1968 * include/debug/hash_set: Same.
1970 2005-05-26 Paolo Carlini <pcarlini@suse.de>
1973 * include/c_std/std_cstdlib.h: Do not open code llabs and lldiv,
1974 available when _GLIBCXX_USE_C99 is defined.
1975 * testsuite/26_numerics/cstdlib/13943.cc: New.
1977 * acinclude.m4 ([GLIBCXX_ENABLE_C99]): For completeness, check
1978 also strtoll and strtoull for ac_c99_stdlib.
1979 * configure: Regenerate.
1981 2005-05-25 Benjamin Kosnik <bkoz@redhat.com>
1983 * config/linker-map.gnu: Add linkage support for no extern templates.
1984 (std::ios_base::_M_call_callbacks): Add.
1985 (std::ios_base::_M_dispose_callbacks): Add.
1986 (std::locale::facet::_S_get_c_name): Add.
1987 (std::__copy_streambufs): Add.
1988 * configure.ac (libtool_VERSION): To 6:5:0.
1989 * configure: Regenerate.
1990 * testsuite/testsuite_abi.cc (check_version): Add GLIBCXX_3.4.5.
1992 2005-05-25 Paolo Carlini <pcarlini@suse.de>
1994 * include/bits/basic_string.h (_Rep::_M_set_length_and_sharable):
1995 Use, consistently, traits_type::assign.
1997 2005-05-25 Paolo Carlini <pcarlini@suse.de>
1999 * config/cpu/alpha/atomicity.h: Use the builtins for
2000 atomic memory operations.
2001 * config/cpu/powerpc/atomicity.h: Likewise.
2002 * config/cpu/ia64/atomicity.h: Do not include ia64intrin.h.
2004 2005-05-24 Paolo Carlini <pcarlini@suse.de>
2006 * testsuite/25_algorithms/equal.cc: Move to...
2007 * testsuite/25_algorithms/equal: ... here.
2008 * testsuite/25_algorithms/lower_bound.cc: Move to...
2009 * testsuite/25_algorithms/lower_bound: ... here.
2011 2005-05-24 Paolo Carlini <pcarlini@suse.de>
2013 Port from libstdcxx_so_7-branch:
2014 2005-20-05 Chris Jefferson <chris@bubblescope.net>
2016 * testsuite/25_algorithms/heap.cc: Move to...
2017 * testsuite/25_algorithms/heap/heap.cc: ...here.
2018 * testsuite/25_algorithms/partition.cc: Move to...
2019 * testsuite/25_algorithms/partition/partition.cc: ...here.
2021 2005-03-29 Christopher Jefferson <chris@bubblescope.net>
2023 * testsuite/25_algorithms/includes/1.cc: Add tests.
2024 * testsuite/25_algorithms/search/1.cc: Likewise.
2025 * testsuite/25_algorithms/unique_copy/1.cc: Likewise.
2026 * testsuite/25_algorithms/swap_ranges/1.cc: New.
2027 * testsuite/25_algorithms/swap_ranges/check_type.cc: New.
2028 * testsuite/25_algorithms/rotate.cc: Move to...
2029 * testsuite/25_algorithms/rotate/rotate.cc: ... here.
2030 * testsuite/25_algorithms/rotate/1.cc: New.
2031 * testsuite/25_algorithms/rotate/check_type.cc: New.
2032 * testsuite/25_algorithms/search_n/iterator.cc: Fix typo.
2034 2005-03-14 Christopher Jefferson <chris@bubblescope.net>
2036 * include/bits/stl_algo.h (replace_copy, replace_copy_if):
2037 Don't assume that __new_value and *__first are convertible to
2040 * testsuite/25_algorithms/find/1.cc: New.
2041 * testsuite/25_algorithms/find/check_type.cc: New.
2042 * testsuite/25_algorithms/find_if/1.cc: New.
2043 * testsuite/25_algorithms/find_if/check_type.cc: New.
2044 * testsuite/25_algorithms/replace/1.cc: New.
2045 * testsuite/25_algorithms/replace/check_type.cc: New.
2046 * testsuite/25_algorithms/replace_if/1.cc: New.
2047 * testsuite/25_algorithms/replace_if/check_type.cc: New.
2048 * testsuite/25_algorithms/replace_copy/1.cc: New.
2049 * testsuite/25_algorithms/replace_copy/check_type.cc: New.
2050 * testsuite/25_algorithms/replace_copy_if/1.cc: New.
2051 * testsuite/25_algorithms/replace_copy_if/check_type.cc: New.
2052 * testsuite/25_algorithms/remove/1.cc: New.
2053 * testsuite/25_algorithms/remove/check_type.cc: New.
2054 * testsuite/25_algorithms/remove_if/1.cc: New.
2055 * testsuite/25_algorithms/remove_if/check_type.cc: New.
2056 * testsuite/25_algorithms/count/1.cc: New.
2057 * testsuite/25_algorithms/count/check_type.cc: New.
2058 * testsuite/25_algorithms/count_if/1.cc: New.
2059 * testsuite/25_algorithms/count_if/check_type.cc: New.
2061 2005-02-27 Christopher Jefferson <chris@bubblescope.net>
2062 Paolo Carlini <pcarlini@suse.de>
2064 * testsuite/ext/is_heap/check_type.cc: New.
2066 2005-02-27 Paolo Carlini <pcarlini@suse.de>
2068 * testsuite/ext/is_heap/1.cc: New.
2070 2005-02-01 Christopher Jefferson <chris@bubblescope.net>
2072 * testsuite/ext/median.cc: New.
2073 * testsuite/25_algorithms/adjacent_find/1.cc: New.
2074 * testsuite/25_algorithms/adjacent_find/check_type.cc: New.
2075 * testsuite/25_algorithms/search/1.cc: New.
2076 * testsuite/25_algorithms/search/check_type.cc: New.
2077 * testsuite/25_algorithms/unique_copy/1.cc: New.
2078 * testsuite/25_algorithms/unique_copy/check_type.cc: New.
2079 * testsuite/25_algorithms/partial_sort/1.cc: New.
2080 * testsuite/25_algorithms/partial_sort/check_type.cc: New.
2081 * testsuite/25_algorithms/partial_sort_copy/1.cc: New.
2082 * testsuite/25_algorithms/partial_sort_copy/check_type.cc: New.
2083 * testsuite/25_algorithms/lower_bound/1.cc: New.
2084 * testsuite/25_algorithms/lower_bound/check_type.cc: New.
2085 * testsuite/25_algorithms/upper_bound/1.cc: New.
2086 * testsuite/25_algorithms/upper_bound/check_type.cc: New.
2087 * testsuite/25_algorithms/merge/1.cc: New.
2088 * testsuite/25_algorithms/merge/check_type.cc: New.
2089 * testsuite/25_algorithms/inplace_merge/1.cc: New.
2090 * testsuite/25_algorithms/inplace_merge/check_type.cc: New.
2091 * testsuite/25_algorithms/stable_sort/1.cc: New.
2092 * testsuite/25_algorithms/stable_sort/check_type.cc: New.
2093 * testsuite/25_algorithms/nth_element/1.cc: New.
2094 * testsuite/25_algorithms/nth_element/check_type.cc: New.
2095 * testsuite/25_algorithms/equal_range/1.cc: New.
2096 * testsuite/25_algorithms/equal_range/check_type.cc: New.
2097 * testsuite/25_algorithms/binary_search/1.cc: New.
2098 * testsuite/25_algorithms/binary_search/check_type.cc: New.
2099 * testsuite/25_algorithms/includes/1.cc: New.
2100 * testsuite/25_algorithms/includes/check_type.cc: New.
2101 * testsuite/25_algorithms/set_union/1.cc: New.
2102 * testsuite/25_algorithms/set_union/check_type.cc: New.
2103 * testsuite/25_algorithms/set_intersection/1.cc: New.
2104 * testsuite/25_algorithms/set_intersection/check_type.cc: New.
2105 * testsuite/25_algorithms/set_difference/1.cc: New.
2106 * testsuite/25_algorithms/set_difference/check_type.cc: New.
2107 * testsuite/25_algorithms/set_symmetric_difference/1.cc: New.
2108 * testsuite/25_algorithms/set_symmetric_difference/check_type.cc: New.
2109 * testsuite/25_algorithms/min_element/1.cc: New.
2110 * testsuite/25_algorithms/min_element/check_type.cc: New.
2111 * testsuite/25_algorithms/max_element/1.cc: New.
2112 * testsuite/25_algorithms/max_element/check_type.cc: New.
2113 * testsuite/25_algorithms/prev_permutation/1.cc: New.
2114 * testsuite/25_algorithms/prev_permutation/check_type.cc: New.
2115 * testsuite/25_algorithms/next_permutation/1.cc: New.
2116 * testsuite/25_algorithms/next_permutation/check_type.cc: New.
2117 * testsuite/25_algorithms/find_first_of/1.cc: New.
2118 * testsuite/25_algorithms/find_first_of/check_type.cc: New.
2119 * testsuite/25_algorithms/find_end/1.cc: New.
2120 * testsuite/25_algorithms/find_end/check_type.cc: New.
2121 * testsuite/25_algorithms/equal/check_type.cc: Insert iterator type.
2122 * testsuite/25_algorithms/lexicographical_compare/check_type.cc:
2125 2005-01-10 Christopher Jefferson <chris@bubblescope.net>
2127 * testsuite/25_algorithms/lexicographical_compare/check_type.cc: New.
2128 * testsuite/25_algorithms/lexicographical_compare/1.cc: Likewise.
2129 * testsuite/25_algorithms/mismatch/check_type.cc: Likewise.
2130 * testsuite/25_algorithms/mismatch/1.cc: Likewise.
2131 * testsuite/25_algorithms/equal/check_type.cc: New.
2132 * testsuite/25_algorithms/equal/1.cc: New.
2134 2005-05-24 Benjamin Kosnik <bkoz@redhat.com>
2136 * include/bits/allocator.h: Change ___glibcxx_base_allocator to
2137 __glibcxx_base_allocator.
2138 * config/allocator/bitmap_allocator_base.h: Same.
2139 * config/allocator/malloc_allocator_base.h: Same.
2140 * config/allocator/mt_allocator_base.h: Same.
2141 * config/allocator/new_allocator_base.h: Same.
2142 * config/allocator/pool_allocator_base.h: Same.
2144 2005-05-24 Jonathan Wakely <redi@gcc.gnu.org>
2146 * include/debug/string (class basic_string): Add missing
2147 default template arguments; provide typedefs for char
2149 (operator[]): Allow s[s.size()] in debug mode, but not
2152 2005-05-24 Paolo Carlini <pcarlini@suse.de>
2154 Port from libstdcxx_so_7-branch:
2155 2005-04-25 Christopher Jefferson <chris@bubblescope.net>
2157 * include/bits/stl_algo.h (count): Correct concept checks.
2158 (search_n) : Likewise.
2159 * testsuite/25_algorithms/search_n/check_type.cc: New.
2161 * testsuite/testsuite_iterators.h
2162 (random_access_iterator_wrapper::operator+): Move out of
2163 class to external function, and add symmetric version.
2165 2005-03-14 Christopher Jefferson <chris@bubblescope.net>
2167 * testsuite/testsuite_iterators.h (WritableObject::WritableObject):
2170 2005-02-01 Christopher Jefferson <chris@bubblescope.net>
2172 * testsuite/testsuite_iterators.h (random_access_iterator_wrapper::
2173 operator--): Fix typo.
2174 (OutputContainer::OutputContainer): Correct zeroing array.
2175 (WritableObject::operator==): Fix typo.
2176 (WritableObject::operator=): make operator= templated
2177 to allow differing types to be assigned.
2178 (WritableObject::operator++): Fix checking if iterator is
2179 written to multiple times.
2180 (random_access_iterator_wrapper::operator+): Add const.
2181 (random_access_iterator_wrapper::operator-): Likewise.
2182 (random_access_iterator_wrapper::operator[]): Add dereference.
2184 2005-05-23 Jonathan Wakely <redi@gcc.gnu.org>
2186 * docs/html/debug.html: Explain that _GLIBXX_DEBUG_PEDANTIC
2187 had to be defined for pedantic mode in 3.4 and 4.0.0.
2189 2005-05-20 Jan Beulich <jbeulich@novell.com>
2191 * libmath/stubs.c: Also implement fabsf/fabsl if not present in the
2194 2005-05-20 Paolo Carlini <pcarlini@suse.de>
2196 * include/bits/stl_algo.h (__rotate<_RandomAccessIterator>):
2197 Don't qualify __tmp as const, _ValueType is not necessarily
2199 * include/bits/stl_algobase.h (swap, __iter_swap<false>):
2200 Likewise, as an harmless extension.
2202 2005-05-19 Richard Henderson <rth@redhat.com>
2204 * libsupc++/unwind-cxx.h: Revert gcc_unreachable change.
2206 2005-05-19 Jonathan Wakely <redi@gcc.gnu.org>
2208 * include/bits/basic_string.h (operator[]): Allow s[s.size()] in
2209 debug mode, but not pedantic mode.
2211 2005-05-19 Jan Beulich <jbeulich@novell.com>
2213 * libsupc++/unwind-cxx.h: Include cstdlib.
2214 (gcc_unreachable): #define.
2215 * libsupc++/eh_personality.cc (gcc_unreachable): Remove #define.
2217 2005-05-18 Paolo Carlini <pcarlini@suse.de>
2218 Nathan Myers <ncm@cantrip.org>
2221 * include/bits/basic_string.h (_Raw_bytes_alloc): Rebind to
2222 size_type instead of char and rename to _Raw_alloc.
2223 * include/bits/basic_string.tcc (_Rep::_M_destroy, _Rep::_S_create):
2225 * src/bitmap_allocator.cc: Add instantiation for size_type.
2226 * src/mt_allocator.cc: Likewise.
2227 * src/pool_allocator.cc: Likewise.
2228 * include/ext/array_allocator.h: Tweak slightly, avoid assuming
2229 the existence of an _Array::begin() and size() members.
2230 * testsuite/ext/array_allocator/2.cc: Tweak to use an allocator
2231 of size_type, instead of char, thus avoiding problems with
2232 rebinds, not treated correctly by array_allocator.
2234 2005-05-18 Paolo Carlini <pcarlini@suse.de>
2236 * testsuite/22_locale/ctype/is/char/2.cc: Adjust dg-require-namedlocale.
2237 * testsuite/22_locale/ctype/is/wchar_t/2.cc: Likewise.
2238 * testsuite/22_locale/time_get/get_year/char/wrapped_env.cc: Add
2239 missing dg-require-namedlocale.
2240 * testsuite/22_locale/time_get/get_year/char/wrapped_locale.cc:
2242 * testsuite/22_locale/time_get/get_year/wchar_t/wrapped_env.cc:
2244 * testsuite/22_locale/time_get/get_year/wchar_t/wrapped_locale.cc:
2247 2005-05-18 Paolo Carlini <pcarlini@suse.de>
2249 * testsuite/testsuite_hooks.cc: Remove try_named_locale.
2250 * testsuite/testsuite_hooks.h: Remove try_named_locale.
2251 * testsuite/lib/libstdc++.exp (check_v3_target_namedlocale): New.
2252 * testsuite/lib/dg-options.exp (dg-require-namedlocale): New, uses
2254 * testsuite/22_locale/codecvt/always_noconv/char/wrapped_env.cc: Use
2255 dg-require-namedlocale.
2256 * testsuite/22_locale/codecvt/always_noconv/char/wrapped_locale.cc:
2258 * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: Likewise.
2259 * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: Likewise.
2260 * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: Likewise.
2261 * testsuite/22_locale/codecvt/always_noconv/wchar_t/wrapped_env.cc:
2263 * testsuite/22_locale/codecvt/always_noconv/wchar_t/wrapped_locale.cc:
2265 * testsuite/22_locale/codecvt/encoding/char/wrapped_env.cc: Likewise.
2266 * testsuite/22_locale/codecvt/encoding/char/wrapped_locale.cc: Likewise.
2267 * testsuite/22_locale/codecvt/encoding/wchar_t/2.cc: Likewise.
2268 * testsuite/22_locale/codecvt/encoding/wchar_t/3.cc: Likewise.
2269 * testsuite/22_locale/codecvt/encoding/wchar_t/4.cc: Likewise.
2270 * testsuite/22_locale/codecvt/encoding/wchar_t/wrapped_env.cc: Likewise.
2271 * testsuite/22_locale/codecvt/encoding/wchar_t/wrapped_locale.cc:
2273 * testsuite/22_locale/codecvt/in/char/wrapped_env.cc: Likewise.
2274 * testsuite/22_locale/codecvt/in/char/wrapped_locale.cc: Likewise.
2275 * testsuite/22_locale/codecvt/in/wchar_t/2.cc: Likewise.
2276 * testsuite/22_locale/codecvt/in/wchar_t/3.cc: Likewise.
2277 * testsuite/22_locale/codecvt/in/wchar_t/4.cc: Likewise.
2278 * testsuite/22_locale/codecvt/in/wchar_t/7.cc: Likewise.
2279 * testsuite/22_locale/codecvt/in/wchar_t/8.cc: Likewise.
2280 * testsuite/22_locale/codecvt/in/wchar_t/9.cc: Likewise.
2281 * testsuite/22_locale/codecvt/in/wchar_t/wrapped_env.cc: Likewise.
2282 * testsuite/22_locale/codecvt/in/wchar_t/wrapped_locale.cc: Likewise.
2283 * testsuite/22_locale/codecvt/length/char/wrapped_env.cc: Likewise.
2284 * testsuite/22_locale/codecvt/length/char/wrapped_locale.cc: Likewise.
2285 * testsuite/22_locale/codecvt/length/wchar_t/2.cc: Likewise.
2286 * testsuite/22_locale/codecvt/length/wchar_t/3.cc: Likewise.
2287 * testsuite/22_locale/codecvt/length/wchar_t/4.cc: Likewise.
2288 * testsuite/22_locale/codecvt/length/wchar_t/7.cc: Likewise.
2289 * testsuite/22_locale/codecvt/length/wchar_t/wrapped_env.cc: Likewise.
2290 * testsuite/22_locale/codecvt/length/wchar_t/wrapped_locale.cc:
2292 * testsuite/22_locale/codecvt/max_length/char/wrapped_env.cc: Likewise.
2293 * testsuite/22_locale/codecvt/max_length/char/wrapped_locale.cc:
2295 * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: Likewise.
2296 * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: Likewise.
2297 * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: Likewise.
2298 * testsuite/22_locale/codecvt/max_length/wchar_t/wrapped_env.cc:
2300 * testsuite/22_locale/codecvt/max_length/wchar_t/wrapped_locale.cc:
2302 * testsuite/22_locale/codecvt/out/char/wrapped_env.cc: Likewise.
2303 * testsuite/22_locale/codecvt/out/char/wrapped_locale.cc: Likewise.
2304 * testsuite/22_locale/codecvt/out/wchar_t/2.cc: Likewise.
2305 * testsuite/22_locale/codecvt/out/wchar_t/3.cc: Likewise.
2306 * testsuite/22_locale/codecvt/out/wchar_t/4.cc: Likewise.
2307 * testsuite/22_locale/codecvt/out/wchar_t/7.cc: Likewise.
2308 * testsuite/22_locale/codecvt/out/wchar_t/wrapped_env.cc: Likewise.
2309 * testsuite/22_locale/codecvt/out/wchar_t/wrapped_locale.cc: Likewise.
2310 * testsuite/22_locale/codecvt/unshift/char/wrapped_env.cc: Likewise.
2311 * testsuite/22_locale/codecvt/unshift/char/wrapped_locale.cc: Likewise.
2312 * testsuite/22_locale/codecvt/unshift/wchar_t/2.cc: Likewise.
2313 * testsuite/22_locale/codecvt/unshift/wchar_t/3.cc: Likewise.
2314 * testsuite/22_locale/codecvt/unshift/wchar_t/4.cc: Likewise.
2315 * testsuite/22_locale/codecvt/unshift/wchar_t/wrapped_env.cc: Likewise.
2316 * testsuite/22_locale/codecvt/unshift/wchar_t/wrapped_locale.cc:
2318 * testsuite/22_locale/collate/compare/char/1.cc: Likewise.
2319 * testsuite/22_locale/collate/compare/char/2.cc: Likewise.
2320 * testsuite/22_locale/collate/compare/char/3.cc: Likewise.
2321 * testsuite/22_locale/collate/compare/char/wrapped_env.cc: Likewise.
2322 * testsuite/22_locale/collate/compare/char/wrapped_locale.cc: Likewise.
2323 * testsuite/22_locale/collate/compare/wchar_t/1.cc: Likewise.
2324 * testsuite/22_locale/collate/compare/wchar_t/2.cc: Likewise.
2325 * testsuite/22_locale/collate/compare/wchar_t/3.cc: Likewise.
2326 * testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc: Likewise.
2327 * testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc:
2329 * testsuite/22_locale/collate/hash/char/2.cc: Likewise.
2330 * testsuite/22_locale/collate/hash/char/wrapped_env.cc: Likewise.
2331 * testsuite/22_locale/collate/hash/char/wrapped_locale.cc: Likewise.
2332 * testsuite/22_locale/collate/hash/wchar_t/2.cc: Likewise.
2333 * testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc: Likewise.
2334 * testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc: Likewise.
2335 * testsuite/22_locale/collate/transform/char/2.cc: Likewise.
2336 * testsuite/22_locale/collate/transform/char/3.cc: Likewise.
2337 * testsuite/22_locale/collate/transform/char/wrapped_env.cc: Likewise.
2338 * testsuite/22_locale/collate/transform/char/wrapped_locale.cc:
2340 * testsuite/22_locale/collate/transform/wchar_t/2.cc: Likewise.
2341 * testsuite/22_locale/collate/transform/wchar_t/3.cc: Likewise.
2342 * testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc:
2344 * testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc:
2346 * testsuite/22_locale/collate_byname/named_equivalence.cc: Likewise.
2347 * testsuite/22_locale/ctype/cons/char/wrapped_env.cc: Likewise.
2348 * testsuite/22_locale/ctype/cons/char/wrapped_locale.cc: Likewise.
2349 * testsuite/22_locale/ctype/is/char/2.cc: Likewise.
2350 * testsuite/22_locale/ctype/is/char/wrapped_env.cc: Likewise.
2351 * testsuite/22_locale/ctype/is/char/wrapped_locale.cc: Likewise.
2352 * testsuite/22_locale/ctype/is/wchar_t/2.cc: Likewise.
2353 * testsuite/22_locale/ctype/is/wchar_t/wrapped_env.cc: Likewise.
2354 * testsuite/22_locale/ctype/is/wchar_t/wrapped_locale.cc: Likewise.
2355 * testsuite/22_locale/ctype/narrow/char/wrapped_env.cc: Likewise.
2356 * testsuite/22_locale/ctype/narrow/char/wrapped_locale.cc: Likewise.
2357 * testsuite/22_locale/ctype/narrow/wchar_t/3.cc: Likewise.
2358 * testsuite/22_locale/ctype/narrow/wchar_t/wrapped_env.cc: Likewise.
2359 * testsuite/22_locale/ctype/narrow/wchar_t/wrapped_locale.cc: Likewise.
2360 * testsuite/22_locale/ctype/scan/char/wrapped_env.cc: Likewise.
2361 * testsuite/22_locale/ctype/scan/char/wrapped_locale.cc: Likewise.
2362 * testsuite/22_locale/ctype/scan/wchar_t/wrapped_env.cc: Likewise.
2363 * testsuite/22_locale/ctype/scan/wchar_t/wrapped_locale.cc: Likewise.
2364 * testsuite/22_locale/ctype/to/char/wrapped_env.cc: Likewise.
2365 * testsuite/22_locale/ctype/to/char/wrapped_locale.cc: Likewise.
2366 * testsuite/22_locale/ctype/to/wchar_t/wrapped_env.cc: Likewise.
2367 * testsuite/22_locale/ctype/to/wchar_t/wrapped_locale.cc: Likewise.
2368 * testsuite/22_locale/ctype/widen/char/wrapped_env.cc: Likewise.
2369 * testsuite/22_locale/ctype/widen/char/wrapped_locale.cc: Likewise.
2370 * testsuite/22_locale/ctype/widen/wchar_t/2.cc: Likewise.
2371 * testsuite/22_locale/ctype/widen/wchar_t/3.cc: Likewise.
2372 * testsuite/22_locale/ctype/widen/wchar_t/wrapped_env.cc: Likewise.
2373 * testsuite/22_locale/ctype/widen/wchar_t/wrapped_locale.cc: Likewise.
2374 * testsuite/22_locale/facet/2.cc: Likewise.
2375 * testsuite/22_locale/locale/cons/12352.cc: Likewise.
2376 * testsuite/22_locale/locale/cons/12438.cc: Likewise.
2377 * testsuite/22_locale/locale/cons/12658_thread-1.cc: Likewise.
2378 * testsuite/22_locale/locale/cons/12658_thread-2.cc: Likewise.
2379 * testsuite/22_locale/locale/cons/2.cc: Likewise.
2380 * testsuite/22_locale/locale/cons/4.cc: Likewise.
2381 * testsuite/22_locale/locale/cons/5.cc: Likewise.
2382 * testsuite/22_locale/locale/cons/7.cc: Likewise.
2383 * testsuite/22_locale/locale/cons/7222-env.cc: Likewise.
2384 * testsuite/22_locale/locale/global_locale_objects/14071.cc: Likewise.
2385 * testsuite/22_locale/locale/global_locale_objects/2.cc: Likewise.
2386 * testsuite/22_locale/messages/members/char/1.cc: Likewise.
2387 * testsuite/22_locale/messages/members/char/2.cc: Likewise.
2388 * testsuite/22_locale/messages/members/char/3.cc: Likewise.
2389 * testsuite/22_locale/messages/members/char/wrapped_env.cc: Likewise.
2390 * testsuite/22_locale/messages/members/char/wrapped_locale.cc: Likewise.
2391 * testsuite/22_locale/messages_byname/named_equivalence.cc: Likewise.
2392 * testsuite/22_locale/money_get/get/char/1.cc: Likewise.
2393 * testsuite/22_locale/money_get/get/char/10.cc: Likewise.
2394 * testsuite/22_locale/money_get/get/char/11.cc: Likewise.
2395 * testsuite/22_locale/money_get/get/char/11528.cc: Likewise.
2396 * testsuite/22_locale/money_get/get/char/12.cc: Likewise.
2397 * testsuite/22_locale/money_get/get/char/13.cc: Likewise.
2398 * testsuite/22_locale/money_get/get/char/15.cc: Likewise.
2399 * testsuite/22_locale/money_get/get/char/16.cc: Likewise.
2400 * testsuite/22_locale/money_get/get/char/17.cc: Likewise.
2401 * testsuite/22_locale/money_get/get/char/18.cc: Likewise.
2402 * testsuite/22_locale/money_get/get/char/2.cc: Likewise.
2403 * testsuite/22_locale/money_get/get/char/3.cc: Likewise.
2404 * testsuite/22_locale/money_get/get/char/4.cc: Likewise.
2405 * testsuite/22_locale/money_get/get/char/wrapped_env.cc: Likewise.
2406 * testsuite/22_locale/money_get/get/char/wrapped_locale.cc: Likewise.
2407 * testsuite/22_locale/money_get/get/wchar_t/1.cc: Likewise.
2408 * testsuite/22_locale/money_get/get/wchar_t/10.cc: Likewise.
2409 * testsuite/22_locale/money_get/get/wchar_t/11.cc: Likewise.
2410 * testsuite/22_locale/money_get/get/wchar_t/11528.cc: Likewise.
2411 * testsuite/22_locale/money_get/get/wchar_t/12.cc: Likewise.
2412 * testsuite/22_locale/money_get/get/wchar_t/13.cc: Likewise.
2413 * testsuite/22_locale/money_get/get/wchar_t/15.cc: Likewise.
2414 * testsuite/22_locale/money_get/get/wchar_t/16.cc: Likewise.
2415 * testsuite/22_locale/money_get/get/wchar_t/17.cc: Likewise.
2416 * testsuite/22_locale/money_get/get/wchar_t/18.cc: Likewise.
2417 * testsuite/22_locale/money_get/get/wchar_t/2.cc: Likewise.
2418 * testsuite/22_locale/money_get/get/wchar_t/3.cc: Likewise.
2419 * testsuite/22_locale/money_get/get/wchar_t/4.cc: Likewise.
2420 * testsuite/22_locale/money_get/get/wchar_t/wrapped_env.cc: Likewise.
2421 * testsuite/22_locale/money_get/get/wchar_t/wrapped_locale.cc: Likewise.
2422 * testsuite/22_locale/money_put/put/char/1.cc: Likewise.
2423 * testsuite/22_locale/money_put/put/char/2.cc: Likewise.
2424 * testsuite/22_locale/money_put/put/char/3.cc: Likewise.
2425 * testsuite/22_locale/money_put/put/char/9780-3.cc: Likewise.
2426 * testsuite/22_locale/money_put/put/char/wrapped_env.cc: Likewise.
2427 * testsuite/22_locale/money_put/put/char/wrapped_locale.cc: Likewise.
2428 * testsuite/22_locale/money_put/put/wchar_t/1.cc: Likewise.
2429 * testsuite/22_locale/money_put/put/wchar_t/2.cc: Likewise.
2430 * testsuite/22_locale/money_put/put/wchar_t/3.cc: Likewise.
2431 * testsuite/22_locale/money_put/put/wchar_t/wrapped_env.cc: Likewise.
2432 * testsuite/22_locale/money_put/put/wchar_t/wrapped_locale.cc: Likewise.
2433 * testsuite/22_locale/moneypunct/members/char/2.cc: Likewise.
2434 * testsuite/22_locale/moneypunct/members/char/wrapped_env.cc: Likewise.
2435 * testsuite/22_locale/moneypunct/members/char/wrapped_locale.cc:
2437 * testsuite/22_locale/moneypunct/members/wchar_t/2.cc: Likewise.
2438 * testsuite/22_locale/moneypunct/members/wchar_t/wrapped_env.cc:
2440 * testsuite/22_locale/moneypunct/members/wchar_t/wrapped_locale.cc:
2442 * testsuite/22_locale/moneypunct_byname/named_equivalence.cc: Likewise.
2443 * testsuite/22_locale/num_get/get/char/1.cc: Likewise.
2444 * testsuite/22_locale/num_get/get/char/3.cc: Likewise.
2445 * testsuite/22_locale/num_get/get/char/5.cc: Likewise.
2446 * testsuite/22_locale/num_get/get/char/6.cc: Likewise.
2447 * testsuite/22_locale/num_get/get/char/9.cc: Likewise.
2448 * testsuite/22_locale/num_get/get/char/wrapped_env.cc: Likewise.
2449 * testsuite/22_locale/num_get/get/char/wrapped_locale.cc: Likewise.
2450 * testsuite/22_locale/num_get/get/wchar_t/1.cc: Likewise.
2451 * testsuite/22_locale/num_get/get/wchar_t/3.cc: Likewise.
2452 * testsuite/22_locale/num_get/get/wchar_t/5.cc: Likewise.
2453 * testsuite/22_locale/num_get/get/wchar_t/6.cc: Likewise.
2454 * testsuite/22_locale/num_get/get/wchar_t/9.cc: Likewise.
2455 * testsuite/22_locale/num_get/get/wchar_t/wrapped_env.cc: Likewise.
2456 * testsuite/22_locale/num_get/get/wchar_t/wrapped_locale.cc: Likewise.
2457 * testsuite/22_locale/num_put/put/char/1.cc: Likewise.
2458 * testsuite/22_locale/num_put/put/char/20909.cc: Likewise.
2459 * testsuite/22_locale/num_put/put/char/20914.cc: Likewise.
2460 * testsuite/22_locale/num_put/put/char/3.cc: Likewise.
2461 * testsuite/22_locale/num_put/put/char/5.cc: Likewise.
2462 * testsuite/22_locale/num_put/put/char/9780-2.cc: Likewise.
2463 * testsuite/22_locale/num_put/put/char/wrapped_env.cc: Likewise.
2464 * testsuite/22_locale/num_put/put/char/wrapped_locale.cc: Likewise.
2465 * testsuite/22_locale/num_put/put/wchar_t/1.cc: Likewise.
2466 * testsuite/22_locale/num_put/put/wchar_t/20909.cc: Likewise.
2467 * testsuite/22_locale/num_put/put/wchar_t/20914.cc: Likewise.
2468 * testsuite/22_locale/num_put/put/wchar_t/3.cc: Likewise.
2469 * testsuite/22_locale/num_put/put/wchar_t/5.cc: Likewise.
2470 * testsuite/22_locale/num_put/put/wchar_t/wrapped_env.cc: Likewise.
2471 * testsuite/22_locale/num_put/put/wchar_t/wrapped_locale.cc: Likewise.
2472 * testsuite/22_locale/numpunct/members/char/2.cc: Likewise.
2473 * testsuite/22_locale/numpunct/members/char/3.cc: Likewise.
2474 * testsuite/22_locale/numpunct/members/char/wrapped_env.cc: Likewise.
2475 * testsuite/22_locale/numpunct/members/char/wrapped_locale.cc: Likewise.
2476 * testsuite/22_locale/numpunct/members/wchar_t/2.cc: Likewise.
2477 * testsuite/22_locale/numpunct/members/wchar_t/wrapped_env.cc: Likewise.
2478 * testsuite/22_locale/numpunct/members/wchar_t/wrapped_locale.cc:
2480 * testsuite/22_locale/numpunct_byname/named_equivalence.cc: Likewise.
2481 * testsuite/22_locale/time_get/date_order/char/wrapped_env.cc: Likewise.
2482 * testsuite/22_locale/time_get/date_order/char/wrapped_locale.cc:
2484 * testsuite/22_locale/time_get/date_order/wchar_t/wrapped_env.cc:
2486 * testsuite/22_locale/time_get/date_order/wchar_t/wrapped_locale.cc:
2488 * testsuite/22_locale/time_get/get_date/char/12750.cc: Likewise.
2489 * testsuite/22_locale/time_get/get_date/char/2.cc: Likewise.
2490 * testsuite/22_locale/time_get/get_date/char/wrapped_env.cc: Likewise.
2491 * testsuite/22_locale/time_get/get_date/char/wrapped_locale.cc:
2493 * testsuite/22_locale/time_get/get_date/wchar_t/12750.cc: Likewise.
2494 * testsuite/22_locale/time_get/get_date/wchar_t/2.cc: Likewise.
2495 * testsuite/22_locale/time_get/get_date/wchar_t/4.cc: Likewise.
2496 * testsuite/22_locale/time_get/get_date/wchar_t/wrapped_env.cc:
2498 * testsuite/22_locale/time_get/get_date/wchar_t/wrapped_locale.cc:
2500 * testsuite/22_locale/time_get/get_monthname/char/2.cc: Likewise.
2501 * testsuite/22_locale/time_get/get_monthname/char/wrapped_env.cc:
2503 * testsuite/22_locale/time_get/get_monthname/char/wrapped_locale.cc:
2505 * testsuite/22_locale/time_get/get_monthname/wchar_t/2.cc: Likewise.
2506 * testsuite/22_locale/time_get/get_monthname/wchar_t/wrapped_env.cc:
2508 * testsuite/22_locale/time_get/get_monthname/wchar_t/wrapped_locale.cc:
2510 * testsuite/22_locale/time_get/get_time/char/1.cc: Likewise.
2511 * testsuite/22_locale/time_get/get_time/char/2.cc: Likewise.
2512 * testsuite/22_locale/time_get/get_time/char/wrapped_env.cc: Likewise.
2513 * testsuite/22_locale/time_get/get_time/char/wrapped_locale.cc:
2515 * testsuite/22_locale/time_get/get_time/wchar_t/1.cc: Likewise.
2516 * testsuite/22_locale/time_get/get_time/wchar_t/2.cc: Likewise.
2517 * testsuite/22_locale/time_get/get_time/wchar_t/wrapped_env.cc:
2519 * testsuite/22_locale/time_get/get_time/wchar_t/wrapped_locale.cc:
2521 * testsuite/22_locale/time_get/get_weekday/char/2.cc: Likewise.
2522 * testsuite/22_locale/time_get/get_weekday/char/wrapped_env.cc:
2524 * testsuite/22_locale/time_get/get_weekday/char/wrapped_locale.cc:
2526 * testsuite/22_locale/time_get/get_weekday/wchar_t/2.cc: Likewise.
2527 * testsuite/22_locale/time_get/get_weekday/wchar_t/wrapped_env.cc:
2529 * testsuite/22_locale/time_get/get_weekday/wchar_t/wrapped_locale.cc:
2531 * testsuite/22_locale/time_put/put/char/17038.cc: Likewise.
2532 * testsuite/22_locale/time_put/put/char/2.cc: Likewise.
2533 * testsuite/22_locale/time_put/put/char/3.cc: Likewise.
2534 * testsuite/22_locale/time_put/put/char/4.cc: Likewise.
2535 * testsuite/22_locale/time_put/put/char/6.cc: Likewise.
2536 * testsuite/22_locale/time_put/put/char/7.cc: Likewise.
2537 * testsuite/22_locale/time_put/put/char/8.cc: Likewise.
2538 * testsuite/22_locale/time_put/put/char/9780-1.cc: Likewise.
2539 * testsuite/22_locale/time_put/put/char/wrapped_env.cc: Likewise.
2540 * testsuite/22_locale/time_put/put/char/wrapped_locale.cc: Likewise.
2541 * testsuite/22_locale/time_put/put/wchar_t/17038.cc: Likewise.
2542 * testsuite/22_locale/time_put/put/wchar_t/2.cc: Likewise.
2543 * testsuite/22_locale/time_put/put/wchar_t/3.cc: Likewise.
2544 * testsuite/22_locale/time_put/put/wchar_t/4.cc: Likewise.
2545 * testsuite/22_locale/time_put/put/wchar_t/6.cc: Likewise.
2546 * testsuite/22_locale/time_put/put/wchar_t/7.cc: Likewise.
2547 * testsuite/22_locale/time_put/put/wchar_t/8.cc: Likewise.
2548 * testsuite/22_locale/time_put/put/wchar_t/wrapped_env.cc: Likewise.
2549 * testsuite/22_locale/time_put/put/wchar_t/wrapped_locale.cc: Likewise.
2550 * testsuite/27_io/basic_filebuf/imbue/char/13007.cc: Likewise.
2551 * testsuite/27_io/basic_filebuf/imbue/char/13171-1.cc: Likewise.
2552 * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
2553 * testsuite/27_io/basic_filebuf/imbue/char/13171-4.cc: Likewise.
2554 * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise.
2555 * testsuite/27_io/basic_filebuf/imbue/char/14975-1.cc: Likewise.
2556 * testsuite/27_io/basic_filebuf/imbue/char/2.cc: Likewise.
2557 * testsuite/27_io/basic_filebuf/imbue/char/9322.cc: Likewise.
2558 * testsuite/27_io/basic_filebuf/imbue/wchar_t/12868.cc: Likewise.
2559 * testsuite/27_io/basic_filebuf/imbue/wchar_t/13007.cc: Likewise.
2560 * testsuite/27_io/basic_filebuf/imbue/wchar_t/13171-3.cc: Likewise.
2561 * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-2.cc: Likewise.
2562 * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-3.cc: Likewise.
2563 * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc: Likewise.
2564 * testsuite/27_io/basic_filebuf/imbue/wchar_t/2.cc: Likewise.
2565 * testsuite/27_io/basic_filebuf/imbue/wchar_t/9322.cc: Likewise.
2566 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1.cc: Likewise.
2567 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2.cc: Likewise.
2568 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3.cc: Likewise.
2569 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4.cc: Likewise.
2570 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/1.cc: Likewise.
2571 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/2.cc: Likewise.
2572 * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9874.cc: Likewise.
2573 * testsuite/27_io/basic_filebuf/underflow/wchar_t/1.cc: Likewise.
2574 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-1.cc: Likewise.
2575 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-2.cc: Likewise.
2576 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-3.cc: Likewise.
2577 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-4.cc: Likewise.
2578 * testsuite/27_io/basic_filebuf/underflow/wchar_t/2.cc: Likewise.
2579 * testsuite/27_io/basic_filebuf/underflow/wchar_t/3.cc: Likewise.
2580 * testsuite/27_io/basic_filebuf/underflow/wchar_t/4.cc: Likewise.
2581 * testsuite/27_io/basic_filebuf/underflow/wchar_t/5.cc: Likewise.
2582 * testsuite/27_io/basic_filebuf/underflow/wchar_t/9520.cc: Likewise.
2583 * testsuite/27_io/basic_ios/copyfmt/char/2.cc: Likewise.
2584 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/2.cc:
2586 * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/2.cc:
2588 * testsuite/27_io/basic_streambuf/imbue/char/13007-1.cc: Likewise.
2589 * testsuite/27_io/basic_streambuf/imbue/char/13007-2.cc: Likewise.
2590 * testsuite/27_io/basic_streambuf/imbue/char/9322.cc: Likewise.
2591 * testsuite/27_io/basic_streambuf/imbue/wchar_t/13007-1.cc: Likewise.
2592 * testsuite/27_io/basic_streambuf/imbue/wchar_t/13007-2.cc: Likewise.
2593 * testsuite/27_io/basic_streambuf/imbue/wchar_t/9322.cc: Likewise.
2594 * testsuite/27_io/basic_stringbuf/imbue/char/9322.cc: Likewise.
2595 * testsuite/27_io/basic_stringbuf/imbue/wchar_t/9322.cc: Likewise.
2596 * testsuite/27_io/objects/wchar_t/10.cc: Likewise.
2597 * testsuite/27_io/objects/wchar_t/11.cc: Likewise.
2598 * testsuite/27_io/objects/wchar_t/12.cc: Likewise.
2599 * testsuite/27_io/objects/wchar_t/13.cc: Likewise.
2600 * testsuite/27_io/objects/wchar_t/9520.cc: Likewise.
2601 * testsuite/ext/stdio_sync_filebuf/wchar_t/12077.cc: Likewise.
2603 2005-05-17 Nathan Sidwell <nathan@codesourcery.com>
2605 * libsupc++/eh_personality.cc (gcc_unreachable): Define.
2607 2005-05-16 Paolo Carlini <pcarlini@suse.de>
2609 * docs/html/install.html: Update list of required named
2610 locales, add "es_ES".
2612 2005-05-13 Magnus Fromreide <magfr@lysator.liu.se>
2614 * testsuite/27_io/basic_streambuf/sgetn/char/1.cc: Use
2615 initialization instead of copying as the string is used only once.
2616 * testsuite/27_io/basic_streambuf/sgetn/wchar_t/1.cc: Likewise.
2617 * testsuite/27_io/basic_streambuf/sputn/char/1.cc: Likewise.
2618 * testsuite/27_io/basic_streambuf/sputn/wchar_t/1.cc: Likewise.
2620 2005-05-12 Benjamin Kosnik <bkoz@redhat.com>
2622 * scripts/create_testsuite_files: Fix.
2624 2005-05-12 Kaz Kojima <kkojima@gcc.gnu.org>
2626 * testsuite/18_support/numeric_limits.cc (dg-options): Add
2627 -mieee to options on sh*-*-*.
2629 2005-05-10 Jonathan Wakely <redi@gcc.gnu.org>
2631 * include/debug/debug.h: Fix typo in macro name.
2633 2005-05-09 Paolo Carlini <pcarlini@suse.de>
2634 Giovanni Bajo <giovannibajo@gcc.gnu.org>
2637 * include/bits/deque.tcc: Fully qualify names from namespace std.
2638 * include/bits/stl_bvector.h: Likewise.
2639 * include/bits/stl_deque.h: Likewise.
2640 * include/bits/stl_list.h: Likewise.
2641 * include/bits/stl_map.h: Likewise.
2642 * include/bits/stl_multimap.h: Likewise.
2643 * include/bits/stl_multiset.h: Likewise.
2644 * include/bits/stl_set.h: Likewise.
2645 * include/bits/stl_vector.h: Likewise.
2646 * include/bits/vector.tcc: Likewise.
2647 * include/std/std_bitset.h: Likewise.
2648 * testsuite/23_containers/bitset/18604.cc: New.
2649 * testsuite/23_containers/deque/18604.cc: Likewise.
2650 * testsuite/23_containers/list/18604.cc: Likewise.
2651 * testsuite/23_containers/map/18604.cc: Likewise.
2652 * testsuite/23_containers/set/18604.cc: Likewise.
2653 * testsuite/23_containers/vector/18604.cc: Likewise.
2655 2005-05-09 Mike Stump <mrs@apple.com>
2657 * configure: Regenerate.
2659 2005-05-09 Jonathan Wakely <redi@gcc.gnu.org>
2661 DR 434. bitset::to_string() hard to use [Ready]
2662 * include/debug/bitset (to_string): Add three overloads, taking
2663 fewer template arguments.
2665 2005-05-06 Mark Mitchell <mark@codesourcery.com>
2667 * testsuite/testsuite_hooks.cc (try_mkfifo): Remove.
2668 * testsuite/testsuite_hooks.h (try_mkfifo): Likewise.
2669 * testsuite/27_io/basic_filebuf/close/char/4879.cc: Use
2670 dg-require-fork and dg-require-mkfifo. Replace try_mkfifo with
2672 * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise.
2673 * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
2674 * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise.
2675 * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-2.cc:
2677 * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc:
2679 * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise.
2680 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc:
2682 * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise.
2683 * testsuite/27_io/objects/char/7.cc: Likewise.
2684 * testsuite/27_io/objects/char/9661-1.cc: Likewise.
2685 * testsuite/27_io/objects/wchar_t/7.cc: Likewise.
2686 * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise.
2688 2005-05-04 Benjamin Kosnik <bkoz@redhat.com>
2690 * acinclude.m4: Remove testsuite_wchar_t and testsuite_thread.
2691 * testsuite/Makefile.am: Same.
2692 * scripts/create_testsuite_files: Same.
2693 * Makefile.in: Regenerate.
2695 * include/Makefile.in: Same.
2696 * libmath/Makefile.in: Same.
2697 * libsupc++/Makefile.in: Same.
2698 * po/Makefile.in: Same.
2699 * src/Makefile.in: Same.
2701 2005-05-04 Mark Mitchell <mark@codesourcery.com>
2703 * testsuite/lib/libstdc++.exp (v3-build_support): Look for
2704 __GTHREADS, rather than _GLIBCXX_HAVE_GTHR_DEFAULT, to determine
2705 whether or not thread support is available.
2707 * docs/html/test.html: Explain how to run the testsuite on an
2708 installed directory.
2710 2005-05-01 Paolo Carlini <pcarlini@suse.de>
2712 * config/os/aix/os_defines.h: Remove obsolete __off_t,
2713 __off64_t, __ssize_t defines.
2714 * config/os/djgpp/os_defines.h: Likewise.
2715 * config/os/hpux/os_defines.h: Likewise.
2716 * config/os/irix/irix5.2/os_defines.h: Likewise.
2717 * config/os/irix/irix6.5/os_defines.h: Likewise.
2718 * config/os/solaris/solaris2.5/os_defines.h: Likewise.
2719 * config/os/solaris/solaris2.6/os_defines.h: Likewise.
2720 * config/os/solaris/solaris2.7/os_defines.h: Likewise.
2721 * docs/html/17_intro/porting.html: Don't discuss the defines.
2722 * docs/html/17_intro/porting.texi: Likewise.
2724 2005-04-29 Paolo Carlini <pcarlini@suse.de>
2725 Nathan Myers <ncm@cantrip.org>
2728 * include/bits/fstream.tcc (basic_filebuf<>::xsgetn):
2729 Loop on short reads; remove the work-around for
2730 libstdc++/20806, not needed anymore.
2732 2005-04-29 Paolo Carlini <pcarlini@suse.de>
2735 * include/bits/locale_facets.tcc (num_get::_M_extract_float,
2736 num_get::_M_extract_int, num_get::do_get(bool&),
2737 num_put::_M_insert_int, num_put::_M_insert_float,
2738 num_put::do_put(bool), money_get::_M_extract,
2739 money_put::_M_insert): Adjust the __cache_type typedef not to
2740 forward to a numpunct/moneypunct typedef.
2741 * testsuite/testsuite_character.h: Add pod_uint and its numpunct
2742 and moneypunct specializations.
2743 * testsuite/testsuite_character.cc: Add numpunct<pod_uint>::id
2744 and moneypunct<pod_uint>::id.
2745 * testsuite/22_locale/num_get/3.cc: New.
2746 * testsuite/22_locale/num_put/3.cc: Likewise.
2747 * testsuite/22_locale/money_get/3.cc: Likewise.
2748 * testsuite/22_locale/money_put/3.cc: Likewise.
2750 * include/bits/locale_facets.tcc (money_put::_M_insert,
2751 time_get::_M_extract_name): Prefer operator== to operator!=
2754 2005-04-29 Paolo Carlini <pcarlini@suse.de>
2756 * include/tr1/type_traits (is_convertible): Adjust according
2757 to the resolution of TR1 issue 3.20.
2758 * testsuite/tr1/4_metaprogramming/relationships_between_types/
2759 is_convertible/is_convertible.cc: Add tests.
2761 2005-04-28 Paolo Carlini <pcarlini@suse.de>
2762 Gabriel Dos Reis <gdr@integrable-solutions.net>
2764 PR libstdc++/21244 (cont)
2765 * include/bits/cpp_type_traits.h (struct __traitor): Convert
2767 * include/bits/stl_algo.h: Convert _S_threshold to int.
2768 * include/bits/stl_bvector.h: Revert previous change, convert
2770 * include/debug/formatter.h: Convert __max_parameters to
2772 * include/ext/mt_allocator.h: Likewise for _S_chunk_size.
2773 * include/ext/pool_allocator.h: Likewise for _S_max_bytes and
2775 * include/ext/rope: Likewise for _S_alloc_granularity; convert
2776 _S_max_rope_depth to int.
2777 * include/ext/ropeimpl.h: Convert _S_path_cache_len to int;
2778 _S_max_rope_depth to int; _S_copy_max to size_t.
2780 2005-04-27 Benjamin Kosnik <bkoz@redhat.com>
2782 * docs/doxygen/user.cfg.in: Update to doxygen-1.4.2.
2783 * docs/doxygen/doxygroups.cc: Update namespace comments.
2785 2005-04-27 Dominik Strasser <dominik.strasser@infineon.com>
2786 Paolo Carlini <pcarlini@suse.de>
2789 * include/bits/stl_bvector.h: Change the anonymous enum
2790 at namespace scope to _S_word_bit_enum.
2791 * testsuite/23_containers/vector/bool/21244.cc: New.
2793 2005-04-27 Paolo Carlini <pcarlini@suse.de>
2795 * include/tr1/type_traits (has_trivial_copy, has_trivial_assign,
2796 has_nothrow_copy, has_nothrow_assign): Adjust according to the
2797 resolution of TR1 issue 3.21.
2798 * testsuite/testsuite_tr1.h (test_copy_property,
2799 test_assign_property): Remove.
2800 * testsuite/tr1/4_metaprogramming/type_properties/
2801 has_nothrow_assign/has_nothrow_assign.cc: Adjust.
2802 * testsuite/tr1/4_metaprogramming/type_properties/
2803 has_nothrow_copy/has_nothrow_copy.cc: Likewise.
2804 * testsuite/tr1/4_metaprogramming/type_properties/
2805 has_trivial_assign/has_trivial_assign.cc: Likewise.
2806 * testsuite/tr1/4_metaprogramming/type_properties/
2807 has_trivial_copy/has_trivial_copy.cc: Likewise.
2809 2005-04-26 Jones Desougi <jones@ingate.com>
2812 * linkage.m4: Fix comments.
2814 2005-04-26 Paolo Carlini <pcarlini@suse.de>
2817 * include/bits/locale_facets.tcc (_M_extract_int): Avoid signed
2818 integer overflow, always use a suited unsigned type in the main
2820 (struct __to_unsigned_type): New.
2821 * testsuite/22_locale/num_get/get/char/16.cc: New.
2822 * testsuite/22_locale/num_get/get/wchar_t/16.cc: Likewise.
2824 2005-04-25 Paolo Carlini <pcarlini@suse.de>
2827 * include/bits/basic_string.h (compare): Adjust the documentation
2828 to match the implementation and the standard.
2830 2005-04-24 Paolo Carlini <pcarlini@suse.de>
2832 * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 35.
2834 2005-04-20 Mark Mitchell <mark@codesourcery.com>
2836 * testsuite/ext/bitmap_allocator/check_allocate_max_size.cpp: Add
2837 explicit instantiations for systems without weak symbols.
2838 * testsuite/ext/bitmap_allocator/check_deallocate_null.cc:
2841 2005-04-18 Jonathan Wakely <redi@gcc.gnu.org>
2843 * include/bits/stl_algo.h (rotate_copy): Add missing std qualification.
2845 2005-04-17 Paolo Carlini <pcarlini@suse.de>
2848 * include/bits/locale_facets.tcc (__int_to_char(_CharT*, _ValueT,
2849 const _CharT*, ios_base::fmtflags, bool)): Don't deal with numeric
2850 base or sign here, instead...
2851 (_M_insert_int(_OutIter, ios_base&, _CharT, _ValueT)): ... here,
2852 after adding the grouping. This fixes the bug and also allows to
2853 clean-up the code dealing with integer types.
2854 (_M_group_int(const char*, size_t, _CharT, ios_base&, _CharT*,
2855 _CharT*, int&)): Simplify, remove bits dealing with numeric base.
2856 (__int_to_char(_CharT*, unsigned long, const _CharT*,
2857 ios_base::fmtflags), __int_to_char(_CharT*, unsigned long long,
2858 const _CharT*, ios_base::fmtflags)): Remove hackish fix for
2860 (__int_to_char(_CharT*, long, const _CharT*, ios_base::fmtflags),
2861 __int_to_char(_CharT*, long long, const _CharT*, ios_base::fmtflags)):
2862 Simplify, don't pass the sign.
2863 (_M_insert_float(_OutIter, ios_base&, _CharT, char, _ValueT)):
2864 Deal with a sign at the beginning of __cs; robustify the grouping
2866 * testsuite/22_locale/num_put/put/char/20914.cc: New.
2867 * testsuite/22_locale/num_put/put/wchar_t/20914.cc: Likewise.
2869 2005-04-14 Benjamin Kosnik <bkoz@redhat.com>
2871 * include/ext/bitmap_allocator.h
2872 (__gnu_cxx::free_list::_M_get_mutex): New.
2873 (__gnu_cxx::free_list::_M_get_free_list): New.
2874 (__gnu_cxx::free_list::_S_bfl_mutex): Remove.
2875 (__gnu_cxx::free_list::_S_free_list): Remove.
2876 * src/bitmap_allocator.cc: Same.
2877 * config/linker-map.gnu: Remove free_list and mutex export.
2879 2005-04-14 Benjamin Kosnik <bkoz@redhat.com>
2881 * include/ext/pod_char_traits.h (__gnu_cxx::character): Add char_type.
2882 (character::to): New.
2883 (character::from): New.
2884 (operator==): Add state parameter.
2886 (char_traits::copy): Use std::copy.
2887 (char_traits::assign): Use std::fill_n.
2888 (char_traits::to_char_type): Use character::from.
2889 (char_traits::to_int_type): Use character::to.
2890 * testsuite/testsuite_character.h (__gnu_test::character): Remove.
2891 (__gnu_test::conversion_state): Remove.
2892 (__gnu_test::pod_char): Remove.
2893 (pod_char): New typedef.
2894 (pod_uchar): New typedef.
2895 (pod_ushort): New typedef.
2896 * testsuite/testsuite_character.cc: Fixups.
2897 * testsuite/21_strings/basic_string/inserters_extractors/pod/
2899 * testsuite/21_strings/basic_string/inserters_extractors/pod/
2901 * testsuite/22_locale/numpunct/members/pod/1.cc: Same.
2902 * testsuite/22_locale/numpunct/members/pod/2.cc: Same.
2903 * testsuite/27_io/basic_filebuf/close/12790-1.cc: Same.
2904 * testsuite/27_io/basic_filebuf/open/12790-1.cc: Same.
2905 * testsuite/27_io/basic_filebuf/seekoff/12790-1.cc: Same.
2906 * testsuite/27_io/basic_filebuf/seekoff/12790-2.cc: Same.
2907 * testsuite/27_io/basic_filebuf/seekoff/12790-3.cc: Same.
2908 * testsuite/27_io/basic_filebuf/seekoff/12790-4.cc: Same.
2909 * testsuite/27_io/basic_filebuf/seekpos/12790-1.cc: Same.
2910 * testsuite/27_io/basic_filebuf/seekpos/12790-2.cc: Same.
2911 * testsuite/27_io/basic_filebuf/seekpos/12790-3.cc: Same.
2912 * testsuite/27_io/basic_ios/imbue/14072.cc: Same.
2913 * testsuite/27_io/basic_istream/extractors_arithmetic/pod/
2915 * testsuite/27_io/basic_istream/extractors_character/pod/
2917 * testsuite/27_io/basic_istream/extractors_other/pod/3983-3.cc: Same.
2918 * testsuite/27_io/basic_istream/sentry/pod/1.cc: Same.
2919 * testsuite/27_io/basic_ostream/sentry/pod/1.cc: Same.
2921 2005-04-12 Mike Stump <mrs@apple.com>
2923 * configure: Regenerate.
2925 2005-04-08 Benjamin Kosnik <bkoz@redhat.com>
2927 * testsuite/Makefile.am: Remove libv3test.a.
2928 * testsuite/Makefile.in: Regenerate.
2929 * testsuite/lib/libstdc++.exp (v3_target_compile): Fix comments.
2931 2005-04-08 Paolo Carlini <pcarlini@suse.de>
2934 * include/bits/locale_facets.tcc (num_put<>::_M_insert_float):
2935 Don't even try to group numbers like 2e20, i.e., no decimal
2936 point, scientific notation.
2937 * testsuite/22_locale/num_put/put/char/20909.cc: New.
2938 * testsuite/22_locale/num_put/put/wchar_t/20909.cc: Likewise.
2940 2005-04-08 Kelley Cook <kcook@gcc.gnu.org>
2942 * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Define _GLIBCXX_ASM_SYMVER.
2943 * acconfig.h: Delete file.
2944 * Makefile.in, acinclude.m4, configure: Regenerate.
2946 2005-04-08 Kelley Cook <kcook@gcc.gnu.org>
2948 * linkage.m4 (GLIBCXX_MAYBE_UNDERSCORED_FUNCS): New macro.
2949 (GLIBCXX_CHECK_MATH_DECL_AND_LINKAGE_1,
2950 GLIBCXX_CHECK_MATH_DECL_AND_LINKAGE_2,
2951 GLIBCXX_CHECK_MATH_DECL_AND_LINKAGE_3,
2952 GLIBCXX_CHECK_MATH_DECLS_AND_LINKAGES_1,
2953 GLIBCXX_CHECK_STDLIB_DECL_AND_LINKAGE_2): Use it.
2954 (GLIBCXX_CHECK_MATH_SUPPORT): Delete obsolete comment.
2955 * acconfig.h: Delete redundant macros.
2956 * config.h.in, configure: Regenerate.
2958 2005-04-08 Kelley Cook <kcook@gcc.gnu.org>
2960 * linkage.m4 (GLIBCXX_CHECK_MATH_DECLS_AND_LINKAGES_1): Eliminate
2961 a subshell and if test fails, test for same functions with
2963 (GLIBCXX_CHECK_MATH_SUPPORT): Eliminate seperate checks for _funcs.
2964 * configure: Regenerate.
2966 2005-04-08 Danny Smith <dannysmith@users.sourceforge.net>
2967 Paolo Carlini <pcarlini@suse.de>
2970 * config/os/mingw32/os_defines.h: Define
2971 _GLIBCXX_HAVE_DOS_BASED_FILESYSTEM.
2972 * config/os/newlib/os_defines.h: Likewise, for __CYGWIN__.
2973 * include/bits/fstream.tcc (basic_filebuf<>::showmanyc()):
2975 (basic_filebuf<>::xsgetn(_CharT*, streamsize)): Likewise.
2977 2005-04-08 Kelley Cook <kcook@gcc.gnu.org>
2979 * acconfig.h: Sort the bottom section.
2980 * config.h.in: Regenerate.
2982 2005-04-08 Kelley Cook <kcook@gcc.gnu.org>
2984 * acconfig.h: Remove redundant HAVE_FLOAT_H.
2985 * config.h.in: Regenerate.
2987 2005-04-08 Kelley Cook <kcook@gcc.gnu.org>
2989 * configure.ac: Create template for PACKAGE and VERSION.
2990 Update comment on how to regenerate file. Update minimum
2991 automake version to 1.9.3.
2992 * acconfig.h: Remove PACKAGE and VERSION.
2993 * aclocal.m4, configure, Makefile.in, po/Makefile.in,
2994 src/Makefile.in, include/Makefile.in, libmath/Makefile.in,
2995 testsuite/Makefile.in, config.h.in: Regenerate.
2997 2005-04-06 Benjamin Kosnik <bkoz@redhat.com>
2999 * docs/html/test.html: Update.
3000 * testsuite/printnow.c: Remove.
3001 * scripts/check_survey.in: Remove.
3003 * testsuite/abi_check.cc: To...
3004 * testuite/testsuite_abi_check.cc: ...here.
3005 * testsuite/libstdc++-abi/abi.exp: Change abi_check.cc to
3006 testsuite_abi_check.cc.
3008 * testsuite/testsuite_hooks.h: Move character related bits to...
3009 * testsuite/testsuite_character.h: ...here.
3010 * testsuite/testsuite_character.cc: ... and here.
3011 * testsuite/21_strings/basic_string/inserters_extractors/pod/
3012 10081-in.cc: Use testsuite_character.h.
3013 * testsuite/21_strings/basic_string/inserters_extractors/pod/
3015 * testsuite/22_locale/numpunct/members/pod/1.cc: Same.
3016 * testsuite/22_locale/numpunct/members/pod/2.cc: Same.
3017 * testsuite/27_io/basic_filebuf/2.cc: Same.
3018 * testsuite/27_io/basic_fstream/2.cc: Same.
3019 * testsuite/27_io/basic_istream/2.cc: Same.
3020 * testsuite/27_io/basic_istream/extractors_arithmetic/pod/
3022 * testsuite/27_io/basic_istream/extractors_character/char/
3024 * testsuite/27_io/basic_istream/extractors_character/pod/
3026 * testsuite/27_io/basic_istream/extractors_other/pod/3983-3.cc: Same.
3027 * testsuite/27_io/basic_istream/sentry/pod/1.cc: Same.
3028 * testsuite/27_io/basic_ostream/2.cc: Same.
3029 * testsuite/27_io/basic_ostream/sentry/pod/1.cc: Same.
3030 * testsuite/27_io/basic_streambuf/2.cc: Same.
3031 * testsuite/27_io/basic_stringbuf/2.cc: Same.
3032 * testsuite/27_io/basic_stringbuf/4.cc: Same.
3033 * testsuite/27_io/basic_stringstream/2.cc: Same.
3034 * testsuite/27_io/fpos/1.cc: Same.
3035 * testsuite/ext/mt_allocator/tune-1.cc: Same.
3036 * testsuite/ext/mt_allocator/tune-2.cc: Same.
3037 * testsuite/ext/stdio_filebuf/char/1.cc: Same.
3038 * testsuite/lib/libstdc++.exp (v3-build_support): Add
3039 testsuite_character.cc.
3040 * testsuite/Makefile.am (libv3test_a_SOURCES): Add
3041 testsuite_character.cc.
3042 * testsuite/Makefile.in: Regenerate.
3044 * configure.ac: Remove use of check_survey.
3045 * configure: Regenerate.
3046 * testsuite/Makefile.am: Remove check-script and
3047 check-script-install rules.
3048 * testsuite/Makefile.in: Regenerate.
3050 2005-04-06 Ulrich Weigand <uweigand@de.ibm.com>
3052 * config/cpu/s390/atomicity.h (__exchange_and_add): Add "memory"
3053 clobber to inline assembly statement.
3055 2005-04-06 Kelley Cook <kcook@gcc.gnu.org>
3057 * acinclude.m4 (_GLIBCXX_USE_LONG_LONG,
3058 _GLIBCXX_USE_WCHAR_T, _GLIBCXX_USE_C99, _GLIBCXX_USE_C99_MATH,
3059 _GLIBCXX_USE_C99_COMPLEX, _GLIBCXX_RES_LIMITS, _GLIBCXX_CONCEPT_CHECKS,
3060 _GLIBCXX_SYMVER, _GLIBCXX_USE_LFS, _GLIBCXX_FULLY_DYNAMIC_STRING,
3061 _GLIBCXX_USE_NLS, HAVE_GTHR_DEFAULT, HAVE_MBSTATE_T, HAVE_POLL,
3062 HAVE_S_ISREG, HAVE_S_IFREG, HAVE_WRITEV, HAVE_INT64_T,
3063 HAVE_LC_MESSAGES): Use long form of AC_DEFINE ...
3064 * acconfig.h: ... to eliminate them from here.
3065 (_GLIBCXX_ASM_SYMVER): Move definition below @BOTTOM@.
3066 * config.h.in, configure: Regenerate.
3068 2005-04-05 Kelley Cook <kcook@gcc.gnu.org>
3070 * Makefile.am (ACLOCAL_AMFLAGS): Define.
3071 * crossconfig.m4: Wrap file into new GLIBCXX_CROSSCONFIG macro.
3072 * configure.ac: Use it.
3073 * acinclude.m4: Delete explicit m4_includes and sincludes.
3074 * aclocal.m4, configure, Makefile.in, po/Makefile.in,
3075 src/Makefile.in, include/Makefile.in, libmath/Makefile.in,
3076 testsuite/Makefile.in: Regenerate.
3078 2005-04-05 Jonathan Wakely <redi@gcc.gnu.org>
3080 * include/tr1/memory, include/tr1/boost_shared_ptr.h: Use mutex
3081 to make _Sp_counted_base::add_ref_lock() thread-safe. Check whether
3082 to destroy resources by testing for equality, not inequality. Add
3083 empty critical sections to solve memory visibility issues.
3084 * testsuite/tr1/2_general_utilities/memory/
3085 shared_ptr/cons/auto_ptr_neg.cc: Use dg-excess-errors instead of
3086 explicitly listing line numbers which need to be kept in sync.
3087 * testsuite/tr1/2_general_utilities/memory/
3088 shared_ptr/assign/auto_ptr_neg.cc: Same.
3089 * testsuite/tr1/2_general_utilities/memory/
3090 shared_ptr/assign/auto_ptr_rvalue_neg.cc: Same.
3091 * testsuite/tr1/2_general_utilities/memory/
3092 shared_ptr/cons/weak_ptr_expired.cc: Make XFAIL for consistency when
3094 * testsuite/tr1/2_general_utilities/memory/
3095 enable_shared_from_this/not_shared.cc: Add explanatory comments.
3096 * testsuite/tr1/2_general_utilities/memory/
3097 enable_shared_from_this/not_shared2.cc: Same.
3098 * testsuite/tr1/2_general_utilities/memory/
3099 enable_shared_from_this/not_shared3.cc: Same.
3101 2005-04-05 Kelley Cook <kcook@gcc.gnu.org>
3103 * acconfig.h: Delete macros already AC_DEFINED.
3104 * config.h.in: Regenerate.
3106 2005-04-05 Kelley Cook <kcook@gcc.gnu.org>
3108 * acconfig.h (HAVE_MODF): Remove.
3109 * linkage.m4: Check for modf.
3110 * config.h.in, configure: Regenerate.
3112 2005-04-05 Kelley Cook <kcook@gcc.gnu.org>
3114 * acconfig.h (ENABLE_NLS, HAVE_CATGETS): Remove.
3115 (HAVE_GETTEXT, HAVE_STPCPY): Likewise.
3116 * config.h.in: Regenerate.
3118 2005-04-05 Kelley Cook <kcook@gcc.gnu.org>
3120 * linkage.m4 (GLIBCXX_CHECK_BUILTIN_MATH_DEC): Use m4 translit macro
3121 to convert to uppercase instead of shelling out to tr.
3122 * acconfig.h: Remove now redundant HAVE__BUILTINS_*.
3123 * configure, config.h.in: Regenerate.
3125 2005-04-05 Kelley Cook <kcook@gcc.gnu.org>
3127 * acconfig.h (HAVE_TANL): Correct cut-and-paste typo.
3128 * config.h.in: Regenerate.
3130 2005-04-04 Mark Mitchell <mark@codesourcery.com>
3132 * testsuite/Makefile.am (check-local): Remove.
3133 (curent_symbols.txt): Likewise.
3134 (check-abi): Do not depend on current_symbols.txt.
3135 * testsuite/Makefile.in: Regenerated.
3136 * testsuite/libstdc++-abi/abi.exp: Build current_symbols.txt.
3138 2005-04-02 Douglas Gregor <doug.gregor@gmail.com>
3140 * include/tr1/tuple_iterate.h (tuple_element): Use new macro
3141 _GLIBCXX_T_NUM_ARGS_PLUS_1 because _T is a macro on Darwin.
3142 * include/tr1/repeat.h (_GLIBCXX_T_NUM_ARGS_PLUS_1): Define for
3144 * scripts/gen_includers.h: Define _GLIBCXX_T_NUM_ARGS_PLUS_1 for
3147 2005-04-01 Douglas Gregor <doug.gregor@gmail.com>
3149 * include/tr1/functional (_Maybe_wrap_member_pointer): Wrap up
3150 member pointers in _Mem_fn but let other function objects pass
3152 * include/tr1/functional_iterator (bind): Reduce number of bind()
3153 overloads to two to eliminate ambiguities. Use
3154 _Maybe_wrap_member_pointer to handle member pointers gracefully.
3156 2005-04-01 Mark Mitchell <mark@codesourcery.com>
3158 * testsuite/Makefile.am (noinst_PROGRAMS): Remove.
3159 (site.exp): Write out the path to the baseline file.
3160 (check-abi): Use DejaGNU.
3161 (check-abi-verbose): Remove.
3162 * testsuite/Makefile.in: Regenerated.
3163 * testsuite/abi_check.cc (main): Check the return value from
3165 * testsuite/testsuite_abi.cc (compare_symbols): Return a value.
3166 * testsuite/testsuite_abi.h (compare_symbols): Adjust prototype.
3167 * testsuite/libstdc++-abi/abi.exp: New file.
3169 2005-03-31 Chris Jefferson <chris@bubblescope.net>
3171 * include/tr1/tuple: Support iteration via tuple_iterate.h.
3172 * include/tr1/tuple_iterate.h: Iteration file for tuple.
3174 2005-03-31 Douglas Gregor <doug.gregor@gmail.com>
3176 * include/Makefile.am (tr1_headers): Add bind and mu repetition
3177 headers and reference_wrapper<> forwarding header.
3178 * include/Makefile.in: Regenerate.
3179 * include/tr1/bind_iterate.h: Implementation of function call
3180 operators for the function object returned from tr1::bind().
3181 * include/tr1/bind_repeat.h: Bind-specific repetition header,
3182 akin to include/tr1/repeat.h.
3183 * include/tr1/functional (_Mem_fn): Bug fix: declare result member
3184 template for use with result_of.
3185 (is_bind_expression): New.
3186 (is_placeholder): New.
3187 (_Placeholder): New. Placeholder type for bind.
3188 (_Mu): New. Implementation detail of bind.
3189 (_Bind, _Bind_result): New. Function objects returned by bind.
3190 (_GLIBCXX_JOIN): New. Required to create bind placeholders.
3191 * include/tr1/functional_iterate.h (_Bind, _Bind_result, bind):
3192 New. Implementation of tr1::bind.
3193 * include/tr1/mu_iterate.h (_Mu): result template and operator()
3194 for the _Mu helper to bind.
3195 * include/tr1/ref_fwd.h (reference_wrapper): Forward declaration
3196 used by tuple header.
3199 * include/tr1/repeat.h: Add bind-specific repetition macros.
3200 * include/tr1/tuple: Use reference_wrapper forwarding header for
3201 initial definitions, then include <tr1/functional> at the end, to
3202 make the circular dependencies work.
3203 (tie): Support zero-argument tie() function.
3204 * testsuite/tr1/3_function_objects/bind/all_bound.cc: New test of
3205 bind() functionality with parameters bound.
3206 * testsuite/tr1/3_function_objects/bind/nested.cc: New test of
3207 nested bind() expressions.
3208 * testsuite/tr1/3_function_objects/bind/placeholders.cc: New test
3209 of bind() placeholders.
3210 * testsuite/tr1/3_function_objects/bind/ref.cc: New test of bind()
3211 with arguments bound via reference_wrapper<>.
3212 * scripts/gen_includers.pl: Generate the repetitive part of
3213 include/tr1/repeat.h.
3214 * scripts/gen_bind_includers.pl: Generate the repetitive part of
3215 include/tr1/bind_repeat.h.
3217 2005-03-30 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
3219 * testsuite/Makefile.am (CXX): Use ${SHELL}.
3220 (GLIBCXX_INCLUDES): Same.
3221 (AM_CXXFLAGS): Same.
3222 * testsuite/Makefile.in: Regenerate.
3224 2005-03-25 Mark Mitchell <mark@codesourcery.com>
3226 * testsuite/lib/libstdc++.exp (libstdc++_init): Define LOCALEDIR
3227 when testing an installed compiler.
3229 * testsuite/lib/libstdc++.exp (v3-build_support): Pass -w when
3230 compiling support objects.
3232 2005-03-24 Benjamin Kosnik <bkoz@redhat.com>
3234 * include/tr1/memory: Forward to...
3235 * include/tr1/boost_shared_ptr.h: ...here. Add Boost Software License.
3236 * include/Makefile.am (tr1_headers): Add boost_shared_ptr.h.
3237 * include/Makefile.in: Regenerate.
3238 * testsuite/tr1/2_general_utilities/memory/shared_ptr/cons/
3239 auto_ptr_neg.cc: Adjust line numbers.
3241 2005-03-23 Mark Mitchell <mark@codesourcery.com>
3243 * testsuite/Makefile.am (all-local): Do not build testsuite_files.
3244 * testsuite/Makefile.in: Regenerated.
3246 2005-03-23 Benjamin Kosnik <bkoz@redhat.com>
3248 * acinclude.m4: Adjust so that _GLIBCXX_USE_C99 implies
3249 using _GLIBCXX_USE_C99_COMPLEX, _GLIBCXX_USE_C99_MATH, and
3250 _GLIBCXX_USE_C99_WCHAR.
3251 Remove GLIBCXX_ENABLE_C_MBCHAR, consolidate in GLIBCXX_ENABLE_C99
3252 and GLIBCXX_ENABLE_WCHAR_T.
3253 Take C99 bits from GLIBCXX_CHECK_WCHAR_T_SUPPORT and put in
3255 Change remaining parts of GLIBCXX_CHECK_WCHAR_T_SUPPORT to
3256 GLIBCXX_CHECK_ICONV_SUPPORT.
3257 * configure.ac: Remove GLIBCXX_ENABLE_C_MBCHAR, use
3258 GLIBCXX_CHECK_ICONV_SUPPORT and GLIBCXX_ENABLE_WCHAR_T.
3259 * crossconfig.m4: Same.
3260 * acconfig.h: Same, adjust comments.
3261 * config.h.in: Regenerate.
3262 * configure: Regenerate.
3263 * docs/html/configopts.html: Change --enable-c-mbchar to
3266 * config/locale/gnu/c++locale_internal.h: Guard wide functions
3267 with _GLIBCXX_USE_WCHAR_T.
3268 * include/c_std/std_cwctype.h: Alphabetize, remove duplicates.
3269 * include/c_std/std_cstdio.h: Spacing.
3271 * config/locale/gnu/c_locale.h: Tweaks for unused warnings.
3272 * src/debug.cc: Same.
3274 2005-03-23 Mark Mitchell <mark@codesourcery.com>
3276 * testsuite/libstdc++-dg/normal.exp: Read testsuite_files, if it
3279 * testsuite/lib/libstdc++.exp (libstdc++_wchar_t): Rename to ...
3280 (v3-wchar_t): ... this.
3281 (libstdc++_threads): Rename to ...
3282 (v3-threads): ... this.
3283 (libstdc++_test_objs): Rename to ...
3284 (v3-test_objs): ... this.
3285 (libstdc++_build_support): Rename to ...
3286 (v3-build_support): ... this.
3287 * testsuite/libstdc++-dg/normal.exp: Adjust to use new names.
3289 * testsuite/lib/libstdc++.exp (libstdc++_init): Improve handling
3290 of compilers not in the build directory.
3291 (libstdc++_wchar_t): New variable.
3292 (libstdc++_threads): Likewise.
3293 (libstdc++_test_objs): Likewise.
3294 (v3_target_compile): Use libstdc++_test_objs.
3295 (v3-list-tests): Remove.
3296 (listdc++_build_support): New function.
3297 * testsuite/libstdc++-dg/normal.exp: Rework to dynamically
3298 generate list of tests.
3300 2005-03-21 Chris Jefferson <chris@bubblescope.net>
3303 * include/bits/stl_algobase.h (iter_swap): Only delegate iter_swap
3304 to swap when the iterator's reference_type is a reference to its
3306 * testsuite/25_algorithms/iter_swap/20577.cc: New.
3308 2005-03-21 Zack Weinberg <zack@codesourcery.com>
3310 * acinclude.m4 (GLIBCXX_CONFIGURE): Delete gcc_version logic.
3311 (GLIBCXX_EXPORT_INSTALL_INFO): Adjust quotation so ${gcc_version}
3312 is expanded by the Makefiles, not by configure.
3313 * fragment.am: Set gcc_version.
3314 * libmath/Makefile.am: Likewise.
3315 * configure, Makefile.in, include/Makefile.in, libmath/Makefile.in
3316 * libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in
3317 * testsuite/Makefile.in: Regenerate.
3319 2005-03-16 Paolo Carlini <pcarlini@suse.de>
3321 * testsuite/20_util/functional/binders.cc: Remove explicit
3322 instantiations for non-weak systems.
3323 * testsuite/20_util/memory/allocator/1.cc: Likewise.
3324 * testsuite/20_util/memory/allocator/10378.cc: Likewise.
3325 * testsuite/20_util/memory/allocator/10416.cc: Likewise.
3326 * testsuite/20_util/memory/allocator/8230.cc: Likewise.
3327 * testsuite/20_util/utility/rel_ops.cc: Likewise.
3328 * testsuite/22_locale/ctype/is/char/2.cc: Likewise.
3329 * testsuite/22_locale/ctype/is/wchar_t/2.cc: Likewise.
3330 * testsuite/23_containers/deque/cons/1.cc: Likewise.
3331 * testsuite/23_containers/deque/cons/2.cc: Likewise.
3332 * testsuite/23_containers/deque/invalidation/1.cc: Likewise.
3333 * testsuite/23_containers/deque/invalidation/2.cc: Likewise.
3334 * testsuite/23_containers/deque/invalidation/3.cc: Likewise.
3335 * testsuite/23_containers/deque/invalidation/4.cc: Likewise.
3336 * testsuite/23_containers/deque/modifiers/swap.cc: Likewise.
3337 * testsuite/23_containers/deque/operators/1.cc: Likewise.
3338 * testsuite/23_containers/list/capacity/1.cc: Likewise.
3339 * testsuite/23_containers/list/cons/1.cc: Likewise.
3340 * testsuite/23_containers/list/cons/2.cc: Likewise.
3341 * testsuite/23_containers/list/cons/3.cc: Likewise.
3342 * testsuite/23_containers/list/cons/4.cc: Likewise.
3343 * testsuite/23_containers/list/cons/5.cc: Likewise.
3344 * testsuite/23_containers/list/cons/6.cc: Likewise.
3345 * testsuite/23_containers/list/cons/7.cc: Likewise.
3346 * testsuite/23_containers/list/cons/8.cc: Likewise.
3347 * testsuite/23_containers/list/cons/9.cc: Likewise.
3348 * testsuite/23_containers/list/invalidation/1.cc: Likewise.
3349 * testsuite/23_containers/list/invalidation/2.cc: Likewise.
3350 * testsuite/23_containers/list/invalidation/3.cc: Likewise.
3351 * testsuite/23_containers/list/invalidation/4.cc: Likewise.
3352 * testsuite/23_containers/list/modifiers/1.cc: Likewise.
3353 * testsuite/23_containers/list/modifiers/2.cc: Likewise.
3354 * testsuite/23_containers/list/modifiers/3.cc: Likewise.
3355 * testsuite/23_containers/list/operators/1.cc: Likewise.
3356 * testsuite/23_containers/list/operators/2.cc: Likewise.
3357 * testsuite/23_containers/list/operators/3.cc: Likewise.
3358 * testsuite/23_containers/list/operators/4.cc: Likewise.
3359 * testsuite/23_containers/map/insert/1.cc: Likewise.
3360 * testsuite/23_containers/map/invalidation/1.cc: Likewise.
3361 * testsuite/23_containers/map/invalidation/2.cc: Likewise.
3362 * testsuite/23_containers/map/modifiers/swap.cc: Likewise.
3363 * testsuite/23_containers/map/operators/1.cc: Likewise.
3364 * testsuite/23_containers/multimap/invalidation/1.cc: Likewise.
3365 * testsuite/23_containers/multimap/invalidation/2.cc: Likewise.
3366 * testsuite/23_containers/multimap/modifiers/swap.cc: Likewise.
3367 * testsuite/23_containers/multiset/insert/1.cc: Likewise.
3368 * testsuite/23_containers/multiset/insert/2.cc: Likewise.
3369 * testsuite/23_containers/multiset/invalidation/1.cc: Likewise.
3370 * testsuite/23_containers/multiset/invalidation/2.cc: Likewise.
3371 * testsuite/23_containers/multiset/modifiers/swap.cc: Likewise.
3372 * testsuite/23_containers/priority_queue/members/7161.cc: Likewise.
3373 * testsuite/23_containers/queue/members/7157.cc: Likewise.
3374 * testsuite/23_containers/set/insert/1.cc: Likewise.
3375 * testsuite/23_containers/set/invalidation/1.cc: Likewise.
3376 * testsuite/23_containers/set/invalidation/2.cc: Likewise.
3377 * testsuite/23_containers/set/modifiers/swap.cc: Likewise.
3378 * testsuite/23_containers/stack/members/7158.cc: Likewise.
3379 * testsuite/23_containers/vector/bool/6886.cc: Likewise.
3380 * testsuite/23_containers/vector/capacity/1.cc: Likewise.
3381 * testsuite/23_containers/vector/capacity/8230.cc: Likewise.
3382 * testsuite/23_containers/vector/cons/1.cc: Likewise.
3383 * testsuite/23_containers/vector/cons/2.cc: Likewise.
3384 * testsuite/23_containers/vector/cons/3.cc: Likewise.
3385 * testsuite/23_containers/vector/cons/6513.cc: Likewise.
3386 * testsuite/23_containers/vector/element_access/1.cc: Likewise.
3387 * testsuite/23_containers/vector/invalidation/1.cc: Likewise.
3388 * testsuite/23_containers/vector/invalidation/2.cc: Likewise.
3389 * testsuite/23_containers/vector/invalidation/3.cc: Likewise.
3390 * testsuite/23_containers/vector/invalidation/4.cc: Likewise.
3391 * testsuite/23_containers/vector/modifiers/1.cc: Likewise.
3392 * testsuite/23_containers/vector/modifiers/2.cc: Likewise.
3393 * testsuite/23_containers/vector/modifiers/swap.cc: Likewise.
3394 * testsuite/23_containers/vector/resize/1.cc: Likewise.
3395 * testsuite/24_iterators/back_insert_iterator.cc: Likewise.
3396 * testsuite/24_iterators/front_insert_iterator.cc: Likewise.
3397 * testsuite/24_iterators/insert_iterator.cc: Likewise.
3398 * testsuite/24_iterators/iterator.cc: Likewise.
3399 * testsuite/25_algorithms/copy/1.cc: Likewise.
3400 * testsuite/25_algorithms/copy/2.cc: Likewise.
3401 * testsuite/25_algorithms/copy/3.cc: Likewise.
3402 * testsuite/25_algorithms/copy/4.cc: Likewise.
3403 * testsuite/25_algorithms/equal.cc: Likewise.
3404 * testsuite/25_algorithms/fill/1.cc: Likewise.
3405 * testsuite/25_algorithms/fill/2.cc: Likewise.
3406 * testsuite/25_algorithms/min_max.cc: Likewise.
3407 * testsuite/25_algorithms/rotate.cc: Likewise.
3408 * testsuite/25_algorithms/unique/1.cc: Likewise.
3409 * testsuite/25_algorithms/unique/2.cc: Likewise.
3410 * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9874.cc: Likewise.
3411 * testsuite/ext/concept_checks.cc: Likewise.
3412 * testsuite/ext/hash_map/1.cc: Likewise.
3413 * testsuite/ext/hash_set/1.cc: Likewise.
3414 * testsuite/ext/rope/1.cc: Likewise.
3415 * testsuite/ext/rope/2.cc: Likewise.
3416 * testsuite/ext/rope/3.cc: Likewise.
3417 * testsuite/thread/pthread1.cc: Likewise.
3418 * testsuite/thread/pthread4.cc: Likewise.
3419 * testsuite/thread/pthread5.cc: Likewise.
3420 * testsuite/thread/pthread6.cc: Likewise.
3421 * testsuite/thread/pthread7-rope.cc: Likewise.
3423 2005-03-15 Zack Weinberg <zack@codesourcery.com>
3425 * include/Makefile.am (c++config.h): Depend on DATESTAMP from gcc
3426 subdirectory. Generate #define of __GLIBCXX__ from contents of
3428 * include/Makefile.in: Regenerate.
3429 * include/bits/c++config: Do not define __GLIBCXX__.
3431 2005-03-15 Paolo Carlini <pcarlini@suse.de>
3434 * include/std/std_complex.h (pow(const complex<_Tp>&,
3435 const _Tp&)): On non-c99 platforms, don't try to compute
3436 log of complex zero.
3438 2005-03-10 Ben Elliston <bje@au.ibm.com>
3440 * testsuite/22_locale/locale/cons/12658_thread-1.cc: Don't XFAIL
3443 2005-03-07 Paolo Carlini <pcarlini@suse.de>
3445 * include/tr1/type_traits (is_polymorphic): Don't forget
3446 the virtual destructor, thus avoiding warnings.
3447 * testsuite/testsuite_tr1.h (class AbstractClass,
3448 class PolymorphicClass): Likewise.
3450 2005-03-07 Paolo Carlini <pcarlini@suse.de>
3452 * include/std/std_complex.h (pow(const complex<_Tp>&,
3453 const complex<_Tp>&)): Dispatch to either __complex_pow(__x.__rep(),
3454 __y.__rep()) or __complex_pow(__x, __y) depending on the macro
3455 _GLIBCXX_USE_C99_COMPLEX.
3457 2005-03-07 Paolo Carlini <pcarlini@suse.de>
3459 * include/std/std_fstream.h (basic_fstream<>::open,
3460 basic_ifstream<>::open, basic_ofstream<>::open): Implement the
3461 resolution of DR 409 [Ready], call clear() on success.
3462 * docs/html/ext/howto.html: Add an entry for DR 409.
3463 * docs/html/faq/index.html (4_4): Clarify the new behavior.
3464 * testsuite/27_io/basic_ifstream/open/char/1.cc: Adjust.
3465 * testsuite/27_io/basic_ofstream/open/char/1.cc: Likewise.
3467 2005-03-05 Joseph S. Myers <joseph@codesourcery.com>
3469 * testsuite/22_locale/collate/compare/wchar_t/2.cc,
3470 testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc,
3471 testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc,
3472 testsuite/22_locale/collate/hash/wchar_t/2.cc,
3473 testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc,
3474 testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc,
3475 testsuite/22_locale/collate/transform/wchar_t/2.cc,
3476 testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc,
3477 testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc:
3478 XFAIL on *-*-hpux11.23.
3480 2005-03-04 Paolo Carlini <pcarlini@suse.de>
3482 * include/tr1/type_traits: Add is_base_of.
3483 * testsuite/tr1/4_metaprogramming/relationships_between_types/
3484 is_base_of/is_base_of.cc: New.
3485 * testsuite/tr1/4_metaprogramming/relationships_between_types/
3486 is_base_of/typedefs.cc: Likewise.
3488 2005-03-03 Benjamin Kosnik <bkoz@redhat.com>
3490 * include/tr1/functional: Convert relative path.
3492 * docs/doxygen/user.cfg.in: Add tr1 includes.
3494 2005-03-03 Paolo Carlini <pcarlini@suse.de>
3496 * include/tr1/type_traits: Implemenet is_polymorphic.
3497 (is_empty): Minor tweaks.
3498 * testsuite/testsuite_tr1.h: Add test types.
3499 * testsuite/tr1/4_metaprogramming/type_properties/
3500 is_polymorphic/is_polymorphic.cc: New.
3501 * testsuite/tr1/4_metaprogramming/type_properties/
3502 is_polymorphic/typedefs.cc: Likewise.
3503 * testsuite/tr1/4_metaprogramming/composite_type_traits/
3504 is_union_or_class/is_union_or_class.cc: Add tests.
3506 2005-03-02 Douglas Gregor <doug.gregor@gmail.com>
3508 * include/tr1/functional (_Has_result_type): Cleanup.
3509 (_Result_of_impl): Handle member data pointers correctly.
3510 (reference_wrapper): Support invocation.
3511 Move repetition code into new file include/tr1/repeat.h.
3512 * include/tr1/functional_iterate.h (reference_wrapper): Support
3513 invocation. Cleanup long lines.
3514 * include/tr1/ref_wrap_iterate.h (reference_wrapper): Declare
3515 invocation operators.
3516 * include/tr1/repeat.h: Code repetition header.
3517 * include/Makefile.am: Add ref_wrap_iterate.h, repeat.h.
3518 * include/Makefile.in: Add ref_wrap_iterate.h, repeat.h.
3519 * testsuite/tr1/3_function_objects/reference_wrapper/invoke.cc:
3520 New test of reference_wrapper invocation.
3521 * testsuite/tr1/3_function_objects/reference_wrapper/typedefs.cc:
3522 New test of reference_wrapper typedefs and base classes.
3523 * testsuite/tr1/3_function_objects/result_of.cc: Trivial cleanup
3526 2005-03-02 Douglas Gregor <doug.gregor@gmail.com>
3528 * include/tr1/function (result_of): New class template.
3529 * include/tr1/functional/iterator.h: Implementation of TR1
3531 * testsuite/tr1/3_function_objects/result_of.cc: New test
3533 2005-03-01 Vladimir Merzliakov <wanderer@rsu.ru>
3535 * testsuite/26_numerics/cmath/c99_classification_macros_c.cc: Tweak.
3537 2005-02-28 Benjamin Kosnik <bkoz@redhat.com>
3539 * testsuite/tr1/2_general_utilities/memory/shared_ptr/
3540 cons/auto_ptr_neg.cc: Correct line numbers.
3542 * testsuite/testsuite_abi.cc: Add CXXABI_1.3.1.
3544 2005-02-28 Jonathan Wakely <redi@gcc.gnu.org>
3546 * include/tr1/memory: Replace checked_deleter with (unchecked)
3547 _Sp_deleter as GCC warns about delete on incomplete types anyway.
3549 2005-02-28 Jonathan Wakely <redi@gcc.gnu.org>
3551 * include/tr1/memory: Add missing "inline" to __throw_bad_weak_ptr.
3553 2005-02-28 Hans-Peter Nilsson <hp@axis.com>
3556 * config/cpu/cris/atomicity.h (__exchange_and_add): In asm, use
3557 'Q' constraint, not 'm'.
3559 2005-02-26 Earl Chew <earl_chew@agilent.com>
3560 Christopher Jefferson <chris@bubblescope.net>
3562 * include/bits/stl_tree.h (_Rb_tree<>::_M_insert): Don't leak
3563 memory if _M_key_compare throws.
3565 2005-02-25 Paolo Carlini <pcarlini@suse.de>
3567 * include/tr1/type_traits: Add the trivial is_union and is_class;
3568 add the __is_union_or_class extension.
3569 (is_enum, is_empty): Use the latter.
3570 * include/tr1/type_traits_fwd.h: Add __is_union_or_class.
3571 * testsuite/testsuite_tr1.h: Add UnionType; trivial formatting
3573 * testsuite/tr1/4_metaprogramming/composite_type_traits/
3574 is_union_or_class/is_union_or_class.cc: New.
3575 * testsuite/tr1/4_metaprogramming/composite_type_traits/
3576 is_union_or_class/typedefs.cc: Likewise.
3578 2005-02-24 Benjamin Kosnik <bkoz@redhat.com>
3580 * testsuite/tr1/6_containers/unordered/instantiate/hash.cc: Guard
3581 wchar_t use with _GLIBCXX_USE_WCHAR_T.
3583 2005-02-24 Benjamin Kosnik <bkoz@redhat.com>
3585 * include/std/std_complex.h: _GLIBCXX_USE_C99_COMPLEX_MATH to
3586 _GLIBCXX_USE_C99_COMPLEX.
3587 * acinclude.m4: Same.
3589 * configure: Regenerate.
3590 * config.h.in: Same.
3592 2005-02-24 Paolo Carlini <pcarlini@suse.de>
3594 * include/tr1/functional (mem_fn): Avoid _T, badname on
3597 2005-02-23 Douglas Gregor <doug.gregor@gmail.com>
3599 * include/tr1/functional (function): New class template.
3600 (mem_fn): New function template.
3601 Implementations of TR1 function and mem_fn facilities.
3602 * include/tr1/functional_iterate.h: Implementations of TR1
3603 function and mem_fn facilities.
3604 * testsuite/tr1/3_function_objects/function/1.cc: New
3605 test of std::tr1::function.
3606 * testsuite/tr1/3_function_objects/function/2.cc: New
3607 test of std::tr1::function.
3608 * testsuite/tr1/3_function_objects/function/3.cc: New
3609 test of std::tr1::function.
3610 * testsuite/tr1/3_function_objects/function/4.cc: New
3611 test of std::tr1::function.
3612 * testsuite/tr1/3_function_objects/function/5.cc: New
3613 test of std::tr1::function.
3614 * testsuite/tr1/3_function_objects/function/6.cc: New
3615 test of std::tr1::function.
3616 * testsuite/tr1/3_function_objects/function/7.cc: New
3617 test of std::tr1::function.
3618 * testsuite/tr1/3_function_objects/function/8.cc: New
3619 test of std::tr1::function.
3620 * testsuite/tr1/3_function_objects/function/9.cc: New
3621 test of std::tr1::function.
3622 * testsuite/tr1/3_function_objects/mem_fn.cc: New test of
3625 2005-02-23 Paolo Carlini <pcarlini@suse.de>
3627 * include/tr1/type_traits: Implement is_convertible.
3628 * testsuite/tr1/4_metaprogramming/relationships_between_types/
3629 is_convertible/is_convertible.cc: New.
3630 * testsuite/tr1/4_metaprogramming/relationships_between_types/
3631 is_convertible/typedefs.cc: Likewise.
3632 * testsuite/testsuite_tr1.h: Add class DerivedType.
3634 * include/tr1/type_traits (is_function): Don't mistake references
3635 to function types for function types.
3636 * testsuite/tr1/4_metaprogramming/primary_type_categories/
3637 is_function/is_function.cc: Add testcase.
3639 2005-02-22 Benjamin Kosnik <bkoz@redhat.com>
3641 * scripts/check_performance: Tweaks.
3643 * testsuite/27_io/basic_ostream/inserters_other/wchar_t/2.cc: Name
3644 output file with extension that clean rules can find.
3646 2005-02-22 Richard Henderson <rth@redhat.com>
3649 * libsupc++/eh_catch.cc (__cxa_begin_catch): Don't special case
3650 decrement of uncaughtExceptions for rethrow.
3652 2005-02-22 Paolo Carlini <pcarlini@suse.de>
3654 * include/tr1/functional: Fix License to GPL with exception.
3655 * include/tr1/hashtable: Likewise.
3656 * include/tr1/tuple: Likewise.
3657 * include/tr1/type_traits: Likewise.
3658 * include/tr1/type_traits_fwd.h: Likewise.
3659 * include/tr1/unordered_map: Likewise.
3660 * include/tr1/unordered_set: Likewise.
3661 * include/tr1/utility: Likewise.
3663 2005-02-22 Paolo Carlini <pcarlini@suse.de>
3665 * testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/
3666 auto_ptr_neg.cc: Add missing dg-do compile directive.
3667 * testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/
3668 auto_ptr_rvalue_neg.cc: Likewise.
3669 * testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/
3670 shared_ptr_neg.cc: Likewise.
3671 * testsuite/tr1/2_general_utilities/memory/shared_ptr/cons/
3672 auto_ptr_neg.cc: Likewise.
3673 * testsuite/tr1/2_general_utilities/memory/shared_ptr/modifiers/
3674 reset_neg.cc: Likewise.
3675 * testsuite/tr1/2_general_utilities/memory/shared_ptr/modifiers/
3676 swap_neg.cc: Likewise.
3678 2005-02-22 Jonathan Wakely <redi@gcc.gnu.org>
3680 * include/Makefile.am, include/Makefile.in: Fix accidental extra
3681 change from previous commit.
3683 2005-02-21 Jonathan Wakely <redi@gcc.gnu.org>
3685 * include/tr1/memory: New file.
3686 * include/Makefile.am, include/Makefile.in: Add new TR1 header.
3687 * testsuite/tr1/2_general_utilities/memory/
3688 enable_shared_from_this/not_shared.cc: New test.
3689 * testsuite/tr1/2_general_utilities/memory/
3690 enable_shared_from_this/not_shared2.cc: New test.
3691 * testsuite/tr1/2_general_utilities/memory/
3692 enable_shared_from_this/not_shared3.cc: New test.
3693 * testsuite/tr1/2_general_utilities/memory/
3694 enable_shared_from_this/shared.cc: New test.
3695 * testsuite/tr1/2_general_utilities/memory/
3696 enable_shared_from_this/still_shared.cc: New test.
3697 * testsuite/tr1/2_general_utilities/memory/
3698 shared_ptr/assign/assign.cc: New test.
3699 * testsuite/tr1/2_general_utilities/memory/
3700 shared_ptr/assign/auto_ptr.cc: New test.
3701 * testsuite/tr1/2_general_utilities/memory/
3702 shared_ptr/assign/auto_ptr_neg.cc: New test.
3703 * testsuite/tr1/2_general_utilities/memory/
3704 shared_ptr/assign/auto_ptr_rvalue_neg.cc: New test.
3705 * testsuite/tr1/2_general_utilities/memory/
3706 shared_ptr/assign/shared_ptr.cc: New test.
3707 * testsuite/tr1/2_general_utilities/memory/
3708 shared_ptr/assign/shared_ptr_neg.cc: New test.
3709 * testsuite/tr1/2_general_utilities/memory/
3710 shared_ptr/comparison/cmp.cc: New test.
3711 * testsuite/tr1/2_general_utilities/memory/
3712 shared_ptr/cons/auto_ptr.cc: New test.
3713 * testsuite/tr1/2_general_utilities/memory/
3714 shared_ptr/cons/auto_ptr_neg.cc: New test.
3715 * testsuite/tr1/2_general_utilities/memory/
3716 shared_ptr/cons/copy.cc: New test.
3717 * testsuite/tr1/2_general_utilities/memory/
3718 shared_ptr/cons/default.cc: New test.
3719 * testsuite/tr1/2_general_utilities/memory/
3720 shared_ptr/cons/pointer.cc: New test.
3721 * testsuite/tr1/2_general_utilities/memory/
3722 shared_ptr/cons/weak_ptr.cc: New test.
3723 * testsuite/tr1/2_general_utilities/memory/
3724 shared_ptr/cons/weak_ptr_expired.cc: New test.
3725 * testsuite/tr1/2_general_utilities/memory/
3726 shared_ptr/dest/dest.cc: New test.
3727 * testsuite/tr1/2_general_utilities/memory/
3728 shared_ptr/misc/io.cc: New test.
3729 * testsuite/tr1/2_general_utilities/memory/
3730 shared_ptr/misc/swap.cc: New test.
3731 * testsuite/tr1/2_general_utilities/memory/
3732 shared_ptr/modifiers/reset.cc: New test.
3733 * testsuite/tr1/2_general_utilities/memory/
3734 shared_ptr/modifiers/reset_neg.cc: New test.
3735 * testsuite/tr1/2_general_utilities/memory/
3736 shared_ptr/modifiers/swap.cc: New test.
3737 * testsuite/tr1/2_general_utilities/memory/
3738 shared_ptr/modifiers/swap_neg.cc: New test.
3739 * testsuite/tr1/2_general_utilities/memory/
3740 shared_ptr/observers/bool_conv.cc: New test.
3741 * testsuite/tr1/2_general_utilities/memory/
3742 shared_ptr/observers/get.cc: New test.
3743 * testsuite/tr1/2_general_utilities/memory/
3744 shared_ptr/observers/unique.cc: New test.
3745 * testsuite/tr1/2_general_utilities/memory/
3746 shared_ptr/observers/use_count.cc: New test.
3748 2005-02-21 Paolo Carlini <pcarlini@suse.de>
3750 * include/tr1/type_traits (is_member_function_pointer):
3751 Remove ugly workaround for c++/19076.
3753 2005-02-21 Paolo Carlini <pcarlini@suse.de>
3755 * include/bits/basic_string.tcc (_Rep::_M_destroy): Don't
3756 check for this == &_S_empty_rep, it's always false, here.
3758 2005-02-19 Matt Austern <austern@gmail.com>
3760 * include/tr1/functional (tr1_hashtable_define_trivial_hash): Make
3761 hash<T>::operator() a const member function for T a fundamental type
3762 * include/tr1/hashtable (extract1st::operator()): Declare const.
3763 (hash_code_base): Declare all member functions const
3764 (hashtable::find): fix call to this->bucket_count()
3765 (hashtable::count): Likewise.
3766 (hashtable::equal_range): m_incr_bucket applies to iterator, not node.
3767 * testsuite/tr1/6_containers/unordered/find/set1.cc: New test.
3768 * testsuite/tr1/6_containers/unordered/find/map1.cc: New test.
3769 * testsuite/tr1/6_containers/unordered/find/multimap1.cc: New test.
3770 * testsuite/tr1/6_containers/unordered/find/multiset1.cc: New test.
3772 2005-02-19 Hans-Peter Nilsson <hp@axis.com>
3775 * include/tr1/functional (hash<std::wstring>): Wrap in #ifdef
3776 _GLIBCXX_USE_WCHAR_T.
3778 2005-02-18 Richard Henderson <rth@redhat.com>
3781 * config/linker-map.gnu (CXXABI_1.3.1): Add __cxa_get_exception_ptr.
3782 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Increment
3783 uncaughtExceptions here instead of ...
3784 * libsupc++/eh_throw.cc (__cxa_throw) ... here.
3785 (__cxa_rethrow): Increment uncaughtExceptions here instead of ...
3786 * libsupc++/eh_catch.cc (__cxa_end_catch): ... here.
3787 (__cxa_get_exception_ptr): New.
3788 * libsupc++/unwind-cxx.h (__cxa_get_exception_ptr): Declare.
3790 2005-02-18 Matt Austern <austern@apple.com>
3792 * testsuite/tr1/6_containers/unordered/insert/array_syntax.cc: Fix
3793 test case to use assignment instead of ==
3794 * testsuite/tr1/6_containers/unordered/insert/map_range.cc: New test.
3795 * testsuite/tr1/6_containers/unordered/insert/multimap_range.cc: New test.
3796 * testsuite/tr1/6_containers/unordered/insert/multiset_range.cc: New test.
3797 * testsuite/tr1/6_containers/unordered/insert/set_range.cc: New test.
3799 2005-02-18 Eric Botcazou <ebotcazou@libertysurf.fr>
3801 * testsuite/thread/pthread1.cc: Do not invoke pthread_setconcurrency
3802 on Solaris 2.6 and below.
3803 * testsuite/thread/pthread2.cc: Likewise.
3804 * testsuite/thread/pthread3.cc: Likewise.
3805 * testsuite/thread/pthread4.cc: Likewise.
3806 * testsuite/thread/pthread5.cc: Likewise.
3807 * testsuite/thread/pthread6.cc: Likewise.
3808 * testsuite/thread/pthread7-rope.cc: Likewise.
3810 2005-02-17 Matt Austern <austern@apple.com>
3812 * include/tr1/functional (hash): New function object.
3813 * include/tr1/hashtable: New file.
3814 * include/tr1/unordered_set: New file.
3815 * include/tr1/unordered_map: New file.
3816 * include/Makefile.am: Add three new TR1 headers.
3817 * include/Makefile.in: Likewise.
3818 * testsuite/tr1/6_containers/unordered/insert/array_syntax.cc: New test.
3819 * testsuite/tr1/6_containers/unordered/insert/map_single.cc: New test.
3820 * testsuite/tr1/6_containers/unordered/insert/multimap_single.cc: New test.
3821 * testsuite/tr1/6_containers/unordered/insert/multiset_single.cc: New test.
3822 * testsuite/tr1/6_containers/unordered/insert/set_single.cc: New test.
3823 * testsuite/tr1/6_containers/unordered/instantiate/hash.cc: New test.
3824 * testsuite/tr1/6_containers/unordered/instantiate/map.cc: New test.
3825 * testsuite/tr1/6_containers/unordered/instantiate/multimap.cc: New test.
3826 * testsuite/tr1/6_containers/unordered/instantiate/multiset.cc: New test.
3827 * testsuite/tr1/6_containers/unordered/instantiate/set.cc: New test.
3829 2005-02-16 Paolo Carlini <pcarlini@suse.de>
3831 * testsuite/23_containers/set/modifiers/16728.cc:
3832 Remove redundant include <testsuite_performance.h>.
3834 2005-02-16 Paolo Carlini <pcarlini@suse.de>
3837 * testsuite/21_strings/basic_string/find/char/3.cc: Fix the test
3838 at line #66 to not access str_lit01 beyond its end.
3839 * testsuite/21_strings/basic_string/find/wchar_t/3.cc: Likewise.
3841 2005-02-15 Paolo Carlini <pcarlini@suse.de>
3842 Jon Grimm <jgrimm2@us.ibm.com>
3845 * include/bits/locale_facets.h (ctype<char>::_M_narrow_init()):
3846 Fix the logic setting _M_narrow_ok: first check whether the
3847 transformation is trivial with a dflt == 0, then deal with the
3848 special case of zero.
3849 * testsuite/22_locale/ctype/narrow/char/19955.cc: New.
3851 * include/bits/locale_facets.h (ctype<char>::_M_widen_init()):
3852 Tweak consistently to use memcmp; minor formatting fixes.
3854 2005-02-15 Jakub Jelinek <jakub@redhat.com>
3857 * testsuite/demangle/abi_examples/01.cc (main): Adjust for 2005-02-13
3859 * testsuite/demangle/abi_examples/02.cc (main): Likewise.
3861 2005-02-13 Richard Guenther <rguenth@gcc.gnu.org>
3862 Paolo Carlini <pcarlini@suse.de>
3865 * include/c_std/std_cmath.h (pow): Use __builtin_powi[lf]
3866 for integer overloads.
3868 * testsuite/26_numerics/cmath/powi.cc: New.
3870 2005-02-11 Janis Johnson <janis187@us.ibm.com>
3872 * testsuite/26_numerics/complex/13450.cc: Fix XFAIL selector.
3873 * testsuite/26_numerics/complex/complex_value.cc: Ditto.
3874 * testsuite/26_numerics/complex/pow.cc: Ditto.
3876 * testsuite/lib/libstdc++.exp: Load target-supports-dg.exp.
3877 * testsuite/26_numerics/complex/13450.cc: XFAIL for broken_cplxf_arg.
3878 * testsuite/26_numerics/complex/complex_value.cc: Ditto.
3879 * testsuite/26_numerics/complex/pow.cc: Ditto.
3881 2005-02-09 Mike Stump <mrs@apple.com>
3883 * libsupc++/del_op.cc: Don't include cstdlib when !_GLIBCXX_HOSTED.
3885 2005-02-09 Janis Johnson <janis187@us.ibm.com>
3887 * testsuite/ext/array_allocator/2.cc: XFAIL for powerpc*-*-linux*.
3889 2005-02-08 Mark Mitchell <mark@codesourcery.com>
3891 * config/linker-map.gnu (GLIBCXX_3.4): Add _ZNSdC* and _ZNSdD*.
3893 2005-02-07 Loren J. Rittle <ljrittle@acm.org>
3895 * testsuite/27_io/basic_istream/getline/wchar_t/5.cc: Make buf static.
3896 * testsuite/27_io/basic_stringbuf/setbuf/wchar_t/4.cc: Make ref and
3899 2005-02-02 Brad Spencer <spencer@infointeractive.com>
3901 * debug.html: Fix broken tags.
3902 * documentation.html: Same.
3904 2005-02-02 Andreas Jaeger <aj@suse.de>
3906 * testsuite/lib/libstdc++.exp: Revert Geoffrey Keating's patch
3908 * testsuite/Makefile.am: Likewise.
3909 * testsuite/Makefile.in: Likewise.
3911 2005-02-01 Paolo Carlini <pcarlini@suse.de>
3913 * include/bits/cpp_type_traits.h: Rename _M_type fields to
3914 __value, except for __enable_if, _M_type -> __type, consistently
3915 with the other traits.
3916 * include/bits/stl_algobase.h: Tweak consistently.
3917 * include/bits/stl_tree.h: Likewise.
3918 * include/bits/valarray_array.h: Likewise.
3919 * include/c_std/std_cmath.h: Likewise.
3920 * include/debug/safe_iterator.h: Likewise.
3921 * include/std/std_complex.h: Likewise.
3923 2005-01-31 Brad Spencer <spencer@infointeractive.com>
3925 * crossconfig.m4: Repair Solaris cross bits for strtold and strtof.
3926 * configure: Regenerated.
3928 2005-01-31 Mark Mitchell <mark@codesourcery.com>
3930 * include/std/std_limits.h (numeric_limits<float>::has_denorm):
3932 (numeric_limits<double>::has_denorm): Likewise.
3933 (numeric_limits<long double>::has_denorm): Likewise.
3935 2005-01-31 Paolo Carlini <pcarlini@suse.de>
3936 Gabriel Dos Reis <gdr@integrable-solutions.net>
3938 * include/bits/cpp_type_traits.h: Add types to the structs thus
3939 making type_traits.h redundant; exploit new __truth_type and
3941 * include/bits/type_traits.h: Remove.
3942 * include/Makefile.am: Update.
3943 * include/Makefile.in: Regenerate.
3944 * include/backward/tempbuf.h: Include cpp_type_traits.h instead.
3945 * include/bits/basic_string.h (replace(iterator, iterator,
3946 _InputIterator, _InputIterator), _S_construct(_InIterator,
3947 _InIterator, const _Alloc&)): Use __is_integer instead.
3948 * include/bits/stl_bvector.h (vector(_InputIterator,
3949 _InputIterator, const allocator_type&), assign(_InputIterator,
3950 _InputIterator), insert(iterator, _InputIterator, _InputIterator)):
3952 * include/bits/stl_construct.h (_Destroy(_ForwardIterator,
3953 _ForwardIterator)): Use __is_scalar.
3954 * include/bits/stl_deque.h (deque(_InputIterator, _InputIterator,
3955 const allocator_type&), assign(_InputIterator, _InputIterator),
3956 insert(iterator, _InputIterator, _InputIterator)): Use __is_integer.
3957 * include/bits/stl_list.h (assign(_InputIterator, _InputIterator),
3958 insert(iterator, _InputIterator, _InputIterator)): Likewise.
3959 * include/bits/stl_tempbuf.h (_Temporary_buffer(_ForwardIterator,
3960 _ForwardIterator)): Use __is_scalar.
3961 * include/bits/stl_uninitialized.h (uninitialized_copy(_InputIterator,
3962 _InputIterator, _ForwardIterator), uninitialized_fill(_ForwardIterator,
3963 _ForwardIterator, const _Tp&), uninitialized_fill_n(_ForwardIterator,
3964 _Size, const _Tp&)): Likewise.
3965 * include/bits/stl_vector.h (vector(_InputIterator, _InputIterator,
3966 const allocator_type&), assign(_InputIterator, _InputIterator),
3967 insert(iterator, _InputIterator, _InputIterator)): Use __is_integer.
3968 * include/debug/debug.h (__valid_range(const _InputIterator&,
3969 const _InputIterator&)): Use __is_integer.
3970 * include/ext/slist (assign(_InputIterator, _InputIterator)): Likewise.
3971 * include/std/std_string.h: Include cpp_type_traits.h instead.
3973 2005-01-30 Paolo Carlini <pcarlini@suse.de>
3976 * config/locale/generic/c_locale.h (__convert_from_v): Switch only
3977 LC_NUMERIC, and only when actually != "C".
3979 2005-01-28 Paolo Carlini <pcarlini@suse.de>
3981 * include/tr1/type_traits (is_function): Minor consistency tweaks.
3983 2005-01-28 Geoffrey Keating <geoffk@apple.com>
3985 * testsuite/lib/libstdc++.exp (libstdc++_init): Search the path
3986 for the compiler. Don't set cxxflags.
3987 (v3_target_compile): Search for libv3test.a relative to $objdir.
3988 (lsearch_all_inline): New.
3989 (lsearch_all_inline_not): New.
3990 (v3-list-tests): Rewrite to not need generated files.
3991 * testsuite/Makefile.am (IGNORE_WCHAR_T): New.
3992 (IGNORE_THREAD): New.
3993 (TESTS_TO_IGNORE): New.
3994 (site.exp): Set tests_to_ignore, cxxflags.
3995 * aclocal.m4: Regenerate.
3996 * Makefile.in: Regenerate.
3997 * libmath/Makefile.in: Likewise.
3998 * libsupc++/Makefile.in: Likewise.
3999 * po/Makefile.in: Likewise.
4000 * src/Makefile.in: Likewise.
4001 * testsuite/Makefile.in: Likewise.
4003 2005-01-28 Paolo Carlini <pcarlini@suse.de>
4005 * include/tr1/type_traits: Implement is_empty.
4006 * testsuite/tr1/4_metaprogramming/type_properties/is_empty/
4008 * testsuite/tr1/4_metaprogramming/type_properties/is_empty/
4009 typedefs.cc: Likewise.
4011 * include/tr1/type_traits (__is_abstract_helper): Simplify a bit.
4013 2005-01-28 Paolo Carlini <pcarlini@suse.de>
4015 * include/tr1/type_traits: Implement is_abstract, by exploiting the
4016 resolution of DR core/337.
4017 * testsuite/testsuite_tr1.h: Add AbstractClass.
4018 * testsuite/tr1/4_metaprogramming/type_properties/is_abstract/
4019 is_abstract.cc: New.
4020 * testsuite/tr1/4_metaprogramming/type_properties/is_abstract/
4021 typedefs.cc: Likewise.
4023 * include/tr1/type_traits (is_function): Rewrite, use the conversion
4024 F& -> F* instead, thus avoiding problems with abstract classes.
4025 * testsuite/tr1/4_metaprogramming/primary_type_categories/
4026 is_function/is_function.cc: Add a test for tricky AbstractClass.
4028 2005-01-26 Paolo Carlini <pcarlini@suse.de>
4030 * include/ext/mt_allocator.h
4031 (struct __per_type_pool_policy<,, false>::_S_get_pool,
4032 struct __per_type_pool_policy<,, true>::_S_get_pool): Scale
4033 _M_chunk_size too with sizeof(_Tp), otherwise the allocator
4034 breaks down as soon as sizeof(_Tp) >~ _S_chunk_size / 128;
4035 reduce to 64 the multiplier for _M_max_bytes (safer wrt
4036 _Binmap_type being a short); trivial reformattings.
4037 * testsuite/ext/mt_allocator/check_allocate_big_per_type.cc: New.
4039 2005-01-26 Paolo Carlini <pcarlini@suse.de>
4041 * acinclude.m4 ([GLIBCXX_ENABLE_C99]): Add ac_c99_complex
4042 to the final test for enable_c99, thus robustifying it; remove
4043 duplicate final test on ac_99_math.
4044 * configure: Regenerate.
4046 * include/std/std_complex.h: Remove usages of the dead
4047 _GLIBCXX_BUGGY_COMPLEX macro.
4049 * testsuite/26_numerics/cmath/19322.cc: Protect with
4050 _GLIBCXX_USE_C99_MATH instead of the stronger _GLIBCXX_USE_C99,
4051 since only C99 math facilities are involved.
4052 * testsuite/26_numerics/cmath/c99_classification_macros_c++.cc:
4055 2005-01-25 Loren J. Rittle <ljrittle@acm.org>
4057 * acinclude.m4 (GLIBCXX_ENABLE_CLOCALE): Map FreeBSD to darwin
4058 instead of generic. Change autoconf report to "darwin or freebsd".
4059 * configure: Regenerate.
4060 * config/os/bsd/freebsd/ctype_inline.h (ctype<wchar_t>::do_is): Add.
4061 (ctype<wchar_t>::do_scan_is): Likewise.
4062 (ctype<wchar_t>::do_scan_not): Likewise.
4064 2005-01-25 Benjamin Kosnik <bkoz@redhat.com>
4066 * acinclude.m4 (GLIBCXX_ENABLE_C99): Test for complex math
4067 functions, and enable _GLIBCXX_USE_C99_COMPLEX_MATH if they exist.
4068 * acconfig.h: Add _GLIBCXX_USE_C99_COMPLEX_MATH.
4069 * config.h.in: Regenerate.
4070 * configure: Regenerate.
4071 * include/std/std_complex.h: Protect complex builtins with
4072 _GLIBCXX_USE_C99_COMPLEX_MATH.
4074 2005-01-24 Paolo Carlini <pcarlini@suse.de>
4076 * include/tr1/type_traits: Implement is_signed and is_unsigned.
4077 * testsuite/tr1/4_metaprogramming/type_properties/
4078 is_signed/is_signed.cc: New.
4079 * testsuite/tr1/4_metaprogramming/type_properties/
4080 is_signed/typedefs.cc: Likewise.
4081 * testsuite/tr1/4_metaprogramming/type_properties/
4082 is_unsigned/is_unsigned.cc: Likewise.
4083 * testsuite/tr1/4_metaprogramming/type_properties/
4084 is_unsigned/typedefs.cc: Likewise.
4086 2005-01-23 Paolo Carlini <pcarlini@suse.de>
4088 * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 34.
4090 2005-01-23 Paolo Carlini <pcarlini@suse.de>
4092 * testsuite/27_io/basic_ostream/cons/wchar_t/9827.cc: New.
4093 * testsuite/27_io/basic_ostream/endl/wchar_t/1.cc: Likewise.
4094 * testsuite/27_io/basic_ostream/ends/wchar_t/1.cc: Likewise.
4095 * testsuite/27_io/basic_ostream/ends/wchar_t/2.cc: Likewise.
4096 * testsuite/27_io/basic_ostream/exceptions/wchar_t/9561.cc: Likewise.
4097 * testsuite/27_io/basic_ostream/flush/wchar_t/1.cc: Likewise.
4098 * testsuite/27_io/basic_ostream/flush/wchar_t/2.cc: Likewise.
4099 * testsuite/27_io/basic_ostream/flush/wchar_t/
4100 exceptions_badbit_throw.cc: Likewise.
4101 * testsuite/27_io/basic_ostream/inserters_arithmetic/
4102 wchar_t/2.cc: Likewise.
4103 * testsuite/27_io/basic_ostream/inserters_arithmetic/
4104 wchar_t/3.cc: Likewise.
4105 * testsuite/27_io/basic_ostream/inserters_arithmetic/
4106 wchar_t/4.cc: Likewise.
4107 * testsuite/27_io/basic_ostream/inserters_arithmetic/
4108 wchar_t/4402.cc: Likewise.
4109 * testsuite/27_io/basic_ostream/inserters_arithmetic/
4110 wchar_t/5.cc: Likewise.
4111 * testsuite/27_io/basic_ostream/inserters_arithmetic/
4112 wchar_t/6.cc: Likewise.
4113 * testsuite/27_io/basic_ostream/inserters_arithmetic/
4114 wchar_t/9555-oa.cc: Likewise.
4115 * testsuite/27_io/basic_ostream/inserters_arithmetic/
4116 wchar_t/exceptions_badbit_throw.cc: Likewise.
4117 * testsuite/27_io/basic_ostream/inserters_arithmetic/
4118 wchar_t/exceptions_failbit_throw.cc: Likewise.
4119 * testsuite/27_io/basic_ostream/inserters_character/
4120 wchar_t/1.cc: Likewise.
4121 * testsuite/27_io/basic_ostream/inserters_character/
4122 wchar_t/2.cc: Likewise.
4123 * testsuite/27_io/basic_ostream/inserters_character/
4124 wchar_t/3.cc: Likewise.
4125 * testsuite/27_io/basic_ostream/inserters_character/
4126 wchar_t/4.cc: Likewise.
4127 * testsuite/27_io/basic_ostream/inserters_character/
4128 wchar_t/5.cc: Likewise.
4129 * testsuite/27_io/basic_ostream/inserters_character/
4130 wchar_t/6.cc: Likewise.
4131 * testsuite/27_io/basic_ostream/inserters_character/
4132 wchar_t/9555-oc.cc: Likewise.
4133 * testsuite/27_io/basic_ostream/inserters_other/
4134 wchar_t/1.cc: Likewise.
4135 * testsuite/27_io/basic_ostream/inserters_other/
4136 wchar_t/2.cc: Likewise.
4137 * testsuite/27_io/basic_ostream/inserters_other/
4138 wchar_t/3.cc: Likewise.
4139 * testsuite/27_io/basic_ostream/inserters_other/
4140 wchar_t/4.cc: Likewise.
4141 * testsuite/27_io/basic_ostream/inserters_other/
4142 wchar_t/5.cc: Likewise.
4143 * testsuite/27_io/basic_ostream/inserters_other/
4144 wchar_t/9318-out.cc: Likewise.
4145 * testsuite/27_io/basic_ostream/inserters_other/
4146 wchar_t/9424-out.cc: Likewise.
4147 * testsuite/27_io/basic_ostream/inserters_other/
4148 wchar_t/9555-oo.cc: Likewise.
4149 * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
4150 error_failbit.cc: Likewise.
4151 * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
4152 exceptions_badbit_throw.cc: Likewise.
4153 * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
4154 exceptions_failbit_throw.cc: Likewise.
4155 * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
4156 exceptions_null.cc: Likewise.
4157 * testsuite/27_io/basic_ostream/put/char/1.cc: Likewise.
4158 * testsuite/27_io/basic_ostream/put/wchar_t/1.cc: Likewise.
4159 * testsuite/27_io/basic_ostream/seekp/char/
4160 exceptions_badbit_throw.cc: Likewise.
4161 * testsuite/27_io/basic_ostream/seekp/wchar_t/
4162 2346-fstream.cc: Likewise.
4163 * testsuite/27_io/basic_ostream/seekp/wchar_t/
4164 2346-sstream.cc: Likewise.
4165 * testsuite/27_io/basic_ostream/seekp/wchar_t/
4166 exceptions_badbit_throw.cc: Likewise.
4167 * testsuite/27_io/basic_ostream/sentry/wchar_t/1.cc: Likewise.
4168 * testsuite/27_io/basic_ostream/sentry/wchar_t/2.cc: Likewise.
4169 * testsuite/27_io/basic_ostream/tellp/wchar_t/1.cc: Likewise.
4170 * testsuite/27_io/basic_ostream/tellp/wchar_t/2.cc: Likewise.
4171 * testsuite/27_io/basic_ostream/tellp/wchar_t/
4172 exceptions_badbit_throw.cc: Likewise.
4173 * testsuite/27_io/basic_ostream/write/wchar_t/1.cc: Likewise.
4175 * testsuite/data/wostream_inserter_char-1.tst: Likewise.
4176 * testsuite/data/wostream_inserter_char-1.txt: Likewise.
4177 * testsuite/data/wostream_inserter_other-1.tst: Likewise.
4178 * testsuite/data/wostream_inserter_other-2.tst: Likewise.
4179 * testsuite/data/wostream_seeks-1.tst: Likewise.
4181 * testsuite/27_io/basic_ostream/endl/char/1.cc: Minor tweaks.
4182 * testsuite/27_io/basic_ostream/ends/char/1.cc: Likewise.
4183 * testsuite/27_io/basic_ostream/exceptions/char/9561.cc: Likewise.
4184 * testsuite/27_io/basic_ostream/flush/char/1.cc: Likewise.
4185 * testsuite/27_io/basic_ostream/flush/char/2.cc: Likewise.
4186 * testsuite/27_io/basic_ostream/flush/char/
4187 exceptions_badbit_throw.cc: Likewise.
4188 * testsuite/27_io/basic_ostream/inserters_arithmetic/
4189 char/2.cc: Likewise.
4190 * testsuite/27_io/basic_ostream/inserters_arithmetic/
4191 char/3.cc: Likewise.
4192 * testsuite/27_io/basic_ostream/inserters_arithmetic/
4193 char/4.cc: Likewise.
4194 * testsuite/27_io/basic_ostream/inserters_arithmetic/
4195 char/4402.cc: Likewise.
4196 * testsuite/27_io/basic_ostream/inserters_arithmetic/
4197 char/5.cc: Likewise.
4198 * testsuite/27_io/basic_ostream/inserters_arithmetic/
4199 char/6.cc: Likewise.
4200 * testsuite/27_io/basic_ostream/inserters_character/
4201 char/4.cc: Likewise.
4202 * testsuite/27_io/basic_ostream/inserters_other/char/
4204 * testsuite/27_io/basic_ostream/inserters_other/char/
4206 * testsuite/27_io/basic_ostream/inserters_other/char/
4207 error_failbit.cc: Likewise.
4208 * testsuite/27_io/basic_ostream/inserters_other/char/
4209 exceptions_badbit_throw.cc: Likewise.
4210 * testsuite/27_io/basic_ostream/inserters_other/char/
4211 exceptions_failbit_throw.cc: Likewise.
4212 * testsuite/27_io/basic_ostream/inserters_other/char/
4213 exceptions_null.cc: Likewise.
4214 * testsuite/27_io/basic_ostream/put/char/1.cc: Likewise.
4215 * testsuite/27_io/basic_ostream/seekp/char/
4216 exceptions_badbit_throw.cc: Likewise.
4217 * testsuite/27_io/basic_ostream/sentry/char/2.cc: Likewise.
4218 * testsuite/27_io/basic_ostream/write/char/1.cc: Likewise.
4220 2005-01-23 Paolo Carlini <pcarlini@suse.de>
4222 * include/tr1/type_traits (aligned_storage): Use __aligned__ instead
4225 2005-01-23 Paolo Carlini <pcarlini@suse.de>
4226 Andreas Jaeger <aj@suse.de>
4229 * include/bits/functexcept.h: Mark the helpers as 'noreturn'.
4231 2005-01-21 Loren J. Rittle <ljrittle@acm.org>
4233 * testsuite/27_io/basic_filebuf/open/char/9507.cc: Allow
4234 lseek on fifo to succeed. Thus, check for consistent report.
4236 2005-01-21 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
4239 * include/bits/stl_list.h (_List_iterator): Initialize _M_node
4241 (_List_const_iterator): Likewise.
4242 * include/bits/stl_tree.h (_Rb_tree_iterator): Likewise.
4243 (_Rb_tree_const_iterator): Likewise.
4245 * testsuite/23_containers/map/operators/1_neg.cc: Adjust line numbers.
4246 * testsuite/23_containers/set/operators/1_neg.cc: Likewise.
4248 2005-01-20 Benjamin Kosnik <bkoz@redhat.com>
4250 * testsuite/Makefile.am (check-compile): New.
4251 * testsuite/Makefile.in: Regenerate.
4252 * scripts/check_compile_time: New.
4253 * scripts/check_performance: Tweaks.
4255 2005-01-19 Paolo Carlini <pcarlini@suse.de>
4258 * include/tr1/utility (struct __pair_get<1>::__get, __const_get):
4259 Fix typo in the return type.
4260 * testsuite/tr1/6_containers/utility/19535.cc: New.
4262 2005-01-19 Loren J. Rittle <ljrittle@acm.org>
4264 * include/ext/array_allocator.h (array_allocator<>::allocate):
4265 Avoid __used. Use __array_used instead.
4266 * docs/html/17_intro/BADNAMES: Add list for FreeBSD.
4268 2005-01-18 David Edelsohn <edelsohn@gnu.org>
4270 * config/os/aix/os_defines.h (_XOPEN_SOURCE): Delete.
4271 (_XOPEN_SOURCE_EXTENDED): Delete.
4273 2005-01-18 Benjamin Kosnik <bkoz@redhat.com>
4275 * testsuite/testsuite_performance.h (time_counter::start):
4277 (clear_counters): Inline.
4278 (start_counters): Inline.
4279 (stop_counters): Inline.
4280 * testsuite/performance/20_util/allocator/map_thread.cc: Return.
4281 * testsuite/performance/20_util/allocator/insert.cc: Remove bogus
4283 * testsuite/performance/20_util/allocator/map_thread.cc: Same.
4285 2005-01-17 Paolo Carlini <pcarlini@suse.de>
4288 * include/bits/stl_tree.h (_Rb_tree<>::insert_unique(iterator,
4289 const _Val&), _Rb_tree<>::insert_equal(iterator, const _Val&)):
4290 Obtain amortized constant complexity if t is inserted right after
4291 p - not before p - as per Table 69.
4292 * testsuite/performance/23_containers/set_insert_from_sorted.cc: New.
4294 * testsuite/23_containers/multiset/insert/2.cc: New.
4295 * testsuite/23_containers/set/insert/1.cc: Likewise.
4297 * testsuite/performance/23_containers/set_create_from_sorted.cc:
4300 * include/bits/stl_tree.h: Add a few missing std:: qualifications.
4302 2005-01-16 Jonathan Wakely <redi@gcc.gnu.org>
4304 * include/ext/rope: Qualify calls to std::copy() by sequence_buffer.
4305 * testsuite/ext/rope/4.cc: Add.
4307 2005-01-16 Lorenz Minder <lminder@gmx.net>
4308 Paolo Carlini <pcarlini@suse.de>
4311 * include/c_std/std_cmath.h: Define the C99 classification facilities
4312 directly inside namespace std:.
4313 * testsuite/26_numerics/cmath/19322.cc: New.
4315 2005-01-15 David Edelsohn <edelsohn@gnu.org>
4317 * config/os/aix/os_defines.h (_G_USING_THUNKS): Delete.
4319 2005-01-14 Paolo Carlini <pcarlini@suse.de>
4322 * include/bits/stl_tree.h (_Rb_tree<>::insert_equal(_II, _II),
4323 _Rb_tree<>::insert_unique(_II, _II)): Use insert_equal (insert_unique,
4324 respectively) with hint (end()).
4325 * testsuite/performance/23_containers/set_create_from_sorted.cc: New.
4327 2005-01-13 Geoffrey Keating <geoffk@apple.com>
4329 * configure.host (darwin): On darwin8 or later, no need to build
4330 libstdc++ with -flat_namespace.
4332 2005-01-13 Jonathan Wakely <redi@gcc.gnu.org>
4334 * docs/doxygen/user.cfg.in: Set HAVE_DOT back to YES.
4336 2005-01-13 Paolo Carlini <pcarlini@suse.de>
4338 * testsuite/26_numerics/cmath/c99_classification_macros_c++.cc:
4339 Re-enable commented-out test for double type.
4341 2005-01-11 Paolo Carlini <pcarlini@suse.de>
4342 Benjamin Kosnik <bkoz@redhat.com>
4344 * src/istream.cc (basic_istream<char>::ignore(streamsize),
4345 basic_istream<char>::ignore(streamsize, int_type),
4346 basic_istream<wchar_t>::ignore(streamsize),
4347 basic_istream<wchar_t>::ignore(streamsize, int_type)): In case
4348 more than numeric_limits<streamsize>::max() chars are skipped,
4349 set _M_gcount = max().
4350 * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
4351 int_type)): Likewise; keep simple, don't forward.
4353 2005-01-11 Paolo Carlini <pcarlini@suse.de>
4355 * src/istream.cc (basic_istream<char>::ignore(streamsize),
4356 basic_istream<char>::ignore(streamsize, int_type),
4357 basic_istream<wchar_t>::ignore(streamsize),
4358 basic_istream<wchar_t>::ignore(streamsize, int_type)): Revert
4359 2005-01-05 change: actually, the previous behavior is conforming
4360 and consistent with that of get(char_type*, streamsize, char_type),
4361 albeit slightly different from that of 3.3/3.4 in a corner case
4362 due to the use of snextc.
4363 * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
4364 int_type)): Likewise.
4365 * testsuite/27_io/basic_istream/ignore/char/4.cc: Remove.
4366 * testsuite/27_io/basic_istream/ignore/wchar_t/4.cc: Likewise.
4368 2005-01-11 Paolo Carlini <pcarlini@suse.de>
4370 * include/tr1/type_traits: Implement alignment_of and aligned_storage.
4371 * testsuite/tr1/4_metaprogramming/other_transformations/
4372 aligned_storage/aligned_storage.cc: New.
4373 * testsuite/tr1/4_metaprogramming/other_transformations/
4374 aligned_storage/typedefs.cc: Likewise.
4375 * testsuite/tr1/4_metaprogramming/type_properties/
4376 alignment_of/alignment_of.cc: Likewise.
4377 * testsuite/tr1/4_metaprogramming/type_properties/
4378 alignment_of/typedefs.cc: Likewise.
4380 2005-01-10 Paolo Carlini <pcarlini@suse.de>
4382 * Makefile.in: Regenerate.
4383 * libmath/Makefile.in: Likewise.
4384 * libsupc++/Makefile.in: Likewise.
4385 * po/Makefile.in: Likewise.
4386 * src/Makefile.in: Likewise.
4387 * testsuite/Makefile.in: Likewise.
4389 2005-01-10 Paolo Carlini <pcarlini@suse.de>
4391 * include/bits/stl_algobase.h (lexicographical_compare):
4394 2005-01-07 Benjamin Kosnik <bkoz@redhat.com>
4396 * acinclude.m4: Remove CCODECVT_H.
4397 * configure: Regenerate.
4398 * include/Makefile.am (host_headers_extra): Move to...
4399 (ext_headers): ...here.
4400 * include/Makefile.in: Regenerate.
4401 * include/ext/enc_filebuf: Remove enc_filebuf, consolidate
4403 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Move...
4404 * include/ext/codecvt_specializations.h: ...here. Remove
4405 _GLIBCXX_USE___ENC_TRAITS.
4406 (__enc_traits): To __encoding_state, put in __gnu_cxx namespace.
4407 (enc_char_traits): To __encoding_char_traits, put in __gnu_cxx
4409 * config/locale/generic/codecvt_specializations.h: Remove.
4410 * include/bits/codecvt.h: Remove codecvt_specializations.h include.
4411 * src/codecvt.cc: Remove __enc_traits::_S_max_size.
4413 2005-01-06 Benjamin Kosnik <bkoz@redhat.com>
4415 * include/bits/fstream.tcc: Remove unnecessary qualifications for
4416 uglified data members of basic_filebuf, including _M_buf,
4417 _M_buf_size, _M_mode, _M_pback_init.
4418 * include/std/std_fstream.h: Same.
4420 2005-01-05 Benjamin Kosnik <bkoz@redhat.com>
4422 * testsuite/testsuite_hooks.h:
4423 (copy_constructor::mark_call): Use __throw_runtime_error.
4424 (assignment_operator::mark_call): Same.
4425 * testsuite/testsuite_hooks.cc (verify_demangle): Same.
4426 (locale_data): Remove, just use runtime_error directly.
4427 (environment_variable): Same.
4429 (run_tests_wrapped_locale): Use __throw_runtime_error.
4430 (run_tests_wrapped_env): Same.
4431 (semaphore::semaphore): Same.
4432 (semaphore::signal): Same.
4433 (semaphore::wait): Same.
4434 * testsuite/testsuite_abi.h (symbol_error): Remove, use logic_error.
4435 * testsuite/testsuite_abi.cc (get_symbol): Use __throw_logic_error.
4436 (create_symbols): Use __throw_runtime_error.
4437 * src/bitmap_allocator.cc: Use __throw_bad_alloc.
4439 2005-01-05 Mark Mitchell <mark@codesourcery.com>
4441 * testsuite/27_io/basic_filebuf/open/char/9507.cc: Remove child
4444 2005-01-05 Paolo Carlini <pcarlini@suse.de>
4446 * src/istream.cc (basic_istream<char>::ignore(streamsize),
4447 basic_istream<char>::ignore(streamsize, int_type),
4448 basic_istream<wchar_t>::ignore(streamsize),
4449 basic_istream<wchar_t>::ignore(streamsize, int_type)): At the end,
4450 first check _M_gcount vs __n.
4451 * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
4452 int_type)): Likewise.
4453 * testsuite/27_io/basic_istream/ignore/char/4.cc: New.
4454 * testsuite/27_io/basic_istream/ignore/wchar_t/4.cc: Likewise.
4456 2005-01-03 Mark Mitchell <mark@codesourcery.com>
4458 * testsuite/testsuite_hooks.cc: Use __throw_exception_again
4459 instead of just throw.
4461 * testsuite/testsuite_hooks.cc: Update coypright and follow style
4463 * testsuite/testsuite_hooks.h: Likewise.
4464 * testsuite/27_io/basic_filebuf/close/char/4879.cc: Use
4465 semaphores, not sleep.
4466 * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise.
4467 * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
4468 * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise.
4469 * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc:
4471 * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise.
4472 * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise.
4473 * testsuite/27_io/objects/char/7.cc: Likewise.
4474 * testsuite/27_io/objects/char/9661-1.cc: Likewise.
4475 * testsuite/27_io/objects/wchar_t/7.cc: Likewise.
4476 * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise.
4478 * configure.ac: Check for sys/ipc.h and sys/sem.h.
4479 * config.h.in: Regenerated.
4480 * configure: Likewise.
4481 * testsuite/testsuite_hooks.cc (_GLIBCXX_SYSV_SEM): Conditionally
4483 (sys/types.h): Include.
4484 (sys/ipc.h): Likewise.
4485 (sys/sem.h): Likewise.
4486 (__gnu_test::semun): New type.
4487 (__gnu_test::semaphore::sempaphore): New function.
4488 (__gnu_test::semaphore::~semaphore): Likewise.
4489 (__gnu_test::semaphore::wait): Likewise.
4490 (__gnu_test::semaphore::signal): Likewise.
4491 * testsuite/testsuite_hooks.h (__gnu_test::semaphore): New class.
4492 * testsuite/27_io/basic_filebuf/close/char/4879.cc: Use
4493 semaphores, not sleep.
4494 * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise.
4495 * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
4496 * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise.
4497 * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc:
4499 * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise.
4500 * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise.
4501 * testsuite/27_io/objects/char/7.cc: Likewise.
4502 * testsuite/27_io/objects/char/9661-1.cc: Likewise.
4503 * testsuite/27_io/objects/wchar_t/7.cc: Likewise.
4504 * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise.
4506 2005-01-03 Paolo Carlini <pcarlini@suse.de>
4508 * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
4509 int_type)): Reset _M_gcount to numeric_limits<streamsize>::min().
4510 * src/istream.cc (basic_istream<char>::ignore(streamsize, int_type),
4511 basic_istream<wchar_t>::ignore(streamsize, int_type)): Likewise.
4512 * src/istream.cc (basic_istream<char>::ignore(streamsize),
4513 basic_istream<wchar_t>::ignore(streamsize)): Likewise; fix a typo.
4515 2005-01-02 Paolo Carlini <pcarlini@suse.de>
4517 * src/istream.cc (basic_istream<char>::ignore(streamsize),
4518 basic_istream<char>::ignore(streamsize, int_type),
4519 basic_istream<wchar_t>::ignore(streamsize),
4520 basic_istream<wchar_t>::ignore(streamsize, int_type)): Avoid
4521 _M_gcount overflows.
4522 * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
4523 int_type)): Likewise; use snextc in the main loop, consistently
4524 with the specializations above.
4526 2005-01-02 Chris Jefferson <chris@bubblescope.net>
4528 * include/bits/stl_algobase.h (mismatch): Correct concept check.
4530 2005-01-01 Paolo Carlini <pcarlini@suse.de>
4532 * testsuite/ext/enc_filebuf/char/13189.cc: Fix, first include
4533 testsuite_hooks.h, to know whether including ext/enc_filebuf.h.
4534 * testsuite/ext/enc_filebuf/wchar_t/13189.cc: Likewise.
4536 2005-01-01 Paolo Carlini <pcarlini@suse.de>
4538 * testsuite/27_io/basic_istream/extractors_character/char/1.cc: Fix,
4539 null-terminate array1 at the outset.
4540 * testsuite/27_io/basic_istream/extractors_character/wchar_t/1.cc: