1 2005-10-01 Kenny Simpson <theonetruekenny@yahoo.com>
3 * include/tr1/tuple_iterate.h (tuple::operator=(const std::pair<>&)):
6 2005-09-30 Paolo Carlini <pcarlini@suse.de>
9 * include/tr1/hashtable (hash_code_base<>::store_code): Add.
10 (hashtable<>::insert(const value_type&)): Use it.
11 * testsuite/tr1/6_containers/unordered/hashtable/24064.cc: New.
13 2005-09-30 Paolo Carlini <pcarlini@suse.de>
16 * include/bits/locale_facets.tcc (__numpunct_cache<>::_M_cache,
17 __moneypunct_cache<>::_M_cache): Check that grouping()[0] > 0.
18 (__verify_grouping): Do the last check only if __grouping[__min] > 0.
19 (__add_grouping<>): End recursion if *__gbeg <= 0.
20 * testsuite/22_locale/num_get/get/char/23953.cc: New.
21 * testsuite/22_locale/num_get/get/wchar_t/23953.cc: Likewise.
22 * testsuite/22_locale/num_put/put/char/23953.cc: Likewise.
23 * testsuite/22_locale/num_put/put/wchar_t/23953.cc: Likewise.
25 2005-09-29 Chris Jefferson <chris@bubblescope.net>
28 * include/tr1/tuple_iterate.h (tuple): Add operator=(std::pair).
29 * testsuite/tr1/6_containers/tuple/creation_functions/23978.cc: New.
31 * include/tr1/functional (ref, cref): Make inline.
32 * include/tr1/tuple_iterate.h (tie): Correct formatting.
33 (make_tuple): Make inline.
35 2005-09-25 Benjamin Kosnik <bkoz@redhat.com>
36 Eric Botcazou <ebotcazou@libertysurf.fr>
38 * include/ext/mt_allocator.h
39 (__per_type_pool<...true>::_S_initialize_once): Always call
41 (__common_pool<...true>::_S_initialize_once): Same.
43 2005-09-23 Benjamin Kosnik <bkoz@redhat.com>
45 * testsuite/ext/mt_allocator/tune-1.cc: Clarify for single-thread.
46 * testsuite/ext/mt_allocator/tune-2.cc: Same.
47 * testsuite/ext/mt_allocator/tune-3.cc: Same.
48 * testsuite/ext/mt_allocator/tune-4.cc: Same.
50 2005-09-21 Guillaume Melquiond <guillaume.melquiond@ens-lyon.fr>
53 * include/ext/mt_allocator.h: Remove excess
54 policy_type::_S_get_pool calls in constructors.
56 2005-09-18 Paolo Carlini <pcarlini@suse.de>
58 PR libstdc++/23417 (cont)
59 * include/bits/stl_tree.h (_Rb_tree_impl<true>): Use member
60 initialization list for -Weffc++.
62 2005-09-16 Janis Johnson <janis187@us.ibm.com>
64 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/23871.cc:
67 2005-09-15 Benjamin Kosnik <bkoz@redhat.com>
72 * include/bits/c++config: Set _GLIBCXX_STD regardless of __GXX_WEAK__.
73 Add in check for __NO_INLINE__ for warning.
74 * testsuite/lib/dg-options.exp (dg-require-debug-mode): New.
75 * testsuite/lib/libstdc++.exp (check_v3_target_debug_mode): New.
76 * testsuite/21_strings/basic_string/element_access/char/21674.cc:
78 * testsuite/21_strings/basic_string/element_access/wchar_t/21674.cc:
81 2005-09-15 Paolo Carlini <pcarlini@suse.de>
84 * include/std/std_ostream.h (operator<<(short), operator<<(unsigned
85 short), operator<<(int), operator<<(unsigned int), operator<<(float)):
86 Don't call operator<<(long), operator<<(unsigned long), or
87 operator<<(double), do the work mandated by the resolution of DR117...
88 * include/bits/ostream.tcc (operator<<(short), operator<<(unsigned
89 short), operator<<(int), operator<<(unsigned int), operator<<(float)):
91 * testsuite/27_io/basic_ostream/inserters_arithmetic/pod/23875.cc: New.
93 2005-09-15 Mark Mitchell <mark@codesourcery.com>
95 * testsuite/testsuite_character.h: Specialize character<>
96 templates in __gnu_cxx, not in __gnu_test.
98 2005-09-13 Jonathan Wakely <cow@compsoc.man.ac.uk>
99 Benjamin Kosnik <bkoz@redhat.com>
102 * testsuite/21_strings/basic_string/element_access/char/21674.cc: New.
103 * testsuite/21_strings/basic_string/element_access/wchar_t/21674.cc:
106 2005-09-12 David Edelsohn <dje@gcc.gnu.org>
110 * include/Makefile.am (stamp-assoc): Install each subgroup
111 of headers separately.
112 * include/Makefile.in: Regenerate.
114 2005-09-12 Benjamin Kosnik <bkoz@redhat.com>
116 * testsuite/ext/mt_allocator/22309_thread.cc: Remove dg-do run.
117 * testsuite/lib/libstdc++.exp ( proc libstdc++_init): Enable
118 shared only for linux.
120 2005-09-12 Benjamin Kosnik <bkoz@redhat.com>
121 David Edelsohn <dje@gcc.gnu.org>
125 * include/Makefile.am (assoc_headers): Break into five sub values.
126 (install-headers): Use them.
128 * include/Makefile.in: Regenerate.
130 2005-09-12 Chris Jefferson <chris@bubblescope.net>
132 * include/bits/stl_algo.h (search_n): Delegate to specializations.
133 (search_n(,,,,binary_predicate)): Likewise.
134 (__search_n(forward_iterator_tag)): Original search_n, tweak to
135 remove an unnecessary comparison.
136 (__search_n(,,,,binary_predicate,forward_iterator_tag)): Likewise.
138 2005-09-12 Jim Xochellis <jimxoch@yahoo.gr>
140 * include/bits/stl_algo.h
141 (__search_n(std::random_access_iterator_tag)): Add specialization.
142 (__search_n(,,,,binary_predicate,std::random_access_iterator_tag)):
145 2005-09-12 Benjamin Kosnik <bkoz@redhat.com>
148 * include/bits/stl_list.h (_List_impl): Use member initialization
150 * include/bits/stl_tree.h (_Rb_tree_impl): Same.
152 2005-09-12 Paolo Carlini <pcarlini@suse.de>
155 * include/bits/stl_iterator.h (__normal_iterator::
156 __normal_iterator<>(const __normal_iterator<_Iter, _Container>&)):
157 Enable only when _Iter is equal to _Container::pointer.
158 * testsuite/21_strings/basic_string/types/23767.cc: New.
159 * testsuite/23_containers/vector/types/23767.cc: Likewise.
160 * testsuite/ext/vstring/types/23767.cc: Likewise.
162 2005-09-11 Benjamin Kosnik <bkoz@redhat.com>
166 * include/ext/mt_allocator.h
167 (__gnu_cxx::__create_handler): Remove.
168 (__pool<true>::_M_destroy_thread_key): Compatibility only.
169 (__pool<true>::_M_initialize(__destroy): Same.
170 (__pool<true>::_M_initialize): New.
171 (__pool<true>::_M_initialize_once): Nothing fancy.
172 (__pool<true>::_M_once): Remove.
173 (__common_pool): New.
174 (__common_pool_base): New.
175 (__per_type_pool): New.
176 (__per_type_pool_base): New.
177 * src/mt_allocator.cc: Same.
178 * config/linker-map.gnu (__pool<true>::_M_initialize()): Add.
180 2005-09-11 Jakub Jelinek <jakub@redhat.com>
184 * src/mt_allocator.cc (__gnu_internal::freelist_mutex): Make static.
185 (__gnu_internal::__freelist): New type.
186 (__gnu_internal::freelist): New variable.
187 (__gnu_internal::_M_destroy_thread_key): New function.
188 (__gnu_cxx::__pool<true>::_M_destroy): Don't delete
189 _M_thread_freelist_initial.
190 (__gnu_cxx::__pool<true>::_M_initialize): Make argument nameless.
191 Don't use _M_thread_freelist and _M_thread_freelist_initial
192 __pool<true> fields, instead use __gnu_internal::freelist fields, call
193 gthread_key_create just once. Use
194 __gnu_internal::_M_destroy_thread_key as key destructor.
195 (__gnu_cxx::__pool<true>::_M_get_thread_id): Store size_t id
196 rather than _Thread_record* in the thread specific value. Don't
197 use _M_thread_freelist __pool<true> field, instead use
198 __gnu_internal::freelist fields.
199 (__gnu_cxx::__pool<true>::_M_destroy_thread_key): Do nothing.
201 2005-09-11 Benjamin Kosnik <bkoz@redhat.com>
202 Jakub Jelinek <jakub@redhat.com>
206 * testsuite/testsuite_shared.cc: New.
207 * testsuite/lib/dg-options.exp (dg-require-sharedlib): New.
208 * testsuite/lib/libstdc++.exp (libstdc++_init): Look for shared
209 library, and set v3-sharedlib based on this.
210 (check_v3_target_sharedlib): New.
211 (proc v3-build_support): Build shared objects.
212 * testsuite/ext/mt_allocator/22309_thread.cc: New, use above.
214 2005-09-11 Paolo Carlini <pcarlini@suse.de>
217 * include/bits/stl_list.h (_List_iterator<>::
218 _List_iterator(_List_node_base*), _List_const_iterator<>::
219 _List_const_iterator(const _List_node_base*)): Make explicit.
220 (list<>::begin(), list<>::end(), list<>::pop_back()): Adjust
222 * include/bits/list.tcc (list<>::insert, list<>::erase): Adjust
224 * include/bits/stl_tree.h (_Rb_tree_iterator<>::
225 _Rb_tree_iterator(_Link_type), _Rb_tree_const_iterator<>::
226 _Rb_tree_const_iterator(_Link_type)): Make explicit.
227 (_Rb_tree<>::begin(), _Rb_tree<>::end()): Adjust consistently.
228 * include/ext/slist (_Slist_iterator<>::_Slist_iterator(_Node*)):
230 (slist<>::erase(iterator), slist<>::erase(iterator, iterator)):
232 * include/tr1/hashtable (hashtable_iterator<>::
233 hashtable_iterator(hash_node<>**)): Make explicit.
234 * testsuite/23_containers/list/23781.cc: New.
235 * testsuite/23_containers/map/23781.cc: Likewise.
236 * testsuite/23_containers/multimap/23781.cc: Likewise.
237 * testsuite/23_containers/multiset/23781.cc: Likewise.
238 * testsuite/23_containers/set/23781.cc: Likewise.
239 * testsuite/ext/slist/23781.cc: Likewise.
240 * testsuite/tr1/6_containers/unordered/23781.cc: Likewise.
241 * testsuite/23_containers/map/operators/1_neg.cc: Adjust dg-error
243 * testsuite/23_containers/set/operators/1_neg.cc: Likewise.
245 * include/tr1/array (array<>::begin(), array<>::end()): Adjust
246 stylistically for consistency with the other containers.
248 2005-09-10 Joseph S. Myers <joseph@codesourcery.com>
250 * testsuite/26_numerics/cmath/c99_classification_macros_c.cc:
251 XFAIL on *-*-linux*, not *-*-linux-gnu.
253 2005-09-09 Benjamin Kosnik <bkoz@redhat.com>
254 Jakub Jelinek <jakub@redhat.com>
256 * src/debug.cc (iterator_base_mutex): Make static for internal
258 * src/locale_init.cc (locale_mutex): Same.
259 * src/mt_allocator.cc (freelist_mutex): Same.
260 * src/pool_allocator.cc (palloc_init_mutex): Same.
262 2005-09-02 Paolo Carlini <pcarlini@suse.de>
264 * testsuite/tr1/6_containers/unordered/hashtable/23465.cc:
265 Reduce maximum size and lf.
267 2005-09-01 Benjamin Kosnik <bkoz@redhat.com>
269 * include/c_std/std_cmath.h: Declare C99 functions and helper
272 2005-09-01 Benjamin Kosnik <bkoz@redhat.com>
273 Paolo Carlini <pcarlini@suse.de>
275 * testsuite/lib/libstdc++.exp (check_v3_target_cxa_atexit): Fix
278 2005-09-01 Benjamin Kosnik <bkoz@redhat.com>
280 * testsuite/lib/libstdc++.exp (check_v3_target_cxa_atexit): New.
281 * testsuite/lib/dg-options.exp (dg-require-cxa-atexit): New.
282 * testsuite/ext/mt_allocator/deallocate_local-6.cc: New.
283 * testsuite/ext/mt_allocator/deallocate_local-8.cc: New.
284 * testsuite/ext/mt_allocator/deallocate_local_thread-5.cc: New.
285 * testsuite/ext/mt_allocator/deallocate_local_thread-7.cc: New.
286 * docs/html/ext/mt_allocator.html: Add link to examples.
287 * testsuite/testsuite_allocator.h: Tweak.
288 * testsuite/ext/mt_allocator/deallocate_global-2.cc: Same.
289 * testsuite/ext/mt_allocator/deallocate_global-4.cc: Same.
290 * testsuite/ext/mt_allocator/deallocate_global_thread-1.cc: Same.
291 * testsuite/ext/mt_allocator/deallocate_global_thread-3.cc: Same.
292 * testsuite/ext/mt_allocator/deallocate_local-2.cc: Same.
293 * testsuite/ext/mt_allocator/deallocate_local-4.cc: Same.
294 * testsuite/ext/mt_allocator/deallocate_local_thread-1.cc: Same.
295 * testsuite/ext/mt_allocator/deallocate_local_thread-3.cc: Same.
296 * testsuite/ext/new_allocator/deallocate_global.cc: Same.
297 * testsuite/ext/new_allocator/deallocate_local.cc: Same.
299 2005-08-31 Paolo Carlini <pcarlini@suse.de>
300 Kaspar Fischer <fischerk@inf.ethz.ch>
303 * include/bits/stl_bvector.h (_Bit_iterator::operator[],
304 _Bit_const_iterator::operator[]): Const-ify.
305 * testsuite/23_containers/vector/bool/23632.cc: New.
307 2005-08-30 Paolo Carlini <pcarlini@suse.de>
309 PR libstdc++/23578 (cont)
310 * include/bits/stl_bvector.h (class vector<bool>): Add
311 a dummy data() to avoid problems in debug-mode.
313 2005-08-30 Paolo Carlini <pcarlini@suse.de>
315 * testsuite/ext/hash_map/23528.cc: New.
317 2005-08-29 Paolo Carlini <pcarlini@suse.de>
319 * include/bits/stl_map.h (class map): ... and a missing @a.
321 2005-08-29 Paolo Carlini <pcarlini@suse.de>
323 * include/bits/stl_map.h (class map): Add missing % in comment.
325 2005-08-29 Paolo Carlini <pcarlini@suse.de>
327 PR libstdc++/23578 (DR 464 [Ready])
328 * include/bits/stl_map.h (class map): Add at(const key_type&)
330 * include/bits/stl_vector.h (class vector): Add data() member
332 * include/debug/map.h (class map): Adjust consistently.
333 * include/debug/vector (class vector): Likewise.
334 * testsuite/23_containers/map/element_access/1.cc: New.
335 * testsuite/23_containers/vector/data_access/1.cc: Likewise.
336 * docs/html/ext/howto.html: Add an entry for DR 464.
338 2005-08-26 Benjamin Kosnik <bkoz@redhat.com>
340 PR libstdc++/20534 (contd)
341 * src/debug.cc (__gnu_debug): Remove __fancy_abort definition.
342 Remove cstdio and cstdlib includes.
343 * include/debug/debug.h: Define inline here. Remove
344 _GLIBCXX_DEBUG_ABORT.
345 * include/debug/macros.h: Remove __fancy_abort declaration,
346 _GLIBXX_DEBUG_ABORT definition.
347 * config/linker-map.gnu: Remove export.
349 2005-08-26 Benjamin Kosnik <bkoz@redhat.com>
351 * scripts/check_compile (UNIQUE_ID): New. Use to name output files.
353 2005-08-26 Paolo Carlini <pcarlini@suse.de>
356 * include/tr1/array: Implement members back(), front(), data(),
357 and the tuple interface; tidy.
358 * testsuite/tr1/6_containers/array/element_access/back.cc: New.
359 * testsuite/tr1/6_containers/array/element_access/data.cc: Likewise.
360 * testsuite/tr1/6_containers/array/element_access/front.cc: Likewise.
361 * testsuite/tr1/6_containers/array/tuple_interface/get.cc: Likewise.
362 * testsuite/tr1/6_containers/array/tuple_interface/tuple_element.cc:
364 * testsuite/tr1/6_containers/array/tuple_interface/tuple_size.cc:
367 2005-08-25 Paolo Carlini <pcarlini@suse.de>
369 * include/tr1/hashtable: Use __throw_exception_again,
370 not naked throw, in the catch clauses.
372 2005-08-24 Lawrence Lim <llim@redhat.com>
373 Jakub Jelinek <jakub@redhat.com>
374 Benjamin Kosnik <bkoz@redhat.com>
377 * testsuite/21_strings/char_traits/requirements/char/1.cc
378 (test01): Simplify counting.
379 * testsuite/21_strings/char_traits/requirements/wchar_t/1.cc
382 2005-08-24 Paolo Carlini <pcarlini@suse.de>
383 Chris Jefferson <chris@bubblescope.net>
386 * include/tr1/hashtable (hash_code_base::m_swap): Use
388 (hashtable<>::hashtable(const hashtable&)): Use copy_code;
389 fix m_allocate_node call.
390 * testsuite/tr1/6_containers/unordered/hashtable/23465.cc: New.
392 2005-08-23 Kelley Cook <kcook@gcc.gnu.org>
395 * testsuite/data/sgetn.txt: Revert to previous FSF address.
397 2005-08-23 Thomas Kho <tkho@ucla.edu>
400 * include/bits/stl_construct.h (_Destroy(_ForwardIterator,
401 _ForwardIterator, allocator<_Tp>)): Removed unused template parameter.
403 2005-08-22 Geoffrey Keating <geoffk@apple.com>
405 * testsuite/23_containers/vector/resize/1.cc: XFAIL on darwin8.
406 * testsuite/27_io/ios_base/storage/2.cc: Likewise.
408 2005-08-19 J"orn Rennecke <joern.rennecke@st.com>
410 * config/cpu/sh/atomicity.h: Replace broken generic code with current
411 copy of generic/atomicity.h .
413 2005-08-17 Kelley Cook <kcook@gcc.gnu.org>
415 * All files: Update FSF address.
417 2005-08-09 Andrew Pinski <pinskia@physics.uc.edu>
419 * testsuite/26_numerics/cmath/c99_classification_macros_c.cc:
420 xfail on *-*-darwin*.
422 2005-08-03 Geoffrey Keating <geoffk@apple.com>
424 * configure.ac: Don't use GCC_NO_EXECUTABLES or clear
425 GLIBCXX_IS_NATIVE on Darwin crosses.
426 * acinclude.m4 (GLIBCXX_CONFIGURE_TESTSUITE): Don't skip configuring
427 the testsuite just because there's no symbol versioning.
428 * configure: Regenerate.
430 * acinclude.m4 (GLIBCXX_CHECK_SETRLIMIT_ancilliary): Print
432 (GLIBCXX_CHECK_S_ISREG_OR_S_IFREG): Likewise.
433 (GLIBCXX_CHECK_POLL): Likewise.
434 (GLIBCXX_CHECK_WRITEV): Likewise.
435 (GLIBCXX_CHECK_INT64_T): Likewise.
436 (GLIBCXX_CHECK_LFS): Likewise.
437 * configure: Regenerate.
439 2005-07-30 Andrew Pinski <pinskia@physics.uc.edu>
441 * scripts/make_exports.pl: Pass --strip-underscores to c++filt.
443 2005-07-29 H.J. Lu <hongjiu.lu@intel.com>
446 * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Revert
447 the change to info.ttype_base.
449 2005-07-28 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
451 * include/std/std_valarray.h: Fix grammar in comments.
453 2005-07-25 Geoffrey Keating <geoffk@apple.com>
455 * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Handle darwin-export,
456 and make it the default for Darwin.
457 * scripts/make-exports.pl: New.
458 * src/Makefile.am: Update for changes to GLIBCXX_ENABLE_SYMVERS.
459 Handle darwin-export.
460 * configure: Regenerate.
461 * include/Makefile.in: Regenerate.
462 * libmath/Makefile.in: Regenerate.
463 * libsupc++/Makefile.in: Regenerate.
464 * po/Makefile.in: Regenerate.
465 * src/Makefile.in: Regenerate.
466 * testsuite/Makefile.in: Regenerate.
468 2005-07-25 Dave Odell <evilalias@hotmail.com>
471 * include/tr1/hashtable (hashtable<>::find_node): Const-ify.
472 * testsuite/tr1/6_containers/unordered/hashtable/23053.cc: New.
474 2005-07-25 Paolo Carlini <pcarlini@suse.de>
477 * include/bits/basic_string.h: Declare the specialization
478 operator>>(basic_istream<char>&, basic_string<char>&).
479 * include/std/std_istream.h: Declate the specialization
480 operator>>(basic_istream<char>&, char*).
481 * include/std/std_streambuf.h (basic_streambuf): Add friend
482 declarations for the above.
483 * src/istream.cc: Define the above.
484 * testsuite/27_io/basic_istream/extractors_character/char/4.cc: New.
485 * testsuite/27_io/basic_istream/extractors_character/wchar_t/4.cc:
487 * testsuite/performance/27_io/ifstream_extract_chars.cc: Likewise.
489 2005-07-20 Paolo Carlini <pcarlini@suse.de>
491 * include/bits/streambuf.tcc (xsgetn, xsputn): Use streamsize
493 * src/streambuf.cc (__copy_streambufs): Likewise.
495 2005-07-18 Paolo Carlini <pcarlini@suse.de>
497 * config/locale/gnu/ctype_members.cc (do_is(mask, wchar_t)):
498 Speed-up for the common case of mask == ctype_base::space;
499 otherwise, exit the loop earlier if the mask is one of the
502 2005-07-14 Paolo Carlini <pcarlini@suse.de>
504 PR libstdc++/21193 (float, double, long double)
505 * include/tr1/functional (hash<float>, hash<double>):
506 Reimplement exploiting the Fnv_hash<>::hash helper.
507 (hash<long double>): Reimplement using frexp (in this
508 case, due to random padding bits, the former approach
509 is not generally viable).
511 2005-07-13 Paolo Carlini <pcarlini@suse.de>
513 PR libstdc++/21193 (string & wstring)
514 * include/tr1/functional (hash<string>, hash<wstring>):
515 Reimplement using the FNV hash.
517 * include/tr1/functional: Trivial formatting fixes.
519 2005-07-11 Paolo Carlini <pcarlini@suse.de>
521 * include/bits/ostream.tcc (basic_ostream<>::operator<<(long),
522 basic_ostream<>::operator<<(long long)): Don't deal with oct
523 and hex and casts to unsigned here...
524 * include/bits/locale_facets.tcc (__int_to_char(_CharT*, long,
525 const _CharT*, ios_base::fmtflags), __int_to_char(_CharT*, long
526 long, const _CharT*, ios_base::fmtflags)): ... do that here,
527 instead, as per Table 57.
528 (num_put<>::_M_insert_int): Tidy treatment of numeric base and
530 * include/std/std_ostream.h (operator<<(short), operator<<(int)):
531 Adjust logic, as per the letter of the resolution of DR117 [WP].
532 * testsuite/22_locale/num_put/put/char/10.cc: New.
533 * testsuite/22_locale/num_put/put/wchar_t/10.cc: Likewise.
534 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/7.cc:
536 * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/7.cc:
539 2005-07-07 David Edelsohn <edelsohn@gnu.org>
541 * testsuite/ext/pb_assoc/example/tree_order_statistics_join.cc:
542 Change map_t to map_type.
544 2005-07-05 Paolo Carlini <pcarlini@suse.de>
546 Add class __versa_string, a versatile "basic_string-type" class:
547 an additional, non-standard, template parameter allows to specify
548 the preferred base class. Two are provided: __rc_string_base,
549 which implements a behavior very similar to our standard string,
550 and __sso_string_base, not reference-counted and optimized for
552 * include/ext/rc_string_base.h: New.
553 * include/ext/sso_string_base.h: Likewise.
554 * include/ext/vstring.h: Likewise.
555 * include/ext/vstring.tcc: Likewise.
556 * include/ext/vstring_fwd.h: Likewise.
557 * include/ext/vstring_util.h: Likewise.
558 * include/Makefile.am: Add.
559 * include/Makefile.in: Regenerate.
560 * testsuite/ext/vstring/explicit_instantiation/1.cc: New.
561 * testsuite/ext/vstring/explicit_instantiation/2.cc: Likewise.
562 * testsuite/ext/vstring/explicit_instantiation/char/1.cc: Likewise.
563 * testsuite/ext/vstring/explicit_instantiation/wchar_t/1.cc: Likewise.
565 * Makefile.in: Regenerate with autotools 1.9.3 (to date, the version
566 officially used by v3).
567 * aclocal.m4: Likewise.
568 * libmath/Makefile.in: Likewise.
569 * libsupc++/Makefile.in: Likewise.
570 * po/Makefile.in: Likewise.
571 * src/Makefile.in: Likewise.
572 * testsuite/Makefile.in: Likewise.
574 2005-07-01 Paolo Carlini <pcarlini@suse.de>
576 Port from libstdcxx_so_7-branch:
577 2004-10-28 Chris Jefferson <chris@bubblescope.net>
580 * include/bit/stl_algo.h (find(,,,input_iterator_tag),
581 find(,,,random_access_interator_tag),
582 find_if(,,,input_iterator_tag),
583 find_if(,,,random_access_iterator_tag)): Uglify function name.
584 (find, find_if): Use new uglified specialisation names.
585 * testsuite/25_algorithms/find/17441.cc: New.
587 2005-06-30 Ulrich Weigand <uweigand@de.ibm.com>
589 * include/ext/pb_assoc/detail/hash_fn/mask_based_range_hashing.hpp
590 (PB_ASSOC_CLASS_C_DEC::s_highest_bit_1): Cast constant 1 to target
591 type before shifting.
593 2005-06-29 Paolo Carlini <pcarlini@suse.de>
595 PR libstdc++/21244 (cont^2)
596 * include/ext/bitmap_allocator.h: Convert everywhere
597 bits_per_block to size_t.
599 2005-06-29 Jonathan Wakely <redi@gcc.gnu.org>
601 * include/bits/basic_string.h, include/bits/locale_facets.h: Fix
602 Doxygen comments that use wrong parameter and function names.
604 2005-06-29 Paolo Carlini <pcarlini@suse.de>
606 * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 37.
607 * docs/html/ext/howto.html: Adjust.
609 2005-06-29 Paolo Carlini <pcarlini@suse.de>
612 * include/bits/locale_facets.tcc (num_get<>::_M_extract_int,
613 num_get<>::_M_extract_float, money_get<>::_M_extract):
614 Adjust to assign the result also when digit grouping is
615 wrong (but the grammar is correct), as per 22.2.2.1.2, p11-12
616 (NB: consistently for money_get too).
617 * config/locale/generic/c_locale.cc (__convert_to_v): Do
618 not check ios_base::failbit at the outset.
619 * config/locale/gnu/c_locale.cc: Likewise.
620 * testsuite/22_locale/money_get/get/char/22131.cc: New.
621 * testsuite/22_locale/money_get/get/wchar_t/22131.cc: Likewise.
622 * testsuite/22_locale/num_get/get/char/22131.cc: Likewise.
623 * testsuite/22_locale/num_get/get/wchar_t/22131.cc: Likewise.
624 * testsuite/22_locale/num_get/get/char/12.cc: Adjust.
625 * testsuite/22_locale/num_get/get/wchar_t/12.cc: Likewise.
626 * testsuite/27_io/basic_istream/extractors_arithmetic/char/07.cc:
628 * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/07.cc:
631 2005-06-28 Paul Brook <paul@codesourcery.com>
633 * acinclude.m4 (GLIBCXX_ENABLE_SJLJ_EXCEPTIONS): Check for
635 * libsupc++/Makefile.am (sources): Add eh_call.c and eh_arm.c.
636 * libsupc++/eh_arm.cc: New file.
637 * libsupc++/eh_call.cc: New file.
638 * libsupc++/eh_catch.cc (__cxa_get_exception_ptr): Use
640 (__cxa_begin_catch): Ditto. Use __is_gxx_exception_class. Call
641 _Unwind_Complete when using the ARM EABI.
642 (__cxa_end_catch): Use __is_gxx_exception_class.
643 * libsupc++/eh_personality.cc: Define NO_SIZE_OF_ENCODED_VALUE when
645 (save_caught_exception, restore_caught_exception): New functions.
646 (_throw_typet): New typedef.
647 (get_ttype_entry, get_adjusted_ptr, check_exception_spec): Add ARM
648 EABI implementations.
649 (PERSONALITY_FUNCTION): Use new functions. Addd support for ARM EABI
651 (__cxa_unexpected): Disable when using the ARM EABI.
652 * libsupc++/eh_throw.cc (__cxa_throw): Use __GXX_INIT_EXCEPTION_CLASS.
653 (__cxa_rethrow): Use __is_gxx_exception_class. Call
654 _Unwind_RaiseException when using the ARM EABI.
655 * libsupc++/unwind-cxx.h (struct __cxa_exception): Add fields for ARM
657 (struct __cxa_eh_globals): Ditto.
658 (__cxa_call_terminate): Add prototype.
659 (__cxa_type_match, __cxa_begin_cleanup, __cxa_end_cleanup): Add
661 (__get_exception_header_from_obj, __get_exception_header_from_ue):
662 Move earlier in file.
663 (__is_gxx_exception_class, __GXX_INIT_EXCEPTION_CLASS,
664 __gxx_caught_object): New functions.
665 * aclocal.m4: Regenerate.
666 * configure: Regenerate.
667 * Makefile.in: Regenerate.
668 * include/Makefile.in: Regenerate.
669 * libmath/Makefile.in: Regenerate.
670 * libsupc++/Makefile.in: Regenerate.
671 * po/Makefile.in: Regenerate.
672 * src/Makefie.in: Regenerate.
673 * testsuite/makefile.in: Regenerate.
675 2005-06-27 Paolo Carlini <pcarlini@suse.de>
678 * include/bits/stl_tree.h (insert_unique(iterator, const _Val&),
679 insert_equal((iterator, const _Val&)): Reimplement to check both
680 before and after, as per the algorithm "ignore hint if wrong" of
683 2005-06-27 Benjamin Kosnik <bkoz@redhat.com>
684 Ami Tavory <pbassoc@gmail.com>
686 * docs/html/documentation.html: Add link for policy based
687 associative containers docs.
688 * docs/html/ext/pb_assoc/Std_hash_set_impl.jpg: New.
689 * docs/html/ext/pb_assoc/acks.html: New.
690 * docs/html/ext/pb_assoc/balls_and_bins.jpg: New.
691 * docs/html/ext/pb_assoc/basic_assoc_cntnr.html: New.
692 * docs/html/ext/pb_assoc/basic_assoc_cntnr_compound_data.html: New.
693 * docs/html/ext/pb_assoc/basic_assoc_cntnr_no_data.html: New.
694 * docs/html/ext/pb_assoc/basic_ds_tag.html: New.
695 * docs/html/ext/pb_assoc/basic_hash_assoc_cntnr.html: New.
696 * docs/html/ext/pb_assoc/basic_hash_ds_tag.html: New.
697 * docs/html/ext/pb_assoc/basic_invalidation_guarantee.html: New.
698 * docs/html/ext/pb_assoc/basic_ms_tag.html: New.
699 * docs/html/ext/pb_assoc/basic_tree_assoc_cntnr.html: New.
700 * docs/html/ext/pb_assoc/
701 basic_tree_assoc_cntnr_const_node_iterator.html: New.
702 * docs/html/ext/pb_assoc/
703 basic_tree_assoc_cntnr_node_iterator.html: New.
704 * docs/html/ext/pb_assoc/basic_tree_assoc_cntnr_rev.html: New.
705 * docs/html/ext/pb_assoc/basic_tree_assoc_cntnr_rev_it.html: New.
706 * docs/html/ext/pb_assoc/basic_tree_ds_tag.html: New.
707 * docs/html/ext/pb_assoc/cc_hash_assoc_cntnr.html: New.
708 * docs/html/ext/pb_assoc/cc_hash_ds_tag.html: New.
709 * docs/html/ext/pb_assoc/
710 cc_hash_max_collision_check_resize_trigger.html: New.
711 * docs/html/ext/pb_assoc/cc_hash_policy_cd.jpg: New.
712 * docs/html/ext/pb_assoc/cd.jpg: New.
713 * docs/html/ext/pb_assoc/component_requirements.html: New.
714 * docs/html/ext/pb_assoc/compound_data_enabled_ms_tag.html: New.
715 * docs/html/ext/pb_assoc/compound_data_type.html: New.
716 * docs/html/ext/pb_assoc/compound_ds_tag.html: New.
717 * docs/html/ext/pb_assoc/concepts.html: New.
718 * docs/html/ext/pb_assoc/contact.html: New.
719 * docs/html/ext/pb_assoc/counter_update_metadata.html: New.
720 * docs/html/ext/pb_assoc/counter_update_policy.html: New.
721 * docs/html/ext/pb_assoc/data_enabled_ms_tag.html: New.
722 * docs/html/ext/pb_assoc/design.html: New.
723 * docs/html/ext/pb_assoc/different_underlying_dss.jpg: New.
724 * docs/html/ext/pb_assoc/direct_mask_range_hashing.html: New.
725 * docs/html/ext/pb_assoc/direct_mod_range_hashing.html: New.
726 * docs/html/ext/pb_assoc/disclaimer.html: New.
727 * docs/html/ext/pb_assoc/ds_gen.html: New.
728 * docs/html/ext/pb_assoc/ds_tag_cd.jpg: New.
729 * docs/html/ext/pb_assoc/ds_traits.html: New.
730 * docs/html/ext/pb_assoc/embedded_lists_1.jpg: New.
731 * docs/html/ext/pb_assoc/embedded_lists_2.jpg: New.
732 * docs/html/ext/pb_assoc/examples.html: New.
733 * docs/html/ext/pb_assoc/exception_guarantees_specifics.html: New.
734 * docs/html/ext/pb_assoc/find_invalidation_guarantee.html: New.
735 * docs/html/ext/pb_assoc/find_iterators_cd.jpg: New.
736 * docs/html/ext/pb_assoc/find_iterators_range_ops_1.jpg: New.
737 * docs/html/ext/pb_assoc/find_iterators_range_ops_2.jpg: New.
738 * docs/html/ext/pb_assoc/generics.html: New.
739 * docs/html/ext/pb_assoc/gp_hash_assoc_cntnr.html: New.
740 * docs/html/ext/pb_assoc/gp_hash_ds_tag.html: New.
741 * docs/html/ext/pb_assoc/gp_hash_policy_cd.jpg: New.
742 * docs/html/ext/pb_assoc/hash_and_probe_general.html: New.
743 * docs/html/ext/pb_assoc/hash_based_containers.html: New.
744 * docs/html/ext/pb_assoc/hash_cd.jpg: New.
745 * docs/html/ext/pb_assoc/hash_exponential_size_policy.html: New.
746 * docs/html/ext/pb_assoc/hash_fn.html: New.
747 * docs/html/ext/pb_assoc/hash_load_check_resize_trigger.html: New.
748 * docs/html/ext/pb_assoc/hash_policies.html: New.
749 * docs/html/ext/pb_assoc/hash_policy_cd.jpg: New.
750 * docs/html/ext/pb_assoc/hash_prime_size_policy.html: New.
751 * docs/html/ext/pb_assoc/hash_range_hashing_seq_diagram.jpg: New.
752 * docs/html/ext/pb_assoc/hash_range_hashing_seq_diagram2.jpg: New.
753 * docs/html/ext/pb_assoc/hash_ranged_hash_range_hashing_fns.jpg: New.
754 * docs/html/ext/pb_assoc/hash_standard_resize_policy.html: New.
755 * docs/html/ext/pb_assoc/home.html: New.
756 * docs/html/ext/pb_assoc/index.html: New.
757 * docs/html/ext/pb_assoc/insert_resize_sequence_diagram1.jpg: New.
758 * docs/html/ext/pb_assoc/insert_resize_sequence_diagram2.jpg: New.
759 * docs/html/ext/pb_assoc/insert_resize_sequence_diagram3.jpg: New.
760 * docs/html/ext/pb_assoc/insert_type_methods.html: New.
761 * docs/html/ext/pb_assoc/interface.html: New.
762 * docs/html/ext/pb_assoc/interval_node_invariants.jpg: New.
763 * docs/html/ext/pb_assoc/introduction.html: New.
764 * docs/html/ext/pb_assoc/invalidation_guarantee_cd.jpg: New.
765 * docs/html/ext/pb_assoc/invalidation_guarantee_erase.jpg: New.
766 * docs/html/ext/pb_assoc/lib_download.html: New.
767 * docs/html/ext/pb_assoc/linear_probe_fn.html: New.
768 * docs/html/ext/pb_assoc/list_updates.html: New.
769 * docs/html/ext/pb_assoc/lu_assoc_cntnr.html: New.
770 * docs/html/ext/pb_assoc/lu_based_containers.html: New.
771 * docs/html/ext/pb_assoc/lu_cd.jpg: New.
772 * docs/html/ext/pb_assoc/lu_ds_tag.html: New.
773 * docs/html/ext/pb_assoc/lu_ops.jpg: New.
774 * docs/html/ext/pb_assoc/mmap_value_utils.html: New.
775 * docs/html/ext/pb_assoc/motivation.html: New.
776 * docs/html/ext/pb_assoc/move_to_front_update_metadata.html: New.
777 * docs/html/ext/pb_assoc/move_to_front_update_policy.html: New.
778 * docs/html/ext/pb_assoc/ms_cd.jpg: New.
779 * docs/html/ext/pb_assoc/ms_gen.html: New.
780 * docs/html/ext/pb_assoc/ms_tag_cd.jpg: New.
781 * docs/html/ext/pb_assoc/ms_traits.html: New.
782 * docs/html/ext/pb_assoc/node_invariant_invalidations.jpg: New.
783 * docs/html/ext/pb_assoc/node_invariants.html: New.
784 * docs/html/ext/pb_assoc/node_invariants.jpg: New.
785 * docs/html/ext/pb_assoc/non_unique_mapping.html: New.
786 * docs/html/ext/pb_assoc/non_unique_mapping_containers.jpg: New.
787 * docs/html/ext/pb_assoc/null_data_type.html: New.
788 * docs/html/ext/pb_assoc/null_hash_fn.html: New.
789 * docs/html/ext/pb_assoc/null_probe_fn.html: New.
790 * docs/html/ext/pb_assoc/order_by_key.html: New.
791 * docs/html/ext/pb_assoc/order_statistics_key.html: New.
792 * docs/html/ext/pb_assoc/order_statistics_key_cmp.html: New.
793 * docs/html/ext/pb_assoc/order_statistics_node_updator.html: New.
794 * docs/html/ext/pb_assoc/ov_tree_ds_tag.html: New.
795 * docs/html/ext/pb_assoc/overview.html: New.
796 * docs/html/ext/pb_assoc/pb_assoc_ex.html: New.
797 * docs/html/ext/pb_assoc/portability.html: New.
798 * docs/html/ext/pb_assoc/quadratic_probe_fn.html: New.
799 * docs/html/ext/pb_assoc/range_invalidation_guarantee.html: New.
800 * docs/html/ext/pb_assoc/rank_node_invariants.jpg: New.
801 * docs/html/ext/pb_assoc/rationale_null_node_updator.jpg: New.
802 * docs/html/ext/pb_assoc/rb_tree_ds_tag.html: New.
803 * docs/html/ext/pb_assoc/reference_iterator.jpg: New.
804 * docs/html/ext/pb_assoc/references.html: New.
805 * docs/html/ext/pb_assoc/regression_tests.html: New.
806 * docs/html/ext/pb_assoc/resize_general.html: New.
807 * docs/html/ext/pb_assoc/resize_policies.html: New.
808 * docs/html/ext/pb_assoc/resize_policy_cd.jpg: New.
809 * docs/html/ext/pb_assoc/restoring_node_invariants.jpg: New.
810 * docs/html/ext/pb_assoc/sample_node_updator.hpp: New.
811 * docs/html/ext/pb_assoc/sample_probe_fn.hpp: New.
812 * docs/html/ext/pb_assoc/sample_probe_fn.html: New.
813 * docs/html/ext/pb_assoc/sample_range_hashing.hpp: New.
814 * docs/html/ext/pb_assoc/sample_range_hashing.html: New.
815 * docs/html/ext/pb_assoc/sample_ranged_hash_fn.hpp: New.
816 * docs/html/ext/pb_assoc/sample_ranged_hash_fn.html: New.
817 * docs/html/ext/pb_assoc/sample_ranged_probe_fn.hpp: New.
818 * docs/html/ext/pb_assoc/sample_ranged_probe_fn.html: New.
819 * docs/html/ext/pb_assoc/sample_resize_policy.hpp: New.
820 * docs/html/ext/pb_assoc/sample_resize_policy.html: New.
821 * docs/html/ext/pb_assoc/sample_resize_trigger.hpp: New.
822 * docs/html/ext/pb_assoc/sample_size_policy.hpp: New.
823 * docs/html/ext/pb_assoc/sample_update_policy.hpp: New.
824 * docs/html/ext/pb_assoc/size_policies_general.html: New.
825 * docs/html/ext/pb_assoc/splay_tree_ds_tag.html: New.
826 * docs/html/ext/pb_assoc/timing_tests.html: New.
827 * docs/html/ext/pb_assoc/toc.html: New.
828 * docs/html/ext/pb_assoc/tree_assoc_cntnr.html: New.
829 * docs/html/ext/pb_assoc/
830 tree_assoc_cntnr_const_node_iterator.html: New.
831 * docs/html/ext/pb_assoc/tree_assoc_cntnr_node_iterator.html: New.
832 * docs/html/ext/pb_assoc/tree_based_containers.html: New.
833 * docs/html/ext/pb_assoc/tree_cd.jpg: New.
834 * docs/html/ext/pb_assoc/trigger_policies_general.html: New.
835 * docs/html/ext/pb_assoc/tutorial.html: New.
836 * docs/html/ext/pb_assoc/update_seq_diagram.jpg: New.
837 * include/Makefile.am: Add assoc_srcdir, assoc_builddir, assoc_subdir,
839 * include/Makefile.in: Regenerate.
840 * include/ext/typelist.h: New.
841 * include/ext/pb_assoc/assoc_cntnr.hpp: New.
842 * include/ext/pb_assoc/data_type.hpp: New.
843 * include/ext/pb_assoc/ds_trait.hpp: New.
844 * include/ext/pb_assoc/exception.hpp: New.
845 * include/ext/pb_assoc/hash_policy.hpp: New.
846 * include/ext/pb_assoc/lu_policy.hpp: New.
847 * include/ext/pb_assoc/ms_trait.hpp: New.
848 * include/ext/pb_assoc/tree_policy.hpp: New.
849 * include/ext/pb_assoc/trivial_iterator_def.hpp: New.
850 * include/ext/pb_assoc/detail/assoc_cntnr_base.hpp: New.
851 * include/ext/pb_assoc/detail/cond_dealtor.hpp: New.
852 * include/ext/pb_assoc/detail/constructors_destructor_fn_imps.hpp: New.
853 * include/ext/pb_assoc/detail/ds_trait_imp.hpp: New.
854 * include/ext/pb_assoc/detail/hash_types_traits.hpp: New.
855 * include/ext/pb_assoc/detail/map_debug_base.hpp: New.
856 * include/ext/pb_assoc/detail/mapping_level_imp.hpp: New.
857 * include/ext/pb_assoc/detail/ms_category_imp.hpp: New.
858 * include/ext/pb_assoc/detail/ms_trait_imp.hpp: New.
859 * include/ext/pb_assoc/detail/order_statistics_imp.hpp: New.
860 * include/ext/pb_assoc/detail/standard_policies.hpp: New.
861 * include/ext/pb_assoc/detail/standard_sizes.hpp: New.
862 * include/ext/pb_assoc/detail/type_utils.hpp: New.
863 * include/ext/pb_assoc/detail/typelist.hpp: New.
864 * include/ext/pb_assoc/detail/types_traits.hpp: New.
865 * include/ext/pb_assoc/detail/basic_assoc_cntnr/
866 constructor_destructor_fn_imps.hpp: New.
867 * include/ext/pb_assoc/detail/basic_assoc_cntnr/
868 constructors_destructor_fn_imps.hpp: New.
869 * include/ext/pb_assoc/detail/basic_assoc_cntnr/d_extract_key.hpp: New.
870 * include/ext/pb_assoc/detail/basic_assoc_cntnr/
871 d_find_fn_imps.hpp: New.
872 * include/ext/pb_assoc/detail/basic_assoc_cntnr/
873 d_insert_fn_imps.hpp: New.
874 * include/ext/pb_assoc/detail/basic_assoc_cntnr/erase_fn_imps.hpp: New.
875 * include/ext/pb_assoc/detail/basic_assoc_cntnr/extract_key.hpp: New.
876 * include/ext/pb_assoc/detail/basic_assoc_cntnr/info_fn_imps.hpp: New.
877 * include/ext/pb_assoc/detail/basic_assoc_cntnr/
878 insert_fn_imps.hpp: New.
879 * include/ext/pb_assoc/detail/basic_assoc_cntnr/
880 iterators_fn_imps.hpp: New.
881 * include/ext/pb_assoc/detail/basic_hash_assoc_cntnr/
882 constructor_destructor_fn_imps.hpp: New.
883 * include/ext/pb_assoc/detail/basic_hash_assoc_cntnr/
884 constructors_destructor_fn_imps.hpp: New.
885 * include/ext/pb_assoc/detail/basic_hash_assoc_cntnr/
886 resize_fn_imps.hpp: New.
887 * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
888 constructor_destructor_fn_imps.hpp: New.
889 * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
890 constructors_destructor_fn_imps.hpp: New.
891 * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
892 erase_fn_imps.hpp: New.
893 * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
894 node_iteration_fn_imps.hpp: New.
895 * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
896 policy_access_fn_imps.hpp: New.
897 * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
898 r_erase_fn_imps.hpp: New.
899 * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
900 r_range_iteration_fn_imps.hpp: New.
901 * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
902 range_iteration_fn_imps.hpp: New.
903 * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
904 split_join_fn_imps.hpp: New.
905 * include/ext/pb_assoc/detail/bin_search_tree_/
906 bin_search_tree_.hpp: New.
907 * include/ext/pb_assoc/detail/bin_search_tree_/
908 cond_dtor_entry_dealtor.hpp: New.
909 * include/ext/pb_assoc/detail/bin_search_tree_/
910 cond_key_dtor_entry_dealtor.hpp: New.
911 * include/ext/pb_assoc/detail/bin_search_tree_/
912 constructors_destructor_fn_imps.hpp: New.
913 * include/ext/pb_assoc/detail/bin_search_tree_/debug_fn_imps.hpp: New.
914 * include/ext/pb_assoc/detail/bin_search_tree_/erase_fn_imps.hpp: New.
915 * include/ext/pb_assoc/detail/bin_search_tree_/find_fn_imps.hpp: New.
916 * include/ext/pb_assoc/detail/bin_search_tree_/find_iterators.hpp: New.
917 * include/ext/pb_assoc/detail/bin_search_tree_/info_fn_imps.hpp: New.
918 * include/ext/pb_assoc/detail/bin_search_tree_/insert_fn_imps.hpp: New.
919 * include/ext/pb_assoc/detail/bin_search_tree_/
920 iterators_fn_imps.hpp: New.
921 * include/ext/pb_assoc/detail/bin_search_tree_/node_iterators.hpp: New.
922 * include/ext/pb_assoc/detail/bin_search_tree_/
923 r_erase_fn_imps.hpp: New.
924 * include/ext/pb_assoc/detail/bin_search_tree_/rotate_fn_imps.hpp: New.
925 * include/ext/pb_assoc/detail/bin_search_tree_/
926 split_join_fn_imps.hpp: New.
927 * include/ext/pb_assoc/detail/cc_hash_assoc_cntnr/
928 constructor_destructor_fn_imps.hpp: New.
929 * include/ext/pb_assoc/detail/cc_ht_map_/cc_ht_map_.hpp: New.
930 * include/ext/pb_assoc/detail/cc_ht_map_/cmp_fn_imps.hpp: New.
931 * include/ext/pb_assoc/detail/cc_ht_map_/
932 cond_key_dtor_entry_dealtor.hpp: New.
933 * include/ext/pb_assoc/detail/cc_ht_map_/
934 constructor_destructor_fn_imps.hpp: New.
935 * include/ext/pb_assoc/detail/cc_ht_map_/
936 constructor_destructor_no_store_hash_fn_imps.hpp: New.
937 * include/ext/pb_assoc/detail/cc_ht_map_/
938 constructor_destructor_store_hash_fn_imps.hpp: New.
939 * include/ext/pb_assoc/detail/cc_ht_map_/debug_fn_imps.hpp: New.
940 * include/ext/pb_assoc/detail/cc_ht_map_/
941 debug_no_store_hash_fn_imps.hpp: New.
942 * include/ext/pb_assoc/detail/cc_ht_map_/
943 debug_store_hash_fn_imps.hpp: New.
944 * include/ext/pb_assoc/detail/cc_ht_map_/entry_list_fn_imps.hpp: New.
945 * include/ext/pb_assoc/detail/cc_ht_map_/erase_fn_imps.hpp: New.
946 * include/ext/pb_assoc/detail/cc_ht_map_/
947 erase_no_store_hash_fn_imps.hpp: New.
948 * include/ext/pb_assoc/detail/cc_ht_map_/
949 erase_store_hash_fn_imps.hpp: New.
950 * include/ext/pb_assoc/detail/cc_ht_map_/
951 find_fn_imps.hpp: New.
952 * include/ext/pb_assoc/detail/cc_ht_map_/
953 find_no_store_hash_fn_imps.hpp: New.
954 * include/ext/pb_assoc/detail/cc_ht_map_/
955 find_store_hash_fn_imps.hpp: New.
956 * include/ext/pb_assoc/detail/cc_ht_map_/info_fn_imps.hpp: New.
957 * include/ext/pb_assoc/detail/cc_ht_map_/insert_fn_imps.hpp: New.
958 * include/ext/pb_assoc/detail/cc_ht_map_/
959 insert_no_store_hash_fn_imps.hpp: New.
960 * include/ext/pb_assoc/detail/cc_ht_map_/
961 insert_store_hash_fn_imps.hpp: New.
962 * include/ext/pb_assoc/detail/cc_ht_map_/iterators_fn_imps.hpp: New.
963 * include/ext/pb_assoc/detail/cc_ht_map_/
964 policy_access_fn_imps.hpp: New.
965 * include/ext/pb_assoc/detail/cc_ht_map_/resize_fn_imps.hpp: New.
966 * include/ext/pb_assoc/detail/cc_ht_map_/
967 resize_no_store_hash_fn_imps.hpp: New.
968 * include/ext/pb_assoc/detail/cc_ht_map_/
969 resize_store_hash_fn_imps.hpp: New.
970 * include/ext/pb_assoc/detail/cc_ht_map_/size_fn_imps.hpp: New.
971 * include/ext/pb_assoc/detail/cc_ht_map_/standard_policies.hpp: New.
972 * include/ext/pb_assoc/detail/eq_fn/eq_by_less.hpp: New.
973 * include/ext/pb_assoc/detail/eq_fn/hash_eq_fn.hpp: New.
974 * include/ext/pb_assoc/detail/gp_hash_assoc_cntnr/
975 constructor_destructor_fn_imps.hpp: New.
976 * include/ext/pb_assoc/detail/gp_ht_map_/
977 constructor_destructor_fn_imps.hpp: New.
978 * include/ext/pb_assoc/detail/gp_ht_map_/
979 constructor_destructor_no_store_hash_fn_imps.hpp: New.
980 * include/ext/pb_assoc/detail/gp_ht_map_/
981 constructor_destructor_store_hash_fn_imps.hpp: New.
982 * include/ext/pb_assoc/detail/gp_ht_map_/debug_fn_imps.hpp: New.
983 * include/ext/pb_assoc/detail/gp_ht_map_/
984 debug_no_store_hash_fn_imps.hpp: New.
985 * include/ext/pb_assoc/detail/gp_ht_map_/
986 debug_store_hash_fn_imps.hpp: New.
987 * include/ext/pb_assoc/detail/gp_ht_map_/erase_fn_imps.hpp: New.
988 * include/ext/pb_assoc/detail/gp_ht_map_/
989 erase_no_store_hash_fn_imps.hpp: New.
990 * include/ext/pb_assoc/detail/gp_ht_map_/
991 erase_store_hash_fn_imps.hpp: New.
992 * include/ext/pb_assoc/detail/gp_ht_map_/find_fn_imps.hpp: New.
993 * include/ext/pb_assoc/detail/gp_ht_map_/
994 find_no_store_hash_fn_imps.hpp: New.
995 * include/ext/pb_assoc/detail/gp_ht_map_/
996 find_store_hash_fn_imps.hpp: New.
997 * include/ext/pb_assoc/detail/gp_ht_map_/gp_ht_map_.hpp: New.
998 * include/ext/pb_assoc/detail/gp_ht_map_/info_fn_imps.hpp: New.
999 * include/ext/pb_assoc/detail/gp_ht_map_/insert_fn_imps.hpp: New.
1000 * include/ext/pb_assoc/detail/gp_ht_map_/
1001 insert_no_store_hash_fn_imps.hpp: New.
1002 * include/ext/pb_assoc/detail/gp_ht_map_/
1003 insert_store_hash_fn_imps.hpp: New.
1004 * include/ext/pb_assoc/detail/gp_ht_map_/iterator_fn_imps.hpp: New.
1005 * include/ext/pb_assoc/detail/gp_ht_map_/
1006 policy_access_fn_imps.hpp: New.
1007 * include/ext/pb_assoc/detail/gp_ht_map_/resize_fn_imps.hpp: New.
1008 * include/ext/pb_assoc/detail/gp_ht_map_/
1009 resize_no_store_hash_fn_imps.hpp: New.
1010 * include/ext/pb_assoc/detail/gp_ht_map_/
1011 resize_store_hash_fn_imps.hpp: New.
1012 * include/ext/pb_assoc/detail/hash_fn/
1013 direct_mask_range_hashing_imp.hpp: New.
1014 * include/ext/pb_assoc/detail/hash_fn/
1015 direct_mod_range_hashing_imp.hpp: New.
1016 * include/ext/pb_assoc/detail/hash_fn/linear_probe_fn_imp.hpp: New.
1017 * include/ext/pb_assoc/detail/hash_fn/
1018 mask_based_range_hashing.hpp: New.
1019 * include/ext/pb_assoc/detail/hash_fn/mod_based_range_hashing.hpp: New.
1020 * include/ext/pb_assoc/detail/hash_fn/probe_fn_base.hpp: New.
1021 * include/ext/pb_assoc/detail/hash_fn/quadratic_probe_fn_imp.hpp: New.
1022 * include/ext/pb_assoc/detail/hash_fn/ranged_hash_fn.hpp: New.
1023 * include/ext/pb_assoc/detail/hash_fn/ranged_probe_fn.hpp: New.
1024 * include/ext/pb_assoc/detail/lu_assoc_cntnr/
1025 constructor_destructor_fn_imps.hpp: New.
1026 * include/ext/pb_assoc/detail/lu_assoc_cntnr/
1027 policy_access_fn_imps.hpp: New.
1028 * include/ext/pb_assoc/detail/lu_map_/
1029 constructor_destructor_fn_imps.hpp: New.
1030 * include/ext/pb_assoc/detail/lu_map_/debug_fn_imps.hpp: New.
1031 * include/ext/pb_assoc/detail/lu_map_/erase_fn_imps.hpp: New.
1032 * include/ext/pb_assoc/detail/lu_map_/find_fn_imps.hpp: New.
1033 * include/ext/pb_assoc/detail/lu_map_/info_fn_imps.hpp: New.
1034 * include/ext/pb_assoc/detail/lu_map_/insert_fn_imps.hpp: New.
1035 * include/ext/pb_assoc/detail/lu_map_/iterators_fn_imps.hpp: New.
1036 * include/ext/pb_assoc/detail/lu_map_/lu_map_.hpp: New.
1037 * include/ext/pb_assoc/detail/lu_map_/policy_access_fn_imps.hpp: New.
1038 * include/ext/pb_assoc/detail/lu_policy/
1039 counter_lu_metadata_imp.hpp: New.
1040 * include/ext/pb_assoc/detail/lu_policy/counter_lu_policy_imp.hpp: New.
1041 * include/ext/pb_assoc/detail/lu_policy/mtf_lu_policy_imp.hpp: New.
1042 * include/ext/pb_assoc/detail/ov_tree_map_/cond_dtor.hpp: New.
1043 * include/ext/pb_assoc/detail/ov_tree_map_/
1044 constructors_destructor_fn_imps.hpp: New.
1045 * include/ext/pb_assoc/detail/ov_tree_map_/debug_fn_imps.hpp: New.
1046 * include/ext/pb_assoc/detail/ov_tree_map_/erase_fn_imps.hpp: New.
1047 * include/ext/pb_assoc/detail/ov_tree_map_/find_fn_imps.hpp: New.
1048 * include/ext/pb_assoc/detail/ov_tree_map_/info_fn_imps.hpp: New.
1049 * include/ext/pb_assoc/detail/ov_tree_map_/insert_fn_imps.hpp: New.
1050 * include/ext/pb_assoc/detail/ov_tree_map_/iterators_fn_imps.hpp: New.
1051 * include/ext/pb_assoc/detail/ov_tree_map_/node_iterators.hpp: New.
1052 * include/ext/pb_assoc/detail/ov_tree_map_/ov_tree_map_.hpp: New.
1053 * include/ext/pb_assoc/detail/ov_tree_map_/split_join_fn_imps.hpp: New.
1054 * include/ext/pb_assoc/detail/rb_tree_map_/
1055 constructors_destructor_fn_imps.hpp: New.
1056 * include/ext/pb_assoc/detail/rb_tree_map_/debug_fn_imps.hpp: New.
1057 * include/ext/pb_assoc/detail/rb_tree_map_/erase_fn_imps.hpp: New.
1058 * include/ext/pb_assoc/detail/rb_tree_map_/find_fn_imps.hpp: New.
1059 * include/ext/pb_assoc/detail/rb_tree_map_/info_fn_imps.hpp: New.
1060 * include/ext/pb_assoc/detail/rb_tree_map_/insert_fn_imps.hpp: New.
1061 * include/ext/pb_assoc/detail/rb_tree_map_/node.hpp: New.
1062 * include/ext/pb_assoc/detail/rb_tree_map_/rb_tree_.hpp: New.
1063 * include/ext/pb_assoc/detail/rb_tree_map_/split_join_fn_imps.hpp: New.
1064 * include/ext/pb_assoc/detail/resize_policy/
1065 cc_hash_max_collision_resize_trigger_imp.hpp: New.
1066 * include/ext/pb_assoc/detail/resize_policy/
1067 hash_exponential_size_policy_imp.hpp: New.
1068 * include/ext/pb_assoc/detail/resize_policy/
1069 hash_load_check_resize_trigger_imp.hpp: New.
1070 * include/ext/pb_assoc/detail/resize_policy/
1071 hash_prime_size_policy_imp.hpp: New.
1072 * include/ext/pb_assoc/detail/resize_policy/
1073 hash_standard_resize_policy_imp.hpp: New.
1074 * include/ext/pb_assoc/detail/resize_policy/
1075 ht_prime_size_policy_imp.hpp: New.
1076 * include/ext/pb_assoc/detail/resize_policy/size_base.hpp: New.
1077 * include/ext/pb_assoc/detail/splay_tree_/
1078 constructors_destructor_fn_imps.hpp: New.
1079 * include/ext/pb_assoc/detail/splay_tree_/debug_fn_imps.hpp: New.
1080 * include/ext/pb_assoc/detail/splay_tree_/erase_fn_imps.hpp: New.
1081 * include/ext/pb_assoc/detail/splay_tree_/find_fn_imps.hpp: New.
1082 * include/ext/pb_assoc/detail/splay_tree_/info_fn_imps.hpp: New.
1083 * include/ext/pb_assoc/detail/splay_tree_/insert_fn_imps.hpp: New.
1084 * include/ext/pb_assoc/detail/splay_tree_/node.hpp: New.
1085 * include/ext/pb_assoc/detail/splay_tree_/splay_fn_imps.hpp: New.
1086 * include/ext/pb_assoc/detail/splay_tree_/splay_tree_.hpp: New.
1087 * include/ext/pb_assoc/detail/splay_tree_/split_join_fn_imps.hpp: New.
1088 * include/ext/pb_assoc/detail/tree_assoc_cntnr/
1089 constructor_destructor_fn_imps.hpp: New.
1090 * include/ext/pb_assoc/detail/tree_policy/
1091 null_node_updator_imp.hpp: New.
1092 * include/ext/pb_assoc/detail/tree_policy/
1093 order_statistics_imp.hpp: New.
1094 * include/ext/pb_assoc/detail/typelist/typelist_append.hpp: New.
1095 * include/ext/pb_assoc/detail/typelist/typelist_apply.hpp: New.
1096 * include/ext/pb_assoc/detail/typelist/typelist_at_index.hpp: New.
1097 * include/ext/pb_assoc/detail/typelist/typelist_contains.hpp: New.
1098 * include/ext/pb_assoc/detail/typelist/typelist_filter.hpp: New.
1099 * include/ext/pb_assoc/detail/typelist/typelist_transform.hpp: New.
1100 * include/ext/pb_assoc/detail/typelist/
1101 typelist_typelist_append.hpp: New.
1102 * include/ext/pb_assoc/detail/unordered_iterator/
1103 const_find_iterator.hpp: New.
1104 * include/ext/pb_assoc/detail/unordered_iterator/
1105 const_iterator.hpp: New.
1106 * include/ext/pb_assoc/detail/unordered_iterator/
1107 find_iterator.hpp: New.
1108 * include/ext/pb_assoc/detail/unordered_iterator/iterator.hpp: New.
1109 * include/ext/pb_assoc/detail/value_type_adapter/
1110 constructor_destructor_and_related.hpp: New.
1111 * include/ext/pb_assoc/detail/value_type_adapter/
1112 erase_fn_imps.hpp: New.
1113 * include/ext/pb_assoc/detail/value_type_adapter/
1114 erase_if_pred.hpp: New.
1115 * include/ext/pb_assoc/detail/value_type_adapter/find_fn_imps.hpp: New.
1116 * include/ext/pb_assoc/detail/value_type_adapter/info_fn_imps.hpp: New.
1117 * include/ext/pb_assoc/detail/value_type_adapter/
1118 insert_fn_imps.hpp: New.
1119 * include/ext/pb_assoc/detail/value_type_adapter/
1120 invalidation_guarantee_selector.hpp: New.
1121 * include/ext/pb_assoc/detail/value_type_adapter/
1122 it_value_type_traits.hpp: New.
1123 * include/ext/pb_assoc/detail/value_type_adapter/iterator.hpp: New.
1124 * include/ext/pb_assoc/detail/value_type_adapter/
1125 iterator_fn_imps.hpp: New.
1126 * include/ext/pb_assoc/detail/value_type_adapter/ref_pair.hpp: New.
1127 * include/ext/pb_assoc/detail/value_type_adapter/
1128 value_type_adapter.hpp: New.
1129 * include/ext/pb_assoc/detail/value_type_adapter/
1130 value_type_traits.hpp: New.
1131 * testsuite/Makefile.am (CLEANFILES): Add .o, .dat, .cc.
1132 * testsuite/Makefile.in: Regenerate.
1133 * testsuite/testsuite_common_types.h: New.
1134 * testsuite/testsuite_visualization.h: New.
1135 * testsuite/ext/pb_assoc/example/basic_map.cc: New.
1136 * testsuite/ext/pb_assoc/example/basic_multimap.cc: New.
1137 * testsuite/ext/pb_assoc/example/basic_set.cc: New.
1138 * testsuite/ext/pb_assoc/example/ds_traits.cc: New.
1139 * testsuite/ext/pb_assoc/example/erase_if.cc: New.
1140 * testsuite/ext/pb_assoc/example/extract_key.cc: New.
1141 * testsuite/ext/pb_assoc/example/hash_find_neg.cc: New.
1142 * testsuite/ext/pb_assoc/example/hash_illegal_resize.cc: New.
1143 * testsuite/ext/pb_assoc/example/hash_initial_size.cc: New.
1144 * testsuite/ext/pb_assoc/example/hash_load_set_change.cc: New.
1145 * testsuite/ext/pb_assoc/example/hash_mod.cc: New.
1146 * testsuite/ext/pb_assoc/example/hash_resize.cc: New.
1147 * testsuite/ext/pb_assoc/example/hash_resize_neg.cc: New.
1148 * testsuite/ext/pb_assoc/example/hash_shift_mask.cc: New.
1149 * testsuite/ext/pb_assoc/example/mapping_level.cc: New.
1150 * testsuite/ext/pb_assoc/example/mapping_level_neg.cc: New.
1151 * testsuite/ext/pb_assoc/example/ms_traits.cc: New.
1152 * testsuite/ext/pb_assoc/example/ranged_hash.cc: New.
1153 * testsuite/ext/pb_assoc/example/store_hash.cc: New.
1154 * testsuite/ext/pb_assoc/example/tree_intervals.cc: New.
1155 * testsuite/ext/pb_assoc/example/tree_join.cc: New.
1156 * testsuite/ext/pb_assoc/example/tree_order_statistics.cc: New.
1157 * testsuite/ext/pb_assoc/example/tree_order_statistics_join.cc: New.
1158 * testsuite/ext/pb_assoc/example/tree_split.cc: New.
1159 * testsuite/performance/20_util/allocator/(insert.cc,
1160 insert_insert.cc, list_sort_search.cc, map_mt_find.cc, map_thread.cc,
1161 producer_consumer.cc): Recast to use typelists and move to...
1162 * testsuite/performance/23_containers/find/map.cc: New.
1163 * testsuite/performance/23_containers/index/map.cc: New.
1164 * testsuite/performance/23_containers/insert/associative.cc: New.
1165 * testsuite/performance/23_containers/insert/sequence.cc: New.
1166 * testsuite/performance/23_containers/insert_erase/associative.cc: New.
1167 * testsuite/performance/23_containers/producer_consumer/
1168 (associative.cc, sequence.cc): New.
1169 * testsuite/performance/23_containers/sort_search/list.cc: New.
1170 * testsuite/performance/23_containers/container_benchmark.cc: Remove.
1171 * testsuite/performance/23_containers/map_create_fill.cc: Move...
1172 * testsuite/performance/23_containers/create/map.cc: ...here.
1173 * testsuite/performance/23_containers/set_create_from_sorted.cc: Move.
1174 * testsuite/performance/23_containers/create_from_sorted/set.cc: here.
1175 * testsuite/performance/23_containers/list_create_fill_sort.cc: Move...
1176 * testsuite/performance/23_containers/create_sort/list.cc: ...here.
1177 * testsuite/performance/23_containers/set_insert_from_sorted.cc: Move.
1178 * testsuite/performance/23_containers/insert_from_sorted/set.cc: here.
1180 2005-06-23 Jakub Jelinek <jakub@redhat.com>
1183 * src/compatibility.cc (_GLIBCXX_SYMVER_COMPATIBILITY): Remove.
1184 (istreambuf_iterator, basic_fstream, basic_ifstream, basic_ofstream,
1185 _M_copy, _M_move, _M_assign, _M_disjunct, _M_check_length,
1186 _M_set_length_and_sharable, ignore, eq): Define to XX suffixed
1188 (ignore (streamsize)): Remove _W prefixed aliases.
1189 (_GLIBCXX_3_4_SYMVER_SPECIAL, _GLIBCXX_3_4_5_SYMVER_SPECIAL,
1190 _GLIBCXX_APPLY_SYMVER_SPECIAL): Remove.
1191 (_GLIBCXX_3_4_SYMVER, _GLIBCXX_3_4_5_SYMVER): Add XXname argument.
1192 Use #XXname instead of #name as the alias argument.
1193 * config/abi/compatibility.h: Replace uses of
1194 _GLIBCXX_APPLY_SYMVER_SPECIAL with _GLIBCXX_APPLY_SYMVER. Always
1195 pass 2 arguments to the _GLIBCXX_APPLY_SYMVER macro.
1196 * include/bits/char_traits.h (char_traits::eq): Revert 2005-06-15
1198 * acinclude.m4: Decrease glibcxx_min_gnu_ld_version back to 21400.
1199 * configure: Rebuilt.
1201 2005-06-19 Benjamin Kosnik <bkoz@redhat.com>
1204 * acinclude.m4 (GLIBCXX_CONFIGURE_TESTSUITE): Remove
1205 GLIBCXX_TEST_ABI. Remove duplicate _GLIBCXX_ASM_SYMVER define.
1206 Don't enable abi testing unless versioned.
1207 * configure: Regenerate.
1208 * testsuite/Makefile.am (check-abi): Remove conditional.
1209 * testsuite/Makefile.in: Regenerate.
1210 * testsuite/libstdc++-abi/abi.exp: Call build_support, then check
1211 v3-symver before proceeding.
1212 * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Set v3-symvers
1215 2005-06-17 Paolo Carlini <pcarlini@suse.de>
1217 Port from libstdcxx_so_7-branch:
1218 2005-01-12 Christopher Jefferson <chris@bubblescope.net>
1220 * include/bits/stl_function.h (mem_fun_t, const_mem_fun_t,
1221 mem_fun_ref_t, const_mem_fun_ref_t, mem_fun1_t, const_mem_fun1_t,
1222 mem_fun1_ref_t, const_mem_fun1_ref_t): Remove overloads for void
1223 return type, just an old HP/SGI workaround.
1224 * testsuite/20_util/functional/binders.cc: Move to...
1225 * testsuite/20_util/functional/binders/3113.cc: ...here.
1226 * testsuite/20_util/functional/binders/1.cc: New.
1228 2005-06-17 Jonathan Wakely <redi@gcc.gnu.org>
1230 * docs/html/21_strings/gotw29a.txt: Update code to corrected version.
1232 2005-06-17 Jakub Jelinek <jakub@redhat.com>
1233 Benjamin Kosnik <bkoz@redhat.com>
1235 * config/abi/alpha-linux-gnu/baseline_symbols.txt: Update.
1236 * config/abi/hppa-linux-gnu/baseline_symbols.txt: Same.
1237 * config/abi/mips-linux-gnu/baseline_symbols.txt: Same.
1238 * config/abi/sparc-linux-gnu/baseline_symbols.txt: Same.
1240 * config/abi/alpha-freebsd5/baseline_symbols.txt: Remove.
1241 * config/abi/i386-freebsd4/baseline_symbols.txt: Same.
1242 * config/abi/i386-freebsd5/baseline_symbols.txt: Same.
1243 * config/abi/sparc-freebsd5/baseline_symbols.txt: Same.
1245 * config/abi/arm-linux-gnu/baseline_symbols.txt: Remove.
1246 * config/abi/m68k-linux-gnu/baseline_symbols.txt: Same.
1248 2005-06-17 Jakub Jelinek <jakub@redhat.com>
1250 * config/abi/ia64-linux-gnu/baseline_symbols.txt: Update.
1251 * config/abi/s390x-linux-gnu/baseline_symbols.txt: Update.
1252 * config/abi/s390-linux-gnu/baseline_symbols.txt: Update.
1253 * config/abi/x86_64-linux-gnu/baseline_symbols.txt: Update.
1254 * config/abi/x86_64-linux-gnu/32/baseline_symbols.txt: Update.
1255 * config/abi/powerpc-linux-gnu/baseline_symbols.txt: Update.
1256 * config/abi/i486-linux-gnu/baseline_symbols.txt: Update.
1257 * config/abi/i386-linux-gnu/baseline_symbols.txt: Update.
1258 * config/abi/powerpc64-linux-gnu/baseline_symbols.txt: New file.
1259 * config/abi/powerpc64-linux-gnu/32/baseline_symbols.txt: New file.
1261 2005-06-16 Jakub Jelinek <jakub@redhat.com>
1263 * src/compatibility.cc: Include bits/c++config.h first.
1264 (_GLIBCXX_SYMVER_COMPATIBILITY): Define if _GLIBCXX_SYMVER
1265 and PIC are both defined.
1266 * include/bits/char_traits.h (char_traits::eq): Rename
1267 only if _GLIBCXX_SYMVER_COMPATIBILITY is defined.
1269 2005-06-16 Jakub Jelinek <jakub@redhat.com>
1271 * acinclude.m4 ((GLIBCXX_ENABLE_SYMVERS): Rename _GLIBCXX_SIZE_T_IS_INT
1272 to _GLIBCXX_SIZE_T_IS_UINT. Define _GLIBCXX_PTRDIFF_T_IS_INT.
1273 * configure: Regenerate.
1274 * config.h.in: Regenerate.
1275 * src/compatibility.cc (istream:ignore(streamsize)): Use
1276 _GLIBCXX_PTRDIFF_T_IS_INT instead of _GLIBCXX_SIZE_T_IS_INT.
1277 * config/abi/compatibility.h: Rename _GLIBCXX_SIZE_T_IS_INT
1278 to _GLIBCXX_SIZE_T_IS_UINT. Use _GLIBCXX_PTRDIFF_T_IS_INT
1279 instead for symbols with streamsize arguments.
1281 2005-06-16 Jakub Jelinek <jakub@redhat.com>
1283 * config/linker-map.gnu: Also export
1284 _ZNSt13basic_istreamIwSt11char_traitsIwEE6ignoreE[il][il].
1286 2005-06-15 Benjamin Kosnik <bkoz@redhat.com>
1288 * configure.ac (libtool_VERSION): To 6:6:0.
1289 * configure: Regenerate.
1290 * config/linker-map.gnu: Edit.
1291 * src/istream.cc: Move istream::ignore(streamsize) specializations...
1292 * src/compatibility.cc: ...here. New.
1293 * include/bits/char_traits.h (char_traits::eq): Rename when
1295 * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Define _GLIBCXX_SIZE_T_IS_INT.
1296 Bump glibcxx_min_gnu_ld_version to 21590.
1297 * configure: Regenerate.
1298 * acconfig.h: Remove _GLIBCXX_ASM_SYMVER.
1299 * config.h.in: Regenerate.
1300 * src/Makefile.am (sources): Add compatibility.cc.
1301 * src/Makefile.in: Regenerate.
1302 * include/Makefile.am (host_headers_noinst): Add compatibility.h.
1303 * include/Makefile.in: Regenerate.
1304 * testsuite/testsuite_abi.h (symbol): Add data members.
1305 * testsuite/testsuite_abi.cc (check_version): Add GLIBCXX_3.4.5,
1306 GLIBCXX_3.4.6. Remove deprecated versions. Do a better job
1309 2005-06-15 Paolo Carlini <pcarlini@suse.de>
1311 * include/tr1/hashtable: Trivial formatting fixes.
1312 * include/tr1/unordered_map: Likewise.
1313 * include/tr1/unordered_set: Likewise.
1315 2005-06-14 Tom Tromey <tromey@redhat.com>
1318 * configure, aclocal.m4: Rebuilt.
1319 * Makefile.in, include/Makefile.in, libmath/Makefile.in,
1320 libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in,
1321 testsuite/Makefile.in: Likewise.
1323 2005-06-08 Benjamin Kosnik <bkoz@redhat.com>
1326 * include/std/std_sstream.h (basic_stringbuf::showmanyc): Add.
1327 Remove unnecessary this->_M_mode decoration.
1328 * include/bits/fstream.tcc: Adjust line spacing.
1329 * testsuite/27_io/basic_streambuf/in_avail/char/1.cc: New, test
1330 base class behavior.
1331 * testsuite/27_io/basic_streambuf/in_avail/wchar_t/1.cc: Same.
1332 * testsuite/27_io/basic_stringbuf/in_avail/char/21955.cc: New.
1333 * testsuite/27_io/basic_stringbuf/in_avail/char/1.cc: Match
1335 * testsuite/27_io/basic_stringbuf/in_avail/wchar_t/1.cc: Same.
1336 * testsuite/27_io/basic_stringbuf/str/wchar_t/1.cc: Same.
1337 * testsuite/27_io/basic_stringbuf/str/char/1.cc: Same.
1338 * testsuite/27_io/basic_streambuf/in_avail/char/9701-3.cc: Move...
1339 * testsuite/27_io/basic_filebuf/in_avail/char/9701-3.cc: ...here.
1341 2005-06-07 Benjamin Kosnik <bkoz@redhat.com>
1343 * acinclude.m4 (GLIBCXX_ENABLE_C99): Use C++ compiler for complex
1345 * configure: Regenerated.
1347 2005-06-07 Adrian Straetling <straetling@de.ibm.com>
1349 * config/cpu/s390/atomicity.h: (__exchange_and_add,
1350 __atomic_add): Use the builtins for atomic memory operations.
1352 2005-06-06 Paolo Carlini <pcarlini@suse.de>
1354 PR libstdc++/21770 (cont: __gnu_debug::string)
1355 * include/debug/string: Use _Base typedefs for pointer, const_pointer,
1356 reference, const_reference, size_type, difference_type.
1357 * testsuite/21_strings/basic_string/2.cc: New.
1359 2005-06-06 Paolo Carlini <pcarlini@suse.de>
1361 PR libstdc++/21770 (cont: debug-mode)
1362 * include/debug/deque: Use _Base typedefs for pointer, const_pointer,
1363 reference, const_reference.
1364 * include/debug/list: Likewise.
1365 * include/debug/map.h: Likewise.
1366 * include/debug/multimap.h: Likewise.
1367 * include/debug/multiset.h: Likewise.
1368 * include/debug/set.h: Likewise.
1369 * include/debug/vector: Likewise.
1371 2005-06-06 Paolo Carlini <pcarlini@suse.de>
1373 Port from libstdcxx_so_7-branch:
1374 2004-09-24 Paolo Carlini <pcarlini@suse.de>
1375 Jonathan Wakely <redi@gcc.gnu.org>
1377 * include/bits/stl_list.h (list::list(size_type, value_type,
1378 const allocator_type&): Implement according to the letter of the
1379 standard, i.e., don't use two overloads, not equivalent in case
1380 of non default constructible T.
1381 (list::resize(size_type, const value_type&)): Fix the signature:
1382 according to the standard the second argument is by value; also,
1383 don't use two overloads.
1384 * include/bits/list.tcc (list::resize(size_type, const value_type&)):
1385 Adjust consistently the signature.
1386 * include/bits/stl_deque.h (deque::deque(size_type, value_type,
1387 const allocator_type&)): Likewise.
1388 (deque::resize(size_type, const value_type&)): Likewise.
1389 * include/bits/stl_vector.h (vector::vector(size_type, value_type,
1390 const allocator_type&)): Likewise.
1391 (vector::resize(size_type, const value_type&)): Likewise.
1392 * testsuite/testsuite_hooks.h: Add NonDefaultConstructible test type.
1393 * testsuite/23_containers/deque/explicit_instantiation/2.cc: New.
1394 * testsuite/23_containers/list/explicit_instantiation/2.cc: New.
1395 * testsuite/23_containers/map/explicit_instantiation/2.cc: New.
1396 * testsuite/23_containers/multimap/explicit_instantiation/2.cc: New.
1397 * testsuite/23_containers/multiset/explicit_instantiation/2.cc: New.
1398 * testsuite/23_containers/set/explicit_instantiation/2.cc: New.
1399 * testsuite/23_containers/vector/explicit_instantiation/2.cc: New.
1401 * include/bits/deque.tcc: Minor formatting fix.
1403 2005-06-06 Peter Doerfler <doerfler@techinfo.rwth-aachen.de>
1405 * include/bits/stl_function.h: ... and another one.
1407 2005-06-06 Peter Doerfler <doerfler@techinfo.rwth-aachen.de>
1409 * include/bits/stl_function.h: Fix typo in comment.
1411 2005-06-05 Paolo Carlini <pcarlini@suse.de>
1413 * acinclude.m4 ([GLIBCXX_ENABLE_C99]): Check clog, clogf, clogl
1414 too for ac_c99_complex.
1415 * configure: Regenerate.
1417 2005-06-03 Paolo Carlini <pcarlini@suse.de>
1420 * include/bits/stl_deque.h: Add concept-check. In class _Deque_base
1421 rebind _Alloc to _Tp_alloc_type, change _Deque_impl to inherit from
1422 the latter and add _M_get_Tp_allocator() which returns it. Use
1423 everywhere _M_get_Tp_allocator() instead of get_allocator().
1424 * include/bits/deque.tcc: Likewise, use _M_get_Tp_allocator().
1425 * include/bits/stl_list.h: Add concept-check. In class _List_base
1426 rebind _Alloc to _Tp_alloc_type and add _M_get_Tp_allocator(), which
1427 returns the allocator (of type _Node_alloc_type) converted to
1428 _Tp_alloc_type. Use everywhere _M_get_Tp_allocator() instead of
1430 * include/bits/list.tcc: Likewise, use _M_get_Tp_allocator().
1431 * include/bits/stl_vector.h: Add concept-check. In class _Vector_base
1432 rebind _Alloc to _Tp_alloc_type, change _Vector_impl to inherit from
1433 the latter and add _M_get_Tp_allocator() which returns it. Use
1434 everywhere _M_get_Tp_allocator() instead of get_allocator().
1435 * include/bits/vector.tcc: Likewise, use _M_get_Tp_allocator().
1436 * include/bits/stl_map.h: Add concept-check. Rebind _Alloc to
1437 _Pair_alloc_type and use it for _Rb_tree.
1438 * include/bits/stl_multimap.h: Likewise.
1439 * include/bits/stl_multiset.h: Add concept-check. Rebind _Alloc to
1440 _Key_alloc_type and use it for _Rb_tree.
1441 * include/bits/stl_set.h: Likewise.
1442 * include/bits/basic_string.h: Rebind _Alloc to _CharT_alloc_type and
1443 use it for the allocator typedefs.
1444 * testsuite/21_strings/basic_string/1.cc: New.
1445 * testsuite/23_containers/deque/explicit_instantiation.cc: Move to...
1446 * testsuite/23_containers/deque/explicit_instantiation/1.cc: ... here.
1447 * testsuite/23_containers/deque/explicit_instantiation/3.cc: New.
1448 * testsuite/23_containers/list/explicit_instantiation.cc: Move to...
1449 * testsuite/23_containers/list/explicit_instantiation/1.cc: ... here.
1450 * testsuite/23_containers/list/explicit_instantiation/3.cc: New.
1451 * testsuite/23_containers/map/explicit_instantiation.cc: Move to...
1452 * testsuite/23_containers/map/explicit_instantiation/1.cc: ... here.
1453 * testsuite/23_containers/map/explicit_instantiation/3.cc: New.
1454 * testsuite/23_containers/multimap/explicit_instantiation.cc: Move to...
1455 * testsuite/23_containers/multimap/explicit_instantiation/1.cc: .. here.
1456 * testsuite/23_containers/multimap/explicit_instantiation/3.cc: New.
1457 * testsuite/23_containers/multiset/explicit_instantiation.cc: Move to...
1458 * testsuite/23_containers/multiset/explicit_instantiation/1.cc: .. here.
1459 * testsuite/23_containers/multiset/explicit_instantiation/3.cc: New.
1460 * testsuite/23_containers/set/explicit_instantiation.cc: Move to...
1461 * testsuite/23_containers/set/explicit_instantiation/1.cc: .. here.
1462 * testsuite/23_containers/set/explicit_instantiation/3.cc: New.
1463 * testsuite/23_containers/vector/explicit_instantiation.cc: Move to...
1464 * testsuite/23_containers/vector/explicit_instantiation/1.cc: ... here.
1465 * testsuite/23_containers/vector/explicit_instantiation/3.cc: New.
1467 2005-06-02 Nathan Sidwell <nathan@codesourcery.com>
1470 * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust expected errors.
1471 * testsuite/27_io/ios_base/cons/copy_neg.cc: Likewise.
1473 2005-05-31 Paolo Carlini <pcarlini@suse.de>
1475 PR libstdc++/20534 (contd)
1476 * include/debug/macros.h: Add _GLIBCXX_DEBUG_ABORT, using
1477 __gnu_debug::__fancy_abort.
1478 * src/debug.cc: Define the latter.
1479 * include/debug/debug.h: Use _GLIBCXX_DEBUG_ABORT instead of
1481 * config/linker-map.gnu (__gnu_debug::__fancy_abort): Add.
1483 2005-05-30 Paolo Carlini <pcarlini@suse.de>
1485 * include/std/std_complex.h (log(const complex<_Tp>&)): When
1486 _GLIBCXX_USE_C99_COMPLEX, forward to __builtin_clog/clogf/clogl.
1488 2005-05-28 Paolo Carlini <pcarlini@suse.de>
1491 2005-05-18 Paolo Carlini <pcarlini@suse.de>
1492 Nathan Myers <ncm@cantrip.org>
1495 * include/bits/basic_string.h (_Raw_bytes_alloc): Rebind to
1496 size_type instead of char and rename to _Raw_alloc.
1497 * include/bits/basic_string.tcc (_Rep::_M_destroy, _Rep::_S_create):
1499 * src/bitmap_allocator.cc: Add instantiation for size_type.
1500 * src/mt_allocator.cc: Likewise.
1501 * src/pool_allocator.cc: Likewise.
1502 * include/ext/array_allocator.h: Tweak slightly, avoid assuming
1503 the existence of an _Array::begin() and size() members.
1504 * testsuite/ext/array_allocator/2.cc: Tweak to use an allocator
1505 of size_type, instead of char, thus avoiding problems with
1506 rebinds, not treated correctly by array_allocator.
1508 2005-05-27 Paolo Carlini <pcarlini@suse.de>
1510 * docs/html/abi.html: Mention 3.4.0 as the current baseline; add
1511 a notice about the configure options.
1513 2005-05-27 Mark Mitchell <mark@codesourcery.com>
1515 * docs/html/test.html: Mention PCH_CXXFLAGS.
1516 * testsuite/lib/libstdc++.exp: Set PCH_CXXFLAGS by probing for an
1517 available stcd++.h PCH.
1518 * testsuite/libstdc++-dg/normal.exp: Use PCH_CXXFLAGS.
1520 2005-05-27 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
1522 * src/misc-inst.cc: Remove unnecessary included files.
1524 2005-05-27 Benjamin Kosnik <bkoz@redhat.com>
1527 * include/bits/c++config: Remove extern template use when in debug
1528 mode, disable for non-weak systems.
1530 2005-05-27 Benjamin Kosnik <bkoz@redhat.com>
1533 * include/debug/debug.h: Forwarding header, that pulls in details
1534 only if in debug mode.
1535 * include/debug/macros.h: ...transfer all the internal macros here.
1536 * include/debug/functions.h: ...transfer all the functions here.
1537 * include/debug/safe_iterator.h: Add functions.h, macros.h includes.
1538 * include/debug/safe_sequence.h: Same.
1539 * include/debug/vector: Tweak.
1540 * include/Makefile.am (debug_headers): Add new includes.
1541 * include/Makefile.in: Regenerate.
1542 * testsuite/17_intro/no_assert_neg.cc: Add.
1544 * include/ext/hash_set: Add debug mode include.
1545 * include/ext/hash_map: Same.
1546 * include/debug/hash_map: Fix included files to match actual files.
1547 * include/debug/hash_set: Same.
1549 2005-05-26 Paolo Carlini <pcarlini@suse.de>
1552 * include/c_std/std_cstdlib.h: Do not open code llabs and lldiv,
1553 available when _GLIBCXX_USE_C99 is defined.
1554 * testsuite/26_numerics/cstdlib/13943.cc: New.
1556 * acinclude.m4 ([GLIBCXX_ENABLE_C99]): For completeness, check
1557 also strtoll and strtoull for ac_c99_stdlib.
1558 * configure: Regenerate.
1560 2005-05-25 Benjamin Kosnik <bkoz@redhat.com>
1562 * config/linker-map.gnu: Add linkage support for no extern templates.
1563 (std::ios_base::_M_call_callbacks): Add.
1564 (std::ios_base::_M_dispose_callbacks): Add.
1565 (std::locale::facet::_S_get_c_name): Add.
1566 (std::__copy_streambufs): Add.
1567 * configure.ac (libtool_VERSION): To 6:5:0.
1568 * configure: Regenerate.
1569 * testsuite/testsuite_abi.cc (check_version): Add GLIBCXX_3.4.5.
1571 2005-05-25 Paolo Carlini <pcarlini@suse.de>
1573 * include/bits/basic_string.h (_Rep::_M_set_length_and_sharable):
1574 Use, consistently, traits_type::assign.
1576 2005-05-25 Paolo Carlini <pcarlini@suse.de>
1578 * config/cpu/alpha/atomicity.h: Use the builtins for
1579 atomic memory operations.
1580 * config/cpu/powerpc/atomicity.h: Likewise.
1581 * config/cpu/ia64/atomicity.h: Do not include ia64intrin.h.
1583 2005-05-24 Paolo Carlini <pcarlini@suse.de>
1585 * testsuite/25_algorithms/equal.cc: Move to...
1586 * testsuite/25_algorithms/equal: ... here.
1587 * testsuite/25_algorithms/lower_bound.cc: Move to...
1588 * testsuite/25_algorithms/lower_bound: ... here.
1590 2005-05-24 Paolo Carlini <pcarlini@suse.de>
1592 Port from libstdcxx_so_7-branch:
1593 2005-20-05 Chris Jefferson <chris@bubblescope.net>
1595 * testsuite/25_algorithms/heap.cc: Move to...
1596 * testsuite/25_algorithms/heap/heap.cc: ...here.
1597 * testsuite/25_algorithms/partition.cc: Move to...
1598 * testsuite/25_algorithms/partition/partition.cc: ...here.
1600 2005-03-29 Christopher Jefferson <chris@bubblescope.net>
1602 * testsuite/25_algorithms/includes/1.cc: Add tests.
1603 * testsuite/25_algorithms/search/1.cc: Likewise.
1604 * testsuite/25_algorithms/unique_copy/1.cc: Likewise.
1605 * testsuite/25_algorithms/swap_ranges/1.cc: New.
1606 * testsuite/25_algorithms/swap_ranges/check_type.cc: New.
1607 * testsuite/25_algorithms/rotate.cc: Move to...
1608 * testsuite/25_algorithms/rotate/rotate.cc: ... here.
1609 * testsuite/25_algorithms/rotate/1.cc: New.
1610 * testsuite/25_algorithms/rotate/check_type.cc: New.
1611 * testsuite/25_algorithms/search_n/iterator.cc: Fix typo.
1613 2005-03-14 Christopher Jefferson <chris@bubblescope.net>
1615 * include/bits/stl_algo.h (replace_copy, replace_copy_if):
1616 Don't assume that __new_value and *__first are convertible to
1619 * testsuite/25_algorithms/find/1.cc: New.
1620 * testsuite/25_algorithms/find/check_type.cc: New.
1621 * testsuite/25_algorithms/find_if/1.cc: New.
1622 * testsuite/25_algorithms/find_if/check_type.cc: New.
1623 * testsuite/25_algorithms/replace/1.cc: New.
1624 * testsuite/25_algorithms/replace/check_type.cc: New.
1625 * testsuite/25_algorithms/replace_if/1.cc: New.
1626 * testsuite/25_algorithms/replace_if/check_type.cc: New.
1627 * testsuite/25_algorithms/replace_copy/1.cc: New.
1628 * testsuite/25_algorithms/replace_copy/check_type.cc: New.
1629 * testsuite/25_algorithms/replace_copy_if/1.cc: New.
1630 * testsuite/25_algorithms/replace_copy_if/check_type.cc: New.
1631 * testsuite/25_algorithms/remove/1.cc: New.
1632 * testsuite/25_algorithms/remove/check_type.cc: New.
1633 * testsuite/25_algorithms/remove_if/1.cc: New.
1634 * testsuite/25_algorithms/remove_if/check_type.cc: New.
1635 * testsuite/25_algorithms/count/1.cc: New.
1636 * testsuite/25_algorithms/count/check_type.cc: New.
1637 * testsuite/25_algorithms/count_if/1.cc: New.
1638 * testsuite/25_algorithms/count_if/check_type.cc: New.
1640 2005-02-27 Christopher Jefferson <chris@bubblescope.net>
1641 Paolo Carlini <pcarlini@suse.de>
1643 * testsuite/ext/is_heap/check_type.cc: New.
1645 2005-02-27 Paolo Carlini <pcarlini@suse.de>
1647 * testsuite/ext/is_heap/1.cc: New.
1649 2005-02-01 Christopher Jefferson <chris@bubblescope.net>
1651 * testsuite/ext/median.cc: New.
1652 * testsuite/25_algorithms/adjacent_find/1.cc: New.
1653 * testsuite/25_algorithms/adjacent_find/check_type.cc: New.
1654 * testsuite/25_algorithms/search/1.cc: New.
1655 * testsuite/25_algorithms/search/check_type.cc: New.
1656 * testsuite/25_algorithms/unique_copy/1.cc: New.
1657 * testsuite/25_algorithms/unique_copy/check_type.cc: New.
1658 * testsuite/25_algorithms/partial_sort/1.cc: New.
1659 * testsuite/25_algorithms/partial_sort/check_type.cc: New.
1660 * testsuite/25_algorithms/partial_sort_copy/1.cc: New.
1661 * testsuite/25_algorithms/partial_sort_copy/check_type.cc: New.
1662 * testsuite/25_algorithms/lower_bound/1.cc: New.
1663 * testsuite/25_algorithms/lower_bound/check_type.cc: New.
1664 * testsuite/25_algorithms/upper_bound/1.cc: New.
1665 * testsuite/25_algorithms/upper_bound/check_type.cc: New.
1666 * testsuite/25_algorithms/merge/1.cc: New.
1667 * testsuite/25_algorithms/merge/check_type.cc: New.
1668 * testsuite/25_algorithms/inplace_merge/1.cc: New.
1669 * testsuite/25_algorithms/inplace_merge/check_type.cc: New.
1670 * testsuite/25_algorithms/stable_sort/1.cc: New.
1671 * testsuite/25_algorithms/stable_sort/check_type.cc: New.
1672 * testsuite/25_algorithms/nth_element/1.cc: New.
1673 * testsuite/25_algorithms/nth_element/check_type.cc: New.
1674 * testsuite/25_algorithms/equal_range/1.cc: New.
1675 * testsuite/25_algorithms/equal_range/check_type.cc: New.
1676 * testsuite/25_algorithms/binary_search/1.cc: New.
1677 * testsuite/25_algorithms/binary_search/check_type.cc: New.
1678 * testsuite/25_algorithms/includes/1.cc: New.
1679 * testsuite/25_algorithms/includes/check_type.cc: New.
1680 * testsuite/25_algorithms/set_union/1.cc: New.
1681 * testsuite/25_algorithms/set_union/check_type.cc: New.
1682 * testsuite/25_algorithms/set_intersection/1.cc: New.
1683 * testsuite/25_algorithms/set_intersection/check_type.cc: New.
1684 * testsuite/25_algorithms/set_difference/1.cc: New.
1685 * testsuite/25_algorithms/set_difference/check_type.cc: New.
1686 * testsuite/25_algorithms/set_symmetric_difference/1.cc: New.
1687 * testsuite/25_algorithms/set_symmetric_difference/check_type.cc: New.
1688 * testsuite/25_algorithms/min_element/1.cc: New.
1689 * testsuite/25_algorithms/min_element/check_type.cc: New.
1690 * testsuite/25_algorithms/max_element/1.cc: New.
1691 * testsuite/25_algorithms/max_element/check_type.cc: New.
1692 * testsuite/25_algorithms/prev_permutation/1.cc: New.
1693 * testsuite/25_algorithms/prev_permutation/check_type.cc: New.
1694 * testsuite/25_algorithms/next_permutation/1.cc: New.
1695 * testsuite/25_algorithms/next_permutation/check_type.cc: New.
1696 * testsuite/25_algorithms/find_first_of/1.cc: New.
1697 * testsuite/25_algorithms/find_first_of/check_type.cc: New.
1698 * testsuite/25_algorithms/find_end/1.cc: New.
1699 * testsuite/25_algorithms/find_end/check_type.cc: New.
1700 * testsuite/25_algorithms/equal/check_type.cc: Insert iterator type.
1701 * testsuite/25_algorithms/lexicographical_compare/check_type.cc:
1704 2005-01-10 Christopher Jefferson <chris@bubblescope.net>
1706 * testsuite/25_algorithms/lexicographical_compare/check_type.cc: New.
1707 * testsuite/25_algorithms/lexicographical_compare/1.cc: Likewise.
1708 * testsuite/25_algorithms/mismatch/check_type.cc: Likewise.
1709 * testsuite/25_algorithms/mismatch/1.cc: Likewise.
1710 * testsuite/25_algorithms/equal/check_type.cc: New.
1711 * testsuite/25_algorithms/equal/1.cc: New.
1713 2005-05-24 Benjamin Kosnik <bkoz@redhat.com>
1715 * include/bits/allocator.h: Change ___glibcxx_base_allocator to
1716 __glibcxx_base_allocator.
1717 * config/allocator/bitmap_allocator_base.h: Same.
1718 * config/allocator/malloc_allocator_base.h: Same.
1719 * config/allocator/mt_allocator_base.h: Same.
1720 * config/allocator/new_allocator_base.h: Same.
1721 * config/allocator/pool_allocator_base.h: Same.
1723 2005-05-24 Jonathan Wakely <redi@gcc.gnu.org>
1725 * include/debug/string (class basic_string): Add missing
1726 default template arguments; provide typedefs for char
1728 (operator[]): Allow s[s.size()] in debug mode, but not
1731 2005-05-24 Paolo Carlini <pcarlini@suse.de>
1733 Port from libstdcxx_so_7-branch:
1734 2005-04-25 Christopher Jefferson <chris@bubblescope.net>
1736 * include/bits/stl_algo.h (count): Correct concept checks.
1737 (search_n) : Likewise.
1738 * testsuite/25_algorithms/search_n/check_type.cc: New.
1740 * testsuite/testsuite_iterators.h
1741 (random_access_iterator_wrapper::operator+): Move out of
1742 class to external function, and add symmetric version.
1744 2005-03-14 Christopher Jefferson <chris@bubblescope.net>
1746 * testsuite/testsuite_iterators.h (WritableObject::WritableObject):
1749 2005-02-01 Christopher Jefferson <chris@bubblescope.net>
1751 * testsuite/testsuite_iterators.h (random_access_iterator_wrapper::
1752 operator--): Fix typo.
1753 (OutputContainer::OutputContainer): Correct zeroing array.
1754 (WritableObject::operator==): Fix typo.
1755 (WritableObject::operator=): make operator= templated
1756 to allow differing types to be assigned.
1757 (WritableObject::operator++): Fix checking if iterator is
1758 written to multiple times.
1759 (random_access_iterator_wrapper::operator+): Add const.
1760 (random_access_iterator_wrapper::operator-): Likewise.
1761 (random_access_iterator_wrapper::operator[]): Add dereference.
1763 2005-05-23 Jonathan Wakely <redi@gcc.gnu.org>
1765 * docs/html/debug.html: Explain that _GLIBXX_DEBUG_PEDANTIC
1766 had to be defined for pedantic mode in 3.4 and 4.0.0.
1768 2005-05-20 Jan Beulich <jbeulich@novell.com>
1770 * libmath/stubs.c: Also implement fabsf/fabsl if not present in the
1773 2005-05-20 Paolo Carlini <pcarlini@suse.de>
1775 * include/bits/stl_algo.h (__rotate<_RandomAccessIterator>):
1776 Don't qualify __tmp as const, _ValueType is not necessarily
1778 * include/bits/stl_algobase.h (swap, __iter_swap<false>):
1779 Likewise, as an harmless extension.
1781 2005-05-19 Richard Henderson <rth@redhat.com>
1783 * libsupc++/unwind-cxx.h: Revert gcc_unreachable change.
1785 2005-05-19 Jonathan Wakely <redi@gcc.gnu.org>
1787 * include/bits/basic_string.h (operator[]): Allow s[s.size()] in
1788 debug mode, but not pedantic mode.
1790 2005-05-19 Jan Beulich <jbeulich@novell.com>
1792 * libsupc++/unwind-cxx.h: Include cstdlib.
1793 (gcc_unreachable): #define.
1794 * libsupc++/eh_personality.cc (gcc_unreachable): Remove #define.
1796 2005-05-18 Paolo Carlini <pcarlini@suse.de>
1797 Nathan Myers <ncm@cantrip.org>
1800 * include/bits/basic_string.h (_Raw_bytes_alloc): Rebind to
1801 size_type instead of char and rename to _Raw_alloc.
1802 * include/bits/basic_string.tcc (_Rep::_M_destroy, _Rep::_S_create):
1804 * src/bitmap_allocator.cc: Add instantiation for size_type.
1805 * src/mt_allocator.cc: Likewise.
1806 * src/pool_allocator.cc: Likewise.
1807 * include/ext/array_allocator.h: Tweak slightly, avoid assuming
1808 the existence of an _Array::begin() and size() members.
1809 * testsuite/ext/array_allocator/2.cc: Tweak to use an allocator
1810 of size_type, instead of char, thus avoiding problems with
1811 rebinds, not treated correctly by array_allocator.
1813 2005-05-18 Paolo Carlini <pcarlini@suse.de>
1815 * testsuite/22_locale/ctype/is/char/2.cc: Adjust dg-require-namedlocale.
1816 * testsuite/22_locale/ctype/is/wchar_t/2.cc: Likewise.
1817 * testsuite/22_locale/time_get/get_year/char/wrapped_env.cc: Add
1818 missing dg-require-namedlocale.
1819 * testsuite/22_locale/time_get/get_year/char/wrapped_locale.cc:
1821 * testsuite/22_locale/time_get/get_year/wchar_t/wrapped_env.cc:
1823 * testsuite/22_locale/time_get/get_year/wchar_t/wrapped_locale.cc:
1826 2005-05-18 Paolo Carlini <pcarlini@suse.de>
1828 * testsuite/testsuite_hooks.cc: Remove try_named_locale.
1829 * testsuite/testsuite_hooks.h: Remove try_named_locale.
1830 * testsuite/lib/libstdc++.exp (check_v3_target_namedlocale): New.
1831 * testsuite/lib/dg-options.exp (dg-require-namedlocale): New, uses
1833 * testsuite/22_locale/codecvt/always_noconv/char/wrapped_env.cc: Use
1834 dg-require-namedlocale.
1835 * testsuite/22_locale/codecvt/always_noconv/char/wrapped_locale.cc:
1837 * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: Likewise.
1838 * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: Likewise.
1839 * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: Likewise.
1840 * testsuite/22_locale/codecvt/always_noconv/wchar_t/wrapped_env.cc:
1842 * testsuite/22_locale/codecvt/always_noconv/wchar_t/wrapped_locale.cc:
1844 * testsuite/22_locale/codecvt/encoding/char/wrapped_env.cc: Likewise.
1845 * testsuite/22_locale/codecvt/encoding/char/wrapped_locale.cc: Likewise.
1846 * testsuite/22_locale/codecvt/encoding/wchar_t/2.cc: Likewise.
1847 * testsuite/22_locale/codecvt/encoding/wchar_t/3.cc: Likewise.
1848 * testsuite/22_locale/codecvt/encoding/wchar_t/4.cc: Likewise.
1849 * testsuite/22_locale/codecvt/encoding/wchar_t/wrapped_env.cc: Likewise.
1850 * testsuite/22_locale/codecvt/encoding/wchar_t/wrapped_locale.cc:
1852 * testsuite/22_locale/codecvt/in/char/wrapped_env.cc: Likewise.
1853 * testsuite/22_locale/codecvt/in/char/wrapped_locale.cc: Likewise.
1854 * testsuite/22_locale/codecvt/in/wchar_t/2.cc: Likewise.
1855 * testsuite/22_locale/codecvt/in/wchar_t/3.cc: Likewise.
1856 * testsuite/22_locale/codecvt/in/wchar_t/4.cc: Likewise.
1857 * testsuite/22_locale/codecvt/in/wchar_t/7.cc: Likewise.
1858 * testsuite/22_locale/codecvt/in/wchar_t/8.cc: Likewise.
1859 * testsuite/22_locale/codecvt/in/wchar_t/9.cc: Likewise.
1860 * testsuite/22_locale/codecvt/in/wchar_t/wrapped_env.cc: Likewise.
1861 * testsuite/22_locale/codecvt/in/wchar_t/wrapped_locale.cc: Likewise.
1862 * testsuite/22_locale/codecvt/length/char/wrapped_env.cc: Likewise.
1863 * testsuite/22_locale/codecvt/length/char/wrapped_locale.cc: Likewise.
1864 * testsuite/22_locale/codecvt/length/wchar_t/2.cc: Likewise.
1865 * testsuite/22_locale/codecvt/length/wchar_t/3.cc: Likewise.
1866 * testsuite/22_locale/codecvt/length/wchar_t/4.cc: Likewise.
1867 * testsuite/22_locale/codecvt/length/wchar_t/7.cc: Likewise.
1868 * testsuite/22_locale/codecvt/length/wchar_t/wrapped_env.cc: Likewise.
1869 * testsuite/22_locale/codecvt/length/wchar_t/wrapped_locale.cc:
1871 * testsuite/22_locale/codecvt/max_length/char/wrapped_env.cc: Likewise.
1872 * testsuite/22_locale/codecvt/max_length/char/wrapped_locale.cc:
1874 * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: Likewise.
1875 * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: Likewise.
1876 * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: Likewise.
1877 * testsuite/22_locale/codecvt/max_length/wchar_t/wrapped_env.cc:
1879 * testsuite/22_locale/codecvt/max_length/wchar_t/wrapped_locale.cc:
1881 * testsuite/22_locale/codecvt/out/char/wrapped_env.cc: Likewise.
1882 * testsuite/22_locale/codecvt/out/char/wrapped_locale.cc: Likewise.
1883 * testsuite/22_locale/codecvt/out/wchar_t/2.cc: Likewise.
1884 * testsuite/22_locale/codecvt/out/wchar_t/3.cc: Likewise.
1885 * testsuite/22_locale/codecvt/out/wchar_t/4.cc: Likewise.
1886 * testsuite/22_locale/codecvt/out/wchar_t/7.cc: Likewise.
1887 * testsuite/22_locale/codecvt/out/wchar_t/wrapped_env.cc: Likewise.
1888 * testsuite/22_locale/codecvt/out/wchar_t/wrapped_locale.cc: Likewise.
1889 * testsuite/22_locale/codecvt/unshift/char/wrapped_env.cc: Likewise.
1890 * testsuite/22_locale/codecvt/unshift/char/wrapped_locale.cc: Likewise.
1891 * testsuite/22_locale/codecvt/unshift/wchar_t/2.cc: Likewise.
1892 * testsuite/22_locale/codecvt/unshift/wchar_t/3.cc: Likewise.
1893 * testsuite/22_locale/codecvt/unshift/wchar_t/4.cc: Likewise.
1894 * testsuite/22_locale/codecvt/unshift/wchar_t/wrapped_env.cc: Likewise.
1895 * testsuite/22_locale/codecvt/unshift/wchar_t/wrapped_locale.cc:
1897 * testsuite/22_locale/collate/compare/char/1.cc: Likewise.
1898 * testsuite/22_locale/collate/compare/char/2.cc: Likewise.
1899 * testsuite/22_locale/collate/compare/char/3.cc: Likewise.
1900 * testsuite/22_locale/collate/compare/char/wrapped_env.cc: Likewise.
1901 * testsuite/22_locale/collate/compare/char/wrapped_locale.cc: Likewise.
1902 * testsuite/22_locale/collate/compare/wchar_t/1.cc: Likewise.
1903 * testsuite/22_locale/collate/compare/wchar_t/2.cc: Likewise.
1904 * testsuite/22_locale/collate/compare/wchar_t/3.cc: Likewise.
1905 * testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc: Likewise.
1906 * testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc:
1908 * testsuite/22_locale/collate/hash/char/2.cc: Likewise.
1909 * testsuite/22_locale/collate/hash/char/wrapped_env.cc: Likewise.
1910 * testsuite/22_locale/collate/hash/char/wrapped_locale.cc: Likewise.
1911 * testsuite/22_locale/collate/hash/wchar_t/2.cc: Likewise.
1912 * testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc: Likewise.
1913 * testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc: Likewise.
1914 * testsuite/22_locale/collate/transform/char/2.cc: Likewise.
1915 * testsuite/22_locale/collate/transform/char/3.cc: Likewise.
1916 * testsuite/22_locale/collate/transform/char/wrapped_env.cc: Likewise.
1917 * testsuite/22_locale/collate/transform/char/wrapped_locale.cc:
1919 * testsuite/22_locale/collate/transform/wchar_t/2.cc: Likewise.
1920 * testsuite/22_locale/collate/transform/wchar_t/3.cc: Likewise.
1921 * testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc:
1923 * testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc:
1925 * testsuite/22_locale/collate_byname/named_equivalence.cc: Likewise.
1926 * testsuite/22_locale/ctype/cons/char/wrapped_env.cc: Likewise.
1927 * testsuite/22_locale/ctype/cons/char/wrapped_locale.cc: Likewise.
1928 * testsuite/22_locale/ctype/is/char/2.cc: Likewise.
1929 * testsuite/22_locale/ctype/is/char/wrapped_env.cc: Likewise.
1930 * testsuite/22_locale/ctype/is/char/wrapped_locale.cc: Likewise.
1931 * testsuite/22_locale/ctype/is/wchar_t/2.cc: Likewise.
1932 * testsuite/22_locale/ctype/is/wchar_t/wrapped_env.cc: Likewise.
1933 * testsuite/22_locale/ctype/is/wchar_t/wrapped_locale.cc: Likewise.
1934 * testsuite/22_locale/ctype/narrow/char/wrapped_env.cc: Likewise.
1935 * testsuite/22_locale/ctype/narrow/char/wrapped_locale.cc: Likewise.
1936 * testsuite/22_locale/ctype/narrow/wchar_t/3.cc: Likewise.
1937 * testsuite/22_locale/ctype/narrow/wchar_t/wrapped_env.cc: Likewise.
1938 * testsuite/22_locale/ctype/narrow/wchar_t/wrapped_locale.cc: Likewise.
1939 * testsuite/22_locale/ctype/scan/char/wrapped_env.cc: Likewise.
1940 * testsuite/22_locale/ctype/scan/char/wrapped_locale.cc: Likewise.
1941 * testsuite/22_locale/ctype/scan/wchar_t/wrapped_env.cc: Likewise.
1942 * testsuite/22_locale/ctype/scan/wchar_t/wrapped_locale.cc: Likewise.
1943 * testsuite/22_locale/ctype/to/char/wrapped_env.cc: Likewise.
1944 * testsuite/22_locale/ctype/to/char/wrapped_locale.cc: Likewise.
1945 * testsuite/22_locale/ctype/to/wchar_t/wrapped_env.cc: Likewise.
1946 * testsuite/22_locale/ctype/to/wchar_t/wrapped_locale.cc: Likewise.
1947 * testsuite/22_locale/ctype/widen/char/wrapped_env.cc: Likewise.
1948 * testsuite/22_locale/ctype/widen/char/wrapped_locale.cc: Likewise.
1949 * testsuite/22_locale/ctype/widen/wchar_t/2.cc: Likewise.
1950 * testsuite/22_locale/ctype/widen/wchar_t/3.cc: Likewise.
1951 * testsuite/22_locale/ctype/widen/wchar_t/wrapped_env.cc: Likewise.
1952 * testsuite/22_locale/ctype/widen/wchar_t/wrapped_locale.cc: Likewise.
1953 * testsuite/22_locale/facet/2.cc: Likewise.
1954 * testsuite/22_locale/locale/cons/12352.cc: Likewise.
1955 * testsuite/22_locale/locale/cons/12438.cc: Likewise.
1956 * testsuite/22_locale/locale/cons/12658_thread-1.cc: Likewise.
1957 * testsuite/22_locale/locale/cons/12658_thread-2.cc: Likewise.
1958 * testsuite/22_locale/locale/cons/2.cc: Likewise.
1959 * testsuite/22_locale/locale/cons/4.cc: Likewise.
1960 * testsuite/22_locale/locale/cons/5.cc: Likewise.
1961 * testsuite/22_locale/locale/cons/7.cc: Likewise.
1962 * testsuite/22_locale/locale/cons/7222-env.cc: Likewise.
1963 * testsuite/22_locale/locale/global_locale_objects/14071.cc: Likewise.
1964 * testsuite/22_locale/locale/global_locale_objects/2.cc: Likewise.
1965 * testsuite/22_locale/messages/members/char/1.cc: Likewise.
1966 * testsuite/22_locale/messages/members/char/2.cc: Likewise.
1967 * testsuite/22_locale/messages/members/char/3.cc: Likewise.
1968 * testsuite/22_locale/messages/members/char/wrapped_env.cc: Likewise.
1969 * testsuite/22_locale/messages/members/char/wrapped_locale.cc: Likewise.
1970 * testsuite/22_locale/messages_byname/named_equivalence.cc: Likewise.
1971 * testsuite/22_locale/money_get/get/char/1.cc: Likewise.
1972 * testsuite/22_locale/money_get/get/char/10.cc: Likewise.
1973 * testsuite/22_locale/money_get/get/char/11.cc: Likewise.
1974 * testsuite/22_locale/money_get/get/char/11528.cc: Likewise.
1975 * testsuite/22_locale/money_get/get/char/12.cc: Likewise.
1976 * testsuite/22_locale/money_get/get/char/13.cc: Likewise.
1977 * testsuite/22_locale/money_get/get/char/15.cc: Likewise.
1978 * testsuite/22_locale/money_get/get/char/16.cc: Likewise.
1979 * testsuite/22_locale/money_get/get/char/17.cc: Likewise.
1980 * testsuite/22_locale/money_get/get/char/18.cc: Likewise.
1981 * testsuite/22_locale/money_get/get/char/2.cc: Likewise.
1982 * testsuite/22_locale/money_get/get/char/3.cc: Likewise.
1983 * testsuite/22_locale/money_get/get/char/4.cc: Likewise.
1984 * testsuite/22_locale/money_get/get/char/wrapped_env.cc: Likewise.
1985 * testsuite/22_locale/money_get/get/char/wrapped_locale.cc: Likewise.
1986 * testsuite/22_locale/money_get/get/wchar_t/1.cc: Likewise.
1987 * testsuite/22_locale/money_get/get/wchar_t/10.cc: Likewise.
1988 * testsuite/22_locale/money_get/get/wchar_t/11.cc: Likewise.
1989 * testsuite/22_locale/money_get/get/wchar_t/11528.cc: Likewise.
1990 * testsuite/22_locale/money_get/get/wchar_t/12.cc: Likewise.
1991 * testsuite/22_locale/money_get/get/wchar_t/13.cc: Likewise.
1992 * testsuite/22_locale/money_get/get/wchar_t/15.cc: Likewise.
1993 * testsuite/22_locale/money_get/get/wchar_t/16.cc: Likewise.
1994 * testsuite/22_locale/money_get/get/wchar_t/17.cc: Likewise.
1995 * testsuite/22_locale/money_get/get/wchar_t/18.cc: Likewise.
1996 * testsuite/22_locale/money_get/get/wchar_t/2.cc: Likewise.
1997 * testsuite/22_locale/money_get/get/wchar_t/3.cc: Likewise.
1998 * testsuite/22_locale/money_get/get/wchar_t/4.cc: Likewise.
1999 * testsuite/22_locale/money_get/get/wchar_t/wrapped_env.cc: Likewise.
2000 * testsuite/22_locale/money_get/get/wchar_t/wrapped_locale.cc: Likewise.
2001 * testsuite/22_locale/money_put/put/char/1.cc: Likewise.
2002 * testsuite/22_locale/money_put/put/char/2.cc: Likewise.
2003 * testsuite/22_locale/money_put/put/char/3.cc: Likewise.
2004 * testsuite/22_locale/money_put/put/char/9780-3.cc: Likewise.
2005 * testsuite/22_locale/money_put/put/char/wrapped_env.cc: Likewise.
2006 * testsuite/22_locale/money_put/put/char/wrapped_locale.cc: Likewise.
2007 * testsuite/22_locale/money_put/put/wchar_t/1.cc: Likewise.
2008 * testsuite/22_locale/money_put/put/wchar_t/2.cc: Likewise.
2009 * testsuite/22_locale/money_put/put/wchar_t/3.cc: Likewise.
2010 * testsuite/22_locale/money_put/put/wchar_t/wrapped_env.cc: Likewise.
2011 * testsuite/22_locale/money_put/put/wchar_t/wrapped_locale.cc: Likewise.
2012 * testsuite/22_locale/moneypunct/members/char/2.cc: Likewise.
2013 * testsuite/22_locale/moneypunct/members/char/wrapped_env.cc: Likewise.
2014 * testsuite/22_locale/moneypunct/members/char/wrapped_locale.cc:
2016 * testsuite/22_locale/moneypunct/members/wchar_t/2.cc: Likewise.
2017 * testsuite/22_locale/moneypunct/members/wchar_t/wrapped_env.cc:
2019 * testsuite/22_locale/moneypunct/members/wchar_t/wrapped_locale.cc:
2021 * testsuite/22_locale/moneypunct_byname/named_equivalence.cc: Likewise.
2022 * testsuite/22_locale/num_get/get/char/1.cc: Likewise.
2023 * testsuite/22_locale/num_get/get/char/3.cc: Likewise.
2024 * testsuite/22_locale/num_get/get/char/5.cc: Likewise.
2025 * testsuite/22_locale/num_get/get/char/6.cc: Likewise.
2026 * testsuite/22_locale/num_get/get/char/9.cc: Likewise.
2027 * testsuite/22_locale/num_get/get/char/wrapped_env.cc: Likewise.
2028 * testsuite/22_locale/num_get/get/char/wrapped_locale.cc: Likewise.
2029 * testsuite/22_locale/num_get/get/wchar_t/1.cc: Likewise.
2030 * testsuite/22_locale/num_get/get/wchar_t/3.cc: Likewise.
2031 * testsuite/22_locale/num_get/get/wchar_t/5.cc: Likewise.
2032 * testsuite/22_locale/num_get/get/wchar_t/6.cc: Likewise.
2033 * testsuite/22_locale/num_get/get/wchar_t/9.cc: Likewise.
2034 * testsuite/22_locale/num_get/get/wchar_t/wrapped_env.cc: Likewise.
2035 * testsuite/22_locale/num_get/get/wchar_t/wrapped_locale.cc: Likewise.
2036 * testsuite/22_locale/num_put/put/char/1.cc: Likewise.
2037 * testsuite/22_locale/num_put/put/char/20909.cc: Likewise.
2038 * testsuite/22_locale/num_put/put/char/20914.cc: Likewise.
2039 * testsuite/22_locale/num_put/put/char/3.cc: Likewise.
2040 * testsuite/22_locale/num_put/put/char/5.cc: Likewise.
2041 * testsuite/22_locale/num_put/put/char/9780-2.cc: Likewise.
2042 * testsuite/22_locale/num_put/put/char/wrapped_env.cc: Likewise.
2043 * testsuite/22_locale/num_put/put/char/wrapped_locale.cc: Likewise.
2044 * testsuite/22_locale/num_put/put/wchar_t/1.cc: Likewise.
2045 * testsuite/22_locale/num_put/put/wchar_t/20909.cc: Likewise.
2046 * testsuite/22_locale/num_put/put/wchar_t/20914.cc: Likewise.
2047 * testsuite/22_locale/num_put/put/wchar_t/3.cc: Likewise.
2048 * testsuite/22_locale/num_put/put/wchar_t/5.cc: Likewise.
2049 * testsuite/22_locale/num_put/put/wchar_t/wrapped_env.cc: Likewise.
2050 * testsuite/22_locale/num_put/put/wchar_t/wrapped_locale.cc: Likewise.
2051 * testsuite/22_locale/numpunct/members/char/2.cc: Likewise.
2052 * testsuite/22_locale/numpunct/members/char/3.cc: Likewise.
2053 * testsuite/22_locale/numpunct/members/char/wrapped_env.cc: Likewise.
2054 * testsuite/22_locale/numpunct/members/char/wrapped_locale.cc: Likewise.
2055 * testsuite/22_locale/numpunct/members/wchar_t/2.cc: Likewise.
2056 * testsuite/22_locale/numpunct/members/wchar_t/wrapped_env.cc: Likewise.
2057 * testsuite/22_locale/numpunct/members/wchar_t/wrapped_locale.cc:
2059 * testsuite/22_locale/numpunct_byname/named_equivalence.cc: Likewise.
2060 * testsuite/22_locale/time_get/date_order/char/wrapped_env.cc: Likewise.
2061 * testsuite/22_locale/time_get/date_order/char/wrapped_locale.cc:
2063 * testsuite/22_locale/time_get/date_order/wchar_t/wrapped_env.cc:
2065 * testsuite/22_locale/time_get/date_order/wchar_t/wrapped_locale.cc:
2067 * testsuite/22_locale/time_get/get_date/char/12750.cc: Likewise.
2068 * testsuite/22_locale/time_get/get_date/char/2.cc: Likewise.
2069 * testsuite/22_locale/time_get/get_date/char/wrapped_env.cc: Likewise.
2070 * testsuite/22_locale/time_get/get_date/char/wrapped_locale.cc:
2072 * testsuite/22_locale/time_get/get_date/wchar_t/12750.cc: Likewise.
2073 * testsuite/22_locale/time_get/get_date/wchar_t/2.cc: Likewise.
2074 * testsuite/22_locale/time_get/get_date/wchar_t/4.cc: Likewise.
2075 * testsuite/22_locale/time_get/get_date/wchar_t/wrapped_env.cc:
2077 * testsuite/22_locale/time_get/get_date/wchar_t/wrapped_locale.cc:
2079 * testsuite/22_locale/time_get/get_monthname/char/2.cc: Likewise.
2080 * testsuite/22_locale/time_get/get_monthname/char/wrapped_env.cc:
2082 * testsuite/22_locale/time_get/get_monthname/char/wrapped_locale.cc:
2084 * testsuite/22_locale/time_get/get_monthname/wchar_t/2.cc: Likewise.
2085 * testsuite/22_locale/time_get/get_monthname/wchar_t/wrapped_env.cc:
2087 * testsuite/22_locale/time_get/get_monthname/wchar_t/wrapped_locale.cc:
2089 * testsuite/22_locale/time_get/get_time/char/1.cc: Likewise.
2090 * testsuite/22_locale/time_get/get_time/char/2.cc: Likewise.
2091 * testsuite/22_locale/time_get/get_time/char/wrapped_env.cc: Likewise.
2092 * testsuite/22_locale/time_get/get_time/char/wrapped_locale.cc:
2094 * testsuite/22_locale/time_get/get_time/wchar_t/1.cc: Likewise.
2095 * testsuite/22_locale/time_get/get_time/wchar_t/2.cc: Likewise.
2096 * testsuite/22_locale/time_get/get_time/wchar_t/wrapped_env.cc:
2098 * testsuite/22_locale/time_get/get_time/wchar_t/wrapped_locale.cc:
2100 * testsuite/22_locale/time_get/get_weekday/char/2.cc: Likewise.
2101 * testsuite/22_locale/time_get/get_weekday/char/wrapped_env.cc:
2103 * testsuite/22_locale/time_get/get_weekday/char/wrapped_locale.cc:
2105 * testsuite/22_locale/time_get/get_weekday/wchar_t/2.cc: Likewise.
2106 * testsuite/22_locale/time_get/get_weekday/wchar_t/wrapped_env.cc:
2108 * testsuite/22_locale/time_get/get_weekday/wchar_t/wrapped_locale.cc:
2110 * testsuite/22_locale/time_put/put/char/17038.cc: Likewise.
2111 * testsuite/22_locale/time_put/put/char/2.cc: Likewise.
2112 * testsuite/22_locale/time_put/put/char/3.cc: Likewise.
2113 * testsuite/22_locale/time_put/put/char/4.cc: Likewise.
2114 * testsuite/22_locale/time_put/put/char/6.cc: Likewise.
2115 * testsuite/22_locale/time_put/put/char/7.cc: Likewise.
2116 * testsuite/22_locale/time_put/put/char/8.cc: Likewise.
2117 * testsuite/22_locale/time_put/put/char/9780-1.cc: Likewise.
2118 * testsuite/22_locale/time_put/put/char/wrapped_env.cc: Likewise.
2119 * testsuite/22_locale/time_put/put/char/wrapped_locale.cc: Likewise.
2120 * testsuite/22_locale/time_put/put/wchar_t/17038.cc: Likewise.
2121 * testsuite/22_locale/time_put/put/wchar_t/2.cc: Likewise.
2122 * testsuite/22_locale/time_put/put/wchar_t/3.cc: Likewise.
2123 * testsuite/22_locale/time_put/put/wchar_t/4.cc: Likewise.
2124 * testsuite/22_locale/time_put/put/wchar_t/6.cc: Likewise.
2125 * testsuite/22_locale/time_put/put/wchar_t/7.cc: Likewise.
2126 * testsuite/22_locale/time_put/put/wchar_t/8.cc: Likewise.
2127 * testsuite/22_locale/time_put/put/wchar_t/wrapped_env.cc: Likewise.
2128 * testsuite/22_locale/time_put/put/wchar_t/wrapped_locale.cc: Likewise.
2129 * testsuite/27_io/basic_filebuf/imbue/char/13007.cc: Likewise.
2130 * testsuite/27_io/basic_filebuf/imbue/char/13171-1.cc: Likewise.
2131 * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
2132 * testsuite/27_io/basic_filebuf/imbue/char/13171-4.cc: Likewise.
2133 * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise.
2134 * testsuite/27_io/basic_filebuf/imbue/char/14975-1.cc: Likewise.
2135 * testsuite/27_io/basic_filebuf/imbue/char/2.cc: Likewise.
2136 * testsuite/27_io/basic_filebuf/imbue/char/9322.cc: Likewise.
2137 * testsuite/27_io/basic_filebuf/imbue/wchar_t/12868.cc: Likewise.
2138 * testsuite/27_io/basic_filebuf/imbue/wchar_t/13007.cc: Likewise.
2139 * testsuite/27_io/basic_filebuf/imbue/wchar_t/13171-3.cc: Likewise.
2140 * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-2.cc: Likewise.
2141 * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-3.cc: Likewise.
2142 * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc: Likewise.
2143 * testsuite/27_io/basic_filebuf/imbue/wchar_t/2.cc: Likewise.
2144 * testsuite/27_io/basic_filebuf/imbue/wchar_t/9322.cc: Likewise.
2145 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1.cc: Likewise.
2146 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2.cc: Likewise.
2147 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3.cc: Likewise.
2148 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4.cc: Likewise.
2149 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/1.cc: Likewise.
2150 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/2.cc: Likewise.
2151 * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9874.cc: Likewise.
2152 * testsuite/27_io/basic_filebuf/underflow/wchar_t/1.cc: Likewise.
2153 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-1.cc: Likewise.
2154 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-2.cc: Likewise.
2155 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-3.cc: Likewise.
2156 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-4.cc: Likewise.
2157 * testsuite/27_io/basic_filebuf/underflow/wchar_t/2.cc: Likewise.
2158 * testsuite/27_io/basic_filebuf/underflow/wchar_t/3.cc: Likewise.
2159 * testsuite/27_io/basic_filebuf/underflow/wchar_t/4.cc: Likewise.
2160 * testsuite/27_io/basic_filebuf/underflow/wchar_t/5.cc: Likewise.
2161 * testsuite/27_io/basic_filebuf/underflow/wchar_t/9520.cc: Likewise.
2162 * testsuite/27_io/basic_ios/copyfmt/char/2.cc: Likewise.
2163 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/2.cc:
2165 * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/2.cc:
2167 * testsuite/27_io/basic_streambuf/imbue/char/13007-1.cc: Likewise.
2168 * testsuite/27_io/basic_streambuf/imbue/char/13007-2.cc: Likewise.
2169 * testsuite/27_io/basic_streambuf/imbue/char/9322.cc: Likewise.
2170 * testsuite/27_io/basic_streambuf/imbue/wchar_t/13007-1.cc: Likewise.
2171 * testsuite/27_io/basic_streambuf/imbue/wchar_t/13007-2.cc: Likewise.
2172 * testsuite/27_io/basic_streambuf/imbue/wchar_t/9322.cc: Likewise.
2173 * testsuite/27_io/basic_stringbuf/imbue/char/9322.cc: Likewise.
2174 * testsuite/27_io/basic_stringbuf/imbue/wchar_t/9322.cc: Likewise.
2175 * testsuite/27_io/objects/wchar_t/10.cc: Likewise.
2176 * testsuite/27_io/objects/wchar_t/11.cc: Likewise.
2177 * testsuite/27_io/objects/wchar_t/12.cc: Likewise.
2178 * testsuite/27_io/objects/wchar_t/13.cc: Likewise.
2179 * testsuite/27_io/objects/wchar_t/9520.cc: Likewise.
2180 * testsuite/ext/stdio_sync_filebuf/wchar_t/12077.cc: Likewise.
2182 2005-05-17 Nathan Sidwell <nathan@codesourcery.com>
2184 * libsupc++/eh_personality.cc (gcc_unreachable): Define.
2186 2005-05-16 Paolo Carlini <pcarlini@suse.de>
2188 * docs/html/install.html: Update list of required named
2189 locales, add "es_ES".
2191 2005-05-13 Magnus Fromreide <magfr@lysator.liu.se>
2193 * testsuite/27_io/basic_streambuf/sgetn/char/1.cc: Use
2194 initialization instead of copying as the string is used only once.
2195 * testsuite/27_io/basic_streambuf/sgetn/wchar_t/1.cc: Likewise.
2196 * testsuite/27_io/basic_streambuf/sputn/char/1.cc: Likewise.
2197 * testsuite/27_io/basic_streambuf/sputn/wchar_t/1.cc: Likewise.
2199 2005-05-12 Benjamin Kosnik <bkoz@redhat.com>
2201 * scripts/create_testsuite_files: Fix.
2203 2005-05-12 Kaz Kojima <kkojima@gcc.gnu.org>
2205 * testsuite/18_support/numeric_limits.cc (dg-options): Add
2206 -mieee to options on sh*-*-*.
2208 2005-05-10 Jonathan Wakely <redi@gcc.gnu.org>
2210 * include/debug/debug.h: Fix typo in macro name.
2212 2005-05-09 Paolo Carlini <pcarlini@suse.de>
2213 Giovanni Bajo <giovannibajo@gcc.gnu.org>
2216 * include/bits/deque.tcc: Fully qualify names from namespace std.
2217 * include/bits/stl_bvector.h: Likewise.
2218 * include/bits/stl_deque.h: Likewise.
2219 * include/bits/stl_list.h: Likewise.
2220 * include/bits/stl_map.h: Likewise.
2221 * include/bits/stl_multimap.h: Likewise.
2222 * include/bits/stl_multiset.h: Likewise.
2223 * include/bits/stl_set.h: Likewise.
2224 * include/bits/stl_vector.h: Likewise.
2225 * include/bits/vector.tcc: Likewise.
2226 * include/std/std_bitset.h: Likewise.
2227 * testsuite/23_containers/bitset/18604.cc: New.
2228 * testsuite/23_containers/deque/18604.cc: Likewise.
2229 * testsuite/23_containers/list/18604.cc: Likewise.
2230 * testsuite/23_containers/map/18604.cc: Likewise.
2231 * testsuite/23_containers/set/18604.cc: Likewise.
2232 * testsuite/23_containers/vector/18604.cc: Likewise.
2234 2005-05-09 Mike Stump <mrs@apple.com>
2236 * configure: Regenerate.
2238 2005-05-09 Jonathan Wakely <redi@gcc.gnu.org>
2240 DR 434. bitset::to_string() hard to use [Ready]
2241 * include/debug/bitset (to_string): Add three overloads, taking
2242 fewer template arguments.
2244 2005-05-06 Mark Mitchell <mark@codesourcery.com>
2246 * testsuite/testsuite_hooks.cc (try_mkfifo): Remove.
2247 * testsuite/testsuite_hooks.h (try_mkfifo): Likewise.
2248 * testsuite/27_io/basic_filebuf/close/char/4879.cc: Use
2249 dg-require-fork and dg-require-mkfifo. Replace try_mkfifo with
2251 * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise.
2252 * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
2253 * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise.
2254 * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-2.cc:
2256 * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc:
2258 * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise.
2259 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc:
2261 * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise.
2262 * testsuite/27_io/objects/char/7.cc: Likewise.
2263 * testsuite/27_io/objects/char/9661-1.cc: Likewise.
2264 * testsuite/27_io/objects/wchar_t/7.cc: Likewise.
2265 * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise.
2267 2005-05-04 Benjamin Kosnik <bkoz@redhat.com>
2269 * acinclude.m4: Remove testsuite_wchar_t and testsuite_thread.
2270 * testsuite/Makefile.am: Same.
2271 * scripts/create_testsuite_files: Same.
2272 * Makefile.in: Regenerate.
2274 * include/Makefile.in: Same.
2275 * libmath/Makefile.in: Same.
2276 * libsupc++/Makefile.in: Same.
2277 * po/Makefile.in: Same.
2278 * src/Makefile.in: Same.
2280 2005-05-04 Mark Mitchell <mark@codesourcery.com>
2282 * testsuite/lib/libstdc++.exp (v3-build_support): Look for
2283 __GTHREADS, rather than _GLIBCXX_HAVE_GTHR_DEFAULT, to determine
2284 whether or not thread support is available.
2286 * docs/html/test.html: Explain how to run the testsuite on an
2287 installed directory.
2289 2005-05-01 Paolo Carlini <pcarlini@suse.de>
2291 * config/os/aix/os_defines.h: Remove obsolete __off_t,
2292 __off64_t, __ssize_t defines.
2293 * config/os/djgpp/os_defines.h: Likewise.
2294 * config/os/hpux/os_defines.h: Likewise.
2295 * config/os/irix/irix5.2/os_defines.h: Likewise.
2296 * config/os/irix/irix6.5/os_defines.h: Likewise.
2297 * config/os/solaris/solaris2.5/os_defines.h: Likewise.
2298 * config/os/solaris/solaris2.6/os_defines.h: Likewise.
2299 * config/os/solaris/solaris2.7/os_defines.h: Likewise.
2300 * docs/html/17_intro/porting.html: Don't discuss the defines.
2301 * docs/html/17_intro/porting.texi: Likewise.
2303 2005-04-29 Paolo Carlini <pcarlini@suse.de>
2304 Nathan Myers <ncm@cantrip.org>
2307 * include/bits/fstream.tcc (basic_filebuf<>::xsgetn):
2308 Loop on short reads; remove the work-around for
2309 libstdc++/20806, not needed anymore.
2311 2005-04-29 Paolo Carlini <pcarlini@suse.de>
2314 * include/bits/locale_facets.tcc (num_get::_M_extract_float,
2315 num_get::_M_extract_int, num_get::do_get(bool&),
2316 num_put::_M_insert_int, num_put::_M_insert_float,
2317 num_put::do_put(bool), money_get::_M_extract,
2318 money_put::_M_insert): Adjust the __cache_type typedef not to
2319 forward to a numpunct/moneypunct typedef.
2320 * testsuite/testsuite_character.h: Add pod_uint and its numpunct
2321 and moneypunct specializations.
2322 * testsuite/testsuite_character.cc: Add numpunct<pod_uint>::id
2323 and moneypunct<pod_uint>::id.
2324 * testsuite/22_locale/num_get/3.cc: New.
2325 * testsuite/22_locale/num_put/3.cc: Likewise.
2326 * testsuite/22_locale/money_get/3.cc: Likewise.
2327 * testsuite/22_locale/money_put/3.cc: Likewise.
2329 * include/bits/locale_facets.tcc (money_put::_M_insert,
2330 time_get::_M_extract_name): Prefer operator== to operator!=
2333 2005-04-29 Paolo Carlini <pcarlini@suse.de>
2335 * include/tr1/type_traits (is_convertible): Adjust according
2336 to the resolution of TR1 issue 3.20.
2337 * testsuite/tr1/4_metaprogramming/relationships_between_types/
2338 is_convertible/is_convertible.cc: Add tests.
2340 2005-04-28 Paolo Carlini <pcarlini@suse.de>
2341 Gabriel Dos Reis <gdr@integrable-solutions.net>
2343 PR libstdc++/21244 (cont)
2344 * include/bits/cpp_type_traits.h (struct __traitor): Convert
2346 * include/bits/stl_algo.h: Convert _S_threshold to int.
2347 * include/bits/stl_bvector.h: Revert previous change, convert
2349 * include/debug/formatter.h: Convert __max_parameters to
2351 * include/ext/mt_allocator.h: Likewise for _S_chunk_size.
2352 * include/ext/pool_allocator.h: Likewise for _S_max_bytes and
2354 * include/ext/rope: Likewise for _S_alloc_granularity; convert
2355 _S_max_rope_depth to int.
2356 * include/ext/ropeimpl.h: Convert _S_path_cache_len to int;
2357 _S_max_rope_depth to int; _S_copy_max to size_t.
2359 2005-04-27 Benjamin Kosnik <bkoz@redhat.com>
2361 * docs/doxygen/user.cfg.in: Update to doxygen-1.4.2.
2362 * docs/doxygen/doxygroups.cc: Update namespace comments.
2364 2005-04-27 Dominik Strasser <dominik.strasser@infineon.com>
2365 Paolo Carlini <pcarlini@suse.de>
2368 * include/bits/stl_bvector.h: Change the anonymous enum
2369 at namespace scope to _S_word_bit_enum.
2370 * testsuite/23_containers/vector/bool/21244.cc: New.
2372 2005-04-27 Paolo Carlini <pcarlini@suse.de>
2374 * include/tr1/type_traits (has_trivial_copy, has_trivial_assign,
2375 has_nothrow_copy, has_nothrow_assign): Adjust according to the
2376 resolution of TR1 issue 3.21.
2377 * testsuite/testsuite_tr1.h (test_copy_property,
2378 test_assign_property): Remove.
2379 * testsuite/tr1/4_metaprogramming/type_properties/
2380 has_nothrow_assign/has_nothrow_assign.cc: Adjust.
2381 * testsuite/tr1/4_metaprogramming/type_properties/
2382 has_nothrow_copy/has_nothrow_copy.cc: Likewise.
2383 * testsuite/tr1/4_metaprogramming/type_properties/
2384 has_trivial_assign/has_trivial_assign.cc: Likewise.
2385 * testsuite/tr1/4_metaprogramming/type_properties/
2386 has_trivial_copy/has_trivial_copy.cc: Likewise.
2388 2005-04-26 Jones Desougi <jones@ingate.com>
2391 * linkage.m4: Fix comments.
2393 2005-04-26 Paolo Carlini <pcarlini@suse.de>
2396 * include/bits/locale_facets.tcc (_M_extract_int): Avoid signed
2397 integer overflow, always use a suited unsigned type in the main
2399 (struct __to_unsigned_type): New.
2400 * testsuite/22_locale/num_get/get/char/16.cc: New.
2401 * testsuite/22_locale/num_get/get/wchar_t/16.cc: Likewise.
2403 2005-04-25 Paolo Carlini <pcarlini@suse.de>
2406 * include/bits/basic_string.h (compare): Adjust the documentation
2407 to match the implementation and the standard.
2409 2005-04-24 Paolo Carlini <pcarlini@suse.de>
2411 * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 35.
2413 2005-04-20 Mark Mitchell <mark@codesourcery.com>
2415 * testsuite/ext/bitmap_allocator/check_allocate_max_size.cpp: Add
2416 explicit instantiations for systems without weak symbols.
2417 * testsuite/ext/bitmap_allocator/check_deallocate_null.cc:
2420 2005-04-18 Jonathan Wakely <redi@gcc.gnu.org>
2422 * include/bits/stl_algo.h (rotate_copy): Add missing std qualification.
2424 2005-04-17 Paolo Carlini <pcarlini@suse.de>
2427 * include/bits/locale_facets.tcc (__int_to_char(_CharT*, _ValueT,
2428 const _CharT*, ios_base::fmtflags, bool)): Don't deal with numeric
2429 base or sign here, instead...
2430 (_M_insert_int(_OutIter, ios_base&, _CharT, _ValueT)): ... here,
2431 after adding the grouping. This fixes the bug and also allows to
2432 clean-up the code dealing with integer types.
2433 (_M_group_int(const char*, size_t, _CharT, ios_base&, _CharT*,
2434 _CharT*, int&)): Simplify, remove bits dealing with numeric base.
2435 (__int_to_char(_CharT*, unsigned long, const _CharT*,
2436 ios_base::fmtflags), __int_to_char(_CharT*, unsigned long long,
2437 const _CharT*, ios_base::fmtflags)): Remove hackish fix for
2439 (__int_to_char(_CharT*, long, const _CharT*, ios_base::fmtflags),
2440 __int_to_char(_CharT*, long long, const _CharT*, ios_base::fmtflags)):
2441 Simplify, don't pass the sign.
2442 (_M_insert_float(_OutIter, ios_base&, _CharT, char, _ValueT)):
2443 Deal with a sign at the beginning of __cs; robustify the grouping
2445 * testsuite/22_locale/num_put/put/char/20914.cc: New.
2446 * testsuite/22_locale/num_put/put/wchar_t/20914.cc: Likewise.
2448 2005-04-14 Benjamin Kosnik <bkoz@redhat.com>
2450 * include/ext/bitmap_allocator.h
2451 (__gnu_cxx::free_list::_M_get_mutex): New.
2452 (__gnu_cxx::free_list::_M_get_free_list): New.
2453 (__gnu_cxx::free_list::_S_bfl_mutex): Remove.
2454 (__gnu_cxx::free_list::_S_free_list): Remove.
2455 * src/bitmap_allocator.cc: Same.
2456 * config/linker-map.gnu: Remove free_list and mutex export.
2458 2005-04-14 Benjamin Kosnik <bkoz@redhat.com>
2460 * include/ext/pod_char_traits.h (__gnu_cxx::character): Add char_type.
2461 (character::to): New.
2462 (character::from): New.
2463 (operator==): Add state parameter.
2465 (char_traits::copy): Use std::copy.
2466 (char_traits::assign): Use std::fill_n.
2467 (char_traits::to_char_type): Use character::from.
2468 (char_traits::to_int_type): Use character::to.
2469 * testsuite/testsuite_character.h (__gnu_test::character): Remove.
2470 (__gnu_test::conversion_state): Remove.
2471 (__gnu_test::pod_char): Remove.
2472 (pod_char): New typedef.
2473 (pod_uchar): New typedef.
2474 (pod_ushort): New typedef.
2475 * testsuite/testsuite_character.cc: Fixups.
2476 * testsuite/21_strings/basic_string/inserters_extractors/pod/
2478 * testsuite/21_strings/basic_string/inserters_extractors/pod/
2480 * testsuite/22_locale/numpunct/members/pod/1.cc: Same.
2481 * testsuite/22_locale/numpunct/members/pod/2.cc: Same.
2482 * testsuite/27_io/basic_filebuf/close/12790-1.cc: Same.
2483 * testsuite/27_io/basic_filebuf/open/12790-1.cc: Same.
2484 * testsuite/27_io/basic_filebuf/seekoff/12790-1.cc: Same.
2485 * testsuite/27_io/basic_filebuf/seekoff/12790-2.cc: Same.
2486 * testsuite/27_io/basic_filebuf/seekoff/12790-3.cc: Same.
2487 * testsuite/27_io/basic_filebuf/seekoff/12790-4.cc: Same.
2488 * testsuite/27_io/basic_filebuf/seekpos/12790-1.cc: Same.
2489 * testsuite/27_io/basic_filebuf/seekpos/12790-2.cc: Same.
2490 * testsuite/27_io/basic_filebuf/seekpos/12790-3.cc: Same.
2491 * testsuite/27_io/basic_ios/imbue/14072.cc: Same.
2492 * testsuite/27_io/basic_istream/extractors_arithmetic/pod/
2494 * testsuite/27_io/basic_istream/extractors_character/pod/
2496 * testsuite/27_io/basic_istream/extractors_other/pod/3983-3.cc: Same.
2497 * testsuite/27_io/basic_istream/sentry/pod/1.cc: Same.
2498 * testsuite/27_io/basic_ostream/sentry/pod/1.cc: Same.
2500 2005-04-12 Mike Stump <mrs@apple.com>
2502 * configure: Regenerate.
2504 2005-04-08 Benjamin Kosnik <bkoz@redhat.com>
2506 * testsuite/Makefile.am: Remove libv3test.a.
2507 * testsuite/Makefile.in: Regenerate.
2508 * testsuite/lib/libstdc++.exp (v3_target_compile): Fix comments.
2510 2005-04-08 Paolo Carlini <pcarlini@suse.de>
2513 * include/bits/locale_facets.tcc (num_put<>::_M_insert_float):
2514 Don't even try to group numbers like 2e20, i.e., no decimal
2515 point, scientific notation.
2516 * testsuite/22_locale/num_put/put/char/20909.cc: New.
2517 * testsuite/22_locale/num_put/put/wchar_t/20909.cc: Likewise.
2519 2005-04-08 Kelley Cook <kcook@gcc.gnu.org>
2521 * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Define _GLIBCXX_ASM_SYMVER.
2522 * acconfig.h: Delete file.
2523 * Makefile.in, acinclude.m4, configure: Regenerate.
2525 2005-04-08 Kelley Cook <kcook@gcc.gnu.org>
2527 * linkage.m4 (GLIBCXX_MAYBE_UNDERSCORED_FUNCS): New macro.
2528 (GLIBCXX_CHECK_MATH_DECL_AND_LINKAGE_1,
2529 GLIBCXX_CHECK_MATH_DECL_AND_LINKAGE_2,
2530 GLIBCXX_CHECK_MATH_DECL_AND_LINKAGE_3,
2531 GLIBCXX_CHECK_MATH_DECLS_AND_LINKAGES_1,
2532 GLIBCXX_CHECK_STDLIB_DECL_AND_LINKAGE_2): Use it.
2533 (GLIBCXX_CHECK_MATH_SUPPORT): Delete obsolete comment.
2534 * acconfig.h: Delete redundant macros.
2535 * config.h.in, configure: Regenerate.
2537 2005-04-08 Kelley Cook <kcook@gcc.gnu.org>
2539 * linkage.m4 (GLIBCXX_CHECK_MATH_DECLS_AND_LINKAGES_1): Eliminate
2540 a subshell and if test fails, test for same functions with
2542 (GLIBCXX_CHECK_MATH_SUPPORT): Eliminate seperate checks for _funcs.
2543 * configure: Regenerate.
2545 2005-04-08 Danny Smith <dannysmith@users.sourceforge.net>
2546 Paolo Carlini <pcarlini@suse.de>
2549 * config/os/mingw32/os_defines.h: Define
2550 _GLIBCXX_HAVE_DOS_BASED_FILESYSTEM.
2551 * config/os/newlib/os_defines.h: Likewise, for __CYGWIN__.
2552 * include/bits/fstream.tcc (basic_filebuf<>::showmanyc()):
2554 (basic_filebuf<>::xsgetn(_CharT*, streamsize)): Likewise.
2556 2005-04-08 Kelley Cook <kcook@gcc.gnu.org>
2558 * acconfig.h: Sort the bottom section.
2559 * config.h.in: Regenerate.
2561 2005-04-08 Kelley Cook <kcook@gcc.gnu.org>
2563 * acconfig.h: Remove redundant HAVE_FLOAT_H.
2564 * config.h.in: Regenerate.
2566 2005-04-08 Kelley Cook <kcook@gcc.gnu.org>
2568 * configure.ac: Create template for PACKAGE and VERSION.
2569 Update comment on how to regenerate file. Update minimum
2570 automake version to 1.9.3.
2571 * acconfig.h: Remove PACKAGE and VERSION.
2572 * aclocal.m4, configure, Makefile.in, po/Makefile.in,
2573 src/Makefile.in, include/Makefile.in, libmath/Makefile.in,
2574 testsuite/Makefile.in, config.h.in: Regenerate.
2576 2005-04-06 Benjamin Kosnik <bkoz@redhat.com>
2578 * docs/html/test.html: Update.
2579 * testsuite/printnow.c: Remove.
2580 * scripts/check_survey.in: Remove.
2582 * testsuite/abi_check.cc: To...
2583 * testuite/testsuite_abi_check.cc: ...here.
2584 * testsuite/libstdc++-abi/abi.exp: Change abi_check.cc to
2585 testsuite_abi_check.cc.
2587 * testsuite/testsuite_hooks.h: Move character related bits to...
2588 * testsuite/testsuite_character.h: ...here.
2589 * testsuite/testsuite_character.cc: ... and here.
2590 * testsuite/21_strings/basic_string/inserters_extractors/pod/
2591 10081-in.cc: Use testsuite_character.h.
2592 * testsuite/21_strings/basic_string/inserters_extractors/pod/
2594 * testsuite/22_locale/numpunct/members/pod/1.cc: Same.
2595 * testsuite/22_locale/numpunct/members/pod/2.cc: Same.
2596 * testsuite/27_io/basic_filebuf/2.cc: Same.
2597 * testsuite/27_io/basic_fstream/2.cc: Same.
2598 * testsuite/27_io/basic_istream/2.cc: Same.
2599 * testsuite/27_io/basic_istream/extractors_arithmetic/pod/
2601 * testsuite/27_io/basic_istream/extractors_character/char/
2603 * testsuite/27_io/basic_istream/extractors_character/pod/
2605 * testsuite/27_io/basic_istream/extractors_other/pod/3983-3.cc: Same.
2606 * testsuite/27_io/basic_istream/sentry/pod/1.cc: Same.
2607 * testsuite/27_io/basic_ostream/2.cc: Same.
2608 * testsuite/27_io/basic_ostream/sentry/pod/1.cc: Same.
2609 * testsuite/27_io/basic_streambuf/2.cc: Same.
2610 * testsuite/27_io/basic_stringbuf/2.cc: Same.
2611 * testsuite/27_io/basic_stringbuf/4.cc: Same.
2612 * testsuite/27_io/basic_stringstream/2.cc: Same.
2613 * testsuite/27_io/fpos/1.cc: Same.
2614 * testsuite/ext/mt_allocator/tune-1.cc: Same.
2615 * testsuite/ext/mt_allocator/tune-2.cc: Same.
2616 * testsuite/ext/stdio_filebuf/char/1.cc: Same.
2617 * testsuite/lib/libstdc++.exp (v3-build_support): Add
2618 testsuite_character.cc.
2619 * testsuite/Makefile.am (libv3test_a_SOURCES): Add
2620 testsuite_character.cc.
2621 * testsuite/Makefile.in: Regenerate.
2623 * configure.ac: Remove use of check_survey.
2624 * configure: Regenerate.
2625 * testsuite/Makefile.am: Remove check-script and
2626 check-script-install rules.
2627 * testsuite/Makefile.in: Regenerate.
2629 2005-04-06 Ulrich Weigand <uweigand@de.ibm.com>
2631 * config/cpu/s390/atomicity.h (__exchange_and_add): Add "memory"
2632 clobber to inline assembly statement.
2634 2005-04-06 Kelley Cook <kcook@gcc.gnu.org>
2636 * acinclude.m4 (_GLIBCXX_USE_LONG_LONG,
2637 _GLIBCXX_USE_WCHAR_T, _GLIBCXX_USE_C99, _GLIBCXX_USE_C99_MATH,
2638 _GLIBCXX_USE_C99_COMPLEX, _GLIBCXX_RES_LIMITS, _GLIBCXX_CONCEPT_CHECKS,
2639 _GLIBCXX_SYMVER, _GLIBCXX_USE_LFS, _GLIBCXX_FULLY_DYNAMIC_STRING,
2640 _GLIBCXX_USE_NLS, HAVE_GTHR_DEFAULT, HAVE_MBSTATE_T, HAVE_POLL,
2641 HAVE_S_ISREG, HAVE_S_IFREG, HAVE_WRITEV, HAVE_INT64_T,
2642 HAVE_LC_MESSAGES): Use long form of AC_DEFINE ...
2643 * acconfig.h: ... to eliminate them from here.
2644 (_GLIBCXX_ASM_SYMVER): Move definition below @BOTTOM@.
2645 * config.h.in, configure: Regenerate.
2647 2005-04-05 Kelley Cook <kcook@gcc.gnu.org>
2649 * Makefile.am (ACLOCAL_AMFLAGS): Define.
2650 * crossconfig.m4: Wrap file into new GLIBCXX_CROSSCONFIG macro.
2651 * configure.ac: Use it.
2652 * acinclude.m4: Delete explicit m4_includes and sincludes.
2653 * aclocal.m4, configure, Makefile.in, po/Makefile.in,
2654 src/Makefile.in, include/Makefile.in, libmath/Makefile.in,
2655 testsuite/Makefile.in: Regenerate.
2657 2005-04-05 Jonathan Wakely <redi@gcc.gnu.org>
2659 * include/tr1/memory, include/tr1/boost_shared_ptr.h: Use mutex
2660 to make _Sp_counted_base::add_ref_lock() thread-safe. Check whether
2661 to destroy resources by testing for equality, not inequality. Add
2662 empty critical sections to solve memory visibility issues.
2663 * testsuite/tr1/2_general_utilities/memory/
2664 shared_ptr/cons/auto_ptr_neg.cc: Use dg-excess-errors instead of
2665 explicitly listing line numbers which need to be kept in sync.
2666 * testsuite/tr1/2_general_utilities/memory/
2667 shared_ptr/assign/auto_ptr_neg.cc: Same.
2668 * testsuite/tr1/2_general_utilities/memory/
2669 shared_ptr/assign/auto_ptr_rvalue_neg.cc: Same.
2670 * testsuite/tr1/2_general_utilities/memory/
2671 shared_ptr/cons/weak_ptr_expired.cc: Make XFAIL for consistency when
2673 * testsuite/tr1/2_general_utilities/memory/
2674 enable_shared_from_this/not_shared.cc: Add explanatory comments.
2675 * testsuite/tr1/2_general_utilities/memory/
2676 enable_shared_from_this/not_shared2.cc: Same.
2677 * testsuite/tr1/2_general_utilities/memory/
2678 enable_shared_from_this/not_shared3.cc: Same.
2680 2005-04-05 Kelley Cook <kcook@gcc.gnu.org>
2682 * acconfig.h: Delete macros already AC_DEFINED.
2683 * config.h.in: Regenerate.
2685 2005-04-05 Kelley Cook <kcook@gcc.gnu.org>
2687 * acconfig.h (HAVE_MODF): Remove.
2688 * linkage.m4: Check for modf.
2689 * config.h.in, configure: Regenerate.
2691 2005-04-05 Kelley Cook <kcook@gcc.gnu.org>
2693 * acconfig.h (ENABLE_NLS, HAVE_CATGETS): Remove.
2694 (HAVE_GETTEXT, HAVE_STPCPY): Likewise.
2695 * config.h.in: Regenerate.
2697 2005-04-05 Kelley Cook <kcook@gcc.gnu.org>
2699 * linkage.m4 (GLIBCXX_CHECK_BUILTIN_MATH_DEC): Use m4 translit macro
2700 to convert to uppercase instead of shelling out to tr.
2701 * acconfig.h: Remove now redundant HAVE__BUILTINS_*.
2702 * configure, config.h.in: Regenerate.
2704 2005-04-05 Kelley Cook <kcook@gcc.gnu.org>
2706 * acconfig.h (HAVE_TANL): Correct cut-and-paste typo.
2707 * config.h.in: Regenerate.
2709 2005-04-04 Mark Mitchell <mark@codesourcery.com>
2711 * testsuite/Makefile.am (check-local): Remove.
2712 (curent_symbols.txt): Likewise.
2713 (check-abi): Do not depend on current_symbols.txt.
2714 * testsuite/Makefile.in: Regenerated.
2715 * testsuite/libstdc++-abi/abi.exp: Build current_symbols.txt.
2717 2005-04-02 Douglas Gregor <doug.gregor@gmail.com>
2719 * include/tr1/tuple_iterate.h (tuple_element): Use new macro
2720 _GLIBCXX_T_NUM_ARGS_PLUS_1 because _T is a macro on Darwin.
2721 * include/tr1/repeat.h (_GLIBCXX_T_NUM_ARGS_PLUS_1): Define for
2723 * scripts/gen_includers.h: Define _GLIBCXX_T_NUM_ARGS_PLUS_1 for
2726 2005-04-01 Douglas Gregor <doug.gregor@gmail.com>
2728 * include/tr1/functional (_Maybe_wrap_member_pointer): Wrap up
2729 member pointers in _Mem_fn but let other function objects pass
2731 * include/tr1/functional_iterator (bind): Reduce number of bind()
2732 overloads to two to eliminate ambiguities. Use
2733 _Maybe_wrap_member_pointer to handle member pointers gracefully.
2735 2005-04-01 Mark Mitchell <mark@codesourcery.com>
2737 * testsuite/Makefile.am (noinst_PROGRAMS): Remove.
2738 (site.exp): Write out the path to the baseline file.
2739 (check-abi): Use DejaGNU.
2740 (check-abi-verbose): Remove.
2741 * testsuite/Makefile.in: Regenerated.
2742 * testsuite/abi_check.cc (main): Check the return value from
2744 * testsuite/testsuite_abi.cc (compare_symbols): Return a value.
2745 * testsuite/testsuite_abi.h (compare_symbols): Adjust prototype.
2746 * testsuite/libstdc++-abi/abi.exp: New file.
2748 2005-03-31 Chris Jefferson <chris@bubblescope.net>
2750 * include/tr1/tuple: Support iteration via tuple_iterate.h.
2751 * include/tr1/tuple_iterate.h: Iteration file for tuple.
2753 2005-03-31 Douglas Gregor <doug.gregor@gmail.com>
2755 * include/Makefile.am (tr1_headers): Add bind and mu repetition
2756 headers and reference_wrapper<> forwarding header.
2757 * include/Makefile.in: Regenerate.
2758 * include/tr1/bind_iterate.h: Implementation of function call
2759 operators for the function object returned from tr1::bind().
2760 * include/tr1/bind_repeat.h: Bind-specific repetition header,
2761 akin to include/tr1/repeat.h.
2762 * include/tr1/functional (_Mem_fn): Bug fix: declare result member
2763 template for use with result_of.
2764 (is_bind_expression): New.
2765 (is_placeholder): New.
2766 (_Placeholder): New. Placeholder type for bind.
2767 (_Mu): New. Implementation detail of bind.
2768 (_Bind, _Bind_result): New. Function objects returned by bind.
2769 (_GLIBCXX_JOIN): New. Required to create bind placeholders.
2770 * include/tr1/functional_iterate.h (_Bind, _Bind_result, bind):
2771 New. Implementation of tr1::bind.
2772 * include/tr1/mu_iterate.h (_Mu): result template and operator()
2773 for the _Mu helper to bind.
2774 * include/tr1/ref_fwd.h (reference_wrapper): Forward declaration
2775 used by tuple header.
2778 * include/tr1/repeat.h: Add bind-specific repetition macros.
2779 * include/tr1/tuple: Use reference_wrapper forwarding header for
2780 initial definitions, then include <tr1/functional> at the end, to
2781 make the circular dependencies work.
2782 (tie): Support zero-argument tie() function.
2783 * testsuite/tr1/3_function_objects/bind/all_bound.cc: New test of
2784 bind() functionality with parameters bound.
2785 * testsuite/tr1/3_function_objects/bind/nested.cc: New test of
2786 nested bind() expressions.
2787 * testsuite/tr1/3_function_objects/bind/placeholders.cc: New test
2788 of bind() placeholders.
2789 * testsuite/tr1/3_function_objects/bind/ref.cc: New test of bind()
2790 with arguments bound via reference_wrapper<>.
2791 * scripts/gen_includers.pl: Generate the repetitive part of
2792 include/tr1/repeat.h.
2793 * scripts/gen_bind_includers.pl: Generate the repetitive part of
2794 include/tr1/bind_repeat.h.
2796 2005-03-30 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
2798 * testsuite/Makefile.am (CXX): Use ${SHELL}.
2799 (GLIBCXX_INCLUDES): Same.
2800 (AM_CXXFLAGS): Same.
2801 * testsuite/Makefile.in: Regenerate.
2803 2005-03-25 Mark Mitchell <mark@codesourcery.com>
2805 * testsuite/lib/libstdc++.exp (libstdc++_init): Define LOCALEDIR
2806 when testing an installed compiler.
2808 * testsuite/lib/libstdc++.exp (v3-build_support): Pass -w when
2809 compiling support objects.
2811 2005-03-24 Benjamin Kosnik <bkoz@redhat.com>
2813 * include/tr1/memory: Forward to...
2814 * include/tr1/boost_shared_ptr.h: ...here. Add Boost Software License.
2815 * include/Makefile.am (tr1_headers): Add boost_shared_ptr.h.
2816 * include/Makefile.in: Regenerate.
2817 * testsuite/tr1/2_general_utilities/memory/shared_ptr/cons/
2818 auto_ptr_neg.cc: Adjust line numbers.
2820 2005-03-23 Mark Mitchell <mark@codesourcery.com>
2822 * testsuite/Makefile.am (all-local): Do not build testsuite_files.
2823 * testsuite/Makefile.in: Regenerated.
2825 2005-03-23 Benjamin Kosnik <bkoz@redhat.com>
2827 * acinclude.m4: Adjust so that _GLIBCXX_USE_C99 implies
2828 using _GLIBCXX_USE_C99_COMPLEX, _GLIBCXX_USE_C99_MATH, and
2829 _GLIBCXX_USE_C99_WCHAR.
2830 Remove GLIBCXX_ENABLE_C_MBCHAR, consolidate in GLIBCXX_ENABLE_C99
2831 and GLIBCXX_ENABLE_WCHAR_T.
2832 Take C99 bits from GLIBCXX_CHECK_WCHAR_T_SUPPORT and put in
2834 Change remaining parts of GLIBCXX_CHECK_WCHAR_T_SUPPORT to
2835 GLIBCXX_CHECK_ICONV_SUPPORT.
2836 * configure.ac: Remove GLIBCXX_ENABLE_C_MBCHAR, use
2837 GLIBCXX_CHECK_ICONV_SUPPORT and GLIBCXX_ENABLE_WCHAR_T.
2838 * crossconfig.m4: Same.
2839 * acconfig.h: Same, adjust comments.
2840 * config.h.in: Regenerate.
2841 * configure: Regenerate.
2842 * docs/html/configopts.html: Change --enable-c-mbchar to
2845 * config/locale/gnu/c++locale_internal.h: Guard wide functions
2846 with _GLIBCXX_USE_WCHAR_T.
2847 * include/c_std/std_cwctype.h: Alphabetize, remove duplicates.
2848 * include/c_std/std_cstdio.h: Spacing.
2850 * config/locale/gnu/c_locale.h: Tweaks for unused warnings.
2851 * src/debug.cc: Same.
2853 2005-03-23 Mark Mitchell <mark@codesourcery.com>
2855 * testsuite/libstdc++-dg/normal.exp: Read testsuite_files, if it
2858 * testsuite/lib/libstdc++.exp (libstdc++_wchar_t): Rename to ...
2859 (v3-wchar_t): ... this.
2860 (libstdc++_threads): Rename to ...
2861 (v3-threads): ... this.
2862 (libstdc++_test_objs): Rename to ...
2863 (v3-test_objs): ... this.
2864 (libstdc++_build_support): Rename to ...
2865 (v3-build_support): ... this.
2866 * testsuite/libstdc++-dg/normal.exp: Adjust to use new names.
2868 * testsuite/lib/libstdc++.exp (libstdc++_init): Improve handling
2869 of compilers not in the build directory.
2870 (libstdc++_wchar_t): New variable.
2871 (libstdc++_threads): Likewise.
2872 (libstdc++_test_objs): Likewise.
2873 (v3_target_compile): Use libstdc++_test_objs.
2874 (v3-list-tests): Remove.
2875 (listdc++_build_support): New function.
2876 * testsuite/libstdc++-dg/normal.exp: Rework to dynamically
2877 generate list of tests.
2879 2005-03-21 Chris Jefferson <chris@bubblescope.net>
2882 * include/bits/stl_algobase.h (iter_swap): Only delegate iter_swap
2883 to swap when the iterator's reference_type is a reference to its
2885 * testsuite/25_algorithms/iter_swap/20577.cc: New.
2887 2005-03-21 Zack Weinberg <zack@codesourcery.com>
2889 * acinclude.m4 (GLIBCXX_CONFIGURE): Delete gcc_version logic.
2890 (GLIBCXX_EXPORT_INSTALL_INFO): Adjust quotation so ${gcc_version}
2891 is expanded by the Makefiles, not by configure.
2892 * fragment.am: Set gcc_version.
2893 * libmath/Makefile.am: Likewise.
2894 * configure, Makefile.in, include/Makefile.in, libmath/Makefile.in
2895 * libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in
2896 * testsuite/Makefile.in: Regenerate.
2898 2005-03-16 Paolo Carlini <pcarlini@suse.de>
2900 * testsuite/20_util/functional/binders.cc: Remove explicit
2901 instantiations for non-weak systems.
2902 * testsuite/20_util/memory/allocator/1.cc: Likewise.
2903 * testsuite/20_util/memory/allocator/10378.cc: Likewise.
2904 * testsuite/20_util/memory/allocator/10416.cc: Likewise.
2905 * testsuite/20_util/memory/allocator/8230.cc: Likewise.
2906 * testsuite/20_util/utility/rel_ops.cc: Likewise.
2907 * testsuite/22_locale/ctype/is/char/2.cc: Likewise.
2908 * testsuite/22_locale/ctype/is/wchar_t/2.cc: Likewise.
2909 * testsuite/23_containers/deque/cons/1.cc: Likewise.
2910 * testsuite/23_containers/deque/cons/2.cc: Likewise.
2911 * testsuite/23_containers/deque/invalidation/1.cc: Likewise.
2912 * testsuite/23_containers/deque/invalidation/2.cc: Likewise.
2913 * testsuite/23_containers/deque/invalidation/3.cc: Likewise.
2914 * testsuite/23_containers/deque/invalidation/4.cc: Likewise.
2915 * testsuite/23_containers/deque/modifiers/swap.cc: Likewise.
2916 * testsuite/23_containers/deque/operators/1.cc: Likewise.
2917 * testsuite/23_containers/list/capacity/1.cc: Likewise.
2918 * testsuite/23_containers/list/cons/1.cc: Likewise.
2919 * testsuite/23_containers/list/cons/2.cc: Likewise.
2920 * testsuite/23_containers/list/cons/3.cc: Likewise.
2921 * testsuite/23_containers/list/cons/4.cc: Likewise.
2922 * testsuite/23_containers/list/cons/5.cc: Likewise.
2923 * testsuite/23_containers/list/cons/6.cc: Likewise.
2924 * testsuite/23_containers/list/cons/7.cc: Likewise.
2925 * testsuite/23_containers/list/cons/8.cc: Likewise.
2926 * testsuite/23_containers/list/cons/9.cc: Likewise.
2927 * testsuite/23_containers/list/invalidation/1.cc: Likewise.
2928 * testsuite/23_containers/list/invalidation/2.cc: Likewise.
2929 * testsuite/23_containers/list/invalidation/3.cc: Likewise.
2930 * testsuite/23_containers/list/invalidation/4.cc: Likewise.
2931 * testsuite/23_containers/list/modifiers/1.cc: Likewise.
2932 * testsuite/23_containers/list/modifiers/2.cc: Likewise.
2933 * testsuite/23_containers/list/modifiers/3.cc: Likewise.
2934 * testsuite/23_containers/list/operators/1.cc: Likewise.
2935 * testsuite/23_containers/list/operators/2.cc: Likewise.
2936 * testsuite/23_containers/list/operators/3.cc: Likewise.
2937 * testsuite/23_containers/list/operators/4.cc: Likewise.
2938 * testsuite/23_containers/map/insert/1.cc: Likewise.
2939 * testsuite/23_containers/map/invalidation/1.cc: Likewise.
2940 * testsuite/23_containers/map/invalidation/2.cc: Likewise.
2941 * testsuite/23_containers/map/modifiers/swap.cc: Likewise.
2942 * testsuite/23_containers/map/operators/1.cc: Likewise.
2943 * testsuite/23_containers/multimap/invalidation/1.cc: Likewise.
2944 * testsuite/23_containers/multimap/invalidation/2.cc: Likewise.
2945 * testsuite/23_containers/multimap/modifiers/swap.cc: Likewise.
2946 * testsuite/23_containers/multiset/insert/1.cc: Likewise.
2947 * testsuite/23_containers/multiset/insert/2.cc: Likewise.
2948 * testsuite/23_containers/multiset/invalidation/1.cc: Likewise.
2949 * testsuite/23_containers/multiset/invalidation/2.cc: Likewise.
2950 * testsuite/23_containers/multiset/modifiers/swap.cc: Likewise.
2951 * testsuite/23_containers/priority_queue/members/7161.cc: Likewise.
2952 * testsuite/23_containers/queue/members/7157.cc: Likewise.
2953 * testsuite/23_containers/set/insert/1.cc: Likewise.
2954 * testsuite/23_containers/set/invalidation/1.cc: Likewise.
2955 * testsuite/23_containers/set/invalidation/2.cc: Likewise.
2956 * testsuite/23_containers/set/modifiers/swap.cc: Likewise.
2957 * testsuite/23_containers/stack/members/7158.cc: Likewise.
2958 * testsuite/23_containers/vector/bool/6886.cc: Likewise.
2959 * testsuite/23_containers/vector/capacity/1.cc: Likewise.
2960 * testsuite/23_containers/vector/capacity/8230.cc: Likewise.
2961 * testsuite/23_containers/vector/cons/1.cc: Likewise.
2962 * testsuite/23_containers/vector/cons/2.cc: Likewise.
2963 * testsuite/23_containers/vector/cons/3.cc: Likewise.
2964 * testsuite/23_containers/vector/cons/6513.cc: Likewise.
2965 * testsuite/23_containers/vector/element_access/1.cc: Likewise.
2966 * testsuite/23_containers/vector/invalidation/1.cc: Likewise.
2967 * testsuite/23_containers/vector/invalidation/2.cc: Likewise.
2968 * testsuite/23_containers/vector/invalidation/3.cc: Likewise.
2969 * testsuite/23_containers/vector/invalidation/4.cc: Likewise.
2970 * testsuite/23_containers/vector/modifiers/1.cc: Likewise.
2971 * testsuite/23_containers/vector/modifiers/2.cc: Likewise.
2972 * testsuite/23_containers/vector/modifiers/swap.cc: Likewise.
2973 * testsuite/23_containers/vector/resize/1.cc: Likewise.
2974 * testsuite/24_iterators/back_insert_iterator.cc: Likewise.
2975 * testsuite/24_iterators/front_insert_iterator.cc: Likewise.
2976 * testsuite/24_iterators/insert_iterator.cc: Likewise.
2977 * testsuite/24_iterators/iterator.cc: Likewise.
2978 * testsuite/25_algorithms/copy/1.cc: Likewise.
2979 * testsuite/25_algorithms/copy/2.cc: Likewise.
2980 * testsuite/25_algorithms/copy/3.cc: Likewise.
2981 * testsuite/25_algorithms/copy/4.cc: Likewise.
2982 * testsuite/25_algorithms/equal.cc: Likewise.
2983 * testsuite/25_algorithms/fill/1.cc: Likewise.
2984 * testsuite/25_algorithms/fill/2.cc: Likewise.
2985 * testsuite/25_algorithms/min_max.cc: Likewise.
2986 * testsuite/25_algorithms/rotate.cc: Likewise.
2987 * testsuite/25_algorithms/unique/1.cc: Likewise.
2988 * testsuite/25_algorithms/unique/2.cc: Likewise.
2989 * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9874.cc: Likewise.
2990 * testsuite/ext/concept_checks.cc: Likewise.
2991 * testsuite/ext/hash_map/1.cc: Likewise.
2992 * testsuite/ext/hash_set/1.cc: Likewise.
2993 * testsuite/ext/rope/1.cc: Likewise.
2994 * testsuite/ext/rope/2.cc: Likewise.
2995 * testsuite/ext/rope/3.cc: Likewise.
2996 * testsuite/thread/pthread1.cc: Likewise.
2997 * testsuite/thread/pthread4.cc: Likewise.
2998 * testsuite/thread/pthread5.cc: Likewise.
2999 * testsuite/thread/pthread6.cc: Likewise.
3000 * testsuite/thread/pthread7-rope.cc: Likewise.
3002 2005-03-15 Zack Weinberg <zack@codesourcery.com>
3004 * include/Makefile.am (c++config.h): Depend on DATESTAMP from gcc
3005 subdirectory. Generate #define of __GLIBCXX__ from contents of
3007 * include/Makefile.in: Regenerate.
3008 * include/bits/c++config: Do not define __GLIBCXX__.
3010 2005-03-15 Paolo Carlini <pcarlini@suse.de>
3013 * include/std/std_complex.h (pow(const complex<_Tp>&,
3014 const _Tp&)): On non-c99 platforms, don't try to compute
3015 log of complex zero.
3017 2005-03-10 Ben Elliston <bje@au.ibm.com>
3019 * testsuite/22_locale/locale/cons/12658_thread-1.cc: Don't XFAIL
3022 2005-03-07 Paolo Carlini <pcarlini@suse.de>
3024 * include/tr1/type_traits (is_polymorphic): Don't forget
3025 the virtual destructor, thus avoiding warnings.
3026 * testsuite/testsuite_tr1.h (class AbstractClass,
3027 class PolymorphicClass): Likewise.
3029 2005-03-07 Paolo Carlini <pcarlini@suse.de>
3031 * include/std/std_complex.h (pow(const complex<_Tp>&,
3032 const complex<_Tp>&)): Dispatch to either __complex_pow(__x.__rep(),
3033 __y.__rep()) or __complex_pow(__x, __y) depending on the macro
3034 _GLIBCXX_USE_C99_COMPLEX.
3036 2005-03-07 Paolo Carlini <pcarlini@suse.de>
3038 * include/std/std_fstream.h (basic_fstream<>::open,
3039 basic_ifstream<>::open, basic_ofstream<>::open): Implement the
3040 resolution of DR 409 [Ready], call clear() on success.
3041 * docs/html/ext/howto.html: Add an entry for DR 409.
3042 * docs/html/faq/index.html (4_4): Clarify the new behavior.
3043 * testsuite/27_io/basic_ifstream/open/char/1.cc: Adjust.
3044 * testsuite/27_io/basic_ofstream/open/char/1.cc: Likewise.
3046 2005-03-05 Joseph S. Myers <joseph@codesourcery.com>
3048 * testsuite/22_locale/collate/compare/wchar_t/2.cc,
3049 testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc,
3050 testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc,
3051 testsuite/22_locale/collate/hash/wchar_t/2.cc,
3052 testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc,
3053 testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc,
3054 testsuite/22_locale/collate/transform/wchar_t/2.cc,
3055 testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc,
3056 testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc:
3057 XFAIL on *-*-hpux11.23.
3059 2005-03-04 Paolo Carlini <pcarlini@suse.de>
3061 * include/tr1/type_traits: Add is_base_of.
3062 * testsuite/tr1/4_metaprogramming/relationships_between_types/
3063 is_base_of/is_base_of.cc: New.
3064 * testsuite/tr1/4_metaprogramming/relationships_between_types/
3065 is_base_of/typedefs.cc: Likewise.
3067 2005-03-03 Benjamin Kosnik <bkoz@redhat.com>
3069 * include/tr1/functional: Convert relative path.
3071 * docs/doxygen/user.cfg.in: Add tr1 includes.
3073 2005-03-03 Paolo Carlini <pcarlini@suse.de>
3075 * include/tr1/type_traits: Implemenet is_polymorphic.
3076 (is_empty): Minor tweaks.
3077 * testsuite/testsuite_tr1.h: Add test types.
3078 * testsuite/tr1/4_metaprogramming/type_properties/
3079 is_polymorphic/is_polymorphic.cc: New.
3080 * testsuite/tr1/4_metaprogramming/type_properties/
3081 is_polymorphic/typedefs.cc: Likewise.
3082 * testsuite/tr1/4_metaprogramming/composite_type_traits/
3083 is_union_or_class/is_union_or_class.cc: Add tests.
3085 2005-03-02 Douglas Gregor <doug.gregor@gmail.com>
3087 * include/tr1/functional (_Has_result_type): Cleanup.
3088 (_Result_of_impl): Handle member data pointers correctly.
3089 (reference_wrapper): Support invocation.
3090 Move repetition code into new file include/tr1/repeat.h.
3091 * include/tr1/functional_iterate.h (reference_wrapper): Support
3092 invocation. Cleanup long lines.
3093 * include/tr1/ref_wrap_iterate.h (reference_wrapper): Declare
3094 invocation operators.
3095 * include/tr1/repeat.h: Code repetition header.
3096 * include/Makefile.am: Add ref_wrap_iterate.h, repeat.h.
3097 * include/Makefile.in: Add ref_wrap_iterate.h, repeat.h.
3098 * testsuite/tr1/3_function_objects/reference_wrapper/invoke.cc:
3099 New test of reference_wrapper invocation.
3100 * testsuite/tr1/3_function_objects/reference_wrapper/typedefs.cc:
3101 New test of reference_wrapper typedefs and base classes.
3102 * testsuite/tr1/3_function_objects/result_of.cc: Trivial cleanup
3105 2005-03-02 Douglas Gregor <doug.gregor@gmail.com>
3107 * include/tr1/function (result_of): New class template.
3108 * include/tr1/functional/iterator.h: Implementation of TR1
3110 * testsuite/tr1/3_function_objects/result_of.cc: New test
3112 2005-03-01 Vladimir Merzliakov <wanderer@rsu.ru>
3114 * testsuite/26_numerics/cmath/c99_classification_macros_c.cc: Tweak.
3116 2005-02-28 Benjamin Kosnik <bkoz@redhat.com>
3118 * testsuite/tr1/2_general_utilities/memory/shared_ptr/
3119 cons/auto_ptr_neg.cc: Correct line numbers.
3121 * testsuite/testsuite_abi.cc: Add CXXABI_1.3.1.
3123 2005-02-28 Jonathan Wakely <redi@gcc.gnu.org>
3125 * include/tr1/memory: Replace checked_deleter with (unchecked)
3126 _Sp_deleter as GCC warns about delete on incomplete types anyway.
3128 2005-02-28 Jonathan Wakely <redi@gcc.gnu.org>
3130 * include/tr1/memory: Add missing "inline" to __throw_bad_weak_ptr.
3132 2005-02-28 Hans-Peter Nilsson <hp@axis.com>
3135 * config/cpu/cris/atomicity.h (__exchange_and_add): In asm, use
3136 'Q' constraint, not 'm'.
3138 2005-02-26 Earl Chew <earl_chew@agilent.com>
3139 Christopher Jefferson <chris@bubblescope.net>
3141 * include/bits/stl_tree.h (_Rb_tree<>::_M_insert): Don't leak
3142 memory if _M_key_compare throws.
3144 2005-02-25 Paolo Carlini <pcarlini@suse.de>
3146 * include/tr1/type_traits: Add the trivial is_union and is_class;
3147 add the __is_union_or_class extension.
3148 (is_enum, is_empty): Use the latter.
3149 * include/tr1/type_traits_fwd.h: Add __is_union_or_class.
3150 * testsuite/testsuite_tr1.h: Add UnionType; trivial formatting
3152 * testsuite/tr1/4_metaprogramming/composite_type_traits/
3153 is_union_or_class/is_union_or_class.cc: New.
3154 * testsuite/tr1/4_metaprogramming/composite_type_traits/
3155 is_union_or_class/typedefs.cc: Likewise.
3157 2005-02-24 Benjamin Kosnik <bkoz@redhat.com>
3159 * testsuite/tr1/6_containers/unordered/instantiate/hash.cc: Guard
3160 wchar_t use with _GLIBCXX_USE_WCHAR_T.
3162 2005-02-24 Benjamin Kosnik <bkoz@redhat.com>
3164 * include/std/std_complex.h: _GLIBCXX_USE_C99_COMPLEX_MATH to
3165 _GLIBCXX_USE_C99_COMPLEX.
3166 * acinclude.m4: Same.
3168 * configure: Regenerate.
3169 * config.h.in: Same.
3171 2005-02-24 Paolo Carlini <pcarlini@suse.de>
3173 * include/tr1/functional (mem_fn): Avoid _T, badname on
3176 2005-02-23 Douglas Gregor <doug.gregor@gmail.com>
3178 * include/tr1/functional (function): New class template.
3179 (mem_fn): New function template.
3180 Implementations of TR1 function and mem_fn facilities.
3181 * include/tr1/functional_iterate.h: Implementations of TR1
3182 function and mem_fn facilities.
3183 * testsuite/tr1/3_function_objects/function/1.cc: New
3184 test of std::tr1::function.
3185 * testsuite/tr1/3_function_objects/function/2.cc: New
3186 test of std::tr1::function.
3187 * testsuite/tr1/3_function_objects/function/3.cc: New
3188 test of std::tr1::function.
3189 * testsuite/tr1/3_function_objects/function/4.cc: New
3190 test of std::tr1::function.
3191 * testsuite/tr1/3_function_objects/function/5.cc: New
3192 test of std::tr1::function.
3193 * testsuite/tr1/3_function_objects/function/6.cc: New
3194 test of std::tr1::function.
3195 * testsuite/tr1/3_function_objects/function/7.cc: New
3196 test of std::tr1::function.
3197 * testsuite/tr1/3_function_objects/function/8.cc: New
3198 test of std::tr1::function.
3199 * testsuite/tr1/3_function_objects/function/9.cc: New
3200 test of std::tr1::function.
3201 * testsuite/tr1/3_function_objects/mem_fn.cc: New test of
3204 2005-02-23 Paolo Carlini <pcarlini@suse.de>
3206 * include/tr1/type_traits: Implement is_convertible.
3207 * testsuite/tr1/4_metaprogramming/relationships_between_types/
3208 is_convertible/is_convertible.cc: New.
3209 * testsuite/tr1/4_metaprogramming/relationships_between_types/
3210 is_convertible/typedefs.cc: Likewise.
3211 * testsuite/testsuite_tr1.h: Add class DerivedType.
3213 * include/tr1/type_traits (is_function): Don't mistake references
3214 to function types for function types.
3215 * testsuite/tr1/4_metaprogramming/primary_type_categories/
3216 is_function/is_function.cc: Add testcase.
3218 2005-02-22 Benjamin Kosnik <bkoz@redhat.com>
3220 * scripts/check_performance: Tweaks.
3222 * testsuite/27_io/basic_ostream/inserters_other/wchar_t/2.cc: Name
3223 output file with extension that clean rules can find.
3225 2005-02-22 Richard Henderson <rth@redhat.com>
3228 * libsupc++/eh_catch.cc (__cxa_begin_catch): Don't special case
3229 decrement of uncaughtExceptions for rethrow.
3231 2005-02-22 Paolo Carlini <pcarlini@suse.de>
3233 * include/tr1/functional: Fix License to GPL with exception.
3234 * include/tr1/hashtable: Likewise.
3235 * include/tr1/tuple: Likewise.
3236 * include/tr1/type_traits: Likewise.
3237 * include/tr1/type_traits_fwd.h: Likewise.
3238 * include/tr1/unordered_map: Likewise.
3239 * include/tr1/unordered_set: Likewise.
3240 * include/tr1/utility: Likewise.
3242 2005-02-22 Paolo Carlini <pcarlini@suse.de>
3244 * testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/
3245 auto_ptr_neg.cc: Add missing dg-do compile directive.
3246 * testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/
3247 auto_ptr_rvalue_neg.cc: Likewise.
3248 * testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/
3249 shared_ptr_neg.cc: Likewise.
3250 * testsuite/tr1/2_general_utilities/memory/shared_ptr/cons/
3251 auto_ptr_neg.cc: Likewise.
3252 * testsuite/tr1/2_general_utilities/memory/shared_ptr/modifiers/
3253 reset_neg.cc: Likewise.
3254 * testsuite/tr1/2_general_utilities/memory/shared_ptr/modifiers/
3255 swap_neg.cc: Likewise.
3257 2005-02-22 Jonathan Wakely <redi@gcc.gnu.org>
3259 * include/Makefile.am, include/Makefile.in: Fix accidental extra
3260 change from previous commit.
3262 2005-02-21 Jonathan Wakely <redi@gcc.gnu.org>
3264 * include/tr1/memory: New file.
3265 * include/Makefile.am, include/Makefile.in: Add new TR1 header.
3266 * testsuite/tr1/2_general_utilities/memory/
3267 enable_shared_from_this/not_shared.cc: New test.
3268 * testsuite/tr1/2_general_utilities/memory/
3269 enable_shared_from_this/not_shared2.cc: New test.
3270 * testsuite/tr1/2_general_utilities/memory/
3271 enable_shared_from_this/not_shared3.cc: New test.
3272 * testsuite/tr1/2_general_utilities/memory/
3273 enable_shared_from_this/shared.cc: New test.
3274 * testsuite/tr1/2_general_utilities/memory/
3275 enable_shared_from_this/still_shared.cc: New test.
3276 * testsuite/tr1/2_general_utilities/memory/
3277 shared_ptr/assign/assign.cc: New test.
3278 * testsuite/tr1/2_general_utilities/memory/
3279 shared_ptr/assign/auto_ptr.cc: New test.
3280 * testsuite/tr1/2_general_utilities/memory/
3281 shared_ptr/assign/auto_ptr_neg.cc: New test.
3282 * testsuite/tr1/2_general_utilities/memory/
3283 shared_ptr/assign/auto_ptr_rvalue_neg.cc: New test.
3284 * testsuite/tr1/2_general_utilities/memory/
3285 shared_ptr/assign/shared_ptr.cc: New test.
3286 * testsuite/tr1/2_general_utilities/memory/
3287 shared_ptr/assign/shared_ptr_neg.cc: New test.
3288 * testsuite/tr1/2_general_utilities/memory/
3289 shared_ptr/comparison/cmp.cc: New test.
3290 * testsuite/tr1/2_general_utilities/memory/
3291 shared_ptr/cons/auto_ptr.cc: New test.
3292 * testsuite/tr1/2_general_utilities/memory/
3293 shared_ptr/cons/auto_ptr_neg.cc: New test.
3294 * testsuite/tr1/2_general_utilities/memory/
3295 shared_ptr/cons/copy.cc: New test.
3296 * testsuite/tr1/2_general_utilities/memory/
3297 shared_ptr/cons/default.cc: New test.
3298 * testsuite/tr1/2_general_utilities/memory/
3299 shared_ptr/cons/pointer.cc: New test.
3300 * testsuite/tr1/2_general_utilities/memory/
3301 shared_ptr/cons/weak_ptr.cc: New test.
3302 * testsuite/tr1/2_general_utilities/memory/
3303 shared_ptr/cons/weak_ptr_expired.cc: New test.
3304 * testsuite/tr1/2_general_utilities/memory/
3305 shared_ptr/dest/dest.cc: New test.
3306 * testsuite/tr1/2_general_utilities/memory/
3307 shared_ptr/misc/io.cc: New test.
3308 * testsuite/tr1/2_general_utilities/memory/
3309 shared_ptr/misc/swap.cc: New test.
3310 * testsuite/tr1/2_general_utilities/memory/
3311 shared_ptr/modifiers/reset.cc: New test.
3312 * testsuite/tr1/2_general_utilities/memory/
3313 shared_ptr/modifiers/reset_neg.cc: New test.
3314 * testsuite/tr1/2_general_utilities/memory/
3315 shared_ptr/modifiers/swap.cc: New test.
3316 * testsuite/tr1/2_general_utilities/memory/
3317 shared_ptr/modifiers/swap_neg.cc: New test.
3318 * testsuite/tr1/2_general_utilities/memory/
3319 shared_ptr/observers/bool_conv.cc: New test.
3320 * testsuite/tr1/2_general_utilities/memory/
3321 shared_ptr/observers/get.cc: New test.
3322 * testsuite/tr1/2_general_utilities/memory/
3323 shared_ptr/observers/unique.cc: New test.
3324 * testsuite/tr1/2_general_utilities/memory/
3325 shared_ptr/observers/use_count.cc: New test.
3327 2005-02-21 Paolo Carlini <pcarlini@suse.de>
3329 * include/tr1/type_traits (is_member_function_pointer):
3330 Remove ugly workaround for c++/19076.
3332 2005-02-21 Paolo Carlini <pcarlini@suse.de>
3334 * include/bits/basic_string.tcc (_Rep::_M_destroy): Don't
3335 check for this == &_S_empty_rep, it's always false, here.
3337 2005-02-19 Matt Austern <austern@gmail.com>
3339 * include/tr1/functional (tr1_hashtable_define_trivial_hash): Make
3340 hash<T>::operator() a const member function for T a fundamental type
3341 * include/tr1/hashtable (extract1st::operator()): Declare const.
3342 (hash_code_base): Declare all member functions const
3343 (hashtable::find): fix call to this->bucket_count()
3344 (hashtable::count): Likewise.
3345 (hashtable::equal_range): m_incr_bucket applies to iterator, not node.
3346 * testsuite/tr1/6_containers/unordered/find/set1.cc: New test.
3347 * testsuite/tr1/6_containers/unordered/find/map1.cc: New test.
3348 * testsuite/tr1/6_containers/unordered/find/multimap1.cc: New test.
3349 * testsuite/tr1/6_containers/unordered/find/multiset1.cc: New test.
3351 2005-02-19 Hans-Peter Nilsson <hp@axis.com>
3354 * include/tr1/functional (hash<std::wstring>): Wrap in #ifdef
3355 _GLIBCXX_USE_WCHAR_T.
3357 2005-02-18 Richard Henderson <rth@redhat.com>
3360 * config/linker-map.gnu (CXXABI_1.3.1): Add __cxa_get_exception_ptr.
3361 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Increment
3362 uncaughtExceptions here instead of ...
3363 * libsupc++/eh_throw.cc (__cxa_throw) ... here.
3364 (__cxa_rethrow): Increment uncaughtExceptions here instead of ...
3365 * libsupc++/eh_catch.cc (__cxa_end_catch): ... here.
3366 (__cxa_get_exception_ptr): New.
3367 * libsupc++/unwind-cxx.h (__cxa_get_exception_ptr): Declare.
3369 2005-02-18 Matt Austern <austern@apple.com>
3371 * testsuite/tr1/6_containers/unordered/insert/array_syntax.cc: Fix
3372 test case to use assignment instead of ==
3373 * testsuite/tr1/6_containers/unordered/insert/map_range.cc: New test.
3374 * testsuite/tr1/6_containers/unordered/insert/multimap_range.cc: New test.
3375 * testsuite/tr1/6_containers/unordered/insert/multiset_range.cc: New test.
3376 * testsuite/tr1/6_containers/unordered/insert/set_range.cc: New test.
3378 2005-02-18 Eric Botcazou <ebotcazou@libertysurf.fr>
3380 * testsuite/thread/pthread1.cc: Do not invoke pthread_setconcurrency
3381 on Solaris 2.6 and below.
3382 * testsuite/thread/pthread2.cc: Likewise.
3383 * testsuite/thread/pthread3.cc: Likewise.
3384 * testsuite/thread/pthread4.cc: Likewise.
3385 * testsuite/thread/pthread5.cc: Likewise.
3386 * testsuite/thread/pthread6.cc: Likewise.
3387 * testsuite/thread/pthread7-rope.cc: Likewise.
3389 2005-02-17 Matt Austern <austern@apple.com>
3391 * include/tr1/functional (hash): New function object.
3392 * include/tr1/hashtable: New file.
3393 * include/tr1/unordered_set: New file.
3394 * include/tr1/unordered_map: New file.
3395 * include/Makefile.am: Add three new TR1 headers.
3396 * include/Makefile.in: Likewise.
3397 * testsuite/tr1/6_containers/unordered/insert/array_syntax.cc: New test.
3398 * testsuite/tr1/6_containers/unordered/insert/map_single.cc: New test.
3399 * testsuite/tr1/6_containers/unordered/insert/multimap_single.cc: New test.
3400 * testsuite/tr1/6_containers/unordered/insert/multiset_single.cc: New test.
3401 * testsuite/tr1/6_containers/unordered/insert/set_single.cc: New test.
3402 * testsuite/tr1/6_containers/unordered/instantiate/hash.cc: New test.
3403 * testsuite/tr1/6_containers/unordered/instantiate/map.cc: New test.
3404 * testsuite/tr1/6_containers/unordered/instantiate/multimap.cc: New test.
3405 * testsuite/tr1/6_containers/unordered/instantiate/multiset.cc: New test.
3406 * testsuite/tr1/6_containers/unordered/instantiate/set.cc: New test.
3408 2005-02-16 Paolo Carlini <pcarlini@suse.de>
3410 * testsuite/23_containers/set/modifiers/16728.cc:
3411 Remove redundant include <testsuite_performance.h>.
3413 2005-02-16 Paolo Carlini <pcarlini@suse.de>
3416 * testsuite/21_strings/basic_string/find/char/3.cc: Fix the test
3417 at line #66 to not access str_lit01 beyond its end.
3418 * testsuite/21_strings/basic_string/find/wchar_t/3.cc: Likewise.
3420 2005-02-15 Paolo Carlini <pcarlini@suse.de>
3421 Jon Grimm <jgrimm2@us.ibm.com>
3424 * include/bits/locale_facets.h (ctype<char>::_M_narrow_init()):
3425 Fix the logic setting _M_narrow_ok: first check whether the
3426 transformation is trivial with a dflt == 0, then deal with the
3427 special case of zero.
3428 * testsuite/22_locale/ctype/narrow/char/19955.cc: New.
3430 * include/bits/locale_facets.h (ctype<char>::_M_widen_init()):
3431 Tweak consistently to use memcmp; minor formatting fixes.
3433 2005-02-15 Jakub Jelinek <jakub@redhat.com>
3436 * testsuite/demangle/abi_examples/01.cc (main): Adjust for 2005-02-13
3438 * testsuite/demangle/abi_examples/02.cc (main): Likewise.
3440 2005-02-13 Richard Guenther <rguenth@gcc.gnu.org>
3441 Paolo Carlini <pcarlini@suse.de>
3444 * include/c_std/std_cmath.h (pow): Use __builtin_powi[lf]
3445 for integer overloads.
3447 * testsuite/26_numerics/cmath/powi.cc: New.
3449 2005-02-11 Janis Johnson <janis187@us.ibm.com>
3451 * testsuite/26_numerics/complex/13450.cc: Fix XFAIL selector.
3452 * testsuite/26_numerics/complex/complex_value.cc: Ditto.
3453 * testsuite/26_numerics/complex/pow.cc: Ditto.
3455 * testsuite/lib/libstdc++.exp: Load target-supports-dg.exp.
3456 * testsuite/26_numerics/complex/13450.cc: XFAIL for broken_cplxf_arg.
3457 * testsuite/26_numerics/complex/complex_value.cc: Ditto.
3458 * testsuite/26_numerics/complex/pow.cc: Ditto.
3460 2005-02-09 Mike Stump <mrs@apple.com>
3462 * libsupc++/del_op.cc: Don't include cstdlib when !_GLIBCXX_HOSTED.
3464 2005-02-09 Janis Johnson <janis187@us.ibm.com>
3466 * testsuite/ext/array_allocator/2.cc: XFAIL for powerpc*-*-linux*.
3468 2005-02-08 Mark Mitchell <mark@codesourcery.com>
3470 * config/linker-map.gnu (GLIBCXX_3.4): Add _ZNSdC* and _ZNSdD*.
3472 2005-02-07 Loren J. Rittle <ljrittle@acm.org>
3474 * testsuite/27_io/basic_istream/getline/wchar_t/5.cc: Make buf static.
3475 * testsuite/27_io/basic_stringbuf/setbuf/wchar_t/4.cc: Make ref and
3478 2005-02-02 Brad Spencer <spencer@infointeractive.com>
3480 * debug.html: Fix broken tags.
3481 * documentation.html: Same.
3483 2005-02-02 Andreas Jaeger <aj@suse.de>
3485 * testsuite/lib/libstdc++.exp: Revert Geoffrey Keating's patch
3487 * testsuite/Makefile.am: Likewise.
3488 * testsuite/Makefile.in: Likewise.
3490 2005-02-01 Paolo Carlini <pcarlini@suse.de>
3492 * include/bits/cpp_type_traits.h: Rename _M_type fields to
3493 __value, except for __enable_if, _M_type -> __type, consistently
3494 with the other traits.
3495 * include/bits/stl_algobase.h: Tweak consistently.
3496 * include/bits/stl_tree.h: Likewise.
3497 * include/bits/valarray_array.h: Likewise.
3498 * include/c_std/std_cmath.h: Likewise.
3499 * include/debug/safe_iterator.h: Likewise.
3500 * include/std/std_complex.h: Likewise.
3502 2005-01-31 Brad Spencer <spencer@infointeractive.com>
3504 * crossconfig.m4: Repair Solaris cross bits for strtold and strtof.
3505 * configure: Regenerated.
3507 2005-01-31 Mark Mitchell <mark@codesourcery.com>
3509 * include/std/std_limits.h (numeric_limits<float>::has_denorm):
3511 (numeric_limits<double>::has_denorm): Likewise.
3512 (numeric_limits<long double>::has_denorm): Likewise.
3514 2005-01-31 Paolo Carlini <pcarlini@suse.de>
3515 Gabriel Dos Reis <gdr@integrable-solutions.net>
3517 * include/bits/cpp_type_traits.h: Add types to the structs thus
3518 making type_traits.h redundant; exploit new __truth_type and
3520 * include/bits/type_traits.h: Remove.
3521 * include/Makefile.am: Update.
3522 * include/Makefile.in: Regenerate.
3523 * include/backward/tempbuf.h: Include cpp_type_traits.h instead.
3524 * include/bits/basic_string.h (replace(iterator, iterator,
3525 _InputIterator, _InputIterator), _S_construct(_InIterator,
3526 _InIterator, const _Alloc&)): Use __is_integer instead.
3527 * include/bits/stl_bvector.h (vector(_InputIterator,
3528 _InputIterator, const allocator_type&), assign(_InputIterator,
3529 _InputIterator), insert(iterator, _InputIterator, _InputIterator)):
3531 * include/bits/stl_construct.h (_Destroy(_ForwardIterator,
3532 _ForwardIterator)): Use __is_scalar.
3533 * include/bits/stl_deque.h (deque(_InputIterator, _InputIterator,
3534 const allocator_type&), assign(_InputIterator, _InputIterator),
3535 insert(iterator, _InputIterator, _InputIterator)): Use __is_integer.
3536 * include/bits/stl_list.h (assign(_InputIterator, _InputIterator),
3537 insert(iterator, _InputIterator, _InputIterator)): Likewise.
3538 * include/bits/stl_tempbuf.h (_Temporary_buffer(_ForwardIterator,
3539 _ForwardIterator)): Use __is_scalar.
3540 * include/bits/stl_uninitialized.h (uninitialized_copy(_InputIterator,
3541 _InputIterator, _ForwardIterator), uninitialized_fill(_ForwardIterator,
3542 _ForwardIterator, const _Tp&), uninitialized_fill_n(_ForwardIterator,
3543 _Size, const _Tp&)): Likewise.
3544 * include/bits/stl_vector.h (vector(_InputIterator, _InputIterator,
3545 const allocator_type&), assign(_InputIterator, _InputIterator),
3546 insert(iterator, _InputIterator, _InputIterator)): Use __is_integer.
3547 * include/debug/debug.h (__valid_range(const _InputIterator&,
3548 const _InputIterator&)): Use __is_integer.
3549 * include/ext/slist (assign(_InputIterator, _InputIterator)): Likewise.
3550 * include/std/std_string.h: Include cpp_type_traits.h instead.
3552 2005-01-30 Paolo Carlini <pcarlini@suse.de>
3555 * config/locale/generic/c_locale.h (__convert_from_v): Switch only
3556 LC_NUMERIC, and only when actually != "C".
3558 2005-01-28 Paolo Carlini <pcarlini@suse.de>
3560 * include/tr1/type_traits (is_function): Minor consistency tweaks.
3562 2005-01-28 Geoffrey Keating <geoffk@apple.com>
3564 * testsuite/lib/libstdc++.exp (libstdc++_init): Search the path
3565 for the compiler. Don't set cxxflags.
3566 (v3_target_compile): Search for libv3test.a relative to $objdir.
3567 (lsearch_all_inline): New.
3568 (lsearch_all_inline_not): New.
3569 (v3-list-tests): Rewrite to not need generated files.
3570 * testsuite/Makefile.am (IGNORE_WCHAR_T): New.
3571 (IGNORE_THREAD): New.
3572 (TESTS_TO_IGNORE): New.
3573 (site.exp): Set tests_to_ignore, cxxflags.
3574 * aclocal.m4: Regenerate.
3575 * Makefile.in: Regenerate.
3576 * libmath/Makefile.in: Likewise.
3577 * libsupc++/Makefile.in: Likewise.
3578 * po/Makefile.in: Likewise.
3579 * src/Makefile.in: Likewise.
3580 * testsuite/Makefile.in: Likewise.
3582 2005-01-28 Paolo Carlini <pcarlini@suse.de>
3584 * include/tr1/type_traits: Implement is_empty.
3585 * testsuite/tr1/4_metaprogramming/type_properties/is_empty/
3587 * testsuite/tr1/4_metaprogramming/type_properties/is_empty/
3588 typedefs.cc: Likewise.
3590 * include/tr1/type_traits (__is_abstract_helper): Simplify a bit.
3592 2005-01-28 Paolo Carlini <pcarlini@suse.de>
3594 * include/tr1/type_traits: Implement is_abstract, by exploiting the
3595 resolution of DR core/337.
3596 * testsuite/testsuite_tr1.h: Add AbstractClass.
3597 * testsuite/tr1/4_metaprogramming/type_properties/is_abstract/
3598 is_abstract.cc: New.
3599 * testsuite/tr1/4_metaprogramming/type_properties/is_abstract/
3600 typedefs.cc: Likewise.
3602 * include/tr1/type_traits (is_function): Rewrite, use the conversion
3603 F& -> F* instead, thus avoiding problems with abstract classes.
3604 * testsuite/tr1/4_metaprogramming/primary_type_categories/
3605 is_function/is_function.cc: Add a test for tricky AbstractClass.
3607 2005-01-26 Paolo Carlini <pcarlini@suse.de>
3609 * include/ext/mt_allocator.h
3610 (struct __per_type_pool_policy<,, false>::_S_get_pool,
3611 struct __per_type_pool_policy<,, true>::_S_get_pool): Scale
3612 _M_chunk_size too with sizeof(_Tp), otherwise the allocator
3613 breaks down as soon as sizeof(_Tp) >~ _S_chunk_size / 128;
3614 reduce to 64 the multiplier for _M_max_bytes (safer wrt
3615 _Binmap_type being a short); trivial reformattings.
3616 * testsuite/ext/mt_allocator/check_allocate_big_per_type.cc: New.
3618 2005-01-26 Paolo Carlini <pcarlini@suse.de>
3620 * acinclude.m4 ([GLIBCXX_ENABLE_C99]): Add ac_c99_complex
3621 to the final test for enable_c99, thus robustifying it; remove
3622 duplicate final test on ac_99_math.
3623 * configure: Regenerate.
3625 * include/std/std_complex.h: Remove usages of the dead
3626 _GLIBCXX_BUGGY_COMPLEX macro.
3628 * testsuite/26_numerics/cmath/19322.cc: Protect with
3629 _GLIBCXX_USE_C99_MATH instead of the stronger _GLIBCXX_USE_C99,
3630 since only C99 math facilities are involved.
3631 * testsuite/26_numerics/cmath/c99_classification_macros_c++.cc:
3634 2005-01-25 Loren J. Rittle <ljrittle@acm.org>
3636 * acinclude.m4 (GLIBCXX_ENABLE_CLOCALE): Map FreeBSD to darwin
3637 instead of generic. Change autoconf report to "darwin or freebsd".
3638 * configure: Regenerate.
3639 * config/os/bsd/freebsd/ctype_inline.h (ctype<wchar_t>::do_is): Add.
3640 (ctype<wchar_t>::do_scan_is): Likewise.
3641 (ctype<wchar_t>::do_scan_not): Likewise.
3643 2005-01-25 Benjamin Kosnik <bkoz@redhat.com>
3645 * acinclude.m4 (GLIBCXX_ENABLE_C99): Test for complex math
3646 functions, and enable _GLIBCXX_USE_C99_COMPLEX_MATH if they exist.
3647 * acconfig.h: Add _GLIBCXX_USE_C99_COMPLEX_MATH.
3648 * config.h.in: Regenerate.
3649 * configure: Regenerate.
3650 * include/std/std_complex.h: Protect complex builtins with
3651 _GLIBCXX_USE_C99_COMPLEX_MATH.
3653 2005-01-24 Paolo Carlini <pcarlini@suse.de>
3655 * include/tr1/type_traits: Implement is_signed and is_unsigned.
3656 * testsuite/tr1/4_metaprogramming/type_properties/
3657 is_signed/is_signed.cc: New.
3658 * testsuite/tr1/4_metaprogramming/type_properties/
3659 is_signed/typedefs.cc: Likewise.
3660 * testsuite/tr1/4_metaprogramming/type_properties/
3661 is_unsigned/is_unsigned.cc: Likewise.
3662 * testsuite/tr1/4_metaprogramming/type_properties/
3663 is_unsigned/typedefs.cc: Likewise.
3665 2005-01-23 Paolo Carlini <pcarlini@suse.de>
3667 * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 34.
3669 2005-01-23 Paolo Carlini <pcarlini@suse.de>
3671 * testsuite/27_io/basic_ostream/cons/wchar_t/9827.cc: New.
3672 * testsuite/27_io/basic_ostream/endl/wchar_t/1.cc: Likewise.
3673 * testsuite/27_io/basic_ostream/ends/wchar_t/1.cc: Likewise.
3674 * testsuite/27_io/basic_ostream/ends/wchar_t/2.cc: Likewise.
3675 * testsuite/27_io/basic_ostream/exceptions/wchar_t/9561.cc: Likewise.
3676 * testsuite/27_io/basic_ostream/flush/wchar_t/1.cc: Likewise.
3677 * testsuite/27_io/basic_ostream/flush/wchar_t/2.cc: Likewise.
3678 * testsuite/27_io/basic_ostream/flush/wchar_t/
3679 exceptions_badbit_throw.cc: Likewise.
3680 * testsuite/27_io/basic_ostream/inserters_arithmetic/
3681 wchar_t/2.cc: Likewise.
3682 * testsuite/27_io/basic_ostream/inserters_arithmetic/
3683 wchar_t/3.cc: Likewise.
3684 * testsuite/27_io/basic_ostream/inserters_arithmetic/
3685 wchar_t/4.cc: Likewise.
3686 * testsuite/27_io/basic_ostream/inserters_arithmetic/
3687 wchar_t/4402.cc: Likewise.
3688 * testsuite/27_io/basic_ostream/inserters_arithmetic/
3689 wchar_t/5.cc: Likewise.
3690 * testsuite/27_io/basic_ostream/inserters_arithmetic/
3691 wchar_t/6.cc: Likewise.
3692 * testsuite/27_io/basic_ostream/inserters_arithmetic/
3693 wchar_t/9555-oa.cc: Likewise.
3694 * testsuite/27_io/basic_ostream/inserters_arithmetic/
3695 wchar_t/exceptions_badbit_throw.cc: Likewise.
3696 * testsuite/27_io/basic_ostream/inserters_arithmetic/
3697 wchar_t/exceptions_failbit_throw.cc: Likewise.
3698 * testsuite/27_io/basic_ostream/inserters_character/
3699 wchar_t/1.cc: Likewise.
3700 * testsuite/27_io/basic_ostream/inserters_character/
3701 wchar_t/2.cc: Likewise.
3702 * testsuite/27_io/basic_ostream/inserters_character/
3703 wchar_t/3.cc: Likewise.
3704 * testsuite/27_io/basic_ostream/inserters_character/
3705 wchar_t/4.cc: Likewise.
3706 * testsuite/27_io/basic_ostream/inserters_character/
3707 wchar_t/5.cc: Likewise.
3708 * testsuite/27_io/basic_ostream/inserters_character/
3709 wchar_t/6.cc: Likewise.
3710 * testsuite/27_io/basic_ostream/inserters_character/
3711 wchar_t/9555-oc.cc: Likewise.
3712 * testsuite/27_io/basic_ostream/inserters_other/
3713 wchar_t/1.cc: Likewise.
3714 * testsuite/27_io/basic_ostream/inserters_other/
3715 wchar_t/2.cc: Likewise.
3716 * testsuite/27_io/basic_ostream/inserters_other/
3717 wchar_t/3.cc: Likewise.
3718 * testsuite/27_io/basic_ostream/inserters_other/
3719 wchar_t/4.cc: Likewise.
3720 * testsuite/27_io/basic_ostream/inserters_other/
3721 wchar_t/5.cc: Likewise.
3722 * testsuite/27_io/basic_ostream/inserters_other/
3723 wchar_t/9318-out.cc: Likewise.
3724 * testsuite/27_io/basic_ostream/inserters_other/
3725 wchar_t/9424-out.cc: Likewise.
3726 * testsuite/27_io/basic_ostream/inserters_other/
3727 wchar_t/9555-oo.cc: Likewise.
3728 * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
3729 error_failbit.cc: Likewise.
3730 * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
3731 exceptions_badbit_throw.cc: Likewise.
3732 * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
3733 exceptions_failbit_throw.cc: Likewise.
3734 * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
3735 exceptions_null.cc: Likewise.
3736 * testsuite/27_io/basic_ostream/put/char/1.cc: Likewise.
3737 * testsuite/27_io/basic_ostream/put/wchar_t/1.cc: Likewise.
3738 * testsuite/27_io/basic_ostream/seekp/char/
3739 exceptions_badbit_throw.cc: Likewise.
3740 * testsuite/27_io/basic_ostream/seekp/wchar_t/
3741 2346-fstream.cc: Likewise.
3742 * testsuite/27_io/basic_ostream/seekp/wchar_t/
3743 2346-sstream.cc: Likewise.
3744 * testsuite/27_io/basic_ostream/seekp/wchar_t/
3745 exceptions_badbit_throw.cc: Likewise.
3746 * testsuite/27_io/basic_ostream/sentry/wchar_t/1.cc: Likewise.
3747 * testsuite/27_io/basic_ostream/sentry/wchar_t/2.cc: Likewise.
3748 * testsuite/27_io/basic_ostream/tellp/wchar_t/1.cc: Likewise.
3749 * testsuite/27_io/basic_ostream/tellp/wchar_t/2.cc: Likewise.
3750 * testsuite/27_io/basic_ostream/tellp/wchar_t/
3751 exceptions_badbit_throw.cc: Likewise.
3752 * testsuite/27_io/basic_ostream/write/wchar_t/1.cc: Likewise.
3754 * testsuite/data/wostream_inserter_char-1.tst: Likewise.
3755 * testsuite/data/wostream_inserter_char-1.txt: Likewise.
3756 * testsuite/data/wostream_inserter_other-1.tst: Likewise.
3757 * testsuite/data/wostream_inserter_other-2.tst: Likewise.
3758 * testsuite/data/wostream_seeks-1.tst: Likewise.
3760 * testsuite/27_io/basic_ostream/endl/char/1.cc: Minor tweaks.
3761 * testsuite/27_io/basic_ostream/ends/char/1.cc: Likewise.
3762 * testsuite/27_io/basic_ostream/exceptions/char/9561.cc: Likewise.
3763 * testsuite/27_io/basic_ostream/flush/char/1.cc: Likewise.
3764 * testsuite/27_io/basic_ostream/flush/char/2.cc: Likewise.
3765 * testsuite/27_io/basic_ostream/flush/char/
3766 exceptions_badbit_throw.cc: Likewise.
3767 * testsuite/27_io/basic_ostream/inserters_arithmetic/
3768 char/2.cc: Likewise.
3769 * testsuite/27_io/basic_ostream/inserters_arithmetic/
3770 char/3.cc: Likewise.
3771 * testsuite/27_io/basic_ostream/inserters_arithmetic/
3772 char/4.cc: Likewise.
3773 * testsuite/27_io/basic_ostream/inserters_arithmetic/
3774 char/4402.cc: Likewise.
3775 * testsuite/27_io/basic_ostream/inserters_arithmetic/
3776 char/5.cc: Likewise.
3777 * testsuite/27_io/basic_ostream/inserters_arithmetic/
3778 char/6.cc: Likewise.
3779 * testsuite/27_io/basic_ostream/inserters_character/
3780 char/4.cc: Likewise.
3781 * testsuite/27_io/basic_ostream/inserters_other/char/
3783 * testsuite/27_io/basic_ostream/inserters_other/char/
3785 * testsuite/27_io/basic_ostream/inserters_other/char/
3786 error_failbit.cc: Likewise.
3787 * testsuite/27_io/basic_ostream/inserters_other/char/
3788 exceptions_badbit_throw.cc: Likewise.
3789 * testsuite/27_io/basic_ostream/inserters_other/char/
3790 exceptions_failbit_throw.cc: Likewise.
3791 * testsuite/27_io/basic_ostream/inserters_other/char/
3792 exceptions_null.cc: Likewise.
3793 * testsuite/27_io/basic_ostream/put/char/1.cc: Likewise.
3794 * testsuite/27_io/basic_ostream/seekp/char/
3795 exceptions_badbit_throw.cc: Likewise.
3796 * testsuite/27_io/basic_ostream/sentry/char/2.cc: Likewise.
3797 * testsuite/27_io/basic_ostream/write/char/1.cc: Likewise.
3799 2005-01-23 Paolo Carlini <pcarlini@suse.de>
3801 * include/tr1/type_traits (aligned_storage): Use __aligned__ instead
3804 2005-01-23 Paolo Carlini <pcarlini@suse.de>
3805 Andreas Jaeger <aj@suse.de>
3808 * include/bits/functexcept.h: Mark the helpers as 'noreturn'.
3810 2005-01-21 Loren J. Rittle <ljrittle@acm.org>
3812 * testsuite/27_io/basic_filebuf/open/char/9507.cc: Allow
3813 lseek on fifo to succeed. Thus, check for consistent report.
3815 2005-01-21 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
3818 * include/bits/stl_list.h (_List_iterator): Initialize _M_node
3820 (_List_const_iterator): Likewise.
3821 * include/bits/stl_tree.h (_Rb_tree_iterator): Likewise.
3822 (_Rb_tree_const_iterator): Likewise.
3824 * testsuite/23_containers/map/operators/1_neg.cc: Adjust line numbers.
3825 * testsuite/23_containers/set/operators/1_neg.cc: Likewise.
3827 2005-01-20 Benjamin Kosnik <bkoz@redhat.com>
3829 * testsuite/Makefile.am (check-compile): New.
3830 * testsuite/Makefile.in: Regenerate.
3831 * scripts/check_compile_time: New.
3832 * scripts/check_performance: Tweaks.
3834 2005-01-19 Paolo Carlini <pcarlini@suse.de>
3837 * include/tr1/utility (struct __pair_get<1>::__get, __const_get):
3838 Fix typo in the return type.
3839 * testsuite/tr1/6_containers/utility/19535.cc: New.
3841 2005-01-19 Loren J. Rittle <ljrittle@acm.org>
3843 * include/ext/array_allocator.h (array_allocator<>::allocate):
3844 Avoid __used. Use __array_used instead.
3845 * docs/html/17_intro/BADNAMES: Add list for FreeBSD.
3847 2005-01-18 David Edelsohn <edelsohn@gnu.org>
3849 * config/os/aix/os_defines.h (_XOPEN_SOURCE): Delete.
3850 (_XOPEN_SOURCE_EXTENDED): Delete.
3852 2005-01-18 Benjamin Kosnik <bkoz@redhat.com>
3854 * testsuite/testsuite_performance.h (time_counter::start):
3856 (clear_counters): Inline.
3857 (start_counters): Inline.
3858 (stop_counters): Inline.
3859 * testsuite/performance/20_util/allocator/map_thread.cc: Return.
3860 * testsuite/performance/20_util/allocator/insert.cc: Remove bogus
3862 * testsuite/performance/20_util/allocator/map_thread.cc: Same.
3864 2005-01-17 Paolo Carlini <pcarlini@suse.de>
3867 * include/bits/stl_tree.h (_Rb_tree<>::insert_unique(iterator,
3868 const _Val&), _Rb_tree<>::insert_equal(iterator, const _Val&)):
3869 Obtain amortized constant complexity if t is inserted right after
3870 p - not before p - as per Table 69.
3871 * testsuite/performance/23_containers/set_insert_from_sorted.cc: New.
3873 * testsuite/23_containers/multiset/insert/2.cc: New.
3874 * testsuite/23_containers/set/insert/1.cc: Likewise.
3876 * testsuite/performance/23_containers/set_create_from_sorted.cc:
3879 * include/bits/stl_tree.h: Add a few missing std:: qualifications.
3881 2005-01-16 Jonathan Wakely <redi@gcc.gnu.org>
3883 * include/ext/rope: Qualify calls to std::copy() by sequence_buffer.
3884 * testsuite/ext/rope/4.cc: Add.
3886 2005-01-16 Lorenz Minder <lminder@gmx.net>
3887 Paolo Carlini <pcarlini@suse.de>
3890 * include/c_std/std_cmath.h: Define the C99 classification facilities
3891 directly inside namespace std:.
3892 * testsuite/26_numerics/cmath/19322.cc: New.
3894 2005-01-15 David Edelsohn <edelsohn@gnu.org>
3896 * config/os/aix/os_defines.h (_G_USING_THUNKS): Delete.
3898 2005-01-14 Paolo Carlini <pcarlini@suse.de>
3901 * include/bits/stl_tree.h (_Rb_tree<>::insert_equal(_II, _II),
3902 _Rb_tree<>::insert_unique(_II, _II)): Use insert_equal (insert_unique,
3903 respectively) with hint (end()).
3904 * testsuite/performance/23_containers/set_create_from_sorted.cc: New.
3906 2005-01-13 Geoffrey Keating <geoffk@apple.com>
3908 * configure.host (darwin): On darwin8 or later, no need to build
3909 libstdc++ with -flat_namespace.
3911 2005-01-13 Jonathan Wakely <redi@gcc.gnu.org>
3913 * docs/doxygen/user.cfg.in: Set HAVE_DOT back to YES.
3915 2005-01-13 Paolo Carlini <pcarlini@suse.de>
3917 * testsuite/26_numerics/cmath/c99_classification_macros_c++.cc:
3918 Re-enable commented-out test for double type.
3920 2005-01-11 Paolo Carlini <pcarlini@suse.de>
3921 Benjamin Kosnik <bkoz@redhat.com>
3923 * src/istream.cc (basic_istream<char>::ignore(streamsize),
3924 basic_istream<char>::ignore(streamsize, int_type),
3925 basic_istream<wchar_t>::ignore(streamsize),
3926 basic_istream<wchar_t>::ignore(streamsize, int_type)): In case
3927 more than numeric_limits<streamsize>::max() chars are skipped,
3928 set _M_gcount = max().
3929 * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
3930 int_type)): Likewise; keep simple, don't forward.
3932 2005-01-11 Paolo Carlini <pcarlini@suse.de>
3934 * src/istream.cc (basic_istream<char>::ignore(streamsize),
3935 basic_istream<char>::ignore(streamsize, int_type),
3936 basic_istream<wchar_t>::ignore(streamsize),
3937 basic_istream<wchar_t>::ignore(streamsize, int_type)): Revert
3938 2005-01-05 change: actually, the previous behavior is conforming
3939 and consistent with that of get(char_type*, streamsize, char_type),
3940 albeit slightly different from that of 3.3/3.4 in a corner case
3941 due to the use of snextc.
3942 * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
3943 int_type)): Likewise.
3944 * testsuite/27_io/basic_istream/ignore/char/4.cc: Remove.
3945 * testsuite/27_io/basic_istream/ignore/wchar_t/4.cc: Likewise.
3947 2005-01-11 Paolo Carlini <pcarlini@suse.de>
3949 * include/tr1/type_traits: Implement alignment_of and aligned_storage.
3950 * testsuite/tr1/4_metaprogramming/other_transformations/
3951 aligned_storage/aligned_storage.cc: New.
3952 * testsuite/tr1/4_metaprogramming/other_transformations/
3953 aligned_storage/typedefs.cc: Likewise.
3954 * testsuite/tr1/4_metaprogramming/type_properties/
3955 alignment_of/alignment_of.cc: Likewise.
3956 * testsuite/tr1/4_metaprogramming/type_properties/
3957 alignment_of/typedefs.cc: Likewise.
3959 2005-01-10 Paolo Carlini <pcarlini@suse.de>
3961 * Makefile.in: Regenerate.
3962 * libmath/Makefile.in: Likewise.
3963 * libsupc++/Makefile.in: Likewise.
3964 * po/Makefile.in: Likewise.
3965 * src/Makefile.in: Likewise.
3966 * testsuite/Makefile.in: Likewise.
3968 2005-01-10 Paolo Carlini <pcarlini@suse.de>
3970 * include/bits/stl_algobase.h (lexicographical_compare):
3973 2005-01-07 Benjamin Kosnik <bkoz@redhat.com>
3975 * acinclude.m4: Remove CCODECVT_H.
3976 * configure: Regenerate.
3977 * include/Makefile.am (host_headers_extra): Move to...
3978 (ext_headers): ...here.
3979 * include/Makefile.in: Regenerate.
3980 * include/ext/enc_filebuf: Remove enc_filebuf, consolidate
3982 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Move...
3983 * include/ext/codecvt_specializations.h: ...here. Remove
3984 _GLIBCXX_USE___ENC_TRAITS.
3985 (__enc_traits): To __encoding_state, put in __gnu_cxx namespace.
3986 (enc_char_traits): To __encoding_char_traits, put in __gnu_cxx
3988 * config/locale/generic/codecvt_specializations.h: Remove.
3989 * include/bits/codecvt.h: Remove codecvt_specializations.h include.
3990 * src/codecvt.cc: Remove __enc_traits::_S_max_size.
3992 2005-01-06 Benjamin Kosnik <bkoz@redhat.com>
3994 * include/bits/fstream.tcc: Remove unnecessary qualifications for
3995 uglified data members of basic_filebuf, including _M_buf,
3996 _M_buf_size, _M_mode, _M_pback_init.
3997 * include/std/std_fstream.h: Same.
3999 2005-01-05 Benjamin Kosnik <bkoz@redhat.com>
4001 * testsuite/testsuite_hooks.h:
4002 (copy_constructor::mark_call): Use __throw_runtime_error.
4003 (assignment_operator::mark_call): Same.
4004 * testsuite/testsuite_hooks.cc (verify_demangle): Same.
4005 (locale_data): Remove, just use runtime_error directly.
4006 (environment_variable): Same.
4008 (run_tests_wrapped_locale): Use __throw_runtime_error.
4009 (run_tests_wrapped_env): Same.
4010 (semaphore::semaphore): Same.
4011 (semaphore::signal): Same.
4012 (semaphore::wait): Same.
4013 * testsuite/testsuite_abi.h (symbol_error): Remove, use logic_error.
4014 * testsuite/testsuite_abi.cc (get_symbol): Use __throw_logic_error.
4015 (create_symbols): Use __throw_runtime_error.
4016 * src/bitmap_allocator.cc: Use __throw_bad_alloc.
4018 2005-01-05 Mark Mitchell <mark@codesourcery.com>
4020 * testsuite/27_io/basic_filebuf/open/char/9507.cc: Remove child
4023 2005-01-05 Paolo Carlini <pcarlini@suse.de>
4025 * src/istream.cc (basic_istream<char>::ignore(streamsize),
4026 basic_istream<char>::ignore(streamsize, int_type),
4027 basic_istream<wchar_t>::ignore(streamsize),
4028 basic_istream<wchar_t>::ignore(streamsize, int_type)): At the end,
4029 first check _M_gcount vs __n.
4030 * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
4031 int_type)): Likewise.
4032 * testsuite/27_io/basic_istream/ignore/char/4.cc: New.
4033 * testsuite/27_io/basic_istream/ignore/wchar_t/4.cc: Likewise.
4035 2005-01-03 Mark Mitchell <mark@codesourcery.com>
4037 * testsuite/testsuite_hooks.cc: Use __throw_exception_again
4038 instead of just throw.
4040 * testsuite/testsuite_hooks.cc: Update coypright and follow style
4042 * testsuite/testsuite_hooks.h: Likewise.
4043 * testsuite/27_io/basic_filebuf/close/char/4879.cc: Use
4044 semaphores, not sleep.
4045 * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise.
4046 * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
4047 * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise.
4048 * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc:
4050 * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise.
4051 * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise.
4052 * testsuite/27_io/objects/char/7.cc: Likewise.
4053 * testsuite/27_io/objects/char/9661-1.cc: Likewise.
4054 * testsuite/27_io/objects/wchar_t/7.cc: Likewise.
4055 * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise.
4057 * configure.ac: Check for sys/ipc.h and sys/sem.h.
4058 * config.h.in: Regenerated.
4059 * configure: Likewise.
4060 * testsuite/testsuite_hooks.cc (_GLIBCXX_SYSV_SEM): Conditionally
4062 (sys/types.h): Include.
4063 (sys/ipc.h): Likewise.
4064 (sys/sem.h): Likewise.
4065 (__gnu_test::semun): New type.
4066 (__gnu_test::semaphore::sempaphore): New function.
4067 (__gnu_test::semaphore::~semaphore): Likewise.
4068 (__gnu_test::semaphore::wait): Likewise.
4069 (__gnu_test::semaphore::signal): Likewise.
4070 * testsuite/testsuite_hooks.h (__gnu_test::semaphore): New class.
4071 * testsuite/27_io/basic_filebuf/close/char/4879.cc: Use
4072 semaphores, not sleep.
4073 * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise.
4074 * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
4075 * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise.
4076 * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc:
4078 * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise.
4079 * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise.
4080 * testsuite/27_io/objects/char/7.cc: Likewise.
4081 * testsuite/27_io/objects/char/9661-1.cc: Likewise.
4082 * testsuite/27_io/objects/wchar_t/7.cc: Likewise.
4083 * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise.
4085 2005-01-03 Paolo Carlini <pcarlini@suse.de>
4087 * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
4088 int_type)): Reset _M_gcount to numeric_limits<streamsize>::min().
4089 * src/istream.cc (basic_istream<char>::ignore(streamsize, int_type),
4090 basic_istream<wchar_t>::ignore(streamsize, int_type)): Likewise.
4091 * src/istream.cc (basic_istream<char>::ignore(streamsize),
4092 basic_istream<wchar_t>::ignore(streamsize)): Likewise; fix a typo.
4094 2005-01-02 Paolo Carlini <pcarlini@suse.de>
4096 * src/istream.cc (basic_istream<char>::ignore(streamsize),
4097 basic_istream<char>::ignore(streamsize, int_type),
4098 basic_istream<wchar_t>::ignore(streamsize),
4099 basic_istream<wchar_t>::ignore(streamsize, int_type)): Avoid
4100 _M_gcount overflows.
4101 * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
4102 int_type)): Likewise; use snextc in the main loop, consistently
4103 with the specializations above.
4105 2005-01-02 Chris Jefferson <chris@bubblescope.net>
4107 * include/bits/stl_algobase.h (mismatch): Correct concept check.
4109 2005-01-01 Paolo Carlini <pcarlini@suse.de>
4111 * testsuite/ext/enc_filebuf/char/13189.cc: Fix, first include
4112 testsuite_hooks.h, to know whether including ext/enc_filebuf.h.
4113 * testsuite/ext/enc_filebuf/wchar_t/13189.cc: Likewise.
4115 2005-01-01 Paolo Carlini <pcarlini@suse.de>
4117 * testsuite/27_io/basic_istream/extractors_character/char/1.cc: Fix,
4118 null-terminate array1 at the outset.
4119 * testsuite/27_io/basic_istream/extractors_character/wchar_t/1.cc: