1 2005-10-17 Jonathan Wakely <redi@gcc.gnu.org>
4 * include/tr1/boost_shared_ptr.h (_Sp_counted_base::_Sp_counted_base()):
5 When __GTHREAD_MUTEX_INIT is defined, initialize the mutex.
7 2005-10-15 Paolo Carlini <pcarlini@suse.de>
9 * include/tr1/functional: Add missing #pragma GCC system_header.
11 2005-10-14 Paolo Carlini <pcarlini@suse.de>
13 * include/tr1/hashtable (hashtable::m_erase): Rename to erase_node.
14 (hashtable::erase(iterator), erase(const_iterator)): Adjust.
16 2005-10-13 Richard Earnshaw <richard.earnsahw@arm.com>
19 * acinclude.m4 (port_specific_symbol_files): More symbol versioning
21 * configure: Regenerate.
23 2005-10-13 Hans-Peter Nilsson <hp@axis.com>
25 * testsuite/lib/libstdc++.exp (libstdc++_init): Require
26 native testing before setting v3-sharedlib to 1.
28 2005-10-12 Joe Buck <Joe.Buck@synopsys.com>
30 * docs/html/27_io/howto.html: Use reference to ifstream when
33 2005-10-11 Andrew Pinski <pinskia@physics.uc.edu>
36 * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Fix typo in check
38 * configure: Regenerate.
40 2005-10-10 Benjamin Kosnik <bkoz@redhat.com>
42 * configure.ac (libtool_VERSION): To 6:7:0.
43 * configure: Regenerate.
44 * testsuite/testsuite_abi.cc (check_version): Add GLIBCXX_3.4.7.
45 * config/linker-map.gnu: Export locale::_Impl::_M_install_cache.
47 2005-10-10 Ian Lance Taylor <ian@airs.com>
50 * include/bits/locale_classes.h (locale::_Impl::_M_install_cache):
52 * src/locale.cc: Define here, add mutex.
54 2005-10-09 Paolo Carlini <pcarlini@suse.de>
56 PR libstdc++/24061 (issue 6.19)
57 * include/tr1/hashtable (struct node_const_iterator, struct
58 hashtable_const_iterator): New, add const variants to enable separate
59 overloadings for iterator and const_iterator in unordered_set and
60 unordered_multiset (as required by issue 6.19).
61 (class hashtable): Change the mutable_iterators template parameter
62 to constant_iterators and adjust throughout the logic.
63 (hashtable::insert(iterator, const value_type&), erase(iterator)
64 erase(iterator, iterator)): New, as per issue 6.19.
65 (hashtable::m_erase(node*, node**)): New, called by erase(iterator)
66 and erase(const_iterator).
67 (hashtable::Insert_Conv_Type): New, used by insert(iterator,
68 const value_type&) and insert(const_iterator, const value_type&)
69 to delegate the work to insert(const value_type&).
70 * include/tr1/unordered_map (class unordered_map, unordered_multimap):
72 * include/tr1/unordered_set (class unordered_set, unordered_multiset):
74 * testsuite/tr1/6_containers/unordered/erase/24061-map.cc: New.
75 * testsuite/tr1/6_containers/unordered/erase/24061-multimap.cc: New.
76 * testsuite/tr1/6_containers/unordered/erase/24061-multiset.cc: New.
77 * testsuite/tr1/6_containers/unordered/erase/24061-set.cc: New.
78 * testsuite/tr1/6_containers/unordered/insert/24061-map.cc: New.
79 * testsuite/tr1/6_containers/unordered/insert/24061-multimap.cc: New.
80 * testsuite/tr1/6_containers/unordered/insert/24061-multiset.cc: New.
81 * testsuite/tr1/6_containers/unordered/insert/24061-set.cc: New.
83 2005-10-08 Kazu Hirata <kazu@codesourcery.com>
85 Merge from csl-arm-branch:
86 2004-12-15 Daniel Jacobowitz <dan@codesourcery.com>
87 * libstdc++-v3/config/linker-map.gnu: Add ARM EABI symbols.
89 2005-10-07 Paolo Carlini <pcarlini@suse.de>
91 Fix libstdc++/24196 for ext/vstring/rc by returning to the behavior
92 of basic_string pre-2003-06-13; remove fully-dynamic-string stuff.
93 * include/ext/rc_string_base.h (_M_refcopy): Move inside the
94 _Rep class and remove code in macro.
95 (__rc_string_base()): Construct with _S_empty_rep()._M_refcopy().
96 (_M_dispose, _M_leak_hard): Remove code in macro.
97 (_S_construct): Return _S_empty_rep()._M_refcopy() for empty string.
100 * include/ext/rc_string_base.h (_Rep::_M_refdata()): Minor tweak,
103 2005-10-07 Benjamin Kosnik <bkoz@redhat.com>
105 * docs/doxygen/user.cfg.in: Update to Doyxygen 1.4.4.
107 2005-10-05 Paolo Carlini <pcarlini@suse.de>
109 * include/ext/sso_string_base.h (struct __sso_string_local):
110 Remove, actually POD types cannot have user defined constructors
111 (being aggregates) and therefore can always be members of unions.
112 (class __sso_string_base): Adjust consistently.
114 2005-10-05 Paolo Carlini <pcarlini@suse.de>
117 * testsuite/27_io/basic_filebuf/3.cc: Use __gnu_test::pod_ushort
119 * testsuite/27_io/basic_filebuf/seekoff/10132-2.cc: Likewise.
120 * testsuite/27_io/basic_filebuf/seekpos/10132-3.cc: Likewise.
121 * testsuite/27_io/basic_fstream/3.cc: Likewise; run the test.
122 * testsuite/27_io/basic_ifstream/3.cc: Likewise; run the test.
123 * testsuite/27_io/basic_ios/3.cc: Likewise.
124 * testsuite/27_io/basic_iostream/3.cc: Likewise; run the test.
125 * testsuite/27_io/basic_istream/3.cc: Likewise; run the test.
126 * testsuite/27_io/basic_istringstream/3.cc: Likewise; run the test.
127 * testsuite/27_io/basic_ofstream/3.cc: Likewise; run the test.
128 * testsuite/27_io/basic_ostream/3.cc: Likewise; run the test.
129 * testsuite/27_io/basic_ostringstream/3.cc: Likewise; run the test.
130 * testsuite/27_io/basic_streambuf/3.cc: Likewise.
131 * testsuite/27_io/basic_stringbuf/3.cc: Likewise.
132 * testsuite/27_io/basic_stringstream/3.cc: Likewise; run the test.
134 2005-10-05 Paolo Carlini <pcarlini@suse.de>
136 PR libstdc++/11729 (DR 280, [Ready])
137 * include/bits/stl_iterator.h: Add reverse_iterator global
138 functions with two template parameters (operator==, !=, <,
140 * testsuite/24_iterators/reverse_iterator/11729.cc: New.
141 * docs/html/ext/howto.html: Add an entry for issue 280.
143 2005-10-03 Paolo Carlini <pcarlini@suse.de>
145 * include/tr1/hashtable
146 (node_iterator::node_iterator(const node_iterator<,true,>&)): Fix to
147 take a "false" (i.e., is_const == false) node_iterator.
148 (hashtable_iterator::hashtable_iterator(const hashtable_iterator<,
149 true,>&)): Likewise for hashtable_iterator.
150 (hashtable::const_local_iterator): Fix typedef (is_const == true).
151 (hashtable::const_iterator): Likewise.
152 * testsuite/tr1/6_containers/unordered/types/map_iterator.cc: New.
153 * testsuite/tr1/6_containers/unordered/types/multimap_iterator.cc: New.
154 * testsuite/tr1/6_containers/unordered/types/set_iterator.cc: New.
155 * testsuite/tr1/6_containers/unordered/types/multiset_iterator.cc: New.
157 2005-10-02 Paolo Carlini <pcarlini@suse.de>
160 * include/tr1/hashtable (erase(const key_type&)): Return the
161 number of elements erased.
162 * testsuite/tr1/6_containers/unordered/hashtable/24054.cc: New.
164 2005-10-01 Kenny Simpson <theonetruekenny@yahoo.com>
166 * include/tr1/tuple_iterate.h (tuple::operator=(const std::pair<>&)):
169 2005-09-30 Paolo Carlini <pcarlini@suse.de>
172 * include/tr1/hashtable (hash_code_base<>::store_code): Add.
173 (hashtable<>::insert(const value_type&)): Use it.
174 * testsuite/tr1/6_containers/unordered/hashtable/24064.cc: New.
176 2005-09-30 Paolo Carlini <pcarlini@suse.de>
179 * include/bits/locale_facets.tcc (__numpunct_cache<>::_M_cache,
180 __moneypunct_cache<>::_M_cache): Check that grouping()[0] > 0.
181 (__verify_grouping): Do the last check only if __grouping[__min] > 0.
182 (__add_grouping<>): End recursion if *__gbeg <= 0.
183 * testsuite/22_locale/num_get/get/char/23953.cc: New.
184 * testsuite/22_locale/num_get/get/wchar_t/23953.cc: Likewise.
185 * testsuite/22_locale/num_put/put/char/23953.cc: Likewise.
186 * testsuite/22_locale/num_put/put/wchar_t/23953.cc: Likewise.
188 2005-09-29 Chris Jefferson <chris@bubblescope.net>
191 * include/tr1/tuple_iterate.h (tuple): Add operator=(std::pair).
192 * testsuite/tr1/6_containers/tuple/creation_functions/23978.cc: New.
194 * include/tr1/functional (ref, cref): Make inline.
195 * include/tr1/tuple_iterate.h (tie): Correct formatting.
196 (make_tuple): Make inline.
198 2005-09-25 Benjamin Kosnik <bkoz@redhat.com>
199 Eric Botcazou <ebotcazou@libertysurf.fr>
201 * include/ext/mt_allocator.h
202 (__per_type_pool<...true>::_S_initialize_once): Always call
204 (__common_pool<...true>::_S_initialize_once): Same.
206 2005-09-23 Benjamin Kosnik <bkoz@redhat.com>
208 * testsuite/ext/mt_allocator/tune-1.cc: Clarify for single-thread.
209 * testsuite/ext/mt_allocator/tune-2.cc: Same.
210 * testsuite/ext/mt_allocator/tune-3.cc: Same.
211 * testsuite/ext/mt_allocator/tune-4.cc: Same.
213 2005-09-21 Guillaume Melquiond <guillaume.melquiond@ens-lyon.fr>
216 * include/ext/mt_allocator.h: Remove excess
217 policy_type::_S_get_pool calls in constructors.
219 2005-09-18 Paolo Carlini <pcarlini@suse.de>
221 PR libstdc++/23417 (cont)
222 * include/bits/stl_tree.h (_Rb_tree_impl<true>): Use member
223 initialization list for -Weffc++.
225 2005-09-16 Janis Johnson <janis187@us.ibm.com>
227 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/23871.cc:
230 2005-09-15 Benjamin Kosnik <bkoz@redhat.com>
235 * include/bits/c++config: Set _GLIBCXX_STD regardless of __GXX_WEAK__.
236 Add in check for __NO_INLINE__ for warning.
237 * testsuite/lib/dg-options.exp (dg-require-debug-mode): New.
238 * testsuite/lib/libstdc++.exp (check_v3_target_debug_mode): New.
239 * testsuite/21_strings/basic_string/element_access/char/21674.cc:
241 * testsuite/21_strings/basic_string/element_access/wchar_t/21674.cc:
244 2005-09-15 Paolo Carlini <pcarlini@suse.de>
247 * include/std/std_ostream.h (operator<<(short), operator<<(unsigned
248 short), operator<<(int), operator<<(unsigned int), operator<<(float)):
249 Don't call operator<<(long), operator<<(unsigned long), or
250 operator<<(double), do the work mandated by the resolution of DR117...
251 * include/bits/ostream.tcc (operator<<(short), operator<<(unsigned
252 short), operator<<(int), operator<<(unsigned int), operator<<(float)):
254 * testsuite/27_io/basic_ostream/inserters_arithmetic/pod/23875.cc: New.
256 2005-09-15 Mark Mitchell <mark@codesourcery.com>
258 * testsuite/testsuite_character.h: Specialize character<>
259 templates in __gnu_cxx, not in __gnu_test.
261 2005-09-13 Jonathan Wakely <cow@compsoc.man.ac.uk>
262 Benjamin Kosnik <bkoz@redhat.com>
265 * testsuite/21_strings/basic_string/element_access/char/21674.cc: New.
266 * testsuite/21_strings/basic_string/element_access/wchar_t/21674.cc:
269 2005-09-12 David Edelsohn <dje@gcc.gnu.org>
273 * include/Makefile.am (stamp-assoc): Install each subgroup
274 of headers separately.
275 * include/Makefile.in: Regenerate.
277 2005-09-12 Benjamin Kosnik <bkoz@redhat.com>
279 * testsuite/ext/mt_allocator/22309_thread.cc: Remove dg-do run.
280 * testsuite/lib/libstdc++.exp ( proc libstdc++_init): Enable
281 shared only for linux.
283 2005-09-12 Benjamin Kosnik <bkoz@redhat.com>
284 David Edelsohn <dje@gcc.gnu.org>
288 * include/Makefile.am (assoc_headers): Break into five sub values.
289 (install-headers): Use them.
291 * include/Makefile.in: Regenerate.
293 2005-09-12 Chris Jefferson <chris@bubblescope.net>
295 * include/bits/stl_algo.h (search_n): Delegate to specializations.
296 (search_n(,,,,binary_predicate)): Likewise.
297 (__search_n(forward_iterator_tag)): Original search_n, tweak to
298 remove an unnecessary comparison.
299 (__search_n(,,,,binary_predicate,forward_iterator_tag)): Likewise.
301 2005-09-12 Jim Xochellis <jimxoch@yahoo.gr>
303 * include/bits/stl_algo.h
304 (__search_n(std::random_access_iterator_tag)): Add specialization.
305 (__search_n(,,,,binary_predicate,std::random_access_iterator_tag)):
308 2005-09-12 Benjamin Kosnik <bkoz@redhat.com>
311 * include/bits/stl_list.h (_List_impl): Use member initialization
313 * include/bits/stl_tree.h (_Rb_tree_impl): Same.
315 2005-09-12 Paolo Carlini <pcarlini@suse.de>
318 * include/bits/stl_iterator.h (__normal_iterator::
319 __normal_iterator<>(const __normal_iterator<_Iter, _Container>&)):
320 Enable only when _Iter is equal to _Container::pointer.
321 * testsuite/21_strings/basic_string/types/23767.cc: New.
322 * testsuite/23_containers/vector/types/23767.cc: Likewise.
323 * testsuite/ext/vstring/types/23767.cc: Likewise.
325 2005-09-11 Benjamin Kosnik <bkoz@redhat.com>
329 * include/ext/mt_allocator.h
330 (__gnu_cxx::__create_handler): Remove.
331 (__pool<true>::_M_destroy_thread_key): Compatibility only.
332 (__pool<true>::_M_initialize(__destroy): Same.
333 (__pool<true>::_M_initialize): New.
334 (__pool<true>::_M_initialize_once): Nothing fancy.
335 (__pool<true>::_M_once): Remove.
336 (__common_pool): New.
337 (__common_pool_base): New.
338 (__per_type_pool): New.
339 (__per_type_pool_base): New.
340 * src/mt_allocator.cc: Same.
341 * config/linker-map.gnu (__pool<true>::_M_initialize()): Add.
343 2005-09-11 Jakub Jelinek <jakub@redhat.com>
347 * src/mt_allocator.cc (__gnu_internal::freelist_mutex): Make static.
348 (__gnu_internal::__freelist): New type.
349 (__gnu_internal::freelist): New variable.
350 (__gnu_internal::_M_destroy_thread_key): New function.
351 (__gnu_cxx::__pool<true>::_M_destroy): Don't delete
352 _M_thread_freelist_initial.
353 (__gnu_cxx::__pool<true>::_M_initialize): Make argument nameless.
354 Don't use _M_thread_freelist and _M_thread_freelist_initial
355 __pool<true> fields, instead use __gnu_internal::freelist fields, call
356 gthread_key_create just once. Use
357 __gnu_internal::_M_destroy_thread_key as key destructor.
358 (__gnu_cxx::__pool<true>::_M_get_thread_id): Store size_t id
359 rather than _Thread_record* in the thread specific value. Don't
360 use _M_thread_freelist __pool<true> field, instead use
361 __gnu_internal::freelist fields.
362 (__gnu_cxx::__pool<true>::_M_destroy_thread_key): Do nothing.
364 2005-09-11 Benjamin Kosnik <bkoz@redhat.com>
365 Jakub Jelinek <jakub@redhat.com>
369 * testsuite/testsuite_shared.cc: New.
370 * testsuite/lib/dg-options.exp (dg-require-sharedlib): New.
371 * testsuite/lib/libstdc++.exp (libstdc++_init): Look for shared
372 library, and set v3-sharedlib based on this.
373 (check_v3_target_sharedlib): New.
374 (proc v3-build_support): Build shared objects.
375 * testsuite/ext/mt_allocator/22309_thread.cc: New, use above.
377 2005-09-11 Paolo Carlini <pcarlini@suse.de>
380 * include/bits/stl_list.h (_List_iterator<>::
381 _List_iterator(_List_node_base*), _List_const_iterator<>::
382 _List_const_iterator(const _List_node_base*)): Make explicit.
383 (list<>::begin(), list<>::end(), list<>::pop_back()): Adjust
385 * include/bits/list.tcc (list<>::insert, list<>::erase): Adjust
387 * include/bits/stl_tree.h (_Rb_tree_iterator<>::
388 _Rb_tree_iterator(_Link_type), _Rb_tree_const_iterator<>::
389 _Rb_tree_const_iterator(_Link_type)): Make explicit.
390 (_Rb_tree<>::begin(), _Rb_tree<>::end()): Adjust consistently.
391 * include/ext/slist (_Slist_iterator<>::_Slist_iterator(_Node*)):
393 (slist<>::erase(iterator), slist<>::erase(iterator, iterator)):
395 * include/tr1/hashtable (hashtable_iterator<>::
396 hashtable_iterator(hash_node<>**)): Make explicit.
397 * testsuite/23_containers/list/23781.cc: New.
398 * testsuite/23_containers/map/23781.cc: Likewise.
399 * testsuite/23_containers/multimap/23781.cc: Likewise.
400 * testsuite/23_containers/multiset/23781.cc: Likewise.
401 * testsuite/23_containers/set/23781.cc: Likewise.
402 * testsuite/ext/slist/23781.cc: Likewise.
403 * testsuite/tr1/6_containers/unordered/23781.cc: Likewise.
404 * testsuite/23_containers/map/operators/1_neg.cc: Adjust dg-error
406 * testsuite/23_containers/set/operators/1_neg.cc: Likewise.
408 * include/tr1/array (array<>::begin(), array<>::end()): Adjust
409 stylistically for consistency with the other containers.
411 2005-09-10 Joseph S. Myers <joseph@codesourcery.com>
413 * testsuite/26_numerics/cmath/c99_classification_macros_c.cc:
414 XFAIL on *-*-linux*, not *-*-linux-gnu.
416 2005-09-09 Benjamin Kosnik <bkoz@redhat.com>
417 Jakub Jelinek <jakub@redhat.com>
419 * src/debug.cc (iterator_base_mutex): Make static for internal
421 * src/locale_init.cc (locale_mutex): Same.
422 * src/mt_allocator.cc (freelist_mutex): Same.
423 * src/pool_allocator.cc (palloc_init_mutex): Same.
425 2005-09-02 Paolo Carlini <pcarlini@suse.de>
427 * testsuite/tr1/6_containers/unordered/hashtable/23465.cc:
428 Reduce maximum size and lf.
430 2005-09-01 Benjamin Kosnik <bkoz@redhat.com>
432 * include/c_std/std_cmath.h: Declare C99 functions and helper
435 2005-09-01 Benjamin Kosnik <bkoz@redhat.com>
436 Paolo Carlini <pcarlini@suse.de>
438 * testsuite/lib/libstdc++.exp (check_v3_target_cxa_atexit): Fix
441 2005-09-01 Benjamin Kosnik <bkoz@redhat.com>
443 * testsuite/lib/libstdc++.exp (check_v3_target_cxa_atexit): New.
444 * testsuite/lib/dg-options.exp (dg-require-cxa-atexit): New.
445 * testsuite/ext/mt_allocator/deallocate_local-6.cc: New.
446 * testsuite/ext/mt_allocator/deallocate_local-8.cc: New.
447 * testsuite/ext/mt_allocator/deallocate_local_thread-5.cc: New.
448 * testsuite/ext/mt_allocator/deallocate_local_thread-7.cc: New.
449 * docs/html/ext/mt_allocator.html: Add link to examples.
450 * testsuite/testsuite_allocator.h: Tweak.
451 * testsuite/ext/mt_allocator/deallocate_global-2.cc: Same.
452 * testsuite/ext/mt_allocator/deallocate_global-4.cc: Same.
453 * testsuite/ext/mt_allocator/deallocate_global_thread-1.cc: Same.
454 * testsuite/ext/mt_allocator/deallocate_global_thread-3.cc: Same.
455 * testsuite/ext/mt_allocator/deallocate_local-2.cc: Same.
456 * testsuite/ext/mt_allocator/deallocate_local-4.cc: Same.
457 * testsuite/ext/mt_allocator/deallocate_local_thread-1.cc: Same.
458 * testsuite/ext/mt_allocator/deallocate_local_thread-3.cc: Same.
459 * testsuite/ext/new_allocator/deallocate_global.cc: Same.
460 * testsuite/ext/new_allocator/deallocate_local.cc: Same.
462 2005-08-31 Paolo Carlini <pcarlini@suse.de>
463 Kaspar Fischer <fischerk@inf.ethz.ch>
466 * include/bits/stl_bvector.h (_Bit_iterator::operator[],
467 _Bit_const_iterator::operator[]): Const-ify.
468 * testsuite/23_containers/vector/bool/23632.cc: New.
470 2005-08-30 Paolo Carlini <pcarlini@suse.de>
472 PR libstdc++/23578 (cont)
473 * include/bits/stl_bvector.h (class vector<bool>): Add
474 a dummy data() to avoid problems in debug-mode.
476 2005-08-30 Paolo Carlini <pcarlini@suse.de>
478 * testsuite/ext/hash_map/23528.cc: New.
480 2005-08-29 Paolo Carlini <pcarlini@suse.de>
482 * include/bits/stl_map.h (class map): ... and a missing @a.
484 2005-08-29 Paolo Carlini <pcarlini@suse.de>
486 * include/bits/stl_map.h (class map): Add missing % in comment.
488 2005-08-29 Paolo Carlini <pcarlini@suse.de>
490 PR libstdc++/23578 (DR 464 [Ready])
491 * include/bits/stl_map.h (class map): Add at(const key_type&)
493 * include/bits/stl_vector.h (class vector): Add data() member
495 * include/debug/map.h (class map): Adjust consistently.
496 * include/debug/vector (class vector): Likewise.
497 * testsuite/23_containers/map/element_access/1.cc: New.
498 * testsuite/23_containers/vector/data_access/1.cc: Likewise.
499 * docs/html/ext/howto.html: Add an entry for DR 464.
501 2005-08-26 Benjamin Kosnik <bkoz@redhat.com>
503 PR libstdc++/20534 (contd)
504 * src/debug.cc (__gnu_debug): Remove __fancy_abort definition.
505 Remove cstdio and cstdlib includes.
506 * include/debug/debug.h: Define inline here. Remove
507 _GLIBCXX_DEBUG_ABORT.
508 * include/debug/macros.h: Remove __fancy_abort declaration,
509 _GLIBXX_DEBUG_ABORT definition.
510 * config/linker-map.gnu: Remove export.
512 2005-08-26 Benjamin Kosnik <bkoz@redhat.com>
514 * scripts/check_compile (UNIQUE_ID): New. Use to name output files.
516 2005-08-26 Paolo Carlini <pcarlini@suse.de>
519 * include/tr1/array: Implement members back(), front(), data(),
520 and the tuple interface; tidy.
521 * testsuite/tr1/6_containers/array/element_access/back.cc: New.
522 * testsuite/tr1/6_containers/array/element_access/data.cc: Likewise.
523 * testsuite/tr1/6_containers/array/element_access/front.cc: Likewise.
524 * testsuite/tr1/6_containers/array/tuple_interface/get.cc: Likewise.
525 * testsuite/tr1/6_containers/array/tuple_interface/tuple_element.cc:
527 * testsuite/tr1/6_containers/array/tuple_interface/tuple_size.cc:
530 2005-08-25 Paolo Carlini <pcarlini@suse.de>
532 * include/tr1/hashtable: Use __throw_exception_again,
533 not naked throw, in the catch clauses.
535 2005-08-24 Lawrence Lim <llim@redhat.com>
536 Jakub Jelinek <jakub@redhat.com>
537 Benjamin Kosnik <bkoz@redhat.com>
540 * testsuite/21_strings/char_traits/requirements/char/1.cc
541 (test01): Simplify counting.
542 * testsuite/21_strings/char_traits/requirements/wchar_t/1.cc
545 2005-08-24 Paolo Carlini <pcarlini@suse.de>
546 Chris Jefferson <chris@bubblescope.net>
549 * include/tr1/hashtable (hash_code_base::m_swap): Use
551 (hashtable<>::hashtable(const hashtable&)): Use copy_code;
552 fix m_allocate_node call.
553 * testsuite/tr1/6_containers/unordered/hashtable/23465.cc: New.
555 2005-08-23 Kelley Cook <kcook@gcc.gnu.org>
558 * testsuite/data/sgetn.txt: Revert to previous FSF address.
560 2005-08-23 Thomas Kho <tkho@ucla.edu>
563 * include/bits/stl_construct.h (_Destroy(_ForwardIterator,
564 _ForwardIterator, allocator<_Tp>)): Removed unused template parameter.
566 2005-08-22 Geoffrey Keating <geoffk@apple.com>
568 * testsuite/23_containers/vector/resize/1.cc: XFAIL on darwin8.
569 * testsuite/27_io/ios_base/storage/2.cc: Likewise.
571 2005-08-19 J"orn Rennecke <joern.rennecke@st.com>
573 * config/cpu/sh/atomicity.h: Replace broken generic code with current
574 copy of generic/atomicity.h .
576 2005-08-17 Kelley Cook <kcook@gcc.gnu.org>
578 * All files: Update FSF address.
580 2005-08-09 Andrew Pinski <pinskia@physics.uc.edu>
582 * testsuite/26_numerics/cmath/c99_classification_macros_c.cc:
583 xfail on *-*-darwin*.
585 2005-08-03 Geoffrey Keating <geoffk@apple.com>
587 * configure.ac: Don't use GCC_NO_EXECUTABLES or clear
588 GLIBCXX_IS_NATIVE on Darwin crosses.
589 * acinclude.m4 (GLIBCXX_CONFIGURE_TESTSUITE): Don't skip configuring
590 the testsuite just because there's no symbol versioning.
591 * configure: Regenerate.
593 * acinclude.m4 (GLIBCXX_CHECK_SETRLIMIT_ancilliary): Print
595 (GLIBCXX_CHECK_S_ISREG_OR_S_IFREG): Likewise.
596 (GLIBCXX_CHECK_POLL): Likewise.
597 (GLIBCXX_CHECK_WRITEV): Likewise.
598 (GLIBCXX_CHECK_INT64_T): Likewise.
599 (GLIBCXX_CHECK_LFS): Likewise.
600 * configure: Regenerate.
602 2005-07-30 Andrew Pinski <pinskia@physics.uc.edu>
604 * scripts/make_exports.pl: Pass --strip-underscores to c++filt.
606 2005-07-29 H.J. Lu <hongjiu.lu@intel.com>
609 * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Revert
610 the change to info.ttype_base.
612 2005-07-28 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
614 * include/std/std_valarray.h: Fix grammar in comments.
616 2005-07-25 Geoffrey Keating <geoffk@apple.com>
618 * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Handle darwin-export,
619 and make it the default for Darwin.
620 * scripts/make-exports.pl: New.
621 * src/Makefile.am: Update for changes to GLIBCXX_ENABLE_SYMVERS.
622 Handle darwin-export.
623 * configure: Regenerate.
624 * include/Makefile.in: Regenerate.
625 * libmath/Makefile.in: Regenerate.
626 * libsupc++/Makefile.in: Regenerate.
627 * po/Makefile.in: Regenerate.
628 * src/Makefile.in: Regenerate.
629 * testsuite/Makefile.in: Regenerate.
631 2005-07-25 Dave Odell <evilalias@hotmail.com>
634 * include/tr1/hashtable (hashtable<>::find_node): Const-ify.
635 * testsuite/tr1/6_containers/unordered/hashtable/23053.cc: New.
637 2005-07-25 Paolo Carlini <pcarlini@suse.de>
640 * include/bits/basic_string.h: Declare the specialization
641 operator>>(basic_istream<char>&, basic_string<char>&).
642 * include/std/std_istream.h: Declate the specialization
643 operator>>(basic_istream<char>&, char*).
644 * include/std/std_streambuf.h (basic_streambuf): Add friend
645 declarations for the above.
646 * src/istream.cc: Define the above.
647 * testsuite/27_io/basic_istream/extractors_character/char/4.cc: New.
648 * testsuite/27_io/basic_istream/extractors_character/wchar_t/4.cc:
650 * testsuite/performance/27_io/ifstream_extract_chars.cc: Likewise.
652 2005-07-20 Paolo Carlini <pcarlini@suse.de>
654 * include/bits/streambuf.tcc (xsgetn, xsputn): Use streamsize
656 * src/streambuf.cc (__copy_streambufs): Likewise.
658 2005-07-18 Paolo Carlini <pcarlini@suse.de>
660 * config/locale/gnu/ctype_members.cc (do_is(mask, wchar_t)):
661 Speed-up for the common case of mask == ctype_base::space;
662 otherwise, exit the loop earlier if the mask is one of the
665 2005-07-14 Paolo Carlini <pcarlini@suse.de>
667 PR libstdc++/21193 (float, double, long double)
668 * include/tr1/functional (hash<float>, hash<double>):
669 Reimplement exploiting the Fnv_hash<>::hash helper.
670 (hash<long double>): Reimplement using frexp (in this
671 case, due to random padding bits, the former approach
672 is not generally viable).
674 2005-07-13 Paolo Carlini <pcarlini@suse.de>
676 PR libstdc++/21193 (string & wstring)
677 * include/tr1/functional (hash<string>, hash<wstring>):
678 Reimplement using the FNV hash.
680 * include/tr1/functional: Trivial formatting fixes.
682 2005-07-11 Paolo Carlini <pcarlini@suse.de>
684 * include/bits/ostream.tcc (basic_ostream<>::operator<<(long),
685 basic_ostream<>::operator<<(long long)): Don't deal with oct
686 and hex and casts to unsigned here...
687 * include/bits/locale_facets.tcc (__int_to_char(_CharT*, long,
688 const _CharT*, ios_base::fmtflags), __int_to_char(_CharT*, long
689 long, const _CharT*, ios_base::fmtflags)): ... do that here,
690 instead, as per Table 57.
691 (num_put<>::_M_insert_int): Tidy treatment of numeric base and
693 * include/std/std_ostream.h (operator<<(short), operator<<(int)):
694 Adjust logic, as per the letter of the resolution of DR117 [WP].
695 * testsuite/22_locale/num_put/put/char/10.cc: New.
696 * testsuite/22_locale/num_put/put/wchar_t/10.cc: Likewise.
697 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/7.cc:
699 * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/7.cc:
702 2005-07-07 David Edelsohn <edelsohn@gnu.org>
704 * testsuite/ext/pb_assoc/example/tree_order_statistics_join.cc:
705 Change map_t to map_type.
707 2005-07-05 Paolo Carlini <pcarlini@suse.de>
709 Add class __versa_string, a versatile "basic_string-type" class:
710 an additional, non-standard, template parameter allows to specify
711 the preferred base class. Two are provided: __rc_string_base,
712 which implements a behavior very similar to our standard string,
713 and __sso_string_base, not reference-counted and optimized for
715 * include/ext/rc_string_base.h: New.
716 * include/ext/sso_string_base.h: Likewise.
717 * include/ext/vstring.h: Likewise.
718 * include/ext/vstring.tcc: Likewise.
719 * include/ext/vstring_fwd.h: Likewise.
720 * include/ext/vstring_util.h: Likewise.
721 * include/Makefile.am: Add.
722 * include/Makefile.in: Regenerate.
723 * testsuite/ext/vstring/explicit_instantiation/1.cc: New.
724 * testsuite/ext/vstring/explicit_instantiation/2.cc: Likewise.
725 * testsuite/ext/vstring/explicit_instantiation/char/1.cc: Likewise.
726 * testsuite/ext/vstring/explicit_instantiation/wchar_t/1.cc: Likewise.
728 * Makefile.in: Regenerate with autotools 1.9.3 (to date, the version
729 officially used by v3).
730 * aclocal.m4: Likewise.
731 * libmath/Makefile.in: Likewise.
732 * libsupc++/Makefile.in: Likewise.
733 * po/Makefile.in: Likewise.
734 * src/Makefile.in: Likewise.
735 * testsuite/Makefile.in: Likewise.
737 2005-07-01 Paolo Carlini <pcarlini@suse.de>
739 Port from libstdcxx_so_7-branch:
740 2004-10-28 Chris Jefferson <chris@bubblescope.net>
743 * include/bit/stl_algo.h (find(,,,input_iterator_tag),
744 find(,,,random_access_interator_tag),
745 find_if(,,,input_iterator_tag),
746 find_if(,,,random_access_iterator_tag)): Uglify function name.
747 (find, find_if): Use new uglified specialisation names.
748 * testsuite/25_algorithms/find/17441.cc: New.
750 2005-06-30 Ulrich Weigand <uweigand@de.ibm.com>
752 * include/ext/pb_assoc/detail/hash_fn/mask_based_range_hashing.hpp
753 (PB_ASSOC_CLASS_C_DEC::s_highest_bit_1): Cast constant 1 to target
754 type before shifting.
756 2005-06-29 Paolo Carlini <pcarlini@suse.de>
758 PR libstdc++/21244 (cont^2)
759 * include/ext/bitmap_allocator.h: Convert everywhere
760 bits_per_block to size_t.
762 2005-06-29 Jonathan Wakely <redi@gcc.gnu.org>
764 * include/bits/basic_string.h, include/bits/locale_facets.h: Fix
765 Doxygen comments that use wrong parameter and function names.
767 2005-06-29 Paolo Carlini <pcarlini@suse.de>
769 * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 37.
770 * docs/html/ext/howto.html: Adjust.
772 2005-06-29 Paolo Carlini <pcarlini@suse.de>
775 * include/bits/locale_facets.tcc (num_get<>::_M_extract_int,
776 num_get<>::_M_extract_float, money_get<>::_M_extract):
777 Adjust to assign the result also when digit grouping is
778 wrong (but the grammar is correct), as per 22.2.2.1.2, p11-12
779 (NB: consistently for money_get too).
780 * config/locale/generic/c_locale.cc (__convert_to_v): Do
781 not check ios_base::failbit at the outset.
782 * config/locale/gnu/c_locale.cc: Likewise.
783 * testsuite/22_locale/money_get/get/char/22131.cc: New.
784 * testsuite/22_locale/money_get/get/wchar_t/22131.cc: Likewise.
785 * testsuite/22_locale/num_get/get/char/22131.cc: Likewise.
786 * testsuite/22_locale/num_get/get/wchar_t/22131.cc: Likewise.
787 * testsuite/22_locale/num_get/get/char/12.cc: Adjust.
788 * testsuite/22_locale/num_get/get/wchar_t/12.cc: Likewise.
789 * testsuite/27_io/basic_istream/extractors_arithmetic/char/07.cc:
791 * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/07.cc:
794 2005-06-28 Paul Brook <paul@codesourcery.com>
796 * acinclude.m4 (GLIBCXX_ENABLE_SJLJ_EXCEPTIONS): Check for
798 * libsupc++/Makefile.am (sources): Add eh_call.c and eh_arm.c.
799 * libsupc++/eh_arm.cc: New file.
800 * libsupc++/eh_call.cc: New file.
801 * libsupc++/eh_catch.cc (__cxa_get_exception_ptr): Use
803 (__cxa_begin_catch): Ditto. Use __is_gxx_exception_class. Call
804 _Unwind_Complete when using the ARM EABI.
805 (__cxa_end_catch): Use __is_gxx_exception_class.
806 * libsupc++/eh_personality.cc: Define NO_SIZE_OF_ENCODED_VALUE when
808 (save_caught_exception, restore_caught_exception): New functions.
809 (_throw_typet): New typedef.
810 (get_ttype_entry, get_adjusted_ptr, check_exception_spec): Add ARM
811 EABI implementations.
812 (PERSONALITY_FUNCTION): Use new functions. Addd support for ARM EABI
814 (__cxa_unexpected): Disable when using the ARM EABI.
815 * libsupc++/eh_throw.cc (__cxa_throw): Use __GXX_INIT_EXCEPTION_CLASS.
816 (__cxa_rethrow): Use __is_gxx_exception_class. Call
817 _Unwind_RaiseException when using the ARM EABI.
818 * libsupc++/unwind-cxx.h (struct __cxa_exception): Add fields for ARM
820 (struct __cxa_eh_globals): Ditto.
821 (__cxa_call_terminate): Add prototype.
822 (__cxa_type_match, __cxa_begin_cleanup, __cxa_end_cleanup): Add
824 (__get_exception_header_from_obj, __get_exception_header_from_ue):
825 Move earlier in file.
826 (__is_gxx_exception_class, __GXX_INIT_EXCEPTION_CLASS,
827 __gxx_caught_object): New functions.
828 * aclocal.m4: Regenerate.
829 * configure: Regenerate.
830 * Makefile.in: Regenerate.
831 * include/Makefile.in: Regenerate.
832 * libmath/Makefile.in: Regenerate.
833 * libsupc++/Makefile.in: Regenerate.
834 * po/Makefile.in: Regenerate.
835 * src/Makefie.in: Regenerate.
836 * testsuite/makefile.in: Regenerate.
838 2005-06-27 Paolo Carlini <pcarlini@suse.de>
841 * include/bits/stl_tree.h (insert_unique(iterator, const _Val&),
842 insert_equal((iterator, const _Val&)): Reimplement to check both
843 before and after, as per the algorithm "ignore hint if wrong" of
846 2005-06-27 Benjamin Kosnik <bkoz@redhat.com>
847 Ami Tavory <pbassoc@gmail.com>
849 * docs/html/documentation.html: Add link for policy based
850 associative containers docs.
851 * docs/html/ext/pb_assoc/Std_hash_set_impl.jpg: New.
852 * docs/html/ext/pb_assoc/acks.html: New.
853 * docs/html/ext/pb_assoc/balls_and_bins.jpg: New.
854 * docs/html/ext/pb_assoc/basic_assoc_cntnr.html: New.
855 * docs/html/ext/pb_assoc/basic_assoc_cntnr_compound_data.html: New.
856 * docs/html/ext/pb_assoc/basic_assoc_cntnr_no_data.html: New.
857 * docs/html/ext/pb_assoc/basic_ds_tag.html: New.
858 * docs/html/ext/pb_assoc/basic_hash_assoc_cntnr.html: New.
859 * docs/html/ext/pb_assoc/basic_hash_ds_tag.html: New.
860 * docs/html/ext/pb_assoc/basic_invalidation_guarantee.html: New.
861 * docs/html/ext/pb_assoc/basic_ms_tag.html: New.
862 * docs/html/ext/pb_assoc/basic_tree_assoc_cntnr.html: New.
863 * docs/html/ext/pb_assoc/
864 basic_tree_assoc_cntnr_const_node_iterator.html: New.
865 * docs/html/ext/pb_assoc/
866 basic_tree_assoc_cntnr_node_iterator.html: New.
867 * docs/html/ext/pb_assoc/basic_tree_assoc_cntnr_rev.html: New.
868 * docs/html/ext/pb_assoc/basic_tree_assoc_cntnr_rev_it.html: New.
869 * docs/html/ext/pb_assoc/basic_tree_ds_tag.html: New.
870 * docs/html/ext/pb_assoc/cc_hash_assoc_cntnr.html: New.
871 * docs/html/ext/pb_assoc/cc_hash_ds_tag.html: New.
872 * docs/html/ext/pb_assoc/
873 cc_hash_max_collision_check_resize_trigger.html: New.
874 * docs/html/ext/pb_assoc/cc_hash_policy_cd.jpg: New.
875 * docs/html/ext/pb_assoc/cd.jpg: New.
876 * docs/html/ext/pb_assoc/component_requirements.html: New.
877 * docs/html/ext/pb_assoc/compound_data_enabled_ms_tag.html: New.
878 * docs/html/ext/pb_assoc/compound_data_type.html: New.
879 * docs/html/ext/pb_assoc/compound_ds_tag.html: New.
880 * docs/html/ext/pb_assoc/concepts.html: New.
881 * docs/html/ext/pb_assoc/contact.html: New.
882 * docs/html/ext/pb_assoc/counter_update_metadata.html: New.
883 * docs/html/ext/pb_assoc/counter_update_policy.html: New.
884 * docs/html/ext/pb_assoc/data_enabled_ms_tag.html: New.
885 * docs/html/ext/pb_assoc/design.html: New.
886 * docs/html/ext/pb_assoc/different_underlying_dss.jpg: New.
887 * docs/html/ext/pb_assoc/direct_mask_range_hashing.html: New.
888 * docs/html/ext/pb_assoc/direct_mod_range_hashing.html: New.
889 * docs/html/ext/pb_assoc/disclaimer.html: New.
890 * docs/html/ext/pb_assoc/ds_gen.html: New.
891 * docs/html/ext/pb_assoc/ds_tag_cd.jpg: New.
892 * docs/html/ext/pb_assoc/ds_traits.html: New.
893 * docs/html/ext/pb_assoc/embedded_lists_1.jpg: New.
894 * docs/html/ext/pb_assoc/embedded_lists_2.jpg: New.
895 * docs/html/ext/pb_assoc/examples.html: New.
896 * docs/html/ext/pb_assoc/exception_guarantees_specifics.html: New.
897 * docs/html/ext/pb_assoc/find_invalidation_guarantee.html: New.
898 * docs/html/ext/pb_assoc/find_iterators_cd.jpg: New.
899 * docs/html/ext/pb_assoc/find_iterators_range_ops_1.jpg: New.
900 * docs/html/ext/pb_assoc/find_iterators_range_ops_2.jpg: New.
901 * docs/html/ext/pb_assoc/generics.html: New.
902 * docs/html/ext/pb_assoc/gp_hash_assoc_cntnr.html: New.
903 * docs/html/ext/pb_assoc/gp_hash_ds_tag.html: New.
904 * docs/html/ext/pb_assoc/gp_hash_policy_cd.jpg: New.
905 * docs/html/ext/pb_assoc/hash_and_probe_general.html: New.
906 * docs/html/ext/pb_assoc/hash_based_containers.html: New.
907 * docs/html/ext/pb_assoc/hash_cd.jpg: New.
908 * docs/html/ext/pb_assoc/hash_exponential_size_policy.html: New.
909 * docs/html/ext/pb_assoc/hash_fn.html: New.
910 * docs/html/ext/pb_assoc/hash_load_check_resize_trigger.html: New.
911 * docs/html/ext/pb_assoc/hash_policies.html: New.
912 * docs/html/ext/pb_assoc/hash_policy_cd.jpg: New.
913 * docs/html/ext/pb_assoc/hash_prime_size_policy.html: New.
914 * docs/html/ext/pb_assoc/hash_range_hashing_seq_diagram.jpg: New.
915 * docs/html/ext/pb_assoc/hash_range_hashing_seq_diagram2.jpg: New.
916 * docs/html/ext/pb_assoc/hash_ranged_hash_range_hashing_fns.jpg: New.
917 * docs/html/ext/pb_assoc/hash_standard_resize_policy.html: New.
918 * docs/html/ext/pb_assoc/home.html: New.
919 * docs/html/ext/pb_assoc/index.html: New.
920 * docs/html/ext/pb_assoc/insert_resize_sequence_diagram1.jpg: New.
921 * docs/html/ext/pb_assoc/insert_resize_sequence_diagram2.jpg: New.
922 * docs/html/ext/pb_assoc/insert_resize_sequence_diagram3.jpg: New.
923 * docs/html/ext/pb_assoc/insert_type_methods.html: New.
924 * docs/html/ext/pb_assoc/interface.html: New.
925 * docs/html/ext/pb_assoc/interval_node_invariants.jpg: New.
926 * docs/html/ext/pb_assoc/introduction.html: New.
927 * docs/html/ext/pb_assoc/invalidation_guarantee_cd.jpg: New.
928 * docs/html/ext/pb_assoc/invalidation_guarantee_erase.jpg: New.
929 * docs/html/ext/pb_assoc/lib_download.html: New.
930 * docs/html/ext/pb_assoc/linear_probe_fn.html: New.
931 * docs/html/ext/pb_assoc/list_updates.html: New.
932 * docs/html/ext/pb_assoc/lu_assoc_cntnr.html: New.
933 * docs/html/ext/pb_assoc/lu_based_containers.html: New.
934 * docs/html/ext/pb_assoc/lu_cd.jpg: New.
935 * docs/html/ext/pb_assoc/lu_ds_tag.html: New.
936 * docs/html/ext/pb_assoc/lu_ops.jpg: New.
937 * docs/html/ext/pb_assoc/mmap_value_utils.html: New.
938 * docs/html/ext/pb_assoc/motivation.html: New.
939 * docs/html/ext/pb_assoc/move_to_front_update_metadata.html: New.
940 * docs/html/ext/pb_assoc/move_to_front_update_policy.html: New.
941 * docs/html/ext/pb_assoc/ms_cd.jpg: New.
942 * docs/html/ext/pb_assoc/ms_gen.html: New.
943 * docs/html/ext/pb_assoc/ms_tag_cd.jpg: New.
944 * docs/html/ext/pb_assoc/ms_traits.html: New.
945 * docs/html/ext/pb_assoc/node_invariant_invalidations.jpg: New.
946 * docs/html/ext/pb_assoc/node_invariants.html: New.
947 * docs/html/ext/pb_assoc/node_invariants.jpg: New.
948 * docs/html/ext/pb_assoc/non_unique_mapping.html: New.
949 * docs/html/ext/pb_assoc/non_unique_mapping_containers.jpg: New.
950 * docs/html/ext/pb_assoc/null_data_type.html: New.
951 * docs/html/ext/pb_assoc/null_hash_fn.html: New.
952 * docs/html/ext/pb_assoc/null_probe_fn.html: New.
953 * docs/html/ext/pb_assoc/order_by_key.html: New.
954 * docs/html/ext/pb_assoc/order_statistics_key.html: New.
955 * docs/html/ext/pb_assoc/order_statistics_key_cmp.html: New.
956 * docs/html/ext/pb_assoc/order_statistics_node_updator.html: New.
957 * docs/html/ext/pb_assoc/ov_tree_ds_tag.html: New.
958 * docs/html/ext/pb_assoc/overview.html: New.
959 * docs/html/ext/pb_assoc/pb_assoc_ex.html: New.
960 * docs/html/ext/pb_assoc/portability.html: New.
961 * docs/html/ext/pb_assoc/quadratic_probe_fn.html: New.
962 * docs/html/ext/pb_assoc/range_invalidation_guarantee.html: New.
963 * docs/html/ext/pb_assoc/rank_node_invariants.jpg: New.
964 * docs/html/ext/pb_assoc/rationale_null_node_updator.jpg: New.
965 * docs/html/ext/pb_assoc/rb_tree_ds_tag.html: New.
966 * docs/html/ext/pb_assoc/reference_iterator.jpg: New.
967 * docs/html/ext/pb_assoc/references.html: New.
968 * docs/html/ext/pb_assoc/regression_tests.html: New.
969 * docs/html/ext/pb_assoc/resize_general.html: New.
970 * docs/html/ext/pb_assoc/resize_policies.html: New.
971 * docs/html/ext/pb_assoc/resize_policy_cd.jpg: New.
972 * docs/html/ext/pb_assoc/restoring_node_invariants.jpg: New.
973 * docs/html/ext/pb_assoc/sample_node_updator.hpp: New.
974 * docs/html/ext/pb_assoc/sample_probe_fn.hpp: New.
975 * docs/html/ext/pb_assoc/sample_probe_fn.html: New.
976 * docs/html/ext/pb_assoc/sample_range_hashing.hpp: New.
977 * docs/html/ext/pb_assoc/sample_range_hashing.html: New.
978 * docs/html/ext/pb_assoc/sample_ranged_hash_fn.hpp: New.
979 * docs/html/ext/pb_assoc/sample_ranged_hash_fn.html: New.
980 * docs/html/ext/pb_assoc/sample_ranged_probe_fn.hpp: New.
981 * docs/html/ext/pb_assoc/sample_ranged_probe_fn.html: New.
982 * docs/html/ext/pb_assoc/sample_resize_policy.hpp: New.
983 * docs/html/ext/pb_assoc/sample_resize_policy.html: New.
984 * docs/html/ext/pb_assoc/sample_resize_trigger.hpp: New.
985 * docs/html/ext/pb_assoc/sample_size_policy.hpp: New.
986 * docs/html/ext/pb_assoc/sample_update_policy.hpp: New.
987 * docs/html/ext/pb_assoc/size_policies_general.html: New.
988 * docs/html/ext/pb_assoc/splay_tree_ds_tag.html: New.
989 * docs/html/ext/pb_assoc/timing_tests.html: New.
990 * docs/html/ext/pb_assoc/toc.html: New.
991 * docs/html/ext/pb_assoc/tree_assoc_cntnr.html: New.
992 * docs/html/ext/pb_assoc/
993 tree_assoc_cntnr_const_node_iterator.html: New.
994 * docs/html/ext/pb_assoc/tree_assoc_cntnr_node_iterator.html: New.
995 * docs/html/ext/pb_assoc/tree_based_containers.html: New.
996 * docs/html/ext/pb_assoc/tree_cd.jpg: New.
997 * docs/html/ext/pb_assoc/trigger_policies_general.html: New.
998 * docs/html/ext/pb_assoc/tutorial.html: New.
999 * docs/html/ext/pb_assoc/update_seq_diagram.jpg: New.
1000 * include/Makefile.am: Add assoc_srcdir, assoc_builddir, assoc_subdir,
1002 * include/Makefile.in: Regenerate.
1003 * include/ext/typelist.h: New.
1004 * include/ext/pb_assoc/assoc_cntnr.hpp: New.
1005 * include/ext/pb_assoc/data_type.hpp: New.
1006 * include/ext/pb_assoc/ds_trait.hpp: New.
1007 * include/ext/pb_assoc/exception.hpp: New.
1008 * include/ext/pb_assoc/hash_policy.hpp: New.
1009 * include/ext/pb_assoc/lu_policy.hpp: New.
1010 * include/ext/pb_assoc/ms_trait.hpp: New.
1011 * include/ext/pb_assoc/tree_policy.hpp: New.
1012 * include/ext/pb_assoc/trivial_iterator_def.hpp: New.
1013 * include/ext/pb_assoc/detail/assoc_cntnr_base.hpp: New.
1014 * include/ext/pb_assoc/detail/cond_dealtor.hpp: New.
1015 * include/ext/pb_assoc/detail/constructors_destructor_fn_imps.hpp: New.
1016 * include/ext/pb_assoc/detail/ds_trait_imp.hpp: New.
1017 * include/ext/pb_assoc/detail/hash_types_traits.hpp: New.
1018 * include/ext/pb_assoc/detail/map_debug_base.hpp: New.
1019 * include/ext/pb_assoc/detail/mapping_level_imp.hpp: New.
1020 * include/ext/pb_assoc/detail/ms_category_imp.hpp: New.
1021 * include/ext/pb_assoc/detail/ms_trait_imp.hpp: New.
1022 * include/ext/pb_assoc/detail/order_statistics_imp.hpp: New.
1023 * include/ext/pb_assoc/detail/standard_policies.hpp: New.
1024 * include/ext/pb_assoc/detail/standard_sizes.hpp: New.
1025 * include/ext/pb_assoc/detail/type_utils.hpp: New.
1026 * include/ext/pb_assoc/detail/typelist.hpp: New.
1027 * include/ext/pb_assoc/detail/types_traits.hpp: New.
1028 * include/ext/pb_assoc/detail/basic_assoc_cntnr/
1029 constructor_destructor_fn_imps.hpp: New.
1030 * include/ext/pb_assoc/detail/basic_assoc_cntnr/
1031 constructors_destructor_fn_imps.hpp: New.
1032 * include/ext/pb_assoc/detail/basic_assoc_cntnr/d_extract_key.hpp: New.
1033 * include/ext/pb_assoc/detail/basic_assoc_cntnr/
1034 d_find_fn_imps.hpp: New.
1035 * include/ext/pb_assoc/detail/basic_assoc_cntnr/
1036 d_insert_fn_imps.hpp: New.
1037 * include/ext/pb_assoc/detail/basic_assoc_cntnr/erase_fn_imps.hpp: New.
1038 * include/ext/pb_assoc/detail/basic_assoc_cntnr/extract_key.hpp: New.
1039 * include/ext/pb_assoc/detail/basic_assoc_cntnr/info_fn_imps.hpp: New.
1040 * include/ext/pb_assoc/detail/basic_assoc_cntnr/
1041 insert_fn_imps.hpp: New.
1042 * include/ext/pb_assoc/detail/basic_assoc_cntnr/
1043 iterators_fn_imps.hpp: New.
1044 * include/ext/pb_assoc/detail/basic_hash_assoc_cntnr/
1045 constructor_destructor_fn_imps.hpp: New.
1046 * include/ext/pb_assoc/detail/basic_hash_assoc_cntnr/
1047 constructors_destructor_fn_imps.hpp: New.
1048 * include/ext/pb_assoc/detail/basic_hash_assoc_cntnr/
1049 resize_fn_imps.hpp: New.
1050 * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
1051 constructor_destructor_fn_imps.hpp: New.
1052 * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
1053 constructors_destructor_fn_imps.hpp: New.
1054 * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
1055 erase_fn_imps.hpp: New.
1056 * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
1057 node_iteration_fn_imps.hpp: New.
1058 * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
1059 policy_access_fn_imps.hpp: New.
1060 * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
1061 r_erase_fn_imps.hpp: New.
1062 * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
1063 r_range_iteration_fn_imps.hpp: New.
1064 * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
1065 range_iteration_fn_imps.hpp: New.
1066 * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
1067 split_join_fn_imps.hpp: New.
1068 * include/ext/pb_assoc/detail/bin_search_tree_/
1069 bin_search_tree_.hpp: New.
1070 * include/ext/pb_assoc/detail/bin_search_tree_/
1071 cond_dtor_entry_dealtor.hpp: New.
1072 * include/ext/pb_assoc/detail/bin_search_tree_/
1073 cond_key_dtor_entry_dealtor.hpp: New.
1074 * include/ext/pb_assoc/detail/bin_search_tree_/
1075 constructors_destructor_fn_imps.hpp: New.
1076 * include/ext/pb_assoc/detail/bin_search_tree_/debug_fn_imps.hpp: New.
1077 * include/ext/pb_assoc/detail/bin_search_tree_/erase_fn_imps.hpp: New.
1078 * include/ext/pb_assoc/detail/bin_search_tree_/find_fn_imps.hpp: New.
1079 * include/ext/pb_assoc/detail/bin_search_tree_/find_iterators.hpp: New.
1080 * include/ext/pb_assoc/detail/bin_search_tree_/info_fn_imps.hpp: New.
1081 * include/ext/pb_assoc/detail/bin_search_tree_/insert_fn_imps.hpp: New.
1082 * include/ext/pb_assoc/detail/bin_search_tree_/
1083 iterators_fn_imps.hpp: New.
1084 * include/ext/pb_assoc/detail/bin_search_tree_/node_iterators.hpp: New.
1085 * include/ext/pb_assoc/detail/bin_search_tree_/
1086 r_erase_fn_imps.hpp: New.
1087 * include/ext/pb_assoc/detail/bin_search_tree_/rotate_fn_imps.hpp: New.
1088 * include/ext/pb_assoc/detail/bin_search_tree_/
1089 split_join_fn_imps.hpp: New.
1090 * include/ext/pb_assoc/detail/cc_hash_assoc_cntnr/
1091 constructor_destructor_fn_imps.hpp: New.
1092 * include/ext/pb_assoc/detail/cc_ht_map_/cc_ht_map_.hpp: New.
1093 * include/ext/pb_assoc/detail/cc_ht_map_/cmp_fn_imps.hpp: New.
1094 * include/ext/pb_assoc/detail/cc_ht_map_/
1095 cond_key_dtor_entry_dealtor.hpp: New.
1096 * include/ext/pb_assoc/detail/cc_ht_map_/
1097 constructor_destructor_fn_imps.hpp: New.
1098 * include/ext/pb_assoc/detail/cc_ht_map_/
1099 constructor_destructor_no_store_hash_fn_imps.hpp: New.
1100 * include/ext/pb_assoc/detail/cc_ht_map_/
1101 constructor_destructor_store_hash_fn_imps.hpp: New.
1102 * include/ext/pb_assoc/detail/cc_ht_map_/debug_fn_imps.hpp: New.
1103 * include/ext/pb_assoc/detail/cc_ht_map_/
1104 debug_no_store_hash_fn_imps.hpp: New.
1105 * include/ext/pb_assoc/detail/cc_ht_map_/
1106 debug_store_hash_fn_imps.hpp: New.
1107 * include/ext/pb_assoc/detail/cc_ht_map_/entry_list_fn_imps.hpp: New.
1108 * include/ext/pb_assoc/detail/cc_ht_map_/erase_fn_imps.hpp: New.
1109 * include/ext/pb_assoc/detail/cc_ht_map_/
1110 erase_no_store_hash_fn_imps.hpp: New.
1111 * include/ext/pb_assoc/detail/cc_ht_map_/
1112 erase_store_hash_fn_imps.hpp: New.
1113 * include/ext/pb_assoc/detail/cc_ht_map_/
1114 find_fn_imps.hpp: New.
1115 * include/ext/pb_assoc/detail/cc_ht_map_/
1116 find_no_store_hash_fn_imps.hpp: New.
1117 * include/ext/pb_assoc/detail/cc_ht_map_/
1118 find_store_hash_fn_imps.hpp: New.
1119 * include/ext/pb_assoc/detail/cc_ht_map_/info_fn_imps.hpp: New.
1120 * include/ext/pb_assoc/detail/cc_ht_map_/insert_fn_imps.hpp: New.
1121 * include/ext/pb_assoc/detail/cc_ht_map_/
1122 insert_no_store_hash_fn_imps.hpp: New.
1123 * include/ext/pb_assoc/detail/cc_ht_map_/
1124 insert_store_hash_fn_imps.hpp: New.
1125 * include/ext/pb_assoc/detail/cc_ht_map_/iterators_fn_imps.hpp: New.
1126 * include/ext/pb_assoc/detail/cc_ht_map_/
1127 policy_access_fn_imps.hpp: New.
1128 * include/ext/pb_assoc/detail/cc_ht_map_/resize_fn_imps.hpp: New.
1129 * include/ext/pb_assoc/detail/cc_ht_map_/
1130 resize_no_store_hash_fn_imps.hpp: New.
1131 * include/ext/pb_assoc/detail/cc_ht_map_/
1132 resize_store_hash_fn_imps.hpp: New.
1133 * include/ext/pb_assoc/detail/cc_ht_map_/size_fn_imps.hpp: New.
1134 * include/ext/pb_assoc/detail/cc_ht_map_/standard_policies.hpp: New.
1135 * include/ext/pb_assoc/detail/eq_fn/eq_by_less.hpp: New.
1136 * include/ext/pb_assoc/detail/eq_fn/hash_eq_fn.hpp: New.
1137 * include/ext/pb_assoc/detail/gp_hash_assoc_cntnr/
1138 constructor_destructor_fn_imps.hpp: New.
1139 * include/ext/pb_assoc/detail/gp_ht_map_/
1140 constructor_destructor_fn_imps.hpp: New.
1141 * include/ext/pb_assoc/detail/gp_ht_map_/
1142 constructor_destructor_no_store_hash_fn_imps.hpp: New.
1143 * include/ext/pb_assoc/detail/gp_ht_map_/
1144 constructor_destructor_store_hash_fn_imps.hpp: New.
1145 * include/ext/pb_assoc/detail/gp_ht_map_/debug_fn_imps.hpp: New.
1146 * include/ext/pb_assoc/detail/gp_ht_map_/
1147 debug_no_store_hash_fn_imps.hpp: New.
1148 * include/ext/pb_assoc/detail/gp_ht_map_/
1149 debug_store_hash_fn_imps.hpp: New.
1150 * include/ext/pb_assoc/detail/gp_ht_map_/erase_fn_imps.hpp: New.
1151 * include/ext/pb_assoc/detail/gp_ht_map_/
1152 erase_no_store_hash_fn_imps.hpp: New.
1153 * include/ext/pb_assoc/detail/gp_ht_map_/
1154 erase_store_hash_fn_imps.hpp: New.
1155 * include/ext/pb_assoc/detail/gp_ht_map_/find_fn_imps.hpp: New.
1156 * include/ext/pb_assoc/detail/gp_ht_map_/
1157 find_no_store_hash_fn_imps.hpp: New.
1158 * include/ext/pb_assoc/detail/gp_ht_map_/
1159 find_store_hash_fn_imps.hpp: New.
1160 * include/ext/pb_assoc/detail/gp_ht_map_/gp_ht_map_.hpp: New.
1161 * include/ext/pb_assoc/detail/gp_ht_map_/info_fn_imps.hpp: New.
1162 * include/ext/pb_assoc/detail/gp_ht_map_/insert_fn_imps.hpp: New.
1163 * include/ext/pb_assoc/detail/gp_ht_map_/
1164 insert_no_store_hash_fn_imps.hpp: New.
1165 * include/ext/pb_assoc/detail/gp_ht_map_/
1166 insert_store_hash_fn_imps.hpp: New.
1167 * include/ext/pb_assoc/detail/gp_ht_map_/iterator_fn_imps.hpp: New.
1168 * include/ext/pb_assoc/detail/gp_ht_map_/
1169 policy_access_fn_imps.hpp: New.
1170 * include/ext/pb_assoc/detail/gp_ht_map_/resize_fn_imps.hpp: New.
1171 * include/ext/pb_assoc/detail/gp_ht_map_/
1172 resize_no_store_hash_fn_imps.hpp: New.
1173 * include/ext/pb_assoc/detail/gp_ht_map_/
1174 resize_store_hash_fn_imps.hpp: New.
1175 * include/ext/pb_assoc/detail/hash_fn/
1176 direct_mask_range_hashing_imp.hpp: New.
1177 * include/ext/pb_assoc/detail/hash_fn/
1178 direct_mod_range_hashing_imp.hpp: New.
1179 * include/ext/pb_assoc/detail/hash_fn/linear_probe_fn_imp.hpp: New.
1180 * include/ext/pb_assoc/detail/hash_fn/
1181 mask_based_range_hashing.hpp: New.
1182 * include/ext/pb_assoc/detail/hash_fn/mod_based_range_hashing.hpp: New.
1183 * include/ext/pb_assoc/detail/hash_fn/probe_fn_base.hpp: New.
1184 * include/ext/pb_assoc/detail/hash_fn/quadratic_probe_fn_imp.hpp: New.
1185 * include/ext/pb_assoc/detail/hash_fn/ranged_hash_fn.hpp: New.
1186 * include/ext/pb_assoc/detail/hash_fn/ranged_probe_fn.hpp: New.
1187 * include/ext/pb_assoc/detail/lu_assoc_cntnr/
1188 constructor_destructor_fn_imps.hpp: New.
1189 * include/ext/pb_assoc/detail/lu_assoc_cntnr/
1190 policy_access_fn_imps.hpp: New.
1191 * include/ext/pb_assoc/detail/lu_map_/
1192 constructor_destructor_fn_imps.hpp: New.
1193 * include/ext/pb_assoc/detail/lu_map_/debug_fn_imps.hpp: New.
1194 * include/ext/pb_assoc/detail/lu_map_/erase_fn_imps.hpp: New.
1195 * include/ext/pb_assoc/detail/lu_map_/find_fn_imps.hpp: New.
1196 * include/ext/pb_assoc/detail/lu_map_/info_fn_imps.hpp: New.
1197 * include/ext/pb_assoc/detail/lu_map_/insert_fn_imps.hpp: New.
1198 * include/ext/pb_assoc/detail/lu_map_/iterators_fn_imps.hpp: New.
1199 * include/ext/pb_assoc/detail/lu_map_/lu_map_.hpp: New.
1200 * include/ext/pb_assoc/detail/lu_map_/policy_access_fn_imps.hpp: New.
1201 * include/ext/pb_assoc/detail/lu_policy/
1202 counter_lu_metadata_imp.hpp: New.
1203 * include/ext/pb_assoc/detail/lu_policy/counter_lu_policy_imp.hpp: New.
1204 * include/ext/pb_assoc/detail/lu_policy/mtf_lu_policy_imp.hpp: New.
1205 * include/ext/pb_assoc/detail/ov_tree_map_/cond_dtor.hpp: New.
1206 * include/ext/pb_assoc/detail/ov_tree_map_/
1207 constructors_destructor_fn_imps.hpp: New.
1208 * include/ext/pb_assoc/detail/ov_tree_map_/debug_fn_imps.hpp: New.
1209 * include/ext/pb_assoc/detail/ov_tree_map_/erase_fn_imps.hpp: New.
1210 * include/ext/pb_assoc/detail/ov_tree_map_/find_fn_imps.hpp: New.
1211 * include/ext/pb_assoc/detail/ov_tree_map_/info_fn_imps.hpp: New.
1212 * include/ext/pb_assoc/detail/ov_tree_map_/insert_fn_imps.hpp: New.
1213 * include/ext/pb_assoc/detail/ov_tree_map_/iterators_fn_imps.hpp: New.
1214 * include/ext/pb_assoc/detail/ov_tree_map_/node_iterators.hpp: New.
1215 * include/ext/pb_assoc/detail/ov_tree_map_/ov_tree_map_.hpp: New.
1216 * include/ext/pb_assoc/detail/ov_tree_map_/split_join_fn_imps.hpp: New.
1217 * include/ext/pb_assoc/detail/rb_tree_map_/
1218 constructors_destructor_fn_imps.hpp: New.
1219 * include/ext/pb_assoc/detail/rb_tree_map_/debug_fn_imps.hpp: New.
1220 * include/ext/pb_assoc/detail/rb_tree_map_/erase_fn_imps.hpp: New.
1221 * include/ext/pb_assoc/detail/rb_tree_map_/find_fn_imps.hpp: New.
1222 * include/ext/pb_assoc/detail/rb_tree_map_/info_fn_imps.hpp: New.
1223 * include/ext/pb_assoc/detail/rb_tree_map_/insert_fn_imps.hpp: New.
1224 * include/ext/pb_assoc/detail/rb_tree_map_/node.hpp: New.
1225 * include/ext/pb_assoc/detail/rb_tree_map_/rb_tree_.hpp: New.
1226 * include/ext/pb_assoc/detail/rb_tree_map_/split_join_fn_imps.hpp: New.
1227 * include/ext/pb_assoc/detail/resize_policy/
1228 cc_hash_max_collision_resize_trigger_imp.hpp: New.
1229 * include/ext/pb_assoc/detail/resize_policy/
1230 hash_exponential_size_policy_imp.hpp: New.
1231 * include/ext/pb_assoc/detail/resize_policy/
1232 hash_load_check_resize_trigger_imp.hpp: New.
1233 * include/ext/pb_assoc/detail/resize_policy/
1234 hash_prime_size_policy_imp.hpp: New.
1235 * include/ext/pb_assoc/detail/resize_policy/
1236 hash_standard_resize_policy_imp.hpp: New.
1237 * include/ext/pb_assoc/detail/resize_policy/
1238 ht_prime_size_policy_imp.hpp: New.
1239 * include/ext/pb_assoc/detail/resize_policy/size_base.hpp: New.
1240 * include/ext/pb_assoc/detail/splay_tree_/
1241 constructors_destructor_fn_imps.hpp: New.
1242 * include/ext/pb_assoc/detail/splay_tree_/debug_fn_imps.hpp: New.
1243 * include/ext/pb_assoc/detail/splay_tree_/erase_fn_imps.hpp: New.
1244 * include/ext/pb_assoc/detail/splay_tree_/find_fn_imps.hpp: New.
1245 * include/ext/pb_assoc/detail/splay_tree_/info_fn_imps.hpp: New.
1246 * include/ext/pb_assoc/detail/splay_tree_/insert_fn_imps.hpp: New.
1247 * include/ext/pb_assoc/detail/splay_tree_/node.hpp: New.
1248 * include/ext/pb_assoc/detail/splay_tree_/splay_fn_imps.hpp: New.
1249 * include/ext/pb_assoc/detail/splay_tree_/splay_tree_.hpp: New.
1250 * include/ext/pb_assoc/detail/splay_tree_/split_join_fn_imps.hpp: New.
1251 * include/ext/pb_assoc/detail/tree_assoc_cntnr/
1252 constructor_destructor_fn_imps.hpp: New.
1253 * include/ext/pb_assoc/detail/tree_policy/
1254 null_node_updator_imp.hpp: New.
1255 * include/ext/pb_assoc/detail/tree_policy/
1256 order_statistics_imp.hpp: New.
1257 * include/ext/pb_assoc/detail/typelist/typelist_append.hpp: New.
1258 * include/ext/pb_assoc/detail/typelist/typelist_apply.hpp: New.
1259 * include/ext/pb_assoc/detail/typelist/typelist_at_index.hpp: New.
1260 * include/ext/pb_assoc/detail/typelist/typelist_contains.hpp: New.
1261 * include/ext/pb_assoc/detail/typelist/typelist_filter.hpp: New.
1262 * include/ext/pb_assoc/detail/typelist/typelist_transform.hpp: New.
1263 * include/ext/pb_assoc/detail/typelist/
1264 typelist_typelist_append.hpp: New.
1265 * include/ext/pb_assoc/detail/unordered_iterator/
1266 const_find_iterator.hpp: New.
1267 * include/ext/pb_assoc/detail/unordered_iterator/
1268 const_iterator.hpp: New.
1269 * include/ext/pb_assoc/detail/unordered_iterator/
1270 find_iterator.hpp: New.
1271 * include/ext/pb_assoc/detail/unordered_iterator/iterator.hpp: New.
1272 * include/ext/pb_assoc/detail/value_type_adapter/
1273 constructor_destructor_and_related.hpp: New.
1274 * include/ext/pb_assoc/detail/value_type_adapter/
1275 erase_fn_imps.hpp: New.
1276 * include/ext/pb_assoc/detail/value_type_adapter/
1277 erase_if_pred.hpp: New.
1278 * include/ext/pb_assoc/detail/value_type_adapter/find_fn_imps.hpp: New.
1279 * include/ext/pb_assoc/detail/value_type_adapter/info_fn_imps.hpp: New.
1280 * include/ext/pb_assoc/detail/value_type_adapter/
1281 insert_fn_imps.hpp: New.
1282 * include/ext/pb_assoc/detail/value_type_adapter/
1283 invalidation_guarantee_selector.hpp: New.
1284 * include/ext/pb_assoc/detail/value_type_adapter/
1285 it_value_type_traits.hpp: New.
1286 * include/ext/pb_assoc/detail/value_type_adapter/iterator.hpp: New.
1287 * include/ext/pb_assoc/detail/value_type_adapter/
1288 iterator_fn_imps.hpp: New.
1289 * include/ext/pb_assoc/detail/value_type_adapter/ref_pair.hpp: New.
1290 * include/ext/pb_assoc/detail/value_type_adapter/
1291 value_type_adapter.hpp: New.
1292 * include/ext/pb_assoc/detail/value_type_adapter/
1293 value_type_traits.hpp: New.
1294 * testsuite/Makefile.am (CLEANFILES): Add .o, .dat, .cc.
1295 * testsuite/Makefile.in: Regenerate.
1296 * testsuite/testsuite_common_types.h: New.
1297 * testsuite/testsuite_visualization.h: New.
1298 * testsuite/ext/pb_assoc/example/basic_map.cc: New.
1299 * testsuite/ext/pb_assoc/example/basic_multimap.cc: New.
1300 * testsuite/ext/pb_assoc/example/basic_set.cc: New.
1301 * testsuite/ext/pb_assoc/example/ds_traits.cc: New.
1302 * testsuite/ext/pb_assoc/example/erase_if.cc: New.
1303 * testsuite/ext/pb_assoc/example/extract_key.cc: New.
1304 * testsuite/ext/pb_assoc/example/hash_find_neg.cc: New.
1305 * testsuite/ext/pb_assoc/example/hash_illegal_resize.cc: New.
1306 * testsuite/ext/pb_assoc/example/hash_initial_size.cc: New.
1307 * testsuite/ext/pb_assoc/example/hash_load_set_change.cc: New.
1308 * testsuite/ext/pb_assoc/example/hash_mod.cc: New.
1309 * testsuite/ext/pb_assoc/example/hash_resize.cc: New.
1310 * testsuite/ext/pb_assoc/example/hash_resize_neg.cc: New.
1311 * testsuite/ext/pb_assoc/example/hash_shift_mask.cc: New.
1312 * testsuite/ext/pb_assoc/example/mapping_level.cc: New.
1313 * testsuite/ext/pb_assoc/example/mapping_level_neg.cc: New.
1314 * testsuite/ext/pb_assoc/example/ms_traits.cc: New.
1315 * testsuite/ext/pb_assoc/example/ranged_hash.cc: New.
1316 * testsuite/ext/pb_assoc/example/store_hash.cc: New.
1317 * testsuite/ext/pb_assoc/example/tree_intervals.cc: New.
1318 * testsuite/ext/pb_assoc/example/tree_join.cc: New.
1319 * testsuite/ext/pb_assoc/example/tree_order_statistics.cc: New.
1320 * testsuite/ext/pb_assoc/example/tree_order_statistics_join.cc: New.
1321 * testsuite/ext/pb_assoc/example/tree_split.cc: New.
1322 * testsuite/performance/20_util/allocator/(insert.cc,
1323 insert_insert.cc, list_sort_search.cc, map_mt_find.cc, map_thread.cc,
1324 producer_consumer.cc): Recast to use typelists and move to...
1325 * testsuite/performance/23_containers/find/map.cc: New.
1326 * testsuite/performance/23_containers/index/map.cc: New.
1327 * testsuite/performance/23_containers/insert/associative.cc: New.
1328 * testsuite/performance/23_containers/insert/sequence.cc: New.
1329 * testsuite/performance/23_containers/insert_erase/associative.cc: New.
1330 * testsuite/performance/23_containers/producer_consumer/
1331 (associative.cc, sequence.cc): New.
1332 * testsuite/performance/23_containers/sort_search/list.cc: New.
1333 * testsuite/performance/23_containers/container_benchmark.cc: Remove.
1334 * testsuite/performance/23_containers/map_create_fill.cc: Move...
1335 * testsuite/performance/23_containers/create/map.cc: ...here.
1336 * testsuite/performance/23_containers/set_create_from_sorted.cc: Move.
1337 * testsuite/performance/23_containers/create_from_sorted/set.cc: here.
1338 * testsuite/performance/23_containers/list_create_fill_sort.cc: Move...
1339 * testsuite/performance/23_containers/create_sort/list.cc: ...here.
1340 * testsuite/performance/23_containers/set_insert_from_sorted.cc: Move.
1341 * testsuite/performance/23_containers/insert_from_sorted/set.cc: here.
1343 2005-06-23 Jakub Jelinek <jakub@redhat.com>
1346 * src/compatibility.cc (_GLIBCXX_SYMVER_COMPATIBILITY): Remove.
1347 (istreambuf_iterator, basic_fstream, basic_ifstream, basic_ofstream,
1348 _M_copy, _M_move, _M_assign, _M_disjunct, _M_check_length,
1349 _M_set_length_and_sharable, ignore, eq): Define to XX suffixed
1351 (ignore (streamsize)): Remove _W prefixed aliases.
1352 (_GLIBCXX_3_4_SYMVER_SPECIAL, _GLIBCXX_3_4_5_SYMVER_SPECIAL,
1353 _GLIBCXX_APPLY_SYMVER_SPECIAL): Remove.
1354 (_GLIBCXX_3_4_SYMVER, _GLIBCXX_3_4_5_SYMVER): Add XXname argument.
1355 Use #XXname instead of #name as the alias argument.
1356 * config/abi/compatibility.h: Replace uses of
1357 _GLIBCXX_APPLY_SYMVER_SPECIAL with _GLIBCXX_APPLY_SYMVER. Always
1358 pass 2 arguments to the _GLIBCXX_APPLY_SYMVER macro.
1359 * include/bits/char_traits.h (char_traits::eq): Revert 2005-06-15
1361 * acinclude.m4: Decrease glibcxx_min_gnu_ld_version back to 21400.
1362 * configure: Rebuilt.
1364 2005-06-19 Benjamin Kosnik <bkoz@redhat.com>
1367 * acinclude.m4 (GLIBCXX_CONFIGURE_TESTSUITE): Remove
1368 GLIBCXX_TEST_ABI. Remove duplicate _GLIBCXX_ASM_SYMVER define.
1369 Don't enable abi testing unless versioned.
1370 * configure: Regenerate.
1371 * testsuite/Makefile.am (check-abi): Remove conditional.
1372 * testsuite/Makefile.in: Regenerate.
1373 * testsuite/libstdc++-abi/abi.exp: Call build_support, then check
1374 v3-symver before proceeding.
1375 * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Set v3-symvers
1378 2005-06-17 Paolo Carlini <pcarlini@suse.de>
1380 Port from libstdcxx_so_7-branch:
1381 2005-01-12 Christopher Jefferson <chris@bubblescope.net>
1383 * include/bits/stl_function.h (mem_fun_t, const_mem_fun_t,
1384 mem_fun_ref_t, const_mem_fun_ref_t, mem_fun1_t, const_mem_fun1_t,
1385 mem_fun1_ref_t, const_mem_fun1_ref_t): Remove overloads for void
1386 return type, just an old HP/SGI workaround.
1387 * testsuite/20_util/functional/binders.cc: Move to...
1388 * testsuite/20_util/functional/binders/3113.cc: ...here.
1389 * testsuite/20_util/functional/binders/1.cc: New.
1391 2005-06-17 Jonathan Wakely <redi@gcc.gnu.org>
1393 * docs/html/21_strings/gotw29a.txt: Update code to corrected version.
1395 2005-06-17 Jakub Jelinek <jakub@redhat.com>
1396 Benjamin Kosnik <bkoz@redhat.com>
1398 * config/abi/alpha-linux-gnu/baseline_symbols.txt: Update.
1399 * config/abi/hppa-linux-gnu/baseline_symbols.txt: Same.
1400 * config/abi/mips-linux-gnu/baseline_symbols.txt: Same.
1401 * config/abi/sparc-linux-gnu/baseline_symbols.txt: Same.
1403 * config/abi/alpha-freebsd5/baseline_symbols.txt: Remove.
1404 * config/abi/i386-freebsd4/baseline_symbols.txt: Same.
1405 * config/abi/i386-freebsd5/baseline_symbols.txt: Same.
1406 * config/abi/sparc-freebsd5/baseline_symbols.txt: Same.
1408 * config/abi/arm-linux-gnu/baseline_symbols.txt: Remove.
1409 * config/abi/m68k-linux-gnu/baseline_symbols.txt: Same.
1411 2005-06-17 Jakub Jelinek <jakub@redhat.com>
1413 * config/abi/ia64-linux-gnu/baseline_symbols.txt: Update.
1414 * config/abi/s390x-linux-gnu/baseline_symbols.txt: Update.
1415 * config/abi/s390-linux-gnu/baseline_symbols.txt: Update.
1416 * config/abi/x86_64-linux-gnu/baseline_symbols.txt: Update.
1417 * config/abi/x86_64-linux-gnu/32/baseline_symbols.txt: Update.
1418 * config/abi/powerpc-linux-gnu/baseline_symbols.txt: Update.
1419 * config/abi/i486-linux-gnu/baseline_symbols.txt: Update.
1420 * config/abi/i386-linux-gnu/baseline_symbols.txt: Update.
1421 * config/abi/powerpc64-linux-gnu/baseline_symbols.txt: New file.
1422 * config/abi/powerpc64-linux-gnu/32/baseline_symbols.txt: New file.
1424 2005-06-16 Jakub Jelinek <jakub@redhat.com>
1426 * src/compatibility.cc: Include bits/c++config.h first.
1427 (_GLIBCXX_SYMVER_COMPATIBILITY): Define if _GLIBCXX_SYMVER
1428 and PIC are both defined.
1429 * include/bits/char_traits.h (char_traits::eq): Rename
1430 only if _GLIBCXX_SYMVER_COMPATIBILITY is defined.
1432 2005-06-16 Jakub Jelinek <jakub@redhat.com>
1434 * acinclude.m4 ((GLIBCXX_ENABLE_SYMVERS): Rename _GLIBCXX_SIZE_T_IS_INT
1435 to _GLIBCXX_SIZE_T_IS_UINT. Define _GLIBCXX_PTRDIFF_T_IS_INT.
1436 * configure: Regenerate.
1437 * config.h.in: Regenerate.
1438 * src/compatibility.cc (istream:ignore(streamsize)): Use
1439 _GLIBCXX_PTRDIFF_T_IS_INT instead of _GLIBCXX_SIZE_T_IS_INT.
1440 * config/abi/compatibility.h: Rename _GLIBCXX_SIZE_T_IS_INT
1441 to _GLIBCXX_SIZE_T_IS_UINT. Use _GLIBCXX_PTRDIFF_T_IS_INT
1442 instead for symbols with streamsize arguments.
1444 2005-06-16 Jakub Jelinek <jakub@redhat.com>
1446 * config/linker-map.gnu: Also export
1447 _ZNSt13basic_istreamIwSt11char_traitsIwEE6ignoreE[il][il].
1449 2005-06-15 Benjamin Kosnik <bkoz@redhat.com>
1451 * configure.ac (libtool_VERSION): To 6:6:0.
1452 * configure: Regenerate.
1453 * config/linker-map.gnu: Edit.
1454 * src/istream.cc: Move istream::ignore(streamsize) specializations...
1455 * src/compatibility.cc: ...here. New.
1456 * include/bits/char_traits.h (char_traits::eq): Rename when
1458 * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Define _GLIBCXX_SIZE_T_IS_INT.
1459 Bump glibcxx_min_gnu_ld_version to 21590.
1460 * configure: Regenerate.
1461 * acconfig.h: Remove _GLIBCXX_ASM_SYMVER.
1462 * config.h.in: Regenerate.
1463 * src/Makefile.am (sources): Add compatibility.cc.
1464 * src/Makefile.in: Regenerate.
1465 * include/Makefile.am (host_headers_noinst): Add compatibility.h.
1466 * include/Makefile.in: Regenerate.
1467 * testsuite/testsuite_abi.h (symbol): Add data members.
1468 * testsuite/testsuite_abi.cc (check_version): Add GLIBCXX_3.4.5,
1469 GLIBCXX_3.4.6. Remove deprecated versions. Do a better job
1472 2005-06-15 Paolo Carlini <pcarlini@suse.de>
1474 * include/tr1/hashtable: Trivial formatting fixes.
1475 * include/tr1/unordered_map: Likewise.
1476 * include/tr1/unordered_set: Likewise.
1478 2005-06-14 Tom Tromey <tromey@redhat.com>
1481 * configure, aclocal.m4: Rebuilt.
1482 * Makefile.in, include/Makefile.in, libmath/Makefile.in,
1483 libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in,
1484 testsuite/Makefile.in: Likewise.
1486 2005-06-08 Benjamin Kosnik <bkoz@redhat.com>
1489 * include/std/std_sstream.h (basic_stringbuf::showmanyc): Add.
1490 Remove unnecessary this->_M_mode decoration.
1491 * include/bits/fstream.tcc: Adjust line spacing.
1492 * testsuite/27_io/basic_streambuf/in_avail/char/1.cc: New, test
1493 base class behavior.
1494 * testsuite/27_io/basic_streambuf/in_avail/wchar_t/1.cc: Same.
1495 * testsuite/27_io/basic_stringbuf/in_avail/char/21955.cc: New.
1496 * testsuite/27_io/basic_stringbuf/in_avail/char/1.cc: Match
1498 * testsuite/27_io/basic_stringbuf/in_avail/wchar_t/1.cc: Same.
1499 * testsuite/27_io/basic_stringbuf/str/wchar_t/1.cc: Same.
1500 * testsuite/27_io/basic_stringbuf/str/char/1.cc: Same.
1501 * testsuite/27_io/basic_streambuf/in_avail/char/9701-3.cc: Move...
1502 * testsuite/27_io/basic_filebuf/in_avail/char/9701-3.cc: ...here.
1504 2005-06-07 Benjamin Kosnik <bkoz@redhat.com>
1506 * acinclude.m4 (GLIBCXX_ENABLE_C99): Use C++ compiler for complex
1508 * configure: Regenerated.
1510 2005-06-07 Adrian Straetling <straetling@de.ibm.com>
1512 * config/cpu/s390/atomicity.h: (__exchange_and_add,
1513 __atomic_add): Use the builtins for atomic memory operations.
1515 2005-06-06 Paolo Carlini <pcarlini@suse.de>
1517 PR libstdc++/21770 (cont: __gnu_debug::string)
1518 * include/debug/string: Use _Base typedefs for pointer, const_pointer,
1519 reference, const_reference, size_type, difference_type.
1520 * testsuite/21_strings/basic_string/2.cc: New.
1522 2005-06-06 Paolo Carlini <pcarlini@suse.de>
1524 PR libstdc++/21770 (cont: debug-mode)
1525 * include/debug/deque: Use _Base typedefs for pointer, const_pointer,
1526 reference, const_reference.
1527 * include/debug/list: Likewise.
1528 * include/debug/map.h: Likewise.
1529 * include/debug/multimap.h: Likewise.
1530 * include/debug/multiset.h: Likewise.
1531 * include/debug/set.h: Likewise.
1532 * include/debug/vector: Likewise.
1534 2005-06-06 Paolo Carlini <pcarlini@suse.de>
1536 Port from libstdcxx_so_7-branch:
1537 2004-09-24 Paolo Carlini <pcarlini@suse.de>
1538 Jonathan Wakely <redi@gcc.gnu.org>
1540 * include/bits/stl_list.h (list::list(size_type, value_type,
1541 const allocator_type&): Implement according to the letter of the
1542 standard, i.e., don't use two overloads, not equivalent in case
1543 of non default constructible T.
1544 (list::resize(size_type, const value_type&)): Fix the signature:
1545 according to the standard the second argument is by value; also,
1546 don't use two overloads.
1547 * include/bits/list.tcc (list::resize(size_type, const value_type&)):
1548 Adjust consistently the signature.
1549 * include/bits/stl_deque.h (deque::deque(size_type, value_type,
1550 const allocator_type&)): Likewise.
1551 (deque::resize(size_type, const value_type&)): Likewise.
1552 * include/bits/stl_vector.h (vector::vector(size_type, value_type,
1553 const allocator_type&)): Likewise.
1554 (vector::resize(size_type, const value_type&)): Likewise.
1555 * testsuite/testsuite_hooks.h: Add NonDefaultConstructible test type.
1556 * testsuite/23_containers/deque/explicit_instantiation/2.cc: New.
1557 * testsuite/23_containers/list/explicit_instantiation/2.cc: New.
1558 * testsuite/23_containers/map/explicit_instantiation/2.cc: New.
1559 * testsuite/23_containers/multimap/explicit_instantiation/2.cc: New.
1560 * testsuite/23_containers/multiset/explicit_instantiation/2.cc: New.
1561 * testsuite/23_containers/set/explicit_instantiation/2.cc: New.
1562 * testsuite/23_containers/vector/explicit_instantiation/2.cc: New.
1564 * include/bits/deque.tcc: Minor formatting fix.
1566 2005-06-06 Peter Doerfler <doerfler@techinfo.rwth-aachen.de>
1568 * include/bits/stl_function.h: ... and another one.
1570 2005-06-06 Peter Doerfler <doerfler@techinfo.rwth-aachen.de>
1572 * include/bits/stl_function.h: Fix typo in comment.
1574 2005-06-05 Paolo Carlini <pcarlini@suse.de>
1576 * acinclude.m4 ([GLIBCXX_ENABLE_C99]): Check clog, clogf, clogl
1577 too for ac_c99_complex.
1578 * configure: Regenerate.
1580 2005-06-03 Paolo Carlini <pcarlini@suse.de>
1583 * include/bits/stl_deque.h: Add concept-check. In class _Deque_base
1584 rebind _Alloc to _Tp_alloc_type, change _Deque_impl to inherit from
1585 the latter and add _M_get_Tp_allocator() which returns it. Use
1586 everywhere _M_get_Tp_allocator() instead of get_allocator().
1587 * include/bits/deque.tcc: Likewise, use _M_get_Tp_allocator().
1588 * include/bits/stl_list.h: Add concept-check. In class _List_base
1589 rebind _Alloc to _Tp_alloc_type and add _M_get_Tp_allocator(), which
1590 returns the allocator (of type _Node_alloc_type) converted to
1591 _Tp_alloc_type. Use everywhere _M_get_Tp_allocator() instead of
1593 * include/bits/list.tcc: Likewise, use _M_get_Tp_allocator().
1594 * include/bits/stl_vector.h: Add concept-check. In class _Vector_base
1595 rebind _Alloc to _Tp_alloc_type, change _Vector_impl to inherit from
1596 the latter and add _M_get_Tp_allocator() which returns it. Use
1597 everywhere _M_get_Tp_allocator() instead of get_allocator().
1598 * include/bits/vector.tcc: Likewise, use _M_get_Tp_allocator().
1599 * include/bits/stl_map.h: Add concept-check. Rebind _Alloc to
1600 _Pair_alloc_type and use it for _Rb_tree.
1601 * include/bits/stl_multimap.h: Likewise.
1602 * include/bits/stl_multiset.h: Add concept-check. Rebind _Alloc to
1603 _Key_alloc_type and use it for _Rb_tree.
1604 * include/bits/stl_set.h: Likewise.
1605 * include/bits/basic_string.h: Rebind _Alloc to _CharT_alloc_type and
1606 use it for the allocator typedefs.
1607 * testsuite/21_strings/basic_string/1.cc: New.
1608 * testsuite/23_containers/deque/explicit_instantiation.cc: Move to...
1609 * testsuite/23_containers/deque/explicit_instantiation/1.cc: ... here.
1610 * testsuite/23_containers/deque/explicit_instantiation/3.cc: New.
1611 * testsuite/23_containers/list/explicit_instantiation.cc: Move to...
1612 * testsuite/23_containers/list/explicit_instantiation/1.cc: ... here.
1613 * testsuite/23_containers/list/explicit_instantiation/3.cc: New.
1614 * testsuite/23_containers/map/explicit_instantiation.cc: Move to...
1615 * testsuite/23_containers/map/explicit_instantiation/1.cc: ... here.
1616 * testsuite/23_containers/map/explicit_instantiation/3.cc: New.
1617 * testsuite/23_containers/multimap/explicit_instantiation.cc: Move to...
1618 * testsuite/23_containers/multimap/explicit_instantiation/1.cc: .. here.
1619 * testsuite/23_containers/multimap/explicit_instantiation/3.cc: New.
1620 * testsuite/23_containers/multiset/explicit_instantiation.cc: Move to...
1621 * testsuite/23_containers/multiset/explicit_instantiation/1.cc: .. here.
1622 * testsuite/23_containers/multiset/explicit_instantiation/3.cc: New.
1623 * testsuite/23_containers/set/explicit_instantiation.cc: Move to...
1624 * testsuite/23_containers/set/explicit_instantiation/1.cc: .. here.
1625 * testsuite/23_containers/set/explicit_instantiation/3.cc: New.
1626 * testsuite/23_containers/vector/explicit_instantiation.cc: Move to...
1627 * testsuite/23_containers/vector/explicit_instantiation/1.cc: ... here.
1628 * testsuite/23_containers/vector/explicit_instantiation/3.cc: New.
1630 2005-06-02 Nathan Sidwell <nathan@codesourcery.com>
1633 * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust expected errors.
1634 * testsuite/27_io/ios_base/cons/copy_neg.cc: Likewise.
1636 2005-05-31 Paolo Carlini <pcarlini@suse.de>
1638 PR libstdc++/20534 (contd)
1639 * include/debug/macros.h: Add _GLIBCXX_DEBUG_ABORT, using
1640 __gnu_debug::__fancy_abort.
1641 * src/debug.cc: Define the latter.
1642 * include/debug/debug.h: Use _GLIBCXX_DEBUG_ABORT instead of
1644 * config/linker-map.gnu (__gnu_debug::__fancy_abort): Add.
1646 2005-05-30 Paolo Carlini <pcarlini@suse.de>
1648 * include/std/std_complex.h (log(const complex<_Tp>&)): When
1649 _GLIBCXX_USE_C99_COMPLEX, forward to __builtin_clog/clogf/clogl.
1651 2005-05-28 Paolo Carlini <pcarlini@suse.de>
1654 2005-05-18 Paolo Carlini <pcarlini@suse.de>
1655 Nathan Myers <ncm@cantrip.org>
1658 * include/bits/basic_string.h (_Raw_bytes_alloc): Rebind to
1659 size_type instead of char and rename to _Raw_alloc.
1660 * include/bits/basic_string.tcc (_Rep::_M_destroy, _Rep::_S_create):
1662 * src/bitmap_allocator.cc: Add instantiation for size_type.
1663 * src/mt_allocator.cc: Likewise.
1664 * src/pool_allocator.cc: Likewise.
1665 * include/ext/array_allocator.h: Tweak slightly, avoid assuming
1666 the existence of an _Array::begin() and size() members.
1667 * testsuite/ext/array_allocator/2.cc: Tweak to use an allocator
1668 of size_type, instead of char, thus avoiding problems with
1669 rebinds, not treated correctly by array_allocator.
1671 2005-05-27 Paolo Carlini <pcarlini@suse.de>
1673 * docs/html/abi.html: Mention 3.4.0 as the current baseline; add
1674 a notice about the configure options.
1676 2005-05-27 Mark Mitchell <mark@codesourcery.com>
1678 * docs/html/test.html: Mention PCH_CXXFLAGS.
1679 * testsuite/lib/libstdc++.exp: Set PCH_CXXFLAGS by probing for an
1680 available stcd++.h PCH.
1681 * testsuite/libstdc++-dg/normal.exp: Use PCH_CXXFLAGS.
1683 2005-05-27 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
1685 * src/misc-inst.cc: Remove unnecessary included files.
1687 2005-05-27 Benjamin Kosnik <bkoz@redhat.com>
1690 * include/bits/c++config: Remove extern template use when in debug
1691 mode, disable for non-weak systems.
1693 2005-05-27 Benjamin Kosnik <bkoz@redhat.com>
1696 * include/debug/debug.h: Forwarding header, that pulls in details
1697 only if in debug mode.
1698 * include/debug/macros.h: ...transfer all the internal macros here.
1699 * include/debug/functions.h: ...transfer all the functions here.
1700 * include/debug/safe_iterator.h: Add functions.h, macros.h includes.
1701 * include/debug/safe_sequence.h: Same.
1702 * include/debug/vector: Tweak.
1703 * include/Makefile.am (debug_headers): Add new includes.
1704 * include/Makefile.in: Regenerate.
1705 * testsuite/17_intro/no_assert_neg.cc: Add.
1707 * include/ext/hash_set: Add debug mode include.
1708 * include/ext/hash_map: Same.
1709 * include/debug/hash_map: Fix included files to match actual files.
1710 * include/debug/hash_set: Same.
1712 2005-05-26 Paolo Carlini <pcarlini@suse.de>
1715 * include/c_std/std_cstdlib.h: Do not open code llabs and lldiv,
1716 available when _GLIBCXX_USE_C99 is defined.
1717 * testsuite/26_numerics/cstdlib/13943.cc: New.
1719 * acinclude.m4 ([GLIBCXX_ENABLE_C99]): For completeness, check
1720 also strtoll and strtoull for ac_c99_stdlib.
1721 * configure: Regenerate.
1723 2005-05-25 Benjamin Kosnik <bkoz@redhat.com>
1725 * config/linker-map.gnu: Add linkage support for no extern templates.
1726 (std::ios_base::_M_call_callbacks): Add.
1727 (std::ios_base::_M_dispose_callbacks): Add.
1728 (std::locale::facet::_S_get_c_name): Add.
1729 (std::__copy_streambufs): Add.
1730 * configure.ac (libtool_VERSION): To 6:5:0.
1731 * configure: Regenerate.
1732 * testsuite/testsuite_abi.cc (check_version): Add GLIBCXX_3.4.5.
1734 2005-05-25 Paolo Carlini <pcarlini@suse.de>
1736 * include/bits/basic_string.h (_Rep::_M_set_length_and_sharable):
1737 Use, consistently, traits_type::assign.
1739 2005-05-25 Paolo Carlini <pcarlini@suse.de>
1741 * config/cpu/alpha/atomicity.h: Use the builtins for
1742 atomic memory operations.
1743 * config/cpu/powerpc/atomicity.h: Likewise.
1744 * config/cpu/ia64/atomicity.h: Do not include ia64intrin.h.
1746 2005-05-24 Paolo Carlini <pcarlini@suse.de>
1748 * testsuite/25_algorithms/equal.cc: Move to...
1749 * testsuite/25_algorithms/equal: ... here.
1750 * testsuite/25_algorithms/lower_bound.cc: Move to...
1751 * testsuite/25_algorithms/lower_bound: ... here.
1753 2005-05-24 Paolo Carlini <pcarlini@suse.de>
1755 Port from libstdcxx_so_7-branch:
1756 2005-20-05 Chris Jefferson <chris@bubblescope.net>
1758 * testsuite/25_algorithms/heap.cc: Move to...
1759 * testsuite/25_algorithms/heap/heap.cc: ...here.
1760 * testsuite/25_algorithms/partition.cc: Move to...
1761 * testsuite/25_algorithms/partition/partition.cc: ...here.
1763 2005-03-29 Christopher Jefferson <chris@bubblescope.net>
1765 * testsuite/25_algorithms/includes/1.cc: Add tests.
1766 * testsuite/25_algorithms/search/1.cc: Likewise.
1767 * testsuite/25_algorithms/unique_copy/1.cc: Likewise.
1768 * testsuite/25_algorithms/swap_ranges/1.cc: New.
1769 * testsuite/25_algorithms/swap_ranges/check_type.cc: New.
1770 * testsuite/25_algorithms/rotate.cc: Move to...
1771 * testsuite/25_algorithms/rotate/rotate.cc: ... here.
1772 * testsuite/25_algorithms/rotate/1.cc: New.
1773 * testsuite/25_algorithms/rotate/check_type.cc: New.
1774 * testsuite/25_algorithms/search_n/iterator.cc: Fix typo.
1776 2005-03-14 Christopher Jefferson <chris@bubblescope.net>
1778 * include/bits/stl_algo.h (replace_copy, replace_copy_if):
1779 Don't assume that __new_value and *__first are convertible to
1782 * testsuite/25_algorithms/find/1.cc: New.
1783 * testsuite/25_algorithms/find/check_type.cc: New.
1784 * testsuite/25_algorithms/find_if/1.cc: New.
1785 * testsuite/25_algorithms/find_if/check_type.cc: New.
1786 * testsuite/25_algorithms/replace/1.cc: New.
1787 * testsuite/25_algorithms/replace/check_type.cc: New.
1788 * testsuite/25_algorithms/replace_if/1.cc: New.
1789 * testsuite/25_algorithms/replace_if/check_type.cc: New.
1790 * testsuite/25_algorithms/replace_copy/1.cc: New.
1791 * testsuite/25_algorithms/replace_copy/check_type.cc: New.
1792 * testsuite/25_algorithms/replace_copy_if/1.cc: New.
1793 * testsuite/25_algorithms/replace_copy_if/check_type.cc: New.
1794 * testsuite/25_algorithms/remove/1.cc: New.
1795 * testsuite/25_algorithms/remove/check_type.cc: New.
1796 * testsuite/25_algorithms/remove_if/1.cc: New.
1797 * testsuite/25_algorithms/remove_if/check_type.cc: New.
1798 * testsuite/25_algorithms/count/1.cc: New.
1799 * testsuite/25_algorithms/count/check_type.cc: New.
1800 * testsuite/25_algorithms/count_if/1.cc: New.
1801 * testsuite/25_algorithms/count_if/check_type.cc: New.
1803 2005-02-27 Christopher Jefferson <chris@bubblescope.net>
1804 Paolo Carlini <pcarlini@suse.de>
1806 * testsuite/ext/is_heap/check_type.cc: New.
1808 2005-02-27 Paolo Carlini <pcarlini@suse.de>
1810 * testsuite/ext/is_heap/1.cc: New.
1812 2005-02-01 Christopher Jefferson <chris@bubblescope.net>
1814 * testsuite/ext/median.cc: New.
1815 * testsuite/25_algorithms/adjacent_find/1.cc: New.
1816 * testsuite/25_algorithms/adjacent_find/check_type.cc: New.
1817 * testsuite/25_algorithms/search/1.cc: New.
1818 * testsuite/25_algorithms/search/check_type.cc: New.
1819 * testsuite/25_algorithms/unique_copy/1.cc: New.
1820 * testsuite/25_algorithms/unique_copy/check_type.cc: New.
1821 * testsuite/25_algorithms/partial_sort/1.cc: New.
1822 * testsuite/25_algorithms/partial_sort/check_type.cc: New.
1823 * testsuite/25_algorithms/partial_sort_copy/1.cc: New.
1824 * testsuite/25_algorithms/partial_sort_copy/check_type.cc: New.
1825 * testsuite/25_algorithms/lower_bound/1.cc: New.
1826 * testsuite/25_algorithms/lower_bound/check_type.cc: New.
1827 * testsuite/25_algorithms/upper_bound/1.cc: New.
1828 * testsuite/25_algorithms/upper_bound/check_type.cc: New.
1829 * testsuite/25_algorithms/merge/1.cc: New.
1830 * testsuite/25_algorithms/merge/check_type.cc: New.
1831 * testsuite/25_algorithms/inplace_merge/1.cc: New.
1832 * testsuite/25_algorithms/inplace_merge/check_type.cc: New.
1833 * testsuite/25_algorithms/stable_sort/1.cc: New.
1834 * testsuite/25_algorithms/stable_sort/check_type.cc: New.
1835 * testsuite/25_algorithms/nth_element/1.cc: New.
1836 * testsuite/25_algorithms/nth_element/check_type.cc: New.
1837 * testsuite/25_algorithms/equal_range/1.cc: New.
1838 * testsuite/25_algorithms/equal_range/check_type.cc: New.
1839 * testsuite/25_algorithms/binary_search/1.cc: New.
1840 * testsuite/25_algorithms/binary_search/check_type.cc: New.
1841 * testsuite/25_algorithms/includes/1.cc: New.
1842 * testsuite/25_algorithms/includes/check_type.cc: New.
1843 * testsuite/25_algorithms/set_union/1.cc: New.
1844 * testsuite/25_algorithms/set_union/check_type.cc: New.
1845 * testsuite/25_algorithms/set_intersection/1.cc: New.
1846 * testsuite/25_algorithms/set_intersection/check_type.cc: New.
1847 * testsuite/25_algorithms/set_difference/1.cc: New.
1848 * testsuite/25_algorithms/set_difference/check_type.cc: New.
1849 * testsuite/25_algorithms/set_symmetric_difference/1.cc: New.
1850 * testsuite/25_algorithms/set_symmetric_difference/check_type.cc: New.
1851 * testsuite/25_algorithms/min_element/1.cc: New.
1852 * testsuite/25_algorithms/min_element/check_type.cc: New.
1853 * testsuite/25_algorithms/max_element/1.cc: New.
1854 * testsuite/25_algorithms/max_element/check_type.cc: New.
1855 * testsuite/25_algorithms/prev_permutation/1.cc: New.
1856 * testsuite/25_algorithms/prev_permutation/check_type.cc: New.
1857 * testsuite/25_algorithms/next_permutation/1.cc: New.
1858 * testsuite/25_algorithms/next_permutation/check_type.cc: New.
1859 * testsuite/25_algorithms/find_first_of/1.cc: New.
1860 * testsuite/25_algorithms/find_first_of/check_type.cc: New.
1861 * testsuite/25_algorithms/find_end/1.cc: New.
1862 * testsuite/25_algorithms/find_end/check_type.cc: New.
1863 * testsuite/25_algorithms/equal/check_type.cc: Insert iterator type.
1864 * testsuite/25_algorithms/lexicographical_compare/check_type.cc:
1867 2005-01-10 Christopher Jefferson <chris@bubblescope.net>
1869 * testsuite/25_algorithms/lexicographical_compare/check_type.cc: New.
1870 * testsuite/25_algorithms/lexicographical_compare/1.cc: Likewise.
1871 * testsuite/25_algorithms/mismatch/check_type.cc: Likewise.
1872 * testsuite/25_algorithms/mismatch/1.cc: Likewise.
1873 * testsuite/25_algorithms/equal/check_type.cc: New.
1874 * testsuite/25_algorithms/equal/1.cc: New.
1876 2005-05-24 Benjamin Kosnik <bkoz@redhat.com>
1878 * include/bits/allocator.h: Change ___glibcxx_base_allocator to
1879 __glibcxx_base_allocator.
1880 * config/allocator/bitmap_allocator_base.h: Same.
1881 * config/allocator/malloc_allocator_base.h: Same.
1882 * config/allocator/mt_allocator_base.h: Same.
1883 * config/allocator/new_allocator_base.h: Same.
1884 * config/allocator/pool_allocator_base.h: Same.
1886 2005-05-24 Jonathan Wakely <redi@gcc.gnu.org>
1888 * include/debug/string (class basic_string): Add missing
1889 default template arguments; provide typedefs for char
1891 (operator[]): Allow s[s.size()] in debug mode, but not
1894 2005-05-24 Paolo Carlini <pcarlini@suse.de>
1896 Port from libstdcxx_so_7-branch:
1897 2005-04-25 Christopher Jefferson <chris@bubblescope.net>
1899 * include/bits/stl_algo.h (count): Correct concept checks.
1900 (search_n) : Likewise.
1901 * testsuite/25_algorithms/search_n/check_type.cc: New.
1903 * testsuite/testsuite_iterators.h
1904 (random_access_iterator_wrapper::operator+): Move out of
1905 class to external function, and add symmetric version.
1907 2005-03-14 Christopher Jefferson <chris@bubblescope.net>
1909 * testsuite/testsuite_iterators.h (WritableObject::WritableObject):
1912 2005-02-01 Christopher Jefferson <chris@bubblescope.net>
1914 * testsuite/testsuite_iterators.h (random_access_iterator_wrapper::
1915 operator--): Fix typo.
1916 (OutputContainer::OutputContainer): Correct zeroing array.
1917 (WritableObject::operator==): Fix typo.
1918 (WritableObject::operator=): make operator= templated
1919 to allow differing types to be assigned.
1920 (WritableObject::operator++): Fix checking if iterator is
1921 written to multiple times.
1922 (random_access_iterator_wrapper::operator+): Add const.
1923 (random_access_iterator_wrapper::operator-): Likewise.
1924 (random_access_iterator_wrapper::operator[]): Add dereference.
1926 2005-05-23 Jonathan Wakely <redi@gcc.gnu.org>
1928 * docs/html/debug.html: Explain that _GLIBXX_DEBUG_PEDANTIC
1929 had to be defined for pedantic mode in 3.4 and 4.0.0.
1931 2005-05-20 Jan Beulich <jbeulich@novell.com>
1933 * libmath/stubs.c: Also implement fabsf/fabsl if not present in the
1936 2005-05-20 Paolo Carlini <pcarlini@suse.de>
1938 * include/bits/stl_algo.h (__rotate<_RandomAccessIterator>):
1939 Don't qualify __tmp as const, _ValueType is not necessarily
1941 * include/bits/stl_algobase.h (swap, __iter_swap<false>):
1942 Likewise, as an harmless extension.
1944 2005-05-19 Richard Henderson <rth@redhat.com>
1946 * libsupc++/unwind-cxx.h: Revert gcc_unreachable change.
1948 2005-05-19 Jonathan Wakely <redi@gcc.gnu.org>
1950 * include/bits/basic_string.h (operator[]): Allow s[s.size()] in
1951 debug mode, but not pedantic mode.
1953 2005-05-19 Jan Beulich <jbeulich@novell.com>
1955 * libsupc++/unwind-cxx.h: Include cstdlib.
1956 (gcc_unreachable): #define.
1957 * libsupc++/eh_personality.cc (gcc_unreachable): Remove #define.
1959 2005-05-18 Paolo Carlini <pcarlini@suse.de>
1960 Nathan Myers <ncm@cantrip.org>
1963 * include/bits/basic_string.h (_Raw_bytes_alloc): Rebind to
1964 size_type instead of char and rename to _Raw_alloc.
1965 * include/bits/basic_string.tcc (_Rep::_M_destroy, _Rep::_S_create):
1967 * src/bitmap_allocator.cc: Add instantiation for size_type.
1968 * src/mt_allocator.cc: Likewise.
1969 * src/pool_allocator.cc: Likewise.
1970 * include/ext/array_allocator.h: Tweak slightly, avoid assuming
1971 the existence of an _Array::begin() and size() members.
1972 * testsuite/ext/array_allocator/2.cc: Tweak to use an allocator
1973 of size_type, instead of char, thus avoiding problems with
1974 rebinds, not treated correctly by array_allocator.
1976 2005-05-18 Paolo Carlini <pcarlini@suse.de>
1978 * testsuite/22_locale/ctype/is/char/2.cc: Adjust dg-require-namedlocale.
1979 * testsuite/22_locale/ctype/is/wchar_t/2.cc: Likewise.
1980 * testsuite/22_locale/time_get/get_year/char/wrapped_env.cc: Add
1981 missing dg-require-namedlocale.
1982 * testsuite/22_locale/time_get/get_year/char/wrapped_locale.cc:
1984 * testsuite/22_locale/time_get/get_year/wchar_t/wrapped_env.cc:
1986 * testsuite/22_locale/time_get/get_year/wchar_t/wrapped_locale.cc:
1989 2005-05-18 Paolo Carlini <pcarlini@suse.de>
1991 * testsuite/testsuite_hooks.cc: Remove try_named_locale.
1992 * testsuite/testsuite_hooks.h: Remove try_named_locale.
1993 * testsuite/lib/libstdc++.exp (check_v3_target_namedlocale): New.
1994 * testsuite/lib/dg-options.exp (dg-require-namedlocale): New, uses
1996 * testsuite/22_locale/codecvt/always_noconv/char/wrapped_env.cc: Use
1997 dg-require-namedlocale.
1998 * testsuite/22_locale/codecvt/always_noconv/char/wrapped_locale.cc:
2000 * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: Likewise.
2001 * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: Likewise.
2002 * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: Likewise.
2003 * testsuite/22_locale/codecvt/always_noconv/wchar_t/wrapped_env.cc:
2005 * testsuite/22_locale/codecvt/always_noconv/wchar_t/wrapped_locale.cc:
2007 * testsuite/22_locale/codecvt/encoding/char/wrapped_env.cc: Likewise.
2008 * testsuite/22_locale/codecvt/encoding/char/wrapped_locale.cc: Likewise.
2009 * testsuite/22_locale/codecvt/encoding/wchar_t/2.cc: Likewise.
2010 * testsuite/22_locale/codecvt/encoding/wchar_t/3.cc: Likewise.
2011 * testsuite/22_locale/codecvt/encoding/wchar_t/4.cc: Likewise.
2012 * testsuite/22_locale/codecvt/encoding/wchar_t/wrapped_env.cc: Likewise.
2013 * testsuite/22_locale/codecvt/encoding/wchar_t/wrapped_locale.cc:
2015 * testsuite/22_locale/codecvt/in/char/wrapped_env.cc: Likewise.
2016 * testsuite/22_locale/codecvt/in/char/wrapped_locale.cc: Likewise.
2017 * testsuite/22_locale/codecvt/in/wchar_t/2.cc: Likewise.
2018 * testsuite/22_locale/codecvt/in/wchar_t/3.cc: Likewise.
2019 * testsuite/22_locale/codecvt/in/wchar_t/4.cc: Likewise.
2020 * testsuite/22_locale/codecvt/in/wchar_t/7.cc: Likewise.
2021 * testsuite/22_locale/codecvt/in/wchar_t/8.cc: Likewise.
2022 * testsuite/22_locale/codecvt/in/wchar_t/9.cc: Likewise.
2023 * testsuite/22_locale/codecvt/in/wchar_t/wrapped_env.cc: Likewise.
2024 * testsuite/22_locale/codecvt/in/wchar_t/wrapped_locale.cc: Likewise.
2025 * testsuite/22_locale/codecvt/length/char/wrapped_env.cc: Likewise.
2026 * testsuite/22_locale/codecvt/length/char/wrapped_locale.cc: Likewise.
2027 * testsuite/22_locale/codecvt/length/wchar_t/2.cc: Likewise.
2028 * testsuite/22_locale/codecvt/length/wchar_t/3.cc: Likewise.
2029 * testsuite/22_locale/codecvt/length/wchar_t/4.cc: Likewise.
2030 * testsuite/22_locale/codecvt/length/wchar_t/7.cc: Likewise.
2031 * testsuite/22_locale/codecvt/length/wchar_t/wrapped_env.cc: Likewise.
2032 * testsuite/22_locale/codecvt/length/wchar_t/wrapped_locale.cc:
2034 * testsuite/22_locale/codecvt/max_length/char/wrapped_env.cc: Likewise.
2035 * testsuite/22_locale/codecvt/max_length/char/wrapped_locale.cc:
2037 * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: Likewise.
2038 * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: Likewise.
2039 * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: Likewise.
2040 * testsuite/22_locale/codecvt/max_length/wchar_t/wrapped_env.cc:
2042 * testsuite/22_locale/codecvt/max_length/wchar_t/wrapped_locale.cc:
2044 * testsuite/22_locale/codecvt/out/char/wrapped_env.cc: Likewise.
2045 * testsuite/22_locale/codecvt/out/char/wrapped_locale.cc: Likewise.
2046 * testsuite/22_locale/codecvt/out/wchar_t/2.cc: Likewise.
2047 * testsuite/22_locale/codecvt/out/wchar_t/3.cc: Likewise.
2048 * testsuite/22_locale/codecvt/out/wchar_t/4.cc: Likewise.
2049 * testsuite/22_locale/codecvt/out/wchar_t/7.cc: Likewise.
2050 * testsuite/22_locale/codecvt/out/wchar_t/wrapped_env.cc: Likewise.
2051 * testsuite/22_locale/codecvt/out/wchar_t/wrapped_locale.cc: Likewise.
2052 * testsuite/22_locale/codecvt/unshift/char/wrapped_env.cc: Likewise.
2053 * testsuite/22_locale/codecvt/unshift/char/wrapped_locale.cc: Likewise.
2054 * testsuite/22_locale/codecvt/unshift/wchar_t/2.cc: Likewise.
2055 * testsuite/22_locale/codecvt/unshift/wchar_t/3.cc: Likewise.
2056 * testsuite/22_locale/codecvt/unshift/wchar_t/4.cc: Likewise.
2057 * testsuite/22_locale/codecvt/unshift/wchar_t/wrapped_env.cc: Likewise.
2058 * testsuite/22_locale/codecvt/unshift/wchar_t/wrapped_locale.cc:
2060 * testsuite/22_locale/collate/compare/char/1.cc: Likewise.
2061 * testsuite/22_locale/collate/compare/char/2.cc: Likewise.
2062 * testsuite/22_locale/collate/compare/char/3.cc: Likewise.
2063 * testsuite/22_locale/collate/compare/char/wrapped_env.cc: Likewise.
2064 * testsuite/22_locale/collate/compare/char/wrapped_locale.cc: Likewise.
2065 * testsuite/22_locale/collate/compare/wchar_t/1.cc: Likewise.
2066 * testsuite/22_locale/collate/compare/wchar_t/2.cc: Likewise.
2067 * testsuite/22_locale/collate/compare/wchar_t/3.cc: Likewise.
2068 * testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc: Likewise.
2069 * testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc:
2071 * testsuite/22_locale/collate/hash/char/2.cc: Likewise.
2072 * testsuite/22_locale/collate/hash/char/wrapped_env.cc: Likewise.
2073 * testsuite/22_locale/collate/hash/char/wrapped_locale.cc: Likewise.
2074 * testsuite/22_locale/collate/hash/wchar_t/2.cc: Likewise.
2075 * testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc: Likewise.
2076 * testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc: Likewise.
2077 * testsuite/22_locale/collate/transform/char/2.cc: Likewise.
2078 * testsuite/22_locale/collate/transform/char/3.cc: Likewise.
2079 * testsuite/22_locale/collate/transform/char/wrapped_env.cc: Likewise.
2080 * testsuite/22_locale/collate/transform/char/wrapped_locale.cc:
2082 * testsuite/22_locale/collate/transform/wchar_t/2.cc: Likewise.
2083 * testsuite/22_locale/collate/transform/wchar_t/3.cc: Likewise.
2084 * testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc:
2086 * testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc:
2088 * testsuite/22_locale/collate_byname/named_equivalence.cc: Likewise.
2089 * testsuite/22_locale/ctype/cons/char/wrapped_env.cc: Likewise.
2090 * testsuite/22_locale/ctype/cons/char/wrapped_locale.cc: Likewise.
2091 * testsuite/22_locale/ctype/is/char/2.cc: Likewise.
2092 * testsuite/22_locale/ctype/is/char/wrapped_env.cc: Likewise.
2093 * testsuite/22_locale/ctype/is/char/wrapped_locale.cc: Likewise.
2094 * testsuite/22_locale/ctype/is/wchar_t/2.cc: Likewise.
2095 * testsuite/22_locale/ctype/is/wchar_t/wrapped_env.cc: Likewise.
2096 * testsuite/22_locale/ctype/is/wchar_t/wrapped_locale.cc: Likewise.
2097 * testsuite/22_locale/ctype/narrow/char/wrapped_env.cc: Likewise.
2098 * testsuite/22_locale/ctype/narrow/char/wrapped_locale.cc: Likewise.
2099 * testsuite/22_locale/ctype/narrow/wchar_t/3.cc: Likewise.
2100 * testsuite/22_locale/ctype/narrow/wchar_t/wrapped_env.cc: Likewise.
2101 * testsuite/22_locale/ctype/narrow/wchar_t/wrapped_locale.cc: Likewise.
2102 * testsuite/22_locale/ctype/scan/char/wrapped_env.cc: Likewise.
2103 * testsuite/22_locale/ctype/scan/char/wrapped_locale.cc: Likewise.
2104 * testsuite/22_locale/ctype/scan/wchar_t/wrapped_env.cc: Likewise.
2105 * testsuite/22_locale/ctype/scan/wchar_t/wrapped_locale.cc: Likewise.
2106 * testsuite/22_locale/ctype/to/char/wrapped_env.cc: Likewise.
2107 * testsuite/22_locale/ctype/to/char/wrapped_locale.cc: Likewise.
2108 * testsuite/22_locale/ctype/to/wchar_t/wrapped_env.cc: Likewise.
2109 * testsuite/22_locale/ctype/to/wchar_t/wrapped_locale.cc: Likewise.
2110 * testsuite/22_locale/ctype/widen/char/wrapped_env.cc: Likewise.
2111 * testsuite/22_locale/ctype/widen/char/wrapped_locale.cc: Likewise.
2112 * testsuite/22_locale/ctype/widen/wchar_t/2.cc: Likewise.
2113 * testsuite/22_locale/ctype/widen/wchar_t/3.cc: Likewise.
2114 * testsuite/22_locale/ctype/widen/wchar_t/wrapped_env.cc: Likewise.
2115 * testsuite/22_locale/ctype/widen/wchar_t/wrapped_locale.cc: Likewise.
2116 * testsuite/22_locale/facet/2.cc: Likewise.
2117 * testsuite/22_locale/locale/cons/12352.cc: Likewise.
2118 * testsuite/22_locale/locale/cons/12438.cc: Likewise.
2119 * testsuite/22_locale/locale/cons/12658_thread-1.cc: Likewise.
2120 * testsuite/22_locale/locale/cons/12658_thread-2.cc: Likewise.
2121 * testsuite/22_locale/locale/cons/2.cc: Likewise.
2122 * testsuite/22_locale/locale/cons/4.cc: Likewise.
2123 * testsuite/22_locale/locale/cons/5.cc: Likewise.
2124 * testsuite/22_locale/locale/cons/7.cc: Likewise.
2125 * testsuite/22_locale/locale/cons/7222-env.cc: Likewise.
2126 * testsuite/22_locale/locale/global_locale_objects/14071.cc: Likewise.
2127 * testsuite/22_locale/locale/global_locale_objects/2.cc: Likewise.
2128 * testsuite/22_locale/messages/members/char/1.cc: Likewise.
2129 * testsuite/22_locale/messages/members/char/2.cc: Likewise.
2130 * testsuite/22_locale/messages/members/char/3.cc: Likewise.
2131 * testsuite/22_locale/messages/members/char/wrapped_env.cc: Likewise.
2132 * testsuite/22_locale/messages/members/char/wrapped_locale.cc: Likewise.
2133 * testsuite/22_locale/messages_byname/named_equivalence.cc: Likewise.
2134 * testsuite/22_locale/money_get/get/char/1.cc: Likewise.
2135 * testsuite/22_locale/money_get/get/char/10.cc: Likewise.
2136 * testsuite/22_locale/money_get/get/char/11.cc: Likewise.
2137 * testsuite/22_locale/money_get/get/char/11528.cc: Likewise.
2138 * testsuite/22_locale/money_get/get/char/12.cc: Likewise.
2139 * testsuite/22_locale/money_get/get/char/13.cc: Likewise.
2140 * testsuite/22_locale/money_get/get/char/15.cc: Likewise.
2141 * testsuite/22_locale/money_get/get/char/16.cc: Likewise.
2142 * testsuite/22_locale/money_get/get/char/17.cc: Likewise.
2143 * testsuite/22_locale/money_get/get/char/18.cc: Likewise.
2144 * testsuite/22_locale/money_get/get/char/2.cc: Likewise.
2145 * testsuite/22_locale/money_get/get/char/3.cc: Likewise.
2146 * testsuite/22_locale/money_get/get/char/4.cc: Likewise.
2147 * testsuite/22_locale/money_get/get/char/wrapped_env.cc: Likewise.
2148 * testsuite/22_locale/money_get/get/char/wrapped_locale.cc: Likewise.
2149 * testsuite/22_locale/money_get/get/wchar_t/1.cc: Likewise.
2150 * testsuite/22_locale/money_get/get/wchar_t/10.cc: Likewise.
2151 * testsuite/22_locale/money_get/get/wchar_t/11.cc: Likewise.
2152 * testsuite/22_locale/money_get/get/wchar_t/11528.cc: Likewise.
2153 * testsuite/22_locale/money_get/get/wchar_t/12.cc: Likewise.
2154 * testsuite/22_locale/money_get/get/wchar_t/13.cc: Likewise.
2155 * testsuite/22_locale/money_get/get/wchar_t/15.cc: Likewise.
2156 * testsuite/22_locale/money_get/get/wchar_t/16.cc: Likewise.
2157 * testsuite/22_locale/money_get/get/wchar_t/17.cc: Likewise.
2158 * testsuite/22_locale/money_get/get/wchar_t/18.cc: Likewise.
2159 * testsuite/22_locale/money_get/get/wchar_t/2.cc: Likewise.
2160 * testsuite/22_locale/money_get/get/wchar_t/3.cc: Likewise.
2161 * testsuite/22_locale/money_get/get/wchar_t/4.cc: Likewise.
2162 * testsuite/22_locale/money_get/get/wchar_t/wrapped_env.cc: Likewise.
2163 * testsuite/22_locale/money_get/get/wchar_t/wrapped_locale.cc: Likewise.
2164 * testsuite/22_locale/money_put/put/char/1.cc: Likewise.
2165 * testsuite/22_locale/money_put/put/char/2.cc: Likewise.
2166 * testsuite/22_locale/money_put/put/char/3.cc: Likewise.
2167 * testsuite/22_locale/money_put/put/char/9780-3.cc: Likewise.
2168 * testsuite/22_locale/money_put/put/char/wrapped_env.cc: Likewise.
2169 * testsuite/22_locale/money_put/put/char/wrapped_locale.cc: Likewise.
2170 * testsuite/22_locale/money_put/put/wchar_t/1.cc: Likewise.
2171 * testsuite/22_locale/money_put/put/wchar_t/2.cc: Likewise.
2172 * testsuite/22_locale/money_put/put/wchar_t/3.cc: Likewise.
2173 * testsuite/22_locale/money_put/put/wchar_t/wrapped_env.cc: Likewise.
2174 * testsuite/22_locale/money_put/put/wchar_t/wrapped_locale.cc: Likewise.
2175 * testsuite/22_locale/moneypunct/members/char/2.cc: Likewise.
2176 * testsuite/22_locale/moneypunct/members/char/wrapped_env.cc: Likewise.
2177 * testsuite/22_locale/moneypunct/members/char/wrapped_locale.cc:
2179 * testsuite/22_locale/moneypunct/members/wchar_t/2.cc: Likewise.
2180 * testsuite/22_locale/moneypunct/members/wchar_t/wrapped_env.cc:
2182 * testsuite/22_locale/moneypunct/members/wchar_t/wrapped_locale.cc:
2184 * testsuite/22_locale/moneypunct_byname/named_equivalence.cc: Likewise.
2185 * testsuite/22_locale/num_get/get/char/1.cc: Likewise.
2186 * testsuite/22_locale/num_get/get/char/3.cc: Likewise.
2187 * testsuite/22_locale/num_get/get/char/5.cc: Likewise.
2188 * testsuite/22_locale/num_get/get/char/6.cc: Likewise.
2189 * testsuite/22_locale/num_get/get/char/9.cc: Likewise.
2190 * testsuite/22_locale/num_get/get/char/wrapped_env.cc: Likewise.
2191 * testsuite/22_locale/num_get/get/char/wrapped_locale.cc: Likewise.
2192 * testsuite/22_locale/num_get/get/wchar_t/1.cc: Likewise.
2193 * testsuite/22_locale/num_get/get/wchar_t/3.cc: Likewise.
2194 * testsuite/22_locale/num_get/get/wchar_t/5.cc: Likewise.
2195 * testsuite/22_locale/num_get/get/wchar_t/6.cc: Likewise.
2196 * testsuite/22_locale/num_get/get/wchar_t/9.cc: Likewise.
2197 * testsuite/22_locale/num_get/get/wchar_t/wrapped_env.cc: Likewise.
2198 * testsuite/22_locale/num_get/get/wchar_t/wrapped_locale.cc: Likewise.
2199 * testsuite/22_locale/num_put/put/char/1.cc: Likewise.
2200 * testsuite/22_locale/num_put/put/char/20909.cc: Likewise.
2201 * testsuite/22_locale/num_put/put/char/20914.cc: Likewise.
2202 * testsuite/22_locale/num_put/put/char/3.cc: Likewise.
2203 * testsuite/22_locale/num_put/put/char/5.cc: Likewise.
2204 * testsuite/22_locale/num_put/put/char/9780-2.cc: Likewise.
2205 * testsuite/22_locale/num_put/put/char/wrapped_env.cc: Likewise.
2206 * testsuite/22_locale/num_put/put/char/wrapped_locale.cc: Likewise.
2207 * testsuite/22_locale/num_put/put/wchar_t/1.cc: Likewise.
2208 * testsuite/22_locale/num_put/put/wchar_t/20909.cc: Likewise.
2209 * testsuite/22_locale/num_put/put/wchar_t/20914.cc: Likewise.
2210 * testsuite/22_locale/num_put/put/wchar_t/3.cc: Likewise.
2211 * testsuite/22_locale/num_put/put/wchar_t/5.cc: Likewise.
2212 * testsuite/22_locale/num_put/put/wchar_t/wrapped_env.cc: Likewise.
2213 * testsuite/22_locale/num_put/put/wchar_t/wrapped_locale.cc: Likewise.
2214 * testsuite/22_locale/numpunct/members/char/2.cc: Likewise.
2215 * testsuite/22_locale/numpunct/members/char/3.cc: Likewise.
2216 * testsuite/22_locale/numpunct/members/char/wrapped_env.cc: Likewise.
2217 * testsuite/22_locale/numpunct/members/char/wrapped_locale.cc: Likewise.
2218 * testsuite/22_locale/numpunct/members/wchar_t/2.cc: Likewise.
2219 * testsuite/22_locale/numpunct/members/wchar_t/wrapped_env.cc: Likewise.
2220 * testsuite/22_locale/numpunct/members/wchar_t/wrapped_locale.cc:
2222 * testsuite/22_locale/numpunct_byname/named_equivalence.cc: Likewise.
2223 * testsuite/22_locale/time_get/date_order/char/wrapped_env.cc: Likewise.
2224 * testsuite/22_locale/time_get/date_order/char/wrapped_locale.cc:
2226 * testsuite/22_locale/time_get/date_order/wchar_t/wrapped_env.cc:
2228 * testsuite/22_locale/time_get/date_order/wchar_t/wrapped_locale.cc:
2230 * testsuite/22_locale/time_get/get_date/char/12750.cc: Likewise.
2231 * testsuite/22_locale/time_get/get_date/char/2.cc: Likewise.
2232 * testsuite/22_locale/time_get/get_date/char/wrapped_env.cc: Likewise.
2233 * testsuite/22_locale/time_get/get_date/char/wrapped_locale.cc:
2235 * testsuite/22_locale/time_get/get_date/wchar_t/12750.cc: Likewise.
2236 * testsuite/22_locale/time_get/get_date/wchar_t/2.cc: Likewise.
2237 * testsuite/22_locale/time_get/get_date/wchar_t/4.cc: Likewise.
2238 * testsuite/22_locale/time_get/get_date/wchar_t/wrapped_env.cc:
2240 * testsuite/22_locale/time_get/get_date/wchar_t/wrapped_locale.cc:
2242 * testsuite/22_locale/time_get/get_monthname/char/2.cc: Likewise.
2243 * testsuite/22_locale/time_get/get_monthname/char/wrapped_env.cc:
2245 * testsuite/22_locale/time_get/get_monthname/char/wrapped_locale.cc:
2247 * testsuite/22_locale/time_get/get_monthname/wchar_t/2.cc: Likewise.
2248 * testsuite/22_locale/time_get/get_monthname/wchar_t/wrapped_env.cc:
2250 * testsuite/22_locale/time_get/get_monthname/wchar_t/wrapped_locale.cc:
2252 * testsuite/22_locale/time_get/get_time/char/1.cc: Likewise.
2253 * testsuite/22_locale/time_get/get_time/char/2.cc: Likewise.
2254 * testsuite/22_locale/time_get/get_time/char/wrapped_env.cc: Likewise.
2255 * testsuite/22_locale/time_get/get_time/char/wrapped_locale.cc:
2257 * testsuite/22_locale/time_get/get_time/wchar_t/1.cc: Likewise.
2258 * testsuite/22_locale/time_get/get_time/wchar_t/2.cc: Likewise.
2259 * testsuite/22_locale/time_get/get_time/wchar_t/wrapped_env.cc:
2261 * testsuite/22_locale/time_get/get_time/wchar_t/wrapped_locale.cc:
2263 * testsuite/22_locale/time_get/get_weekday/char/2.cc: Likewise.
2264 * testsuite/22_locale/time_get/get_weekday/char/wrapped_env.cc:
2266 * testsuite/22_locale/time_get/get_weekday/char/wrapped_locale.cc:
2268 * testsuite/22_locale/time_get/get_weekday/wchar_t/2.cc: Likewise.
2269 * testsuite/22_locale/time_get/get_weekday/wchar_t/wrapped_env.cc:
2271 * testsuite/22_locale/time_get/get_weekday/wchar_t/wrapped_locale.cc:
2273 * testsuite/22_locale/time_put/put/char/17038.cc: Likewise.
2274 * testsuite/22_locale/time_put/put/char/2.cc: Likewise.
2275 * testsuite/22_locale/time_put/put/char/3.cc: Likewise.
2276 * testsuite/22_locale/time_put/put/char/4.cc: Likewise.
2277 * testsuite/22_locale/time_put/put/char/6.cc: Likewise.
2278 * testsuite/22_locale/time_put/put/char/7.cc: Likewise.
2279 * testsuite/22_locale/time_put/put/char/8.cc: Likewise.
2280 * testsuite/22_locale/time_put/put/char/9780-1.cc: Likewise.
2281 * testsuite/22_locale/time_put/put/char/wrapped_env.cc: Likewise.
2282 * testsuite/22_locale/time_put/put/char/wrapped_locale.cc: Likewise.
2283 * testsuite/22_locale/time_put/put/wchar_t/17038.cc: Likewise.
2284 * testsuite/22_locale/time_put/put/wchar_t/2.cc: Likewise.
2285 * testsuite/22_locale/time_put/put/wchar_t/3.cc: Likewise.
2286 * testsuite/22_locale/time_put/put/wchar_t/4.cc: Likewise.
2287 * testsuite/22_locale/time_put/put/wchar_t/6.cc: Likewise.
2288 * testsuite/22_locale/time_put/put/wchar_t/7.cc: Likewise.
2289 * testsuite/22_locale/time_put/put/wchar_t/8.cc: Likewise.
2290 * testsuite/22_locale/time_put/put/wchar_t/wrapped_env.cc: Likewise.
2291 * testsuite/22_locale/time_put/put/wchar_t/wrapped_locale.cc: Likewise.
2292 * testsuite/27_io/basic_filebuf/imbue/char/13007.cc: Likewise.
2293 * testsuite/27_io/basic_filebuf/imbue/char/13171-1.cc: Likewise.
2294 * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
2295 * testsuite/27_io/basic_filebuf/imbue/char/13171-4.cc: Likewise.
2296 * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise.
2297 * testsuite/27_io/basic_filebuf/imbue/char/14975-1.cc: Likewise.
2298 * testsuite/27_io/basic_filebuf/imbue/char/2.cc: Likewise.
2299 * testsuite/27_io/basic_filebuf/imbue/char/9322.cc: Likewise.
2300 * testsuite/27_io/basic_filebuf/imbue/wchar_t/12868.cc: Likewise.
2301 * testsuite/27_io/basic_filebuf/imbue/wchar_t/13007.cc: Likewise.
2302 * testsuite/27_io/basic_filebuf/imbue/wchar_t/13171-3.cc: Likewise.
2303 * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-2.cc: Likewise.
2304 * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-3.cc: Likewise.
2305 * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc: Likewise.
2306 * testsuite/27_io/basic_filebuf/imbue/wchar_t/2.cc: Likewise.
2307 * testsuite/27_io/basic_filebuf/imbue/wchar_t/9322.cc: Likewise.
2308 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1.cc: Likewise.
2309 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2.cc: Likewise.
2310 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3.cc: Likewise.
2311 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4.cc: Likewise.
2312 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/1.cc: Likewise.
2313 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/2.cc: Likewise.
2314 * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9874.cc: Likewise.
2315 * testsuite/27_io/basic_filebuf/underflow/wchar_t/1.cc: Likewise.
2316 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-1.cc: Likewise.
2317 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-2.cc: Likewise.
2318 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-3.cc: Likewise.
2319 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-4.cc: Likewise.
2320 * testsuite/27_io/basic_filebuf/underflow/wchar_t/2.cc: Likewise.
2321 * testsuite/27_io/basic_filebuf/underflow/wchar_t/3.cc: Likewise.
2322 * testsuite/27_io/basic_filebuf/underflow/wchar_t/4.cc: Likewise.
2323 * testsuite/27_io/basic_filebuf/underflow/wchar_t/5.cc: Likewise.
2324 * testsuite/27_io/basic_filebuf/underflow/wchar_t/9520.cc: Likewise.
2325 * testsuite/27_io/basic_ios/copyfmt/char/2.cc: Likewise.
2326 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/2.cc:
2328 * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/2.cc:
2330 * testsuite/27_io/basic_streambuf/imbue/char/13007-1.cc: Likewise.
2331 * testsuite/27_io/basic_streambuf/imbue/char/13007-2.cc: Likewise.
2332 * testsuite/27_io/basic_streambuf/imbue/char/9322.cc: Likewise.
2333 * testsuite/27_io/basic_streambuf/imbue/wchar_t/13007-1.cc: Likewise.
2334 * testsuite/27_io/basic_streambuf/imbue/wchar_t/13007-2.cc: Likewise.
2335 * testsuite/27_io/basic_streambuf/imbue/wchar_t/9322.cc: Likewise.
2336 * testsuite/27_io/basic_stringbuf/imbue/char/9322.cc: Likewise.
2337 * testsuite/27_io/basic_stringbuf/imbue/wchar_t/9322.cc: Likewise.
2338 * testsuite/27_io/objects/wchar_t/10.cc: Likewise.
2339 * testsuite/27_io/objects/wchar_t/11.cc: Likewise.
2340 * testsuite/27_io/objects/wchar_t/12.cc: Likewise.
2341 * testsuite/27_io/objects/wchar_t/13.cc: Likewise.
2342 * testsuite/27_io/objects/wchar_t/9520.cc: Likewise.
2343 * testsuite/ext/stdio_sync_filebuf/wchar_t/12077.cc: Likewise.
2345 2005-05-17 Nathan Sidwell <nathan@codesourcery.com>
2347 * libsupc++/eh_personality.cc (gcc_unreachable): Define.
2349 2005-05-16 Paolo Carlini <pcarlini@suse.de>
2351 * docs/html/install.html: Update list of required named
2352 locales, add "es_ES".
2354 2005-05-13 Magnus Fromreide <magfr@lysator.liu.se>
2356 * testsuite/27_io/basic_streambuf/sgetn/char/1.cc: Use
2357 initialization instead of copying as the string is used only once.
2358 * testsuite/27_io/basic_streambuf/sgetn/wchar_t/1.cc: Likewise.
2359 * testsuite/27_io/basic_streambuf/sputn/char/1.cc: Likewise.
2360 * testsuite/27_io/basic_streambuf/sputn/wchar_t/1.cc: Likewise.
2362 2005-05-12 Benjamin Kosnik <bkoz@redhat.com>
2364 * scripts/create_testsuite_files: Fix.
2366 2005-05-12 Kaz Kojima <kkojima@gcc.gnu.org>
2368 * testsuite/18_support/numeric_limits.cc (dg-options): Add
2369 -mieee to options on sh*-*-*.
2371 2005-05-10 Jonathan Wakely <redi@gcc.gnu.org>
2373 * include/debug/debug.h: Fix typo in macro name.
2375 2005-05-09 Paolo Carlini <pcarlini@suse.de>
2376 Giovanni Bajo <giovannibajo@gcc.gnu.org>
2379 * include/bits/deque.tcc: Fully qualify names from namespace std.
2380 * include/bits/stl_bvector.h: Likewise.
2381 * include/bits/stl_deque.h: Likewise.
2382 * include/bits/stl_list.h: Likewise.
2383 * include/bits/stl_map.h: Likewise.
2384 * include/bits/stl_multimap.h: Likewise.
2385 * include/bits/stl_multiset.h: Likewise.
2386 * include/bits/stl_set.h: Likewise.
2387 * include/bits/stl_vector.h: Likewise.
2388 * include/bits/vector.tcc: Likewise.
2389 * include/std/std_bitset.h: Likewise.
2390 * testsuite/23_containers/bitset/18604.cc: New.
2391 * testsuite/23_containers/deque/18604.cc: Likewise.
2392 * testsuite/23_containers/list/18604.cc: Likewise.
2393 * testsuite/23_containers/map/18604.cc: Likewise.
2394 * testsuite/23_containers/set/18604.cc: Likewise.
2395 * testsuite/23_containers/vector/18604.cc: Likewise.
2397 2005-05-09 Mike Stump <mrs@apple.com>
2399 * configure: Regenerate.
2401 2005-05-09 Jonathan Wakely <redi@gcc.gnu.org>
2403 DR 434. bitset::to_string() hard to use [Ready]
2404 * include/debug/bitset (to_string): Add three overloads, taking
2405 fewer template arguments.
2407 2005-05-06 Mark Mitchell <mark@codesourcery.com>
2409 * testsuite/testsuite_hooks.cc (try_mkfifo): Remove.
2410 * testsuite/testsuite_hooks.h (try_mkfifo): Likewise.
2411 * testsuite/27_io/basic_filebuf/close/char/4879.cc: Use
2412 dg-require-fork and dg-require-mkfifo. Replace try_mkfifo with
2414 * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise.
2415 * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
2416 * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise.
2417 * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-2.cc:
2419 * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc:
2421 * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise.
2422 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc:
2424 * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise.
2425 * testsuite/27_io/objects/char/7.cc: Likewise.
2426 * testsuite/27_io/objects/char/9661-1.cc: Likewise.
2427 * testsuite/27_io/objects/wchar_t/7.cc: Likewise.
2428 * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise.
2430 2005-05-04 Benjamin Kosnik <bkoz@redhat.com>
2432 * acinclude.m4: Remove testsuite_wchar_t and testsuite_thread.
2433 * testsuite/Makefile.am: Same.
2434 * scripts/create_testsuite_files: Same.
2435 * Makefile.in: Regenerate.
2437 * include/Makefile.in: Same.
2438 * libmath/Makefile.in: Same.
2439 * libsupc++/Makefile.in: Same.
2440 * po/Makefile.in: Same.
2441 * src/Makefile.in: Same.
2443 2005-05-04 Mark Mitchell <mark@codesourcery.com>
2445 * testsuite/lib/libstdc++.exp (v3-build_support): Look for
2446 __GTHREADS, rather than _GLIBCXX_HAVE_GTHR_DEFAULT, to determine
2447 whether or not thread support is available.
2449 * docs/html/test.html: Explain how to run the testsuite on an
2450 installed directory.
2452 2005-05-01 Paolo Carlini <pcarlini@suse.de>
2454 * config/os/aix/os_defines.h: Remove obsolete __off_t,
2455 __off64_t, __ssize_t defines.
2456 * config/os/djgpp/os_defines.h: Likewise.
2457 * config/os/hpux/os_defines.h: Likewise.
2458 * config/os/irix/irix5.2/os_defines.h: Likewise.
2459 * config/os/irix/irix6.5/os_defines.h: Likewise.
2460 * config/os/solaris/solaris2.5/os_defines.h: Likewise.
2461 * config/os/solaris/solaris2.6/os_defines.h: Likewise.
2462 * config/os/solaris/solaris2.7/os_defines.h: Likewise.
2463 * docs/html/17_intro/porting.html: Don't discuss the defines.
2464 * docs/html/17_intro/porting.texi: Likewise.
2466 2005-04-29 Paolo Carlini <pcarlini@suse.de>
2467 Nathan Myers <ncm@cantrip.org>
2470 * include/bits/fstream.tcc (basic_filebuf<>::xsgetn):
2471 Loop on short reads; remove the work-around for
2472 libstdc++/20806, not needed anymore.
2474 2005-04-29 Paolo Carlini <pcarlini@suse.de>
2477 * include/bits/locale_facets.tcc (num_get::_M_extract_float,
2478 num_get::_M_extract_int, num_get::do_get(bool&),
2479 num_put::_M_insert_int, num_put::_M_insert_float,
2480 num_put::do_put(bool), money_get::_M_extract,
2481 money_put::_M_insert): Adjust the __cache_type typedef not to
2482 forward to a numpunct/moneypunct typedef.
2483 * testsuite/testsuite_character.h: Add pod_uint and its numpunct
2484 and moneypunct specializations.
2485 * testsuite/testsuite_character.cc: Add numpunct<pod_uint>::id
2486 and moneypunct<pod_uint>::id.
2487 * testsuite/22_locale/num_get/3.cc: New.
2488 * testsuite/22_locale/num_put/3.cc: Likewise.
2489 * testsuite/22_locale/money_get/3.cc: Likewise.
2490 * testsuite/22_locale/money_put/3.cc: Likewise.
2492 * include/bits/locale_facets.tcc (money_put::_M_insert,
2493 time_get::_M_extract_name): Prefer operator== to operator!=
2496 2005-04-29 Paolo Carlini <pcarlini@suse.de>
2498 * include/tr1/type_traits (is_convertible): Adjust according
2499 to the resolution of TR1 issue 3.20.
2500 * testsuite/tr1/4_metaprogramming/relationships_between_types/
2501 is_convertible/is_convertible.cc: Add tests.
2503 2005-04-28 Paolo Carlini <pcarlini@suse.de>
2504 Gabriel Dos Reis <gdr@integrable-solutions.net>
2506 PR libstdc++/21244 (cont)
2507 * include/bits/cpp_type_traits.h (struct __traitor): Convert
2509 * include/bits/stl_algo.h: Convert _S_threshold to int.
2510 * include/bits/stl_bvector.h: Revert previous change, convert
2512 * include/debug/formatter.h: Convert __max_parameters to
2514 * include/ext/mt_allocator.h: Likewise for _S_chunk_size.
2515 * include/ext/pool_allocator.h: Likewise for _S_max_bytes and
2517 * include/ext/rope: Likewise for _S_alloc_granularity; convert
2518 _S_max_rope_depth to int.
2519 * include/ext/ropeimpl.h: Convert _S_path_cache_len to int;
2520 _S_max_rope_depth to int; _S_copy_max to size_t.
2522 2005-04-27 Benjamin Kosnik <bkoz@redhat.com>
2524 * docs/doxygen/user.cfg.in: Update to doxygen-1.4.2.
2525 * docs/doxygen/doxygroups.cc: Update namespace comments.
2527 2005-04-27 Dominik Strasser <dominik.strasser@infineon.com>
2528 Paolo Carlini <pcarlini@suse.de>
2531 * include/bits/stl_bvector.h: Change the anonymous enum
2532 at namespace scope to _S_word_bit_enum.
2533 * testsuite/23_containers/vector/bool/21244.cc: New.
2535 2005-04-27 Paolo Carlini <pcarlini@suse.de>
2537 * include/tr1/type_traits (has_trivial_copy, has_trivial_assign,
2538 has_nothrow_copy, has_nothrow_assign): Adjust according to the
2539 resolution of TR1 issue 3.21.
2540 * testsuite/testsuite_tr1.h (test_copy_property,
2541 test_assign_property): Remove.
2542 * testsuite/tr1/4_metaprogramming/type_properties/
2543 has_nothrow_assign/has_nothrow_assign.cc: Adjust.
2544 * testsuite/tr1/4_metaprogramming/type_properties/
2545 has_nothrow_copy/has_nothrow_copy.cc: Likewise.
2546 * testsuite/tr1/4_metaprogramming/type_properties/
2547 has_trivial_assign/has_trivial_assign.cc: Likewise.
2548 * testsuite/tr1/4_metaprogramming/type_properties/
2549 has_trivial_copy/has_trivial_copy.cc: Likewise.
2551 2005-04-26 Jones Desougi <jones@ingate.com>
2554 * linkage.m4: Fix comments.
2556 2005-04-26 Paolo Carlini <pcarlini@suse.de>
2559 * include/bits/locale_facets.tcc (_M_extract_int): Avoid signed
2560 integer overflow, always use a suited unsigned type in the main
2562 (struct __to_unsigned_type): New.
2563 * testsuite/22_locale/num_get/get/char/16.cc: New.
2564 * testsuite/22_locale/num_get/get/wchar_t/16.cc: Likewise.
2566 2005-04-25 Paolo Carlini <pcarlini@suse.de>
2569 * include/bits/basic_string.h (compare): Adjust the documentation
2570 to match the implementation and the standard.
2572 2005-04-24 Paolo Carlini <pcarlini@suse.de>
2574 * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 35.
2576 2005-04-20 Mark Mitchell <mark@codesourcery.com>
2578 * testsuite/ext/bitmap_allocator/check_allocate_max_size.cpp: Add
2579 explicit instantiations for systems without weak symbols.
2580 * testsuite/ext/bitmap_allocator/check_deallocate_null.cc:
2583 2005-04-18 Jonathan Wakely <redi@gcc.gnu.org>
2585 * include/bits/stl_algo.h (rotate_copy): Add missing std qualification.
2587 2005-04-17 Paolo Carlini <pcarlini@suse.de>
2590 * include/bits/locale_facets.tcc (__int_to_char(_CharT*, _ValueT,
2591 const _CharT*, ios_base::fmtflags, bool)): Don't deal with numeric
2592 base or sign here, instead...
2593 (_M_insert_int(_OutIter, ios_base&, _CharT, _ValueT)): ... here,
2594 after adding the grouping. This fixes the bug and also allows to
2595 clean-up the code dealing with integer types.
2596 (_M_group_int(const char*, size_t, _CharT, ios_base&, _CharT*,
2597 _CharT*, int&)): Simplify, remove bits dealing with numeric base.
2598 (__int_to_char(_CharT*, unsigned long, const _CharT*,
2599 ios_base::fmtflags), __int_to_char(_CharT*, unsigned long long,
2600 const _CharT*, ios_base::fmtflags)): Remove hackish fix for
2602 (__int_to_char(_CharT*, long, const _CharT*, ios_base::fmtflags),
2603 __int_to_char(_CharT*, long long, const _CharT*, ios_base::fmtflags)):
2604 Simplify, don't pass the sign.
2605 (_M_insert_float(_OutIter, ios_base&, _CharT, char, _ValueT)):
2606 Deal with a sign at the beginning of __cs; robustify the grouping
2608 * testsuite/22_locale/num_put/put/char/20914.cc: New.
2609 * testsuite/22_locale/num_put/put/wchar_t/20914.cc: Likewise.
2611 2005-04-14 Benjamin Kosnik <bkoz@redhat.com>
2613 * include/ext/bitmap_allocator.h
2614 (__gnu_cxx::free_list::_M_get_mutex): New.
2615 (__gnu_cxx::free_list::_M_get_free_list): New.
2616 (__gnu_cxx::free_list::_S_bfl_mutex): Remove.
2617 (__gnu_cxx::free_list::_S_free_list): Remove.
2618 * src/bitmap_allocator.cc: Same.
2619 * config/linker-map.gnu: Remove free_list and mutex export.
2621 2005-04-14 Benjamin Kosnik <bkoz@redhat.com>
2623 * include/ext/pod_char_traits.h (__gnu_cxx::character): Add char_type.
2624 (character::to): New.
2625 (character::from): New.
2626 (operator==): Add state parameter.
2628 (char_traits::copy): Use std::copy.
2629 (char_traits::assign): Use std::fill_n.
2630 (char_traits::to_char_type): Use character::from.
2631 (char_traits::to_int_type): Use character::to.
2632 * testsuite/testsuite_character.h (__gnu_test::character): Remove.
2633 (__gnu_test::conversion_state): Remove.
2634 (__gnu_test::pod_char): Remove.
2635 (pod_char): New typedef.
2636 (pod_uchar): New typedef.
2637 (pod_ushort): New typedef.
2638 * testsuite/testsuite_character.cc: Fixups.
2639 * testsuite/21_strings/basic_string/inserters_extractors/pod/
2641 * testsuite/21_strings/basic_string/inserters_extractors/pod/
2643 * testsuite/22_locale/numpunct/members/pod/1.cc: Same.
2644 * testsuite/22_locale/numpunct/members/pod/2.cc: Same.
2645 * testsuite/27_io/basic_filebuf/close/12790-1.cc: Same.
2646 * testsuite/27_io/basic_filebuf/open/12790-1.cc: Same.
2647 * testsuite/27_io/basic_filebuf/seekoff/12790-1.cc: Same.
2648 * testsuite/27_io/basic_filebuf/seekoff/12790-2.cc: Same.
2649 * testsuite/27_io/basic_filebuf/seekoff/12790-3.cc: Same.
2650 * testsuite/27_io/basic_filebuf/seekoff/12790-4.cc: Same.
2651 * testsuite/27_io/basic_filebuf/seekpos/12790-1.cc: Same.
2652 * testsuite/27_io/basic_filebuf/seekpos/12790-2.cc: Same.
2653 * testsuite/27_io/basic_filebuf/seekpos/12790-3.cc: Same.
2654 * testsuite/27_io/basic_ios/imbue/14072.cc: Same.
2655 * testsuite/27_io/basic_istream/extractors_arithmetic/pod/
2657 * testsuite/27_io/basic_istream/extractors_character/pod/
2659 * testsuite/27_io/basic_istream/extractors_other/pod/3983-3.cc: Same.
2660 * testsuite/27_io/basic_istream/sentry/pod/1.cc: Same.
2661 * testsuite/27_io/basic_ostream/sentry/pod/1.cc: Same.
2663 2005-04-12 Mike Stump <mrs@apple.com>
2665 * configure: Regenerate.
2667 2005-04-08 Benjamin Kosnik <bkoz@redhat.com>
2669 * testsuite/Makefile.am: Remove libv3test.a.
2670 * testsuite/Makefile.in: Regenerate.
2671 * testsuite/lib/libstdc++.exp (v3_target_compile): Fix comments.
2673 2005-04-08 Paolo Carlini <pcarlini@suse.de>
2676 * include/bits/locale_facets.tcc (num_put<>::_M_insert_float):
2677 Don't even try to group numbers like 2e20, i.e., no decimal
2678 point, scientific notation.
2679 * testsuite/22_locale/num_put/put/char/20909.cc: New.
2680 * testsuite/22_locale/num_put/put/wchar_t/20909.cc: Likewise.
2682 2005-04-08 Kelley Cook <kcook@gcc.gnu.org>
2684 * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Define _GLIBCXX_ASM_SYMVER.
2685 * acconfig.h: Delete file.
2686 * Makefile.in, acinclude.m4, configure: Regenerate.
2688 2005-04-08 Kelley Cook <kcook@gcc.gnu.org>
2690 * linkage.m4 (GLIBCXX_MAYBE_UNDERSCORED_FUNCS): New macro.
2691 (GLIBCXX_CHECK_MATH_DECL_AND_LINKAGE_1,
2692 GLIBCXX_CHECK_MATH_DECL_AND_LINKAGE_2,
2693 GLIBCXX_CHECK_MATH_DECL_AND_LINKAGE_3,
2694 GLIBCXX_CHECK_MATH_DECLS_AND_LINKAGES_1,
2695 GLIBCXX_CHECK_STDLIB_DECL_AND_LINKAGE_2): Use it.
2696 (GLIBCXX_CHECK_MATH_SUPPORT): Delete obsolete comment.
2697 * acconfig.h: Delete redundant macros.
2698 * config.h.in, configure: Regenerate.
2700 2005-04-08 Kelley Cook <kcook@gcc.gnu.org>
2702 * linkage.m4 (GLIBCXX_CHECK_MATH_DECLS_AND_LINKAGES_1): Eliminate
2703 a subshell and if test fails, test for same functions with
2705 (GLIBCXX_CHECK_MATH_SUPPORT): Eliminate seperate checks for _funcs.
2706 * configure: Regenerate.
2708 2005-04-08 Danny Smith <dannysmith@users.sourceforge.net>
2709 Paolo Carlini <pcarlini@suse.de>
2712 * config/os/mingw32/os_defines.h: Define
2713 _GLIBCXX_HAVE_DOS_BASED_FILESYSTEM.
2714 * config/os/newlib/os_defines.h: Likewise, for __CYGWIN__.
2715 * include/bits/fstream.tcc (basic_filebuf<>::showmanyc()):
2717 (basic_filebuf<>::xsgetn(_CharT*, streamsize)): Likewise.
2719 2005-04-08 Kelley Cook <kcook@gcc.gnu.org>
2721 * acconfig.h: Sort the bottom section.
2722 * config.h.in: Regenerate.
2724 2005-04-08 Kelley Cook <kcook@gcc.gnu.org>
2726 * acconfig.h: Remove redundant HAVE_FLOAT_H.
2727 * config.h.in: Regenerate.
2729 2005-04-08 Kelley Cook <kcook@gcc.gnu.org>
2731 * configure.ac: Create template for PACKAGE and VERSION.
2732 Update comment on how to regenerate file. Update minimum
2733 automake version to 1.9.3.
2734 * acconfig.h: Remove PACKAGE and VERSION.
2735 * aclocal.m4, configure, Makefile.in, po/Makefile.in,
2736 src/Makefile.in, include/Makefile.in, libmath/Makefile.in,
2737 testsuite/Makefile.in, config.h.in: Regenerate.
2739 2005-04-06 Benjamin Kosnik <bkoz@redhat.com>
2741 * docs/html/test.html: Update.
2742 * testsuite/printnow.c: Remove.
2743 * scripts/check_survey.in: Remove.
2745 * testsuite/abi_check.cc: To...
2746 * testuite/testsuite_abi_check.cc: ...here.
2747 * testsuite/libstdc++-abi/abi.exp: Change abi_check.cc to
2748 testsuite_abi_check.cc.
2750 * testsuite/testsuite_hooks.h: Move character related bits to...
2751 * testsuite/testsuite_character.h: ...here.
2752 * testsuite/testsuite_character.cc: ... and here.
2753 * testsuite/21_strings/basic_string/inserters_extractors/pod/
2754 10081-in.cc: Use testsuite_character.h.
2755 * testsuite/21_strings/basic_string/inserters_extractors/pod/
2757 * testsuite/22_locale/numpunct/members/pod/1.cc: Same.
2758 * testsuite/22_locale/numpunct/members/pod/2.cc: Same.
2759 * testsuite/27_io/basic_filebuf/2.cc: Same.
2760 * testsuite/27_io/basic_fstream/2.cc: Same.
2761 * testsuite/27_io/basic_istream/2.cc: Same.
2762 * testsuite/27_io/basic_istream/extractors_arithmetic/pod/
2764 * testsuite/27_io/basic_istream/extractors_character/char/
2766 * testsuite/27_io/basic_istream/extractors_character/pod/
2768 * testsuite/27_io/basic_istream/extractors_other/pod/3983-3.cc: Same.
2769 * testsuite/27_io/basic_istream/sentry/pod/1.cc: Same.
2770 * testsuite/27_io/basic_ostream/2.cc: Same.
2771 * testsuite/27_io/basic_ostream/sentry/pod/1.cc: Same.
2772 * testsuite/27_io/basic_streambuf/2.cc: Same.
2773 * testsuite/27_io/basic_stringbuf/2.cc: Same.
2774 * testsuite/27_io/basic_stringbuf/4.cc: Same.
2775 * testsuite/27_io/basic_stringstream/2.cc: Same.
2776 * testsuite/27_io/fpos/1.cc: Same.
2777 * testsuite/ext/mt_allocator/tune-1.cc: Same.
2778 * testsuite/ext/mt_allocator/tune-2.cc: Same.
2779 * testsuite/ext/stdio_filebuf/char/1.cc: Same.
2780 * testsuite/lib/libstdc++.exp (v3-build_support): Add
2781 testsuite_character.cc.
2782 * testsuite/Makefile.am (libv3test_a_SOURCES): Add
2783 testsuite_character.cc.
2784 * testsuite/Makefile.in: Regenerate.
2786 * configure.ac: Remove use of check_survey.
2787 * configure: Regenerate.
2788 * testsuite/Makefile.am: Remove check-script and
2789 check-script-install rules.
2790 * testsuite/Makefile.in: Regenerate.
2792 2005-04-06 Ulrich Weigand <uweigand@de.ibm.com>
2794 * config/cpu/s390/atomicity.h (__exchange_and_add): Add "memory"
2795 clobber to inline assembly statement.
2797 2005-04-06 Kelley Cook <kcook@gcc.gnu.org>
2799 * acinclude.m4 (_GLIBCXX_USE_LONG_LONG,
2800 _GLIBCXX_USE_WCHAR_T, _GLIBCXX_USE_C99, _GLIBCXX_USE_C99_MATH,
2801 _GLIBCXX_USE_C99_COMPLEX, _GLIBCXX_RES_LIMITS, _GLIBCXX_CONCEPT_CHECKS,
2802 _GLIBCXX_SYMVER, _GLIBCXX_USE_LFS, _GLIBCXX_FULLY_DYNAMIC_STRING,
2803 _GLIBCXX_USE_NLS, HAVE_GTHR_DEFAULT, HAVE_MBSTATE_T, HAVE_POLL,
2804 HAVE_S_ISREG, HAVE_S_IFREG, HAVE_WRITEV, HAVE_INT64_T,
2805 HAVE_LC_MESSAGES): Use long form of AC_DEFINE ...
2806 * acconfig.h: ... to eliminate them from here.
2807 (_GLIBCXX_ASM_SYMVER): Move definition below @BOTTOM@.
2808 * config.h.in, configure: Regenerate.
2810 2005-04-05 Kelley Cook <kcook@gcc.gnu.org>
2812 * Makefile.am (ACLOCAL_AMFLAGS): Define.
2813 * crossconfig.m4: Wrap file into new GLIBCXX_CROSSCONFIG macro.
2814 * configure.ac: Use it.
2815 * acinclude.m4: Delete explicit m4_includes and sincludes.
2816 * aclocal.m4, configure, Makefile.in, po/Makefile.in,
2817 src/Makefile.in, include/Makefile.in, libmath/Makefile.in,
2818 testsuite/Makefile.in: Regenerate.
2820 2005-04-05 Jonathan Wakely <redi@gcc.gnu.org>
2822 * include/tr1/memory, include/tr1/boost_shared_ptr.h: Use mutex
2823 to make _Sp_counted_base::add_ref_lock() thread-safe. Check whether
2824 to destroy resources by testing for equality, not inequality. Add
2825 empty critical sections to solve memory visibility issues.
2826 * testsuite/tr1/2_general_utilities/memory/
2827 shared_ptr/cons/auto_ptr_neg.cc: Use dg-excess-errors instead of
2828 explicitly listing line numbers which need to be kept in sync.
2829 * testsuite/tr1/2_general_utilities/memory/
2830 shared_ptr/assign/auto_ptr_neg.cc: Same.
2831 * testsuite/tr1/2_general_utilities/memory/
2832 shared_ptr/assign/auto_ptr_rvalue_neg.cc: Same.
2833 * testsuite/tr1/2_general_utilities/memory/
2834 shared_ptr/cons/weak_ptr_expired.cc: Make XFAIL for consistency when
2836 * testsuite/tr1/2_general_utilities/memory/
2837 enable_shared_from_this/not_shared.cc: Add explanatory comments.
2838 * testsuite/tr1/2_general_utilities/memory/
2839 enable_shared_from_this/not_shared2.cc: Same.
2840 * testsuite/tr1/2_general_utilities/memory/
2841 enable_shared_from_this/not_shared3.cc: Same.
2843 2005-04-05 Kelley Cook <kcook@gcc.gnu.org>
2845 * acconfig.h: Delete macros already AC_DEFINED.
2846 * config.h.in: Regenerate.
2848 2005-04-05 Kelley Cook <kcook@gcc.gnu.org>
2850 * acconfig.h (HAVE_MODF): Remove.
2851 * linkage.m4: Check for modf.
2852 * config.h.in, configure: Regenerate.
2854 2005-04-05 Kelley Cook <kcook@gcc.gnu.org>
2856 * acconfig.h (ENABLE_NLS, HAVE_CATGETS): Remove.
2857 (HAVE_GETTEXT, HAVE_STPCPY): Likewise.
2858 * config.h.in: Regenerate.
2860 2005-04-05 Kelley Cook <kcook@gcc.gnu.org>
2862 * linkage.m4 (GLIBCXX_CHECK_BUILTIN_MATH_DEC): Use m4 translit macro
2863 to convert to uppercase instead of shelling out to tr.
2864 * acconfig.h: Remove now redundant HAVE__BUILTINS_*.
2865 * configure, config.h.in: Regenerate.
2867 2005-04-05 Kelley Cook <kcook@gcc.gnu.org>
2869 * acconfig.h (HAVE_TANL): Correct cut-and-paste typo.
2870 * config.h.in: Regenerate.
2872 2005-04-04 Mark Mitchell <mark@codesourcery.com>
2874 * testsuite/Makefile.am (check-local): Remove.
2875 (curent_symbols.txt): Likewise.
2876 (check-abi): Do not depend on current_symbols.txt.
2877 * testsuite/Makefile.in: Regenerated.
2878 * testsuite/libstdc++-abi/abi.exp: Build current_symbols.txt.
2880 2005-04-02 Douglas Gregor <doug.gregor@gmail.com>
2882 * include/tr1/tuple_iterate.h (tuple_element): Use new macro
2883 _GLIBCXX_T_NUM_ARGS_PLUS_1 because _T is a macro on Darwin.
2884 * include/tr1/repeat.h (_GLIBCXX_T_NUM_ARGS_PLUS_1): Define for
2886 * scripts/gen_includers.h: Define _GLIBCXX_T_NUM_ARGS_PLUS_1 for
2889 2005-04-01 Douglas Gregor <doug.gregor@gmail.com>
2891 * include/tr1/functional (_Maybe_wrap_member_pointer): Wrap up
2892 member pointers in _Mem_fn but let other function objects pass
2894 * include/tr1/functional_iterator (bind): Reduce number of bind()
2895 overloads to two to eliminate ambiguities. Use
2896 _Maybe_wrap_member_pointer to handle member pointers gracefully.
2898 2005-04-01 Mark Mitchell <mark@codesourcery.com>
2900 * testsuite/Makefile.am (noinst_PROGRAMS): Remove.
2901 (site.exp): Write out the path to the baseline file.
2902 (check-abi): Use DejaGNU.
2903 (check-abi-verbose): Remove.
2904 * testsuite/Makefile.in: Regenerated.
2905 * testsuite/abi_check.cc (main): Check the return value from
2907 * testsuite/testsuite_abi.cc (compare_symbols): Return a value.
2908 * testsuite/testsuite_abi.h (compare_symbols): Adjust prototype.
2909 * testsuite/libstdc++-abi/abi.exp: New file.
2911 2005-03-31 Chris Jefferson <chris@bubblescope.net>
2913 * include/tr1/tuple: Support iteration via tuple_iterate.h.
2914 * include/tr1/tuple_iterate.h: Iteration file for tuple.
2916 2005-03-31 Douglas Gregor <doug.gregor@gmail.com>
2918 * include/Makefile.am (tr1_headers): Add bind and mu repetition
2919 headers and reference_wrapper<> forwarding header.
2920 * include/Makefile.in: Regenerate.
2921 * include/tr1/bind_iterate.h: Implementation of function call
2922 operators for the function object returned from tr1::bind().
2923 * include/tr1/bind_repeat.h: Bind-specific repetition header,
2924 akin to include/tr1/repeat.h.
2925 * include/tr1/functional (_Mem_fn): Bug fix: declare result member
2926 template for use with result_of.
2927 (is_bind_expression): New.
2928 (is_placeholder): New.
2929 (_Placeholder): New. Placeholder type for bind.
2930 (_Mu): New. Implementation detail of bind.
2931 (_Bind, _Bind_result): New. Function objects returned by bind.
2932 (_GLIBCXX_JOIN): New. Required to create bind placeholders.
2933 * include/tr1/functional_iterate.h (_Bind, _Bind_result, bind):
2934 New. Implementation of tr1::bind.
2935 * include/tr1/mu_iterate.h (_Mu): result template and operator()
2936 for the _Mu helper to bind.
2937 * include/tr1/ref_fwd.h (reference_wrapper): Forward declaration
2938 used by tuple header.
2941 * include/tr1/repeat.h: Add bind-specific repetition macros.
2942 * include/tr1/tuple: Use reference_wrapper forwarding header for
2943 initial definitions, then include <tr1/functional> at the end, to
2944 make the circular dependencies work.
2945 (tie): Support zero-argument tie() function.
2946 * testsuite/tr1/3_function_objects/bind/all_bound.cc: New test of
2947 bind() functionality with parameters bound.
2948 * testsuite/tr1/3_function_objects/bind/nested.cc: New test of
2949 nested bind() expressions.
2950 * testsuite/tr1/3_function_objects/bind/placeholders.cc: New test
2951 of bind() placeholders.
2952 * testsuite/tr1/3_function_objects/bind/ref.cc: New test of bind()
2953 with arguments bound via reference_wrapper<>.
2954 * scripts/gen_includers.pl: Generate the repetitive part of
2955 include/tr1/repeat.h.
2956 * scripts/gen_bind_includers.pl: Generate the repetitive part of
2957 include/tr1/bind_repeat.h.
2959 2005-03-30 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
2961 * testsuite/Makefile.am (CXX): Use ${SHELL}.
2962 (GLIBCXX_INCLUDES): Same.
2963 (AM_CXXFLAGS): Same.
2964 * testsuite/Makefile.in: Regenerate.
2966 2005-03-25 Mark Mitchell <mark@codesourcery.com>
2968 * testsuite/lib/libstdc++.exp (libstdc++_init): Define LOCALEDIR
2969 when testing an installed compiler.
2971 * testsuite/lib/libstdc++.exp (v3-build_support): Pass -w when
2972 compiling support objects.
2974 2005-03-24 Benjamin Kosnik <bkoz@redhat.com>
2976 * include/tr1/memory: Forward to...
2977 * include/tr1/boost_shared_ptr.h: ...here. Add Boost Software License.
2978 * include/Makefile.am (tr1_headers): Add boost_shared_ptr.h.
2979 * include/Makefile.in: Regenerate.
2980 * testsuite/tr1/2_general_utilities/memory/shared_ptr/cons/
2981 auto_ptr_neg.cc: Adjust line numbers.
2983 2005-03-23 Mark Mitchell <mark@codesourcery.com>
2985 * testsuite/Makefile.am (all-local): Do not build testsuite_files.
2986 * testsuite/Makefile.in: Regenerated.
2988 2005-03-23 Benjamin Kosnik <bkoz@redhat.com>
2990 * acinclude.m4: Adjust so that _GLIBCXX_USE_C99 implies
2991 using _GLIBCXX_USE_C99_COMPLEX, _GLIBCXX_USE_C99_MATH, and
2992 _GLIBCXX_USE_C99_WCHAR.
2993 Remove GLIBCXX_ENABLE_C_MBCHAR, consolidate in GLIBCXX_ENABLE_C99
2994 and GLIBCXX_ENABLE_WCHAR_T.
2995 Take C99 bits from GLIBCXX_CHECK_WCHAR_T_SUPPORT and put in
2997 Change remaining parts of GLIBCXX_CHECK_WCHAR_T_SUPPORT to
2998 GLIBCXX_CHECK_ICONV_SUPPORT.
2999 * configure.ac: Remove GLIBCXX_ENABLE_C_MBCHAR, use
3000 GLIBCXX_CHECK_ICONV_SUPPORT and GLIBCXX_ENABLE_WCHAR_T.
3001 * crossconfig.m4: Same.
3002 * acconfig.h: Same, adjust comments.
3003 * config.h.in: Regenerate.
3004 * configure: Regenerate.
3005 * docs/html/configopts.html: Change --enable-c-mbchar to
3008 * config/locale/gnu/c++locale_internal.h: Guard wide functions
3009 with _GLIBCXX_USE_WCHAR_T.
3010 * include/c_std/std_cwctype.h: Alphabetize, remove duplicates.
3011 * include/c_std/std_cstdio.h: Spacing.
3013 * config/locale/gnu/c_locale.h: Tweaks for unused warnings.
3014 * src/debug.cc: Same.
3016 2005-03-23 Mark Mitchell <mark@codesourcery.com>
3018 * testsuite/libstdc++-dg/normal.exp: Read testsuite_files, if it
3021 * testsuite/lib/libstdc++.exp (libstdc++_wchar_t): Rename to ...
3022 (v3-wchar_t): ... this.
3023 (libstdc++_threads): Rename to ...
3024 (v3-threads): ... this.
3025 (libstdc++_test_objs): Rename to ...
3026 (v3-test_objs): ... this.
3027 (libstdc++_build_support): Rename to ...
3028 (v3-build_support): ... this.
3029 * testsuite/libstdc++-dg/normal.exp: Adjust to use new names.
3031 * testsuite/lib/libstdc++.exp (libstdc++_init): Improve handling
3032 of compilers not in the build directory.
3033 (libstdc++_wchar_t): New variable.
3034 (libstdc++_threads): Likewise.
3035 (libstdc++_test_objs): Likewise.
3036 (v3_target_compile): Use libstdc++_test_objs.
3037 (v3-list-tests): Remove.
3038 (listdc++_build_support): New function.
3039 * testsuite/libstdc++-dg/normal.exp: Rework to dynamically
3040 generate list of tests.
3042 2005-03-21 Chris Jefferson <chris@bubblescope.net>
3045 * include/bits/stl_algobase.h (iter_swap): Only delegate iter_swap
3046 to swap when the iterator's reference_type is a reference to its
3048 * testsuite/25_algorithms/iter_swap/20577.cc: New.
3050 2005-03-21 Zack Weinberg <zack@codesourcery.com>
3052 * acinclude.m4 (GLIBCXX_CONFIGURE): Delete gcc_version logic.
3053 (GLIBCXX_EXPORT_INSTALL_INFO): Adjust quotation so ${gcc_version}
3054 is expanded by the Makefiles, not by configure.
3055 * fragment.am: Set gcc_version.
3056 * libmath/Makefile.am: Likewise.
3057 * configure, Makefile.in, include/Makefile.in, libmath/Makefile.in
3058 * libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in
3059 * testsuite/Makefile.in: Regenerate.
3061 2005-03-16 Paolo Carlini <pcarlini@suse.de>
3063 * testsuite/20_util/functional/binders.cc: Remove explicit
3064 instantiations for non-weak systems.
3065 * testsuite/20_util/memory/allocator/1.cc: Likewise.
3066 * testsuite/20_util/memory/allocator/10378.cc: Likewise.
3067 * testsuite/20_util/memory/allocator/10416.cc: Likewise.
3068 * testsuite/20_util/memory/allocator/8230.cc: Likewise.
3069 * testsuite/20_util/utility/rel_ops.cc: Likewise.
3070 * testsuite/22_locale/ctype/is/char/2.cc: Likewise.
3071 * testsuite/22_locale/ctype/is/wchar_t/2.cc: Likewise.
3072 * testsuite/23_containers/deque/cons/1.cc: Likewise.
3073 * testsuite/23_containers/deque/cons/2.cc: Likewise.
3074 * testsuite/23_containers/deque/invalidation/1.cc: Likewise.
3075 * testsuite/23_containers/deque/invalidation/2.cc: Likewise.
3076 * testsuite/23_containers/deque/invalidation/3.cc: Likewise.
3077 * testsuite/23_containers/deque/invalidation/4.cc: Likewise.
3078 * testsuite/23_containers/deque/modifiers/swap.cc: Likewise.
3079 * testsuite/23_containers/deque/operators/1.cc: Likewise.
3080 * testsuite/23_containers/list/capacity/1.cc: Likewise.
3081 * testsuite/23_containers/list/cons/1.cc: Likewise.
3082 * testsuite/23_containers/list/cons/2.cc: Likewise.
3083 * testsuite/23_containers/list/cons/3.cc: Likewise.
3084 * testsuite/23_containers/list/cons/4.cc: Likewise.
3085 * testsuite/23_containers/list/cons/5.cc: Likewise.
3086 * testsuite/23_containers/list/cons/6.cc: Likewise.
3087 * testsuite/23_containers/list/cons/7.cc: Likewise.
3088 * testsuite/23_containers/list/cons/8.cc: Likewise.
3089 * testsuite/23_containers/list/cons/9.cc: Likewise.
3090 * testsuite/23_containers/list/invalidation/1.cc: Likewise.
3091 * testsuite/23_containers/list/invalidation/2.cc: Likewise.
3092 * testsuite/23_containers/list/invalidation/3.cc: Likewise.
3093 * testsuite/23_containers/list/invalidation/4.cc: Likewise.
3094 * testsuite/23_containers/list/modifiers/1.cc: Likewise.
3095 * testsuite/23_containers/list/modifiers/2.cc: Likewise.
3096 * testsuite/23_containers/list/modifiers/3.cc: Likewise.
3097 * testsuite/23_containers/list/operators/1.cc: Likewise.
3098 * testsuite/23_containers/list/operators/2.cc: Likewise.
3099 * testsuite/23_containers/list/operators/3.cc: Likewise.
3100 * testsuite/23_containers/list/operators/4.cc: Likewise.
3101 * testsuite/23_containers/map/insert/1.cc: Likewise.
3102 * testsuite/23_containers/map/invalidation/1.cc: Likewise.
3103 * testsuite/23_containers/map/invalidation/2.cc: Likewise.
3104 * testsuite/23_containers/map/modifiers/swap.cc: Likewise.
3105 * testsuite/23_containers/map/operators/1.cc: Likewise.
3106 * testsuite/23_containers/multimap/invalidation/1.cc: Likewise.
3107 * testsuite/23_containers/multimap/invalidation/2.cc: Likewise.
3108 * testsuite/23_containers/multimap/modifiers/swap.cc: Likewise.
3109 * testsuite/23_containers/multiset/insert/1.cc: Likewise.
3110 * testsuite/23_containers/multiset/insert/2.cc: Likewise.
3111 * testsuite/23_containers/multiset/invalidation/1.cc: Likewise.
3112 * testsuite/23_containers/multiset/invalidation/2.cc: Likewise.
3113 * testsuite/23_containers/multiset/modifiers/swap.cc: Likewise.
3114 * testsuite/23_containers/priority_queue/members/7161.cc: Likewise.
3115 * testsuite/23_containers/queue/members/7157.cc: Likewise.
3116 * testsuite/23_containers/set/insert/1.cc: Likewise.
3117 * testsuite/23_containers/set/invalidation/1.cc: Likewise.
3118 * testsuite/23_containers/set/invalidation/2.cc: Likewise.
3119 * testsuite/23_containers/set/modifiers/swap.cc: Likewise.
3120 * testsuite/23_containers/stack/members/7158.cc: Likewise.
3121 * testsuite/23_containers/vector/bool/6886.cc: Likewise.
3122 * testsuite/23_containers/vector/capacity/1.cc: Likewise.
3123 * testsuite/23_containers/vector/capacity/8230.cc: Likewise.
3124 * testsuite/23_containers/vector/cons/1.cc: Likewise.
3125 * testsuite/23_containers/vector/cons/2.cc: Likewise.
3126 * testsuite/23_containers/vector/cons/3.cc: Likewise.
3127 * testsuite/23_containers/vector/cons/6513.cc: Likewise.
3128 * testsuite/23_containers/vector/element_access/1.cc: Likewise.
3129 * testsuite/23_containers/vector/invalidation/1.cc: Likewise.
3130 * testsuite/23_containers/vector/invalidation/2.cc: Likewise.
3131 * testsuite/23_containers/vector/invalidation/3.cc: Likewise.
3132 * testsuite/23_containers/vector/invalidation/4.cc: Likewise.
3133 * testsuite/23_containers/vector/modifiers/1.cc: Likewise.
3134 * testsuite/23_containers/vector/modifiers/2.cc: Likewise.
3135 * testsuite/23_containers/vector/modifiers/swap.cc: Likewise.
3136 * testsuite/23_containers/vector/resize/1.cc: Likewise.
3137 * testsuite/24_iterators/back_insert_iterator.cc: Likewise.
3138 * testsuite/24_iterators/front_insert_iterator.cc: Likewise.
3139 * testsuite/24_iterators/insert_iterator.cc: Likewise.
3140 * testsuite/24_iterators/iterator.cc: Likewise.
3141 * testsuite/25_algorithms/copy/1.cc: Likewise.
3142 * testsuite/25_algorithms/copy/2.cc: Likewise.
3143 * testsuite/25_algorithms/copy/3.cc: Likewise.
3144 * testsuite/25_algorithms/copy/4.cc: Likewise.
3145 * testsuite/25_algorithms/equal.cc: Likewise.
3146 * testsuite/25_algorithms/fill/1.cc: Likewise.
3147 * testsuite/25_algorithms/fill/2.cc: Likewise.
3148 * testsuite/25_algorithms/min_max.cc: Likewise.
3149 * testsuite/25_algorithms/rotate.cc: Likewise.
3150 * testsuite/25_algorithms/unique/1.cc: Likewise.
3151 * testsuite/25_algorithms/unique/2.cc: Likewise.
3152 * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9874.cc: Likewise.
3153 * testsuite/ext/concept_checks.cc: Likewise.
3154 * testsuite/ext/hash_map/1.cc: Likewise.
3155 * testsuite/ext/hash_set/1.cc: Likewise.
3156 * testsuite/ext/rope/1.cc: Likewise.
3157 * testsuite/ext/rope/2.cc: Likewise.
3158 * testsuite/ext/rope/3.cc: Likewise.
3159 * testsuite/thread/pthread1.cc: Likewise.
3160 * testsuite/thread/pthread4.cc: Likewise.
3161 * testsuite/thread/pthread5.cc: Likewise.
3162 * testsuite/thread/pthread6.cc: Likewise.
3163 * testsuite/thread/pthread7-rope.cc: Likewise.
3165 2005-03-15 Zack Weinberg <zack@codesourcery.com>
3167 * include/Makefile.am (c++config.h): Depend on DATESTAMP from gcc
3168 subdirectory. Generate #define of __GLIBCXX__ from contents of
3170 * include/Makefile.in: Regenerate.
3171 * include/bits/c++config: Do not define __GLIBCXX__.
3173 2005-03-15 Paolo Carlini <pcarlini@suse.de>
3176 * include/std/std_complex.h (pow(const complex<_Tp>&,
3177 const _Tp&)): On non-c99 platforms, don't try to compute
3178 log of complex zero.
3180 2005-03-10 Ben Elliston <bje@au.ibm.com>
3182 * testsuite/22_locale/locale/cons/12658_thread-1.cc: Don't XFAIL
3185 2005-03-07 Paolo Carlini <pcarlini@suse.de>
3187 * include/tr1/type_traits (is_polymorphic): Don't forget
3188 the virtual destructor, thus avoiding warnings.
3189 * testsuite/testsuite_tr1.h (class AbstractClass,
3190 class PolymorphicClass): Likewise.
3192 2005-03-07 Paolo Carlini <pcarlini@suse.de>
3194 * include/std/std_complex.h (pow(const complex<_Tp>&,
3195 const complex<_Tp>&)): Dispatch to either __complex_pow(__x.__rep(),
3196 __y.__rep()) or __complex_pow(__x, __y) depending on the macro
3197 _GLIBCXX_USE_C99_COMPLEX.
3199 2005-03-07 Paolo Carlini <pcarlini@suse.de>
3201 * include/std/std_fstream.h (basic_fstream<>::open,
3202 basic_ifstream<>::open, basic_ofstream<>::open): Implement the
3203 resolution of DR 409 [Ready], call clear() on success.
3204 * docs/html/ext/howto.html: Add an entry for DR 409.
3205 * docs/html/faq/index.html (4_4): Clarify the new behavior.
3206 * testsuite/27_io/basic_ifstream/open/char/1.cc: Adjust.
3207 * testsuite/27_io/basic_ofstream/open/char/1.cc: Likewise.
3209 2005-03-05 Joseph S. Myers <joseph@codesourcery.com>
3211 * testsuite/22_locale/collate/compare/wchar_t/2.cc,
3212 testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc,
3213 testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc,
3214 testsuite/22_locale/collate/hash/wchar_t/2.cc,
3215 testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc,
3216 testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc,
3217 testsuite/22_locale/collate/transform/wchar_t/2.cc,
3218 testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc,
3219 testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc:
3220 XFAIL on *-*-hpux11.23.
3222 2005-03-04 Paolo Carlini <pcarlini@suse.de>
3224 * include/tr1/type_traits: Add is_base_of.
3225 * testsuite/tr1/4_metaprogramming/relationships_between_types/
3226 is_base_of/is_base_of.cc: New.
3227 * testsuite/tr1/4_metaprogramming/relationships_between_types/
3228 is_base_of/typedefs.cc: Likewise.
3230 2005-03-03 Benjamin Kosnik <bkoz@redhat.com>
3232 * include/tr1/functional: Convert relative path.
3234 * docs/doxygen/user.cfg.in: Add tr1 includes.
3236 2005-03-03 Paolo Carlini <pcarlini@suse.de>
3238 * include/tr1/type_traits: Implemenet is_polymorphic.
3239 (is_empty): Minor tweaks.
3240 * testsuite/testsuite_tr1.h: Add test types.
3241 * testsuite/tr1/4_metaprogramming/type_properties/
3242 is_polymorphic/is_polymorphic.cc: New.
3243 * testsuite/tr1/4_metaprogramming/type_properties/
3244 is_polymorphic/typedefs.cc: Likewise.
3245 * testsuite/tr1/4_metaprogramming/composite_type_traits/
3246 is_union_or_class/is_union_or_class.cc: Add tests.
3248 2005-03-02 Douglas Gregor <doug.gregor@gmail.com>
3250 * include/tr1/functional (_Has_result_type): Cleanup.
3251 (_Result_of_impl): Handle member data pointers correctly.
3252 (reference_wrapper): Support invocation.
3253 Move repetition code into new file include/tr1/repeat.h.
3254 * include/tr1/functional_iterate.h (reference_wrapper): Support
3255 invocation. Cleanup long lines.
3256 * include/tr1/ref_wrap_iterate.h (reference_wrapper): Declare
3257 invocation operators.
3258 * include/tr1/repeat.h: Code repetition header.
3259 * include/Makefile.am: Add ref_wrap_iterate.h, repeat.h.
3260 * include/Makefile.in: Add ref_wrap_iterate.h, repeat.h.
3261 * testsuite/tr1/3_function_objects/reference_wrapper/invoke.cc:
3262 New test of reference_wrapper invocation.
3263 * testsuite/tr1/3_function_objects/reference_wrapper/typedefs.cc:
3264 New test of reference_wrapper typedefs and base classes.
3265 * testsuite/tr1/3_function_objects/result_of.cc: Trivial cleanup
3268 2005-03-02 Douglas Gregor <doug.gregor@gmail.com>
3270 * include/tr1/function (result_of): New class template.
3271 * include/tr1/functional/iterator.h: Implementation of TR1
3273 * testsuite/tr1/3_function_objects/result_of.cc: New test
3275 2005-03-01 Vladimir Merzliakov <wanderer@rsu.ru>
3277 * testsuite/26_numerics/cmath/c99_classification_macros_c.cc: Tweak.
3279 2005-02-28 Benjamin Kosnik <bkoz@redhat.com>
3281 * testsuite/tr1/2_general_utilities/memory/shared_ptr/
3282 cons/auto_ptr_neg.cc: Correct line numbers.
3284 * testsuite/testsuite_abi.cc: Add CXXABI_1.3.1.
3286 2005-02-28 Jonathan Wakely <redi@gcc.gnu.org>
3288 * include/tr1/memory: Replace checked_deleter with (unchecked)
3289 _Sp_deleter as GCC warns about delete on incomplete types anyway.
3291 2005-02-28 Jonathan Wakely <redi@gcc.gnu.org>
3293 * include/tr1/memory: Add missing "inline" to __throw_bad_weak_ptr.
3295 2005-02-28 Hans-Peter Nilsson <hp@axis.com>
3298 * config/cpu/cris/atomicity.h (__exchange_and_add): In asm, use
3299 'Q' constraint, not 'm'.
3301 2005-02-26 Earl Chew <earl_chew@agilent.com>
3302 Christopher Jefferson <chris@bubblescope.net>
3304 * include/bits/stl_tree.h (_Rb_tree<>::_M_insert): Don't leak
3305 memory if _M_key_compare throws.
3307 2005-02-25 Paolo Carlini <pcarlini@suse.de>
3309 * include/tr1/type_traits: Add the trivial is_union and is_class;
3310 add the __is_union_or_class extension.
3311 (is_enum, is_empty): Use the latter.
3312 * include/tr1/type_traits_fwd.h: Add __is_union_or_class.
3313 * testsuite/testsuite_tr1.h: Add UnionType; trivial formatting
3315 * testsuite/tr1/4_metaprogramming/composite_type_traits/
3316 is_union_or_class/is_union_or_class.cc: New.
3317 * testsuite/tr1/4_metaprogramming/composite_type_traits/
3318 is_union_or_class/typedefs.cc: Likewise.
3320 2005-02-24 Benjamin Kosnik <bkoz@redhat.com>
3322 * testsuite/tr1/6_containers/unordered/instantiate/hash.cc: Guard
3323 wchar_t use with _GLIBCXX_USE_WCHAR_T.
3325 2005-02-24 Benjamin Kosnik <bkoz@redhat.com>
3327 * include/std/std_complex.h: _GLIBCXX_USE_C99_COMPLEX_MATH to
3328 _GLIBCXX_USE_C99_COMPLEX.
3329 * acinclude.m4: Same.
3331 * configure: Regenerate.
3332 * config.h.in: Same.
3334 2005-02-24 Paolo Carlini <pcarlini@suse.de>
3336 * include/tr1/functional (mem_fn): Avoid _T, badname on
3339 2005-02-23 Douglas Gregor <doug.gregor@gmail.com>
3341 * include/tr1/functional (function): New class template.
3342 (mem_fn): New function template.
3343 Implementations of TR1 function and mem_fn facilities.
3344 * include/tr1/functional_iterate.h: Implementations of TR1
3345 function and mem_fn facilities.
3346 * testsuite/tr1/3_function_objects/function/1.cc: New
3347 test of std::tr1::function.
3348 * testsuite/tr1/3_function_objects/function/2.cc: New
3349 test of std::tr1::function.
3350 * testsuite/tr1/3_function_objects/function/3.cc: New
3351 test of std::tr1::function.
3352 * testsuite/tr1/3_function_objects/function/4.cc: New
3353 test of std::tr1::function.
3354 * testsuite/tr1/3_function_objects/function/5.cc: New
3355 test of std::tr1::function.
3356 * testsuite/tr1/3_function_objects/function/6.cc: New
3357 test of std::tr1::function.
3358 * testsuite/tr1/3_function_objects/function/7.cc: New
3359 test of std::tr1::function.
3360 * testsuite/tr1/3_function_objects/function/8.cc: New
3361 test of std::tr1::function.
3362 * testsuite/tr1/3_function_objects/function/9.cc: New
3363 test of std::tr1::function.
3364 * testsuite/tr1/3_function_objects/mem_fn.cc: New test of
3367 2005-02-23 Paolo Carlini <pcarlini@suse.de>
3369 * include/tr1/type_traits: Implement is_convertible.
3370 * testsuite/tr1/4_metaprogramming/relationships_between_types/
3371 is_convertible/is_convertible.cc: New.
3372 * testsuite/tr1/4_metaprogramming/relationships_between_types/
3373 is_convertible/typedefs.cc: Likewise.
3374 * testsuite/testsuite_tr1.h: Add class DerivedType.
3376 * include/tr1/type_traits (is_function): Don't mistake references
3377 to function types for function types.
3378 * testsuite/tr1/4_metaprogramming/primary_type_categories/
3379 is_function/is_function.cc: Add testcase.
3381 2005-02-22 Benjamin Kosnik <bkoz@redhat.com>
3383 * scripts/check_performance: Tweaks.
3385 * testsuite/27_io/basic_ostream/inserters_other/wchar_t/2.cc: Name
3386 output file with extension that clean rules can find.
3388 2005-02-22 Richard Henderson <rth@redhat.com>
3391 * libsupc++/eh_catch.cc (__cxa_begin_catch): Don't special case
3392 decrement of uncaughtExceptions for rethrow.
3394 2005-02-22 Paolo Carlini <pcarlini@suse.de>
3396 * include/tr1/functional: Fix License to GPL with exception.
3397 * include/tr1/hashtable: Likewise.
3398 * include/tr1/tuple: Likewise.
3399 * include/tr1/type_traits: Likewise.
3400 * include/tr1/type_traits_fwd.h: Likewise.
3401 * include/tr1/unordered_map: Likewise.
3402 * include/tr1/unordered_set: Likewise.
3403 * include/tr1/utility: Likewise.
3405 2005-02-22 Paolo Carlini <pcarlini@suse.de>
3407 * testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/
3408 auto_ptr_neg.cc: Add missing dg-do compile directive.
3409 * testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/
3410 auto_ptr_rvalue_neg.cc: Likewise.
3411 * testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/
3412 shared_ptr_neg.cc: Likewise.
3413 * testsuite/tr1/2_general_utilities/memory/shared_ptr/cons/
3414 auto_ptr_neg.cc: Likewise.
3415 * testsuite/tr1/2_general_utilities/memory/shared_ptr/modifiers/
3416 reset_neg.cc: Likewise.
3417 * testsuite/tr1/2_general_utilities/memory/shared_ptr/modifiers/
3418 swap_neg.cc: Likewise.
3420 2005-02-22 Jonathan Wakely <redi@gcc.gnu.org>
3422 * include/Makefile.am, include/Makefile.in: Fix accidental extra
3423 change from previous commit.
3425 2005-02-21 Jonathan Wakely <redi@gcc.gnu.org>
3427 * include/tr1/memory: New file.
3428 * include/Makefile.am, include/Makefile.in: Add new TR1 header.
3429 * testsuite/tr1/2_general_utilities/memory/
3430 enable_shared_from_this/not_shared.cc: New test.
3431 * testsuite/tr1/2_general_utilities/memory/
3432 enable_shared_from_this/not_shared2.cc: New test.
3433 * testsuite/tr1/2_general_utilities/memory/
3434 enable_shared_from_this/not_shared3.cc: New test.
3435 * testsuite/tr1/2_general_utilities/memory/
3436 enable_shared_from_this/shared.cc: New test.
3437 * testsuite/tr1/2_general_utilities/memory/
3438 enable_shared_from_this/still_shared.cc: New test.
3439 * testsuite/tr1/2_general_utilities/memory/
3440 shared_ptr/assign/assign.cc: New test.
3441 * testsuite/tr1/2_general_utilities/memory/
3442 shared_ptr/assign/auto_ptr.cc: New test.
3443 * testsuite/tr1/2_general_utilities/memory/
3444 shared_ptr/assign/auto_ptr_neg.cc: New test.
3445 * testsuite/tr1/2_general_utilities/memory/
3446 shared_ptr/assign/auto_ptr_rvalue_neg.cc: New test.
3447 * testsuite/tr1/2_general_utilities/memory/
3448 shared_ptr/assign/shared_ptr.cc: New test.
3449 * testsuite/tr1/2_general_utilities/memory/
3450 shared_ptr/assign/shared_ptr_neg.cc: New test.
3451 * testsuite/tr1/2_general_utilities/memory/
3452 shared_ptr/comparison/cmp.cc: New test.
3453 * testsuite/tr1/2_general_utilities/memory/
3454 shared_ptr/cons/auto_ptr.cc: New test.
3455 * testsuite/tr1/2_general_utilities/memory/
3456 shared_ptr/cons/auto_ptr_neg.cc: New test.
3457 * testsuite/tr1/2_general_utilities/memory/
3458 shared_ptr/cons/copy.cc: New test.
3459 * testsuite/tr1/2_general_utilities/memory/
3460 shared_ptr/cons/default.cc: New test.
3461 * testsuite/tr1/2_general_utilities/memory/
3462 shared_ptr/cons/pointer.cc: New test.
3463 * testsuite/tr1/2_general_utilities/memory/
3464 shared_ptr/cons/weak_ptr.cc: New test.
3465 * testsuite/tr1/2_general_utilities/memory/
3466 shared_ptr/cons/weak_ptr_expired.cc: New test.
3467 * testsuite/tr1/2_general_utilities/memory/
3468 shared_ptr/dest/dest.cc: New test.
3469 * testsuite/tr1/2_general_utilities/memory/
3470 shared_ptr/misc/io.cc: New test.
3471 * testsuite/tr1/2_general_utilities/memory/
3472 shared_ptr/misc/swap.cc: New test.
3473 * testsuite/tr1/2_general_utilities/memory/
3474 shared_ptr/modifiers/reset.cc: New test.
3475 * testsuite/tr1/2_general_utilities/memory/
3476 shared_ptr/modifiers/reset_neg.cc: New test.
3477 * testsuite/tr1/2_general_utilities/memory/
3478 shared_ptr/modifiers/swap.cc: New test.
3479 * testsuite/tr1/2_general_utilities/memory/
3480 shared_ptr/modifiers/swap_neg.cc: New test.
3481 * testsuite/tr1/2_general_utilities/memory/
3482 shared_ptr/observers/bool_conv.cc: New test.
3483 * testsuite/tr1/2_general_utilities/memory/
3484 shared_ptr/observers/get.cc: New test.
3485 * testsuite/tr1/2_general_utilities/memory/
3486 shared_ptr/observers/unique.cc: New test.
3487 * testsuite/tr1/2_general_utilities/memory/
3488 shared_ptr/observers/use_count.cc: New test.
3490 2005-02-21 Paolo Carlini <pcarlini@suse.de>
3492 * include/tr1/type_traits (is_member_function_pointer):
3493 Remove ugly workaround for c++/19076.
3495 2005-02-21 Paolo Carlini <pcarlini@suse.de>
3497 * include/bits/basic_string.tcc (_Rep::_M_destroy): Don't
3498 check for this == &_S_empty_rep, it's always false, here.
3500 2005-02-19 Matt Austern <austern@gmail.com>
3502 * include/tr1/functional (tr1_hashtable_define_trivial_hash): Make
3503 hash<T>::operator() a const member function for T a fundamental type
3504 * include/tr1/hashtable (extract1st::operator()): Declare const.
3505 (hash_code_base): Declare all member functions const
3506 (hashtable::find): fix call to this->bucket_count()
3507 (hashtable::count): Likewise.
3508 (hashtable::equal_range): m_incr_bucket applies to iterator, not node.
3509 * testsuite/tr1/6_containers/unordered/find/set1.cc: New test.
3510 * testsuite/tr1/6_containers/unordered/find/map1.cc: New test.
3511 * testsuite/tr1/6_containers/unordered/find/multimap1.cc: New test.
3512 * testsuite/tr1/6_containers/unordered/find/multiset1.cc: New test.
3514 2005-02-19 Hans-Peter Nilsson <hp@axis.com>
3517 * include/tr1/functional (hash<std::wstring>): Wrap in #ifdef
3518 _GLIBCXX_USE_WCHAR_T.
3520 2005-02-18 Richard Henderson <rth@redhat.com>
3523 * config/linker-map.gnu (CXXABI_1.3.1): Add __cxa_get_exception_ptr.
3524 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Increment
3525 uncaughtExceptions here instead of ...
3526 * libsupc++/eh_throw.cc (__cxa_throw) ... here.
3527 (__cxa_rethrow): Increment uncaughtExceptions here instead of ...
3528 * libsupc++/eh_catch.cc (__cxa_end_catch): ... here.
3529 (__cxa_get_exception_ptr): New.
3530 * libsupc++/unwind-cxx.h (__cxa_get_exception_ptr): Declare.
3532 2005-02-18 Matt Austern <austern@apple.com>
3534 * testsuite/tr1/6_containers/unordered/insert/array_syntax.cc: Fix
3535 test case to use assignment instead of ==
3536 * testsuite/tr1/6_containers/unordered/insert/map_range.cc: New test.
3537 * testsuite/tr1/6_containers/unordered/insert/multimap_range.cc: New test.
3538 * testsuite/tr1/6_containers/unordered/insert/multiset_range.cc: New test.
3539 * testsuite/tr1/6_containers/unordered/insert/set_range.cc: New test.
3541 2005-02-18 Eric Botcazou <ebotcazou@libertysurf.fr>
3543 * testsuite/thread/pthread1.cc: Do not invoke pthread_setconcurrency
3544 on Solaris 2.6 and below.
3545 * testsuite/thread/pthread2.cc: Likewise.
3546 * testsuite/thread/pthread3.cc: Likewise.
3547 * testsuite/thread/pthread4.cc: Likewise.
3548 * testsuite/thread/pthread5.cc: Likewise.
3549 * testsuite/thread/pthread6.cc: Likewise.
3550 * testsuite/thread/pthread7-rope.cc: Likewise.
3552 2005-02-17 Matt Austern <austern@apple.com>
3554 * include/tr1/functional (hash): New function object.
3555 * include/tr1/hashtable: New file.
3556 * include/tr1/unordered_set: New file.
3557 * include/tr1/unordered_map: New file.
3558 * include/Makefile.am: Add three new TR1 headers.
3559 * include/Makefile.in: Likewise.
3560 * testsuite/tr1/6_containers/unordered/insert/array_syntax.cc: New test.
3561 * testsuite/tr1/6_containers/unordered/insert/map_single.cc: New test.
3562 * testsuite/tr1/6_containers/unordered/insert/multimap_single.cc: New test.
3563 * testsuite/tr1/6_containers/unordered/insert/multiset_single.cc: New test.
3564 * testsuite/tr1/6_containers/unordered/insert/set_single.cc: New test.
3565 * testsuite/tr1/6_containers/unordered/instantiate/hash.cc: New test.
3566 * testsuite/tr1/6_containers/unordered/instantiate/map.cc: New test.
3567 * testsuite/tr1/6_containers/unordered/instantiate/multimap.cc: New test.
3568 * testsuite/tr1/6_containers/unordered/instantiate/multiset.cc: New test.
3569 * testsuite/tr1/6_containers/unordered/instantiate/set.cc: New test.
3571 2005-02-16 Paolo Carlini <pcarlini@suse.de>
3573 * testsuite/23_containers/set/modifiers/16728.cc:
3574 Remove redundant include <testsuite_performance.h>.
3576 2005-02-16 Paolo Carlini <pcarlini@suse.de>
3579 * testsuite/21_strings/basic_string/find/char/3.cc: Fix the test
3580 at line #66 to not access str_lit01 beyond its end.
3581 * testsuite/21_strings/basic_string/find/wchar_t/3.cc: Likewise.
3583 2005-02-15 Paolo Carlini <pcarlini@suse.de>
3584 Jon Grimm <jgrimm2@us.ibm.com>
3587 * include/bits/locale_facets.h (ctype<char>::_M_narrow_init()):
3588 Fix the logic setting _M_narrow_ok: first check whether the
3589 transformation is trivial with a dflt == 0, then deal with the
3590 special case of zero.
3591 * testsuite/22_locale/ctype/narrow/char/19955.cc: New.
3593 * include/bits/locale_facets.h (ctype<char>::_M_widen_init()):
3594 Tweak consistently to use memcmp; minor formatting fixes.
3596 2005-02-15 Jakub Jelinek <jakub@redhat.com>
3599 * testsuite/demangle/abi_examples/01.cc (main): Adjust for 2005-02-13
3601 * testsuite/demangle/abi_examples/02.cc (main): Likewise.
3603 2005-02-13 Richard Guenther <rguenth@gcc.gnu.org>
3604 Paolo Carlini <pcarlini@suse.de>
3607 * include/c_std/std_cmath.h (pow): Use __builtin_powi[lf]
3608 for integer overloads.
3610 * testsuite/26_numerics/cmath/powi.cc: New.
3612 2005-02-11 Janis Johnson <janis187@us.ibm.com>
3614 * testsuite/26_numerics/complex/13450.cc: Fix XFAIL selector.
3615 * testsuite/26_numerics/complex/complex_value.cc: Ditto.
3616 * testsuite/26_numerics/complex/pow.cc: Ditto.
3618 * testsuite/lib/libstdc++.exp: Load target-supports-dg.exp.
3619 * testsuite/26_numerics/complex/13450.cc: XFAIL for broken_cplxf_arg.
3620 * testsuite/26_numerics/complex/complex_value.cc: Ditto.
3621 * testsuite/26_numerics/complex/pow.cc: Ditto.
3623 2005-02-09 Mike Stump <mrs@apple.com>
3625 * libsupc++/del_op.cc: Don't include cstdlib when !_GLIBCXX_HOSTED.
3627 2005-02-09 Janis Johnson <janis187@us.ibm.com>
3629 * testsuite/ext/array_allocator/2.cc: XFAIL for powerpc*-*-linux*.
3631 2005-02-08 Mark Mitchell <mark@codesourcery.com>
3633 * config/linker-map.gnu (GLIBCXX_3.4): Add _ZNSdC* and _ZNSdD*.
3635 2005-02-07 Loren J. Rittle <ljrittle@acm.org>
3637 * testsuite/27_io/basic_istream/getline/wchar_t/5.cc: Make buf static.
3638 * testsuite/27_io/basic_stringbuf/setbuf/wchar_t/4.cc: Make ref and
3641 2005-02-02 Brad Spencer <spencer@infointeractive.com>
3643 * debug.html: Fix broken tags.
3644 * documentation.html: Same.
3646 2005-02-02 Andreas Jaeger <aj@suse.de>
3648 * testsuite/lib/libstdc++.exp: Revert Geoffrey Keating's patch
3650 * testsuite/Makefile.am: Likewise.
3651 * testsuite/Makefile.in: Likewise.
3653 2005-02-01 Paolo Carlini <pcarlini@suse.de>
3655 * include/bits/cpp_type_traits.h: Rename _M_type fields to
3656 __value, except for __enable_if, _M_type -> __type, consistently
3657 with the other traits.
3658 * include/bits/stl_algobase.h: Tweak consistently.
3659 * include/bits/stl_tree.h: Likewise.
3660 * include/bits/valarray_array.h: Likewise.
3661 * include/c_std/std_cmath.h: Likewise.
3662 * include/debug/safe_iterator.h: Likewise.
3663 * include/std/std_complex.h: Likewise.
3665 2005-01-31 Brad Spencer <spencer@infointeractive.com>
3667 * crossconfig.m4: Repair Solaris cross bits for strtold and strtof.
3668 * configure: Regenerated.
3670 2005-01-31 Mark Mitchell <mark@codesourcery.com>
3672 * include/std/std_limits.h (numeric_limits<float>::has_denorm):
3674 (numeric_limits<double>::has_denorm): Likewise.
3675 (numeric_limits<long double>::has_denorm): Likewise.
3677 2005-01-31 Paolo Carlini <pcarlini@suse.de>
3678 Gabriel Dos Reis <gdr@integrable-solutions.net>
3680 * include/bits/cpp_type_traits.h: Add types to the structs thus
3681 making type_traits.h redundant; exploit new __truth_type and
3683 * include/bits/type_traits.h: Remove.
3684 * include/Makefile.am: Update.
3685 * include/Makefile.in: Regenerate.
3686 * include/backward/tempbuf.h: Include cpp_type_traits.h instead.
3687 * include/bits/basic_string.h (replace(iterator, iterator,
3688 _InputIterator, _InputIterator), _S_construct(_InIterator,
3689 _InIterator, const _Alloc&)): Use __is_integer instead.
3690 * include/bits/stl_bvector.h (vector(_InputIterator,
3691 _InputIterator, const allocator_type&), assign(_InputIterator,
3692 _InputIterator), insert(iterator, _InputIterator, _InputIterator)):
3694 * include/bits/stl_construct.h (_Destroy(_ForwardIterator,
3695 _ForwardIterator)): Use __is_scalar.
3696 * include/bits/stl_deque.h (deque(_InputIterator, _InputIterator,
3697 const allocator_type&), assign(_InputIterator, _InputIterator),
3698 insert(iterator, _InputIterator, _InputIterator)): Use __is_integer.
3699 * include/bits/stl_list.h (assign(_InputIterator, _InputIterator),
3700 insert(iterator, _InputIterator, _InputIterator)): Likewise.
3701 * include/bits/stl_tempbuf.h (_Temporary_buffer(_ForwardIterator,
3702 _ForwardIterator)): Use __is_scalar.
3703 * include/bits/stl_uninitialized.h (uninitialized_copy(_InputIterator,
3704 _InputIterator, _ForwardIterator), uninitialized_fill(_ForwardIterator,
3705 _ForwardIterator, const _Tp&), uninitialized_fill_n(_ForwardIterator,
3706 _Size, const _Tp&)): Likewise.
3707 * include/bits/stl_vector.h (vector(_InputIterator, _InputIterator,
3708 const allocator_type&), assign(_InputIterator, _InputIterator),
3709 insert(iterator, _InputIterator, _InputIterator)): Use __is_integer.
3710 * include/debug/debug.h (__valid_range(const _InputIterator&,
3711 const _InputIterator&)): Use __is_integer.
3712 * include/ext/slist (assign(_InputIterator, _InputIterator)): Likewise.
3713 * include/std/std_string.h: Include cpp_type_traits.h instead.
3715 2005-01-30 Paolo Carlini <pcarlini@suse.de>
3718 * config/locale/generic/c_locale.h (__convert_from_v): Switch only
3719 LC_NUMERIC, and only when actually != "C".
3721 2005-01-28 Paolo Carlini <pcarlini@suse.de>
3723 * include/tr1/type_traits (is_function): Minor consistency tweaks.
3725 2005-01-28 Geoffrey Keating <geoffk@apple.com>
3727 * testsuite/lib/libstdc++.exp (libstdc++_init): Search the path
3728 for the compiler. Don't set cxxflags.
3729 (v3_target_compile): Search for libv3test.a relative to $objdir.
3730 (lsearch_all_inline): New.
3731 (lsearch_all_inline_not): New.
3732 (v3-list-tests): Rewrite to not need generated files.
3733 * testsuite/Makefile.am (IGNORE_WCHAR_T): New.
3734 (IGNORE_THREAD): New.
3735 (TESTS_TO_IGNORE): New.
3736 (site.exp): Set tests_to_ignore, cxxflags.
3737 * aclocal.m4: Regenerate.
3738 * Makefile.in: Regenerate.
3739 * libmath/Makefile.in: Likewise.
3740 * libsupc++/Makefile.in: Likewise.
3741 * po/Makefile.in: Likewise.
3742 * src/Makefile.in: Likewise.
3743 * testsuite/Makefile.in: Likewise.
3745 2005-01-28 Paolo Carlini <pcarlini@suse.de>
3747 * include/tr1/type_traits: Implement is_empty.
3748 * testsuite/tr1/4_metaprogramming/type_properties/is_empty/
3750 * testsuite/tr1/4_metaprogramming/type_properties/is_empty/
3751 typedefs.cc: Likewise.
3753 * include/tr1/type_traits (__is_abstract_helper): Simplify a bit.
3755 2005-01-28 Paolo Carlini <pcarlini@suse.de>
3757 * include/tr1/type_traits: Implement is_abstract, by exploiting the
3758 resolution of DR core/337.
3759 * testsuite/testsuite_tr1.h: Add AbstractClass.
3760 * testsuite/tr1/4_metaprogramming/type_properties/is_abstract/
3761 is_abstract.cc: New.
3762 * testsuite/tr1/4_metaprogramming/type_properties/is_abstract/
3763 typedefs.cc: Likewise.
3765 * include/tr1/type_traits (is_function): Rewrite, use the conversion
3766 F& -> F* instead, thus avoiding problems with abstract classes.
3767 * testsuite/tr1/4_metaprogramming/primary_type_categories/
3768 is_function/is_function.cc: Add a test for tricky AbstractClass.
3770 2005-01-26 Paolo Carlini <pcarlini@suse.de>
3772 * include/ext/mt_allocator.h
3773 (struct __per_type_pool_policy<,, false>::_S_get_pool,
3774 struct __per_type_pool_policy<,, true>::_S_get_pool): Scale
3775 _M_chunk_size too with sizeof(_Tp), otherwise the allocator
3776 breaks down as soon as sizeof(_Tp) >~ _S_chunk_size / 128;
3777 reduce to 64 the multiplier for _M_max_bytes (safer wrt
3778 _Binmap_type being a short); trivial reformattings.
3779 * testsuite/ext/mt_allocator/check_allocate_big_per_type.cc: New.
3781 2005-01-26 Paolo Carlini <pcarlini@suse.de>
3783 * acinclude.m4 ([GLIBCXX_ENABLE_C99]): Add ac_c99_complex
3784 to the final test for enable_c99, thus robustifying it; remove
3785 duplicate final test on ac_99_math.
3786 * configure: Regenerate.
3788 * include/std/std_complex.h: Remove usages of the dead
3789 _GLIBCXX_BUGGY_COMPLEX macro.
3791 * testsuite/26_numerics/cmath/19322.cc: Protect with
3792 _GLIBCXX_USE_C99_MATH instead of the stronger _GLIBCXX_USE_C99,
3793 since only C99 math facilities are involved.
3794 * testsuite/26_numerics/cmath/c99_classification_macros_c++.cc:
3797 2005-01-25 Loren J. Rittle <ljrittle@acm.org>
3799 * acinclude.m4 (GLIBCXX_ENABLE_CLOCALE): Map FreeBSD to darwin
3800 instead of generic. Change autoconf report to "darwin or freebsd".
3801 * configure: Regenerate.
3802 * config/os/bsd/freebsd/ctype_inline.h (ctype<wchar_t>::do_is): Add.
3803 (ctype<wchar_t>::do_scan_is): Likewise.
3804 (ctype<wchar_t>::do_scan_not): Likewise.
3806 2005-01-25 Benjamin Kosnik <bkoz@redhat.com>
3808 * acinclude.m4 (GLIBCXX_ENABLE_C99): Test for complex math
3809 functions, and enable _GLIBCXX_USE_C99_COMPLEX_MATH if they exist.
3810 * acconfig.h: Add _GLIBCXX_USE_C99_COMPLEX_MATH.
3811 * config.h.in: Regenerate.
3812 * configure: Regenerate.
3813 * include/std/std_complex.h: Protect complex builtins with
3814 _GLIBCXX_USE_C99_COMPLEX_MATH.
3816 2005-01-24 Paolo Carlini <pcarlini@suse.de>
3818 * include/tr1/type_traits: Implement is_signed and is_unsigned.
3819 * testsuite/tr1/4_metaprogramming/type_properties/
3820 is_signed/is_signed.cc: New.
3821 * testsuite/tr1/4_metaprogramming/type_properties/
3822 is_signed/typedefs.cc: Likewise.
3823 * testsuite/tr1/4_metaprogramming/type_properties/
3824 is_unsigned/is_unsigned.cc: Likewise.
3825 * testsuite/tr1/4_metaprogramming/type_properties/
3826 is_unsigned/typedefs.cc: Likewise.
3828 2005-01-23 Paolo Carlini <pcarlini@suse.de>
3830 * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 34.
3832 2005-01-23 Paolo Carlini <pcarlini@suse.de>
3834 * testsuite/27_io/basic_ostream/cons/wchar_t/9827.cc: New.
3835 * testsuite/27_io/basic_ostream/endl/wchar_t/1.cc: Likewise.
3836 * testsuite/27_io/basic_ostream/ends/wchar_t/1.cc: Likewise.
3837 * testsuite/27_io/basic_ostream/ends/wchar_t/2.cc: Likewise.
3838 * testsuite/27_io/basic_ostream/exceptions/wchar_t/9561.cc: Likewise.
3839 * testsuite/27_io/basic_ostream/flush/wchar_t/1.cc: Likewise.
3840 * testsuite/27_io/basic_ostream/flush/wchar_t/2.cc: Likewise.
3841 * testsuite/27_io/basic_ostream/flush/wchar_t/
3842 exceptions_badbit_throw.cc: Likewise.
3843 * testsuite/27_io/basic_ostream/inserters_arithmetic/
3844 wchar_t/2.cc: Likewise.
3845 * testsuite/27_io/basic_ostream/inserters_arithmetic/
3846 wchar_t/3.cc: Likewise.
3847 * testsuite/27_io/basic_ostream/inserters_arithmetic/
3848 wchar_t/4.cc: Likewise.
3849 * testsuite/27_io/basic_ostream/inserters_arithmetic/
3850 wchar_t/4402.cc: Likewise.
3851 * testsuite/27_io/basic_ostream/inserters_arithmetic/
3852 wchar_t/5.cc: Likewise.
3853 * testsuite/27_io/basic_ostream/inserters_arithmetic/
3854 wchar_t/6.cc: Likewise.
3855 * testsuite/27_io/basic_ostream/inserters_arithmetic/
3856 wchar_t/9555-oa.cc: Likewise.
3857 * testsuite/27_io/basic_ostream/inserters_arithmetic/
3858 wchar_t/exceptions_badbit_throw.cc: Likewise.
3859 * testsuite/27_io/basic_ostream/inserters_arithmetic/
3860 wchar_t/exceptions_failbit_throw.cc: Likewise.
3861 * testsuite/27_io/basic_ostream/inserters_character/
3862 wchar_t/1.cc: Likewise.
3863 * testsuite/27_io/basic_ostream/inserters_character/
3864 wchar_t/2.cc: Likewise.
3865 * testsuite/27_io/basic_ostream/inserters_character/
3866 wchar_t/3.cc: Likewise.
3867 * testsuite/27_io/basic_ostream/inserters_character/
3868 wchar_t/4.cc: Likewise.
3869 * testsuite/27_io/basic_ostream/inserters_character/
3870 wchar_t/5.cc: Likewise.
3871 * testsuite/27_io/basic_ostream/inserters_character/
3872 wchar_t/6.cc: Likewise.
3873 * testsuite/27_io/basic_ostream/inserters_character/
3874 wchar_t/9555-oc.cc: Likewise.
3875 * testsuite/27_io/basic_ostream/inserters_other/
3876 wchar_t/1.cc: Likewise.
3877 * testsuite/27_io/basic_ostream/inserters_other/
3878 wchar_t/2.cc: Likewise.
3879 * testsuite/27_io/basic_ostream/inserters_other/
3880 wchar_t/3.cc: Likewise.
3881 * testsuite/27_io/basic_ostream/inserters_other/
3882 wchar_t/4.cc: Likewise.
3883 * testsuite/27_io/basic_ostream/inserters_other/
3884 wchar_t/5.cc: Likewise.
3885 * testsuite/27_io/basic_ostream/inserters_other/
3886 wchar_t/9318-out.cc: Likewise.
3887 * testsuite/27_io/basic_ostream/inserters_other/
3888 wchar_t/9424-out.cc: Likewise.
3889 * testsuite/27_io/basic_ostream/inserters_other/
3890 wchar_t/9555-oo.cc: Likewise.
3891 * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
3892 error_failbit.cc: Likewise.
3893 * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
3894 exceptions_badbit_throw.cc: Likewise.
3895 * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
3896 exceptions_failbit_throw.cc: Likewise.
3897 * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
3898 exceptions_null.cc: Likewise.
3899 * testsuite/27_io/basic_ostream/put/char/1.cc: Likewise.
3900 * testsuite/27_io/basic_ostream/put/wchar_t/1.cc: Likewise.
3901 * testsuite/27_io/basic_ostream/seekp/char/
3902 exceptions_badbit_throw.cc: Likewise.
3903 * testsuite/27_io/basic_ostream/seekp/wchar_t/
3904 2346-fstream.cc: Likewise.
3905 * testsuite/27_io/basic_ostream/seekp/wchar_t/
3906 2346-sstream.cc: Likewise.
3907 * testsuite/27_io/basic_ostream/seekp/wchar_t/
3908 exceptions_badbit_throw.cc: Likewise.
3909 * testsuite/27_io/basic_ostream/sentry/wchar_t/1.cc: Likewise.
3910 * testsuite/27_io/basic_ostream/sentry/wchar_t/2.cc: Likewise.
3911 * testsuite/27_io/basic_ostream/tellp/wchar_t/1.cc: Likewise.
3912 * testsuite/27_io/basic_ostream/tellp/wchar_t/2.cc: Likewise.
3913 * testsuite/27_io/basic_ostream/tellp/wchar_t/
3914 exceptions_badbit_throw.cc: Likewise.
3915 * testsuite/27_io/basic_ostream/write/wchar_t/1.cc: Likewise.
3917 * testsuite/data/wostream_inserter_char-1.tst: Likewise.
3918 * testsuite/data/wostream_inserter_char-1.txt: Likewise.
3919 * testsuite/data/wostream_inserter_other-1.tst: Likewise.
3920 * testsuite/data/wostream_inserter_other-2.tst: Likewise.
3921 * testsuite/data/wostream_seeks-1.tst: Likewise.
3923 * testsuite/27_io/basic_ostream/endl/char/1.cc: Minor tweaks.
3924 * testsuite/27_io/basic_ostream/ends/char/1.cc: Likewise.
3925 * testsuite/27_io/basic_ostream/exceptions/char/9561.cc: Likewise.
3926 * testsuite/27_io/basic_ostream/flush/char/1.cc: Likewise.
3927 * testsuite/27_io/basic_ostream/flush/char/2.cc: Likewise.
3928 * testsuite/27_io/basic_ostream/flush/char/
3929 exceptions_badbit_throw.cc: Likewise.
3930 * testsuite/27_io/basic_ostream/inserters_arithmetic/
3931 char/2.cc: Likewise.
3932 * testsuite/27_io/basic_ostream/inserters_arithmetic/
3933 char/3.cc: Likewise.
3934 * testsuite/27_io/basic_ostream/inserters_arithmetic/
3935 char/4.cc: Likewise.
3936 * testsuite/27_io/basic_ostream/inserters_arithmetic/
3937 char/4402.cc: Likewise.
3938 * testsuite/27_io/basic_ostream/inserters_arithmetic/
3939 char/5.cc: Likewise.
3940 * testsuite/27_io/basic_ostream/inserters_arithmetic/
3941 char/6.cc: Likewise.
3942 * testsuite/27_io/basic_ostream/inserters_character/
3943 char/4.cc: Likewise.
3944 * testsuite/27_io/basic_ostream/inserters_other/char/
3946 * testsuite/27_io/basic_ostream/inserters_other/char/
3948 * testsuite/27_io/basic_ostream/inserters_other/char/
3949 error_failbit.cc: Likewise.
3950 * testsuite/27_io/basic_ostream/inserters_other/char/
3951 exceptions_badbit_throw.cc: Likewise.
3952 * testsuite/27_io/basic_ostream/inserters_other/char/
3953 exceptions_failbit_throw.cc: Likewise.
3954 * testsuite/27_io/basic_ostream/inserters_other/char/
3955 exceptions_null.cc: Likewise.
3956 * testsuite/27_io/basic_ostream/put/char/1.cc: Likewise.
3957 * testsuite/27_io/basic_ostream/seekp/char/
3958 exceptions_badbit_throw.cc: Likewise.
3959 * testsuite/27_io/basic_ostream/sentry/char/2.cc: Likewise.
3960 * testsuite/27_io/basic_ostream/write/char/1.cc: Likewise.
3962 2005-01-23 Paolo Carlini <pcarlini@suse.de>
3964 * include/tr1/type_traits (aligned_storage): Use __aligned__ instead
3967 2005-01-23 Paolo Carlini <pcarlini@suse.de>
3968 Andreas Jaeger <aj@suse.de>
3971 * include/bits/functexcept.h: Mark the helpers as 'noreturn'.
3973 2005-01-21 Loren J. Rittle <ljrittle@acm.org>
3975 * testsuite/27_io/basic_filebuf/open/char/9507.cc: Allow
3976 lseek on fifo to succeed. Thus, check for consistent report.
3978 2005-01-21 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
3981 * include/bits/stl_list.h (_List_iterator): Initialize _M_node
3983 (_List_const_iterator): Likewise.
3984 * include/bits/stl_tree.h (_Rb_tree_iterator): Likewise.
3985 (_Rb_tree_const_iterator): Likewise.
3987 * testsuite/23_containers/map/operators/1_neg.cc: Adjust line numbers.
3988 * testsuite/23_containers/set/operators/1_neg.cc: Likewise.
3990 2005-01-20 Benjamin Kosnik <bkoz@redhat.com>
3992 * testsuite/Makefile.am (check-compile): New.
3993 * testsuite/Makefile.in: Regenerate.
3994 * scripts/check_compile_time: New.
3995 * scripts/check_performance: Tweaks.
3997 2005-01-19 Paolo Carlini <pcarlini@suse.de>
4000 * include/tr1/utility (struct __pair_get<1>::__get, __const_get):
4001 Fix typo in the return type.
4002 * testsuite/tr1/6_containers/utility/19535.cc: New.
4004 2005-01-19 Loren J. Rittle <ljrittle@acm.org>
4006 * include/ext/array_allocator.h (array_allocator<>::allocate):
4007 Avoid __used. Use __array_used instead.
4008 * docs/html/17_intro/BADNAMES: Add list for FreeBSD.
4010 2005-01-18 David Edelsohn <edelsohn@gnu.org>
4012 * config/os/aix/os_defines.h (_XOPEN_SOURCE): Delete.
4013 (_XOPEN_SOURCE_EXTENDED): Delete.
4015 2005-01-18 Benjamin Kosnik <bkoz@redhat.com>
4017 * testsuite/testsuite_performance.h (time_counter::start):
4019 (clear_counters): Inline.
4020 (start_counters): Inline.
4021 (stop_counters): Inline.
4022 * testsuite/performance/20_util/allocator/map_thread.cc: Return.
4023 * testsuite/performance/20_util/allocator/insert.cc: Remove bogus
4025 * testsuite/performance/20_util/allocator/map_thread.cc: Same.
4027 2005-01-17 Paolo Carlini <pcarlini@suse.de>
4030 * include/bits/stl_tree.h (_Rb_tree<>::insert_unique(iterator,
4031 const _Val&), _Rb_tree<>::insert_equal(iterator, const _Val&)):
4032 Obtain amortized constant complexity if t is inserted right after
4033 p - not before p - as per Table 69.
4034 * testsuite/performance/23_containers/set_insert_from_sorted.cc: New.
4036 * testsuite/23_containers/multiset/insert/2.cc: New.
4037 * testsuite/23_containers/set/insert/1.cc: Likewise.
4039 * testsuite/performance/23_containers/set_create_from_sorted.cc:
4042 * include/bits/stl_tree.h: Add a few missing std:: qualifications.
4044 2005-01-16 Jonathan Wakely <redi@gcc.gnu.org>
4046 * include/ext/rope: Qualify calls to std::copy() by sequence_buffer.
4047 * testsuite/ext/rope/4.cc: Add.
4049 2005-01-16 Lorenz Minder <lminder@gmx.net>
4050 Paolo Carlini <pcarlini@suse.de>
4053 * include/c_std/std_cmath.h: Define the C99 classification facilities
4054 directly inside namespace std:.
4055 * testsuite/26_numerics/cmath/19322.cc: New.
4057 2005-01-15 David Edelsohn <edelsohn@gnu.org>
4059 * config/os/aix/os_defines.h (_G_USING_THUNKS): Delete.
4061 2005-01-14 Paolo Carlini <pcarlini@suse.de>
4064 * include/bits/stl_tree.h (_Rb_tree<>::insert_equal(_II, _II),
4065 _Rb_tree<>::insert_unique(_II, _II)): Use insert_equal (insert_unique,
4066 respectively) with hint (end()).
4067 * testsuite/performance/23_containers/set_create_from_sorted.cc: New.
4069 2005-01-13 Geoffrey Keating <geoffk@apple.com>
4071 * configure.host (darwin): On darwin8 or later, no need to build
4072 libstdc++ with -flat_namespace.
4074 2005-01-13 Jonathan Wakely <redi@gcc.gnu.org>
4076 * docs/doxygen/user.cfg.in: Set HAVE_DOT back to YES.
4078 2005-01-13 Paolo Carlini <pcarlini@suse.de>
4080 * testsuite/26_numerics/cmath/c99_classification_macros_c++.cc:
4081 Re-enable commented-out test for double type.
4083 2005-01-11 Paolo Carlini <pcarlini@suse.de>
4084 Benjamin Kosnik <bkoz@redhat.com>
4086 * src/istream.cc (basic_istream<char>::ignore(streamsize),
4087 basic_istream<char>::ignore(streamsize, int_type),
4088 basic_istream<wchar_t>::ignore(streamsize),
4089 basic_istream<wchar_t>::ignore(streamsize, int_type)): In case
4090 more than numeric_limits<streamsize>::max() chars are skipped,
4091 set _M_gcount = max().
4092 * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
4093 int_type)): Likewise; keep simple, don't forward.
4095 2005-01-11 Paolo Carlini <pcarlini@suse.de>
4097 * src/istream.cc (basic_istream<char>::ignore(streamsize),
4098 basic_istream<char>::ignore(streamsize, int_type),
4099 basic_istream<wchar_t>::ignore(streamsize),
4100 basic_istream<wchar_t>::ignore(streamsize, int_type)): Revert
4101 2005-01-05 change: actually, the previous behavior is conforming
4102 and consistent with that of get(char_type*, streamsize, char_type),
4103 albeit slightly different from that of 3.3/3.4 in a corner case
4104 due to the use of snextc.
4105 * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
4106 int_type)): Likewise.
4107 * testsuite/27_io/basic_istream/ignore/char/4.cc: Remove.
4108 * testsuite/27_io/basic_istream/ignore/wchar_t/4.cc: Likewise.
4110 2005-01-11 Paolo Carlini <pcarlini@suse.de>
4112 * include/tr1/type_traits: Implement alignment_of and aligned_storage.
4113 * testsuite/tr1/4_metaprogramming/other_transformations/
4114 aligned_storage/aligned_storage.cc: New.
4115 * testsuite/tr1/4_metaprogramming/other_transformations/
4116 aligned_storage/typedefs.cc: Likewise.
4117 * testsuite/tr1/4_metaprogramming/type_properties/
4118 alignment_of/alignment_of.cc: Likewise.
4119 * testsuite/tr1/4_metaprogramming/type_properties/
4120 alignment_of/typedefs.cc: Likewise.
4122 2005-01-10 Paolo Carlini <pcarlini@suse.de>
4124 * Makefile.in: Regenerate.
4125 * libmath/Makefile.in: Likewise.
4126 * libsupc++/Makefile.in: Likewise.
4127 * po/Makefile.in: Likewise.
4128 * src/Makefile.in: Likewise.
4129 * testsuite/Makefile.in: Likewise.
4131 2005-01-10 Paolo Carlini <pcarlini@suse.de>
4133 * include/bits/stl_algobase.h (lexicographical_compare):
4136 2005-01-07 Benjamin Kosnik <bkoz@redhat.com>
4138 * acinclude.m4: Remove CCODECVT_H.
4139 * configure: Regenerate.
4140 * include/Makefile.am (host_headers_extra): Move to...
4141 (ext_headers): ...here.
4142 * include/Makefile.in: Regenerate.
4143 * include/ext/enc_filebuf: Remove enc_filebuf, consolidate
4145 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Move...
4146 * include/ext/codecvt_specializations.h: ...here. Remove
4147 _GLIBCXX_USE___ENC_TRAITS.
4148 (__enc_traits): To __encoding_state, put in __gnu_cxx namespace.
4149 (enc_char_traits): To __encoding_char_traits, put in __gnu_cxx
4151 * config/locale/generic/codecvt_specializations.h: Remove.
4152 * include/bits/codecvt.h: Remove codecvt_specializations.h include.
4153 * src/codecvt.cc: Remove __enc_traits::_S_max_size.
4155 2005-01-06 Benjamin Kosnik <bkoz@redhat.com>
4157 * include/bits/fstream.tcc: Remove unnecessary qualifications for
4158 uglified data members of basic_filebuf, including _M_buf,
4159 _M_buf_size, _M_mode, _M_pback_init.
4160 * include/std/std_fstream.h: Same.
4162 2005-01-05 Benjamin Kosnik <bkoz@redhat.com>
4164 * testsuite/testsuite_hooks.h:
4165 (copy_constructor::mark_call): Use __throw_runtime_error.
4166 (assignment_operator::mark_call): Same.
4167 * testsuite/testsuite_hooks.cc (verify_demangle): Same.
4168 (locale_data): Remove, just use runtime_error directly.
4169 (environment_variable): Same.
4171 (run_tests_wrapped_locale): Use __throw_runtime_error.
4172 (run_tests_wrapped_env): Same.
4173 (semaphore::semaphore): Same.
4174 (semaphore::signal): Same.
4175 (semaphore::wait): Same.
4176 * testsuite/testsuite_abi.h (symbol_error): Remove, use logic_error.
4177 * testsuite/testsuite_abi.cc (get_symbol): Use __throw_logic_error.
4178 (create_symbols): Use __throw_runtime_error.
4179 * src/bitmap_allocator.cc: Use __throw_bad_alloc.
4181 2005-01-05 Mark Mitchell <mark@codesourcery.com>
4183 * testsuite/27_io/basic_filebuf/open/char/9507.cc: Remove child
4186 2005-01-05 Paolo Carlini <pcarlini@suse.de>
4188 * src/istream.cc (basic_istream<char>::ignore(streamsize),
4189 basic_istream<char>::ignore(streamsize, int_type),
4190 basic_istream<wchar_t>::ignore(streamsize),
4191 basic_istream<wchar_t>::ignore(streamsize, int_type)): At the end,
4192 first check _M_gcount vs __n.
4193 * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
4194 int_type)): Likewise.
4195 * testsuite/27_io/basic_istream/ignore/char/4.cc: New.
4196 * testsuite/27_io/basic_istream/ignore/wchar_t/4.cc: Likewise.
4198 2005-01-03 Mark Mitchell <mark@codesourcery.com>
4200 * testsuite/testsuite_hooks.cc: Use __throw_exception_again
4201 instead of just throw.
4203 * testsuite/testsuite_hooks.cc: Update coypright and follow style
4205 * testsuite/testsuite_hooks.h: Likewise.
4206 * testsuite/27_io/basic_filebuf/close/char/4879.cc: Use
4207 semaphores, not sleep.
4208 * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise.
4209 * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
4210 * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise.
4211 * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc:
4213 * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise.
4214 * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise.
4215 * testsuite/27_io/objects/char/7.cc: Likewise.
4216 * testsuite/27_io/objects/char/9661-1.cc: Likewise.
4217 * testsuite/27_io/objects/wchar_t/7.cc: Likewise.
4218 * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise.
4220 * configure.ac: Check for sys/ipc.h and sys/sem.h.
4221 * config.h.in: Regenerated.
4222 * configure: Likewise.
4223 * testsuite/testsuite_hooks.cc (_GLIBCXX_SYSV_SEM): Conditionally
4225 (sys/types.h): Include.
4226 (sys/ipc.h): Likewise.
4227 (sys/sem.h): Likewise.
4228 (__gnu_test::semun): New type.
4229 (__gnu_test::semaphore::sempaphore): New function.
4230 (__gnu_test::semaphore::~semaphore): Likewise.
4231 (__gnu_test::semaphore::wait): Likewise.
4232 (__gnu_test::semaphore::signal): Likewise.
4233 * testsuite/testsuite_hooks.h (__gnu_test::semaphore): New class.
4234 * testsuite/27_io/basic_filebuf/close/char/4879.cc: Use
4235 semaphores, not sleep.
4236 * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise.
4237 * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
4238 * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise.
4239 * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc:
4241 * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise.
4242 * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise.
4243 * testsuite/27_io/objects/char/7.cc: Likewise.
4244 * testsuite/27_io/objects/char/9661-1.cc: Likewise.
4245 * testsuite/27_io/objects/wchar_t/7.cc: Likewise.
4246 * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise.
4248 2005-01-03 Paolo Carlini <pcarlini@suse.de>
4250 * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
4251 int_type)): Reset _M_gcount to numeric_limits<streamsize>::min().
4252 * src/istream.cc (basic_istream<char>::ignore(streamsize, int_type),
4253 basic_istream<wchar_t>::ignore(streamsize, int_type)): Likewise.
4254 * src/istream.cc (basic_istream<char>::ignore(streamsize),
4255 basic_istream<wchar_t>::ignore(streamsize)): Likewise; fix a typo.
4257 2005-01-02 Paolo Carlini <pcarlini@suse.de>
4259 * src/istream.cc (basic_istream<char>::ignore(streamsize),
4260 basic_istream<char>::ignore(streamsize, int_type),
4261 basic_istream<wchar_t>::ignore(streamsize),
4262 basic_istream<wchar_t>::ignore(streamsize, int_type)): Avoid
4263 _M_gcount overflows.
4264 * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
4265 int_type)): Likewise; use snextc in the main loop, consistently
4266 with the specializations above.
4268 2005-01-02 Chris Jefferson <chris@bubblescope.net>
4270 * include/bits/stl_algobase.h (mismatch): Correct concept check.
4272 2005-01-01 Paolo Carlini <pcarlini@suse.de>
4274 * testsuite/ext/enc_filebuf/char/13189.cc: Fix, first include
4275 testsuite_hooks.h, to know whether including ext/enc_filebuf.h.
4276 * testsuite/ext/enc_filebuf/wchar_t/13189.cc: Likewise.
4278 2005-01-01 Paolo Carlini <pcarlini@suse.de>
4280 * testsuite/27_io/basic_istream/extractors_character/char/1.cc: Fix,
4281 null-terminate array1 at the outset.
4282 * testsuite/27_io/basic_istream/extractors_character/wchar_t/1.cc: