Sync usage with man page.
[netbsd-mini2440.git] / gnu / dist / gcc4 / libstdc++-v3 / ChangeLog
blob7787c8b61641c52978d3647d54ead7177b7d6ab9
1 2008-04-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3         Backport:
4         2006-03-24  Mark Mitchell  <mark@codesourcery.com>
5                     Joseph S. Myers  <joseph@codesourcery.com>
7         PR libstdc++/20448
8         PR libstdc++/20451
9         * scripts/testsuite_flags.in (--cxxflags): Don't define LOCALEDIR.
10         * testsuite/lib/libstdc++.exp (libstdc++_init): Always define
11         LOCALEDIR to ".".
12         (v3-build_support): Build MO files.
14 2008-02-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16         * testsuite/27_io/fpos/14320-1.cc: Check for "long long" and
17         remove XFAIL.
19 2007-04-23  Matthias Klose  <doko@debian.org>
21         Backport from mainline:
22         2007-02-27  Richard Guenther  <rguenther@suse.de>
24         * acinclude.m4: Adjust regular expression for ld version extraction.
25         * configure: Regenerate.
27 2007-02-21  Mark Mitchell  <mark@codesourcery.com>
29         * testsuite/lib/libstdc++.exp (libstdc++_init): Compile testglue
30         with -fexceptions.
32 2007-02-13  Release Manager
34         * GCC 4.1.2 released.
36 2007-01-28  Benjamin Kosnik  <bkoz@redhat.com>
38         Revert.
39         2006-12-11  Benjamin Kosnik  <bkoz@redhat.com>
40         PR libstdc++/28125
41         * acinclude.m4 (GLIBCXX_CHECK_ICONV_SUPPORT): Remove link test, ie
42         AC_CHECK_LIB for libiconv. Instead, use bits of AM_ICONV.
43         * configure: Regenerate.
44         * scripts/testsuite_flags.in (cxxflags): Add LIBICONV bits.
46 2007-01-28  Paolo Carlini  <pcarlini@suse.de>
48         PR libstdc++/30586
49         * config/cpu/ia64/atomic_word.h: Just include <bits/cxxabi_tweaks.h>.
51         * configure.host (atomic_word_dir): Cover alpha, ia64 and powerpc.
53 2007-01-13  John David Anglin  <dave.anglin@nrc-cnrc.gc>
55         * config/cpu/hppa/atomicity.h (__exchange_and_add): Don't use ordered
56         store.
57         (__atomic_add): Likewise.
59 2006-12-12  Benjamin Kosnik  <bkoz@redhat.com>
61         PR libstdc++/28265
62         * crossconfig.m4: Remove GLIBCXX_CHECK_ICONV_SUPPORT call for
63         mingw crosses.
64         * configure: Regenerate.
66 2006-12-12  Benjamin Kosnik  <bkoz@redhat.com>
68         PR libstdc++/26497
69         * crossconfig.m4: Add GLIBCXX_CHECK_LINKER_FEATURES for Solaris.
70         * acinclude.m4 (GLIBCXX_CHECK_LINKER_FEATURES): Set
71         glibcxx_gnu_ld_version only when with GNU ld confirmed. 
72         * configure: Regenerate.
74 2006-12-11  Benjamin Kosnik  <bkoz@redhat.com>
76         PR libstdc++/28125
77         * acinclude.m4 (GLIBCXX_CHECK_ICONV_SUPPORT): Remove link test, ie
78         AC_CHECK_LIB for libiconv. Instead, use bits of AM_ICONV.
79         * configure: Regenerate.
80         * scripts/testsuite_flags.in (cxxflags): Add LIBICONV bits.
82 2006-12-10  Mark Mitchell  <mark@codesourcery.com>
84         PR c++/29732
85         * testsuite/ext/pb_assoc/example/mapping_level_neg.cc: Tweak error
86         markers. 
88 2006-12-08  Jakub Jelinek  <jakub@redhat.com>
90         * testsuite/testsuite_hooks.cc (set_memory_limits): Don't set
91         RLIMIT_AS below 16MB on x86_64-linux.
93 2006-11-18  Joseph Myers  <joseph@codesourcery.com>
95         * config/cpu/powerpc/atomic_word.h (_GLIBCXX_WRITE_MEM_BARRIER):
96         Use plain sync if __NO_LWSYNC__.
98 2006-11-14  Joseph Myers  <joseph@codesourcery.com>
100         * testsuite/26_numerics/complex/13450.cc: Do not test long double
101         in IBM long double case.
103 2006-11-13  Paolo Carlini  <pcarlini@suse.de>
105         * src/debug.cc (_Safe_sequence_base::_M_revalidate_singular): Fix
106         pasto, advance __iter only once per iteration.
108 2006-11-10  Jakub Jelinek  <jakub@redhat.com>
110         * config/locale/gnu/c_locale.cc (__convert_to_v): Prefer
111         strtold_l over __strtold_l if available.
113 2006-10-30  Paolo Carlini  <pcarlini@suse.de>
115         * testsuite/tr1/6_containers/array/capacity/max_size.cc: Actually
116         do test max_size().
118 2006-10-28  Paolo Carlini  <pcarlini@suse.de>
119         
120         * include/tr1/array (array<>::_M_at): New.
121         (array<>::at): Fix off-by-one bug, use the above.
122         * testsuite/tr1/6_containers/array/element_access/
123         at_out_of_range.cc: Adjust.
125         * include/tr1/array (class array<>): Remove non-conforming default
126         for the second parameter.
127         * include/ext/array_allocator.h: Adjust.
129         * include/tr1/array (array<>::front, array<>::back): Do not return
130         a reference to memory not belonging to the array when _Nm == 0.
132 2006-10-16  Jakub Jelinek  <jakub@redhat.com>
134         * include/bits/basic_string.tcc (_Rep::_S_create): Call
135         _M_set_sharable() for backwards compatibility.
137 2006-10-09  Benjamin Kosnik  <bkoz@redhat.com>
139         PR libstdc++/29095
140         * libsupc++/cxxabi.h (__cxa_cdtor_type): Explicit "C" linkage.
141         * config/cpu/arm/cxxabi_tweaks.h: Same.
142         * config/cpu/generic/cxxabi_tweaks.h: Same.
144 2006-10-06  Paolo Carlini  <pcarlini@suse.de>
146         PR libstdc++/29368
147         * include/bits/basic_string.h: Adjust rfind documentation.
148         * include/ext/vstring.h: Likewise.
150 2006-10-06  Paolo Carlini  <pcarlini@suse.de>
152         PR libstdc++/29354
153         * include/bits/sstream.tcc (basic_stringbuf<>::seekpos(pos_type,
154         ios_base::openmode)): Allow for seek to pos_type(off_type(0))
155         when the stream is empty.
156         * testsuite/27_io/basic_stringbuf/seekpos/char/29354.cc: New.
157         * testsuite/27_io/basic_stringbuf/seekpos/wchar_t/29354.cc: New.
159 2006-09-29  Joseph S. Myers  <joseph@codesourcery.com>
161         * acinclude.m4 (enable_symvers): Default to no if unable to link.
162         * configure: Regenerate.
164 2006-09-25  Howard Hinnant  <hhinnant@apple.com>
166         PR libstdc++/29224
167         * include/tr1/functional_iterate.h: Avoid -Wshadow warnings.
169 2006-09-25  Paolo Carlini  <pcarlini@suse.de>
171         PR libstdc++/29179
172         * include/ext/mt_allocator.h (__pool_base): Adjust/extend
173         documentation in comments.
175 2006-08-18  Paolo Carlini  <pcarlini@suse.de>
177         PR libstdc++/28765
178         * include/ext/rc_string_base.h (_M_clear): New.
179         * include/ext/sso_string_base.h (_M_clear): Likewise.
180         * include/ext/vstring.h (clear): Use it.
182 2006-07-03  Paolo Carlini  <pcarlini@suse.de>
184         * include/ext/rc_string_base.h (__rc_string_base::_S_max_size):
185         Adjust, take into account rounding in _M_create.
186         (__rc_string_base::_M_create): Add early _S_max_size check.
188 2006-07-03  Ian Lance Taylor  <ian@airs.com>
189             Paolo Carlini  <pcarlini@suse.de>
191         * include/ext/rc_string_base.h (__rc_string_base::_S_max_size):
192         Increase by a factor of two.
193         * include/ext/sso_string_base.h (__sso_string_base::_S_max_size):
194         Likewise.
196 2006-07-03  Paolo Carlini  <pcarlini@suse.de>
198         * include/ext/sso_string_base.h (__sso_string_base::_M_create): Never
199         allocate a string bigger than _S_max_size.
201 2006-05-26  Paolo Carlini  <pcarlini@suse.de>
203         * include/tr1/hashtable: Minor cosmetic changes.
205 2006-05-26  Paolo Carlini  <pcarlini@suse.de>
207         * include/tr1/hashtable (hashtable<>::m_find): Remove; update callers.
209         * include/tr1/hashtable (map_base<>::operator[]): Move out of line.
211         * include/tr1/hashtable (hashtable<>::m_insert(const value_type&,
212         std::tr1::false_type)): Avoid memory leak risk for new_node.
214 2006-05-26  Paolo Carlini  <pcarlini@suse.de>
216         * include/tr1/hashtable (hashtable<>::m_find, m_insert_bucket): Add.
217         (hashtable<>::find, m_insert(const value_type&, std::tr1::true_type),
218         map_base<>::operator[]): Use the above.
219         * testsuite/performance/23_containers/insert/unordered_map_array.cc:
220         New.    
222         * include/tr1/hashtable (hashtable<>::find_node,
223         insert(const value_type&, ...), erase_node): Rename to m_*, adjust
224         callers.
225         * include/tr1/hashtable: Minor cosmetic changes.
227 2006-05-24  Release Manager
229         * GCC 4.1.1 released.
231 2006-05-14  Peter Doerfler  <gcc@pdoerfler.com>
233         * include/tr1/hashtable (identity<>::operator(),
234         extract1st<>::operator()): Return by const ref.
236 2006-05-11  Paolo Carlini  <pcarlini@suse.de>
237             Peter Doerfler  <gcc@pdoerfler.com>
239         * include/tr1/hashtable (hashtable_iterator<>::hashtable_iterator(),
240         hashtable_const_iterator<>::hashtable_const_iterator(),
241         node_iterator<>::node_iterator(),
242         node_const_iterator<>::node_const_iterator()): Add.
243         (node_iterator<>::node_iterator(hash_node<>*),
244         node_const_iterator<>::node_const_iterator(hash_node<>*)): Tweak,
245         remove default.
246         * testsuite/tr1/6_containers/unordered/hashtable/
247         iterators_default_constructor.c: New.
249 2006-05-09  Paolo Carlini  <pcarlini@suse.de>
251         * include/tr1/type_traits (integral_constant<>::value): Define.
252         * testsuite/tr1/4_metaprogramming/helper_classes/static_definition.cc:
253         New.
255 2006-05-03  Paolo Carlini  <pcarlini@suse.de>
257         * acinclude.m4 (GLIBCXX_ENABLE_WCHAR_T): Always check the
258         presence of wctype.h, for use in GLIBCXX_ENABLE_C99.
259         * configure: Regenerate.
261 2006-05-03  Paolo Carlini  <pcarlini@suse.de>
263         PR libstdc++/6702 (again)
264         * acinclude.m4 (GLIBCXX_ENABLE_C99): Don't check non-C99
265         wchar_t functions...
266         (GLIBCXX_ENABLE_WCHAR_T): ... do that here.
267         * configure.ac: Adjust order of checks.
268         * configure: Regenerate.
270 2006-04-26  Shantonu Sen  <ssen@opendarwin.org>
272         PR libstdc++/26513
273         * scripts/make_exports.pl: Use $ENV{NM_FOR_TARGET}, if present.
275 2006-04-21  Paolo Carlini  <pcarlini@suse.de>
277         PR libstdc++/26424
278         * include/tr1/hashtable (X<>::primes): Extend for 64-bit machines.
279         (X<>::n_primes): Adjust.
280         (prime_rehash_policy::next_bkt, bkt_for_elements, need_rehash): Adjust.
282 2006-04-18  Paolo Carlini  <pcarlini@suse.de>
284         * docs/html/faq/index.html ([5.5]): Adjust to mention function
285         objects and reference_wrapper; minor tweaks.
286         * docs/html/faq/index.txt: Regenerate.
288 2006-04-14  Douglas Gregor  <dgregor@cs.indiana.edu>
290         PR libstdc++/27162
291         * include/bits/stl_algo.h (__search_n(,,,, _BinaryPredicate,
292         std::forward_iterator_tag)): Use __binary_pred, not ==.
294 2006-04-10  Matthias Klose  <doko@debian.org>
296         * testsuite/lib/libstdc++.exp (libstdc++_init): Recognize multilib
297         directory names containing underscores.
299 2006-03-28  Paolo Carlini  <pcarlini@suse.de>
301         PR libstdc++/26777
302         * include/bits/fstream.tcc (basic_filebuf<>::_M_seek): Check
303         the return value of _M_file.seekoff.
304         * testsuite/27_io/basic_filebuf/seekoff/char/26777.cc: New.
306 2006-03-28  Paolo Carlini  <pcarlini@suse.de>
308         * include/ext/vstring.h (operator[]): Allow s[s.size()] in
309         debug mode, but not pedantic mode.
311 2006-03-12  Paolo Carlini  <pcarlini@suse.de>
313         PR target/26532
314         * config/io/c_io_stdio.h (struct __ios_flags): Remove.
315         * include/bits/ios_base.h: Adjust consistently.
316         (ios_base::_S_local_word_size): Change to an anonymous enum.
317         * src/ios.cc: Do not define static const data of __ios_flags,
318         likewise for ios_base::_S_local_word_size.      
319         * include/bits/locale_classes.h (locale::_S_categories_size):
320         Change to an anonymous enum.
321         * src/locale.cc: Don't define.
323 2006-03-06  Paolo Carlini  <pcarlini@suse.de>
325         * include/std/std_sstream.h (basic_stringbuf<>::setbuf): Simply
326         clear the internal _M_string, adjust _M_sync call.
327         * include/bits/sstream.tcc (basic_stringbuf<>::_M_sync): Adjust
328         consistently for calls from setbuf.
330 2006-03-06  Paolo Carlini  <pcarlini@suse.de>
332         * include/std/std_sstream.h (basic_stringbuf<>::_M_sync): Move out
333         of line...
334         * include/bits/sstream.tcc: ... here.
336 2006-03-04  Paolo Carlini  <pcarlini@suse.de>
338         PR libstdc++/26132
339         * include/tr1/hashtable (hashtable<>::rehash): Define.
340         * testsuite/tr1/6_containers/unordered/hashtable/26132.cc: New.
342 2006-03-03  Paolo Carlini  <pcarlini@suse.de>
344         PR libstdc++/26526
345         * config/linker-map.gnu (__copy_streambufs, 64-bit version): Add
346         @GLIBCXX_3.4.8.
347         * configure.ac (libtool_VERSION): To 6:8:0.
348         * testsuite/testsuite_abi.cc (check_version): Add GLIBCXX_3.4.8.
349         * configure: Regenerate.
351 2006-03-01  Paolo Carlini  <pcarlini@suse.de>
353         * include/tr1/array (array<>::swap, assign): Implement.
354         * include/tr1/array (operator==, operator!=, operator<,
355         operator>, operator>=, operator<=, swap, get): Inline.
356         * testsuite/tr1/6_containers/array/requirements/member_swap.cc: New.
357         * testsuite/tr1/6_containers/array/requirements/assign.cc: Likewise.
358         * testsuite/tr1/6_containers/array/specialized_algorithms/swap.cc:
359         Likewise.
361 2006-02-28  Release Manager
363         * GCC 4.1.0 released.
365 2006-02-22  Paolo Carlini  <pcarlini@suse.de>
367         * docs/html/ext/pb_assoc/basic_tree_assoc_cntnr_const_node_iterator.html:
368         Fix links
369         * docs/html/ext/pb_assoc/basic_tree_assoc_cntnr_node_iterator.html:
370         Likewise.
371         * docs/html/ext/pb_assoc/hash_based_containers.html: Likewise.
372         * docs/html/ext/pb_assoc/hash_standard_resize_policy.html: Likewise.
373         * docs/html/ext/pb_assoc/interface.html: Likewise..
374         * docs/html/ext/pb_assoc/list_updates.html: Likewise.
375         * docs/html/ext/pb_assoc/lu_based_containers.html: Likewise.    
376         * docs/html/ext/pb_assoc/resize_policies.html: Likewise.
377         * docs/html/ext/pb_assoc/sample_probe_fn.html: Likewise.
378         * docs/html/ext/pb_assoc/sample_range_hashing.html: Likewise.
379         * docs/html/ext/pb_assoc/sample_ranged_hash_fn.html: Likewise.
380         * docs/html/ext/pb_assoc/sample_ranged_probe_fn.html: Likewise.
381         * docs/html/ext/pb_assoc/sample_resize_policy.html: Likewise.
382         * docs/html/ext/pb_assoc/tree_assoc_cntnr_const_node_iterator.html:
383         Likewise.
384         * docs/html/ext/pb_assoc/tree_assoc_cntnr_node_iterator.html: Likewise.
386 2006-02-07  Paolo Carlini  <pcarlini@suse.de>   
388         * include/tr1/hashtable: Trivial formatting fixes.
390 2006-02-07  Paolo Carlini  <pcarlini@suse.de>
391             Zak Kipling  <zak@transversal.com>
393         PR libstdc++/26127
394         * include/tr1/hashtable (hashtable<>::key_equal): Define.
395         (hashtable<>::bucket, rehash_base<>::max_load_factor): Fix.
396         * testsuite/tr1/6_containers/unordered/hashtable/26127.cc: New.
398 2006-02-01  Paolo Carlini  <pcarlini@suse.de>
400         PR libstdc++/21554
401         * include/tr1/array (array<>::_M_instance): Maximally align.
402         * testsuite/ext/array_allocator/2.cc: Do not xfail for powerpc.
404 2006-01-26  Paolo Carlini  <pcarlini@suse.de>
406         * docs/html/install.html ([Tools you will need beforehand]):
407         Clarify that the de_DE locale is used by configure; clarify
408         that missing localedata leads to skipped tests, not fails.
410 2006-01-26  Paolo Carlini  <pcarlini@suse.de>
412         * docs/html/ext/tr1.html: Add note.
413         * docs/html/faq/index.html: Fix link to tr1.html text; fix
414         formatting.
415         * docs/html/faq/index.txt: Update.
417 2006-01-25  Ed Smith-Rowland  <3dw4rd@verizon.net>
418         
419         * docs/html/faq/index.html ([5.2]): Mention TR1 and point to
420         paragraph [5.5], describing it.
421         ([5.5]): New.
422         * docs/html/ext/tr1.html: New.
424 2006-01-20  Perry Smith  <pedz@easesoftware.net>
426         PR libstdc++/25823
427         PR libstdc++/25824
428         * libsupc++/eh_alloc.cc: Fix return type of memset declaration.
429         * libsupc++/eh_globals.cc: If !_GLIBCXX_HOSTED declare malloc and free.
431 2006-01-19  Benjamin Kosnik  <bkoz@redhat.com>
433         * acinclude.m4: Use -Wl,-z,relro if possible.
434         * configure: Regenerate.
436 2006-01-19  Paolo Carlini  <pcarlini@suse.de>
438         * include/ext/sso_string_base.h (__sso_string_base<>::_M_dataplus):
439         Use _CharT_alloc_type as base class.
440         (_M_get_allocator, _M_swap, _M_create, _M_destroy): Adjust.
441         * include/ext/vstring.h (get_allocator): Tidy.
443         * include/ext/vstring_util.h (struct __alloc_swap<>): Add, swaps
444         allocators, optimized to nothing in case they are empty.
445         (__vstring_utility<>::_Alloc_hider): Clean-up.
446         * include/ext/rc_string_base.h (__rc_string_base<>::_M_swap): Call
447         __alloc_swap<>::_S_do_it.
448         * include/ext/sso_string_base.h (__sso_string_base<>::_M_swap): Same.
450 2006-01-18  Paul Brook  <paul@codesourcery.com>
452         * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Use std::abort.
454 2006-01-18  Paolo Carlini  <pcarlini@suse.de>
456         * include/ext/pb_assoc/detail/value_type_adapter/
457         value_type_adapter.hpp: Include <tr1/type_traits>.
458         * include/ext/pb_assoc/detail/value_type_adapter/
459         it_value_type_traits.hpp (it_value_type_traits_<>::value_type_holder):
460         Use tr1::aligned_storage and tr1::alignment_of.
461         (it_value_type_traits_<>::buf_t): Remove.
462         (it_value_type_traits_<>::make_valid, recast): Adjust.
464 2006-01-12  Jan Beulich  <jbeulich@novell.com>
466         * crossconfig.m4: Add AC_DEFINE-s for HAVE_HYPOT, HAVE_ISINF, and
467         HAVE_ISNAN for *-*-netware*.
468         * configure: Refresh.
470 2006-01-10  Gabriel Dos Reis  <gdr@integrable-solutions.net>
472         * include/bits/valarray_after.h (_Expr<>::operator[](slice)):
473         Don't assume the closure implements general indexing, as a matter
474         of fact, most of them don't.
475         (_Expr<>::operator[](const gslice&)): Likewise.
476         (_Expr<>::operator[](const valarray<bool>&)): Likewise.
477         (_Expr<>::operator[](const valarray<size_t>&)): Likewise.
478         (_Expr<>::shift): Fix thinko.
479         (_Expr<>::cshift): Likewise.
480         (_Expr<>::apply): Likewise.
482 2006-01-10  Benjamin Kosnik  <bkoz@redhat.com>
483             Ulrich Drepper  <drepper@redhat.com>
485         PR libstdc++/23591
486         * scripts/create_testsuite_files: Support for "C" test files.
487         * testsuite/lib/libstdc++.exp: Same.
488         * testsuite/libstdc++-dg/normal.exp: Same.
489         * testsuite/ext/mt_allocator/22309_thread.cc: Update names.
490         * testsuite/19_diagnostics/23591_thread-1.c: New.
491         * testsuite/testsuite_shared.cc: Add tests, rename existing functions.
492         * libsupc++/eh_globals.cc: Make global thread local if possible.
493         * configure.ac: Use GCC_CHECK_TLS.
494         * acinclude.m4: Include tls.m4.
495         * configure: Regenerate.
496         * config.h.in: Same.
498 2006-01-09  Benjamin Kosnik  <bkoz@redhat.com>
500         PR libstdc++/25472
501         * include/c_std/std_cstdlib.h: Fix for freestanding.
503 2006-01-09  Benjamin Kosnik  <bkoz@redhat.com>
505         * src/io-inst.cc: Separate instantiations into...
506         * src/ios-inst.cc: .. this.
507         * src/iostream-inst.cc: ... and this.
508         * src/Makefile.am (sources): Update.
509         * src/Makefile.in: Regenerate.
511 2006-01-08  Paolo Carlini  <pcarlini@suse.de>
512         
513         * testsuite/testsuite_hooks.h (test_tm): New.
514         * testsuite/testsuite_hooks.cc (test_tm)): Define.
515         * testsuite/22_locale/time_put/put/wchar_t/10.cc: Use it.
516         * testsuite/22_locale/time_put/put/wchar_t/1.cc: Likewise.
517         * testsuite/22_locale/time_put/put/wchar_t/2.cc: Likewise.
518         * testsuite/22_locale/time_put/put/wchar_t/3.cc: Likewise.
519         * testsuite/22_locale/time_put/put/wchar_t/4.cc: Likewise.
520         * testsuite/22_locale/time_put/put/wchar_t/5.cc: Likewise.
521         * testsuite/22_locale/time_put/put/wchar_t/6.cc: Likewise.
522         * testsuite/22_locale/time_put/put/wchar_t/7.cc: Likewise.
523         * testsuite/22_locale/time_put/put/wchar_t/8.cc: Likewise.
524         * testsuite/22_locale/time_put/put/wchar_t/9.cc: Likewise.
525         * testsuite/22_locale/time_put/put/wchar_t/17038.cc: Likewise.
526         * testsuite/22_locale/time_put/put/char/10.cc: Likewise.
527         * testsuite/22_locale/time_put/put/char/1.cc: Likewise.
528         * testsuite/22_locale/time_put/put/char/2.cc: Likewise.
529         * testsuite/22_locale/time_put/put/char/3.cc: Likewise.
530         * testsuite/22_locale/time_put/put/char/4.cc: Likewise.
531         * testsuite/22_locale/time_put/put/char/5.cc: Likewise.
532         * testsuite/22_locale/time_put/put/char/6.cc: Likewise.
533         * testsuite/22_locale/time_put/put/char/7.cc: Likewise.
534         * testsuite/22_locale/time_put/put/char/8.cc: Likewise.
535         * testsuite/22_locale/time_put/put/char/9.cc: Likewise.
536         * testsuite/22_locale/time_put/put/char/17038.cc: Likewise.
537         * testsuite/22_locale/time_get/get_year/wchar_t/1.cc: Likewise.
538         * testsuite/22_locale/time_get/get_year/wchar_t/3.cc: Likewise.
539         * testsuite/22_locale/time_get/get_year/char/1.cc: Likewise.
540         * testsuite/22_locale/time_get/get_year/char/3.cc: Likewise.
541         * testsuite/22_locale/time_get/get_monthname/wchar_t/1.cc: Likewise.
542         * testsuite/22_locale/time_get/get_monthname/wchar_t/2.cc: Likewise.
543         * testsuite/22_locale/time_get/get_monthname/char/1.cc: Likewise.
544         * testsuite/22_locale/time_get/get_monthname/char/2.cc: Likewise.
545         * testsuite/22_locale/time_get/get_weekday/wchar_t/1.cc: Likewise.
546         * testsuite/22_locale/time_get/get_weekday/wchar_t/2.cc: Likewise.
547         * testsuite/22_locale/time_get/get_weekday/wchar_t/3.cc: Likewise.
548         * testsuite/22_locale/time_get/get_weekday/char/1.cc: Likewise.
549         * testsuite/22_locale/time_get/get_weekday/char/2.cc: Likewise.
550         * testsuite/22_locale/time_get/get_weekday/char/3.cc: Likewise.
551         * testsuite/22_locale/time_get/get_date/wchar_t/12750.cc: Likewise.
552         * testsuite/22_locale/time_get/get_date/wchar_t/12750.cc: Likewise.
553         * testsuite/22_locale/time_get/get_date/wchar_t/1.cc: Likewise.
554         * testsuite/22_locale/time_get/get_date/wchar_t/2.cc: Likewise.
555         * testsuite/22_locale/time_get/get_date/wchar_t/3.cc: Likewise.
556         * testsuite/22_locale/time_get/get_date/char/12750.cc: Likewise.
557         * testsuite/22_locale/time_get/get_date/char/12750.cc: Likewise.
558         * testsuite/22_locale/time_get/get_date/char/1.cc: Likewise.
559         * testsuite/22_locale/time_get/get_date/char/2.cc: Likewise.
560         * testsuite/22_locale/time_get/get_date/char/3.cc: Likewise.
561         * testsuite/22_locale/time_get/get_time/wchar_t/1.cc: Likewise.
562         * testsuite/22_locale/time_get/get_time/wchar_t/2.cc: Likewise.
563         * testsuite/22_locale/time_get/get_time/wchar_t/3.cc: Likewise.
564         * testsuite/22_locale/time_get/get_time/wchar_t/4.cc: Likewise.
565         * testsuite/22_locale/time_get/get_time/char/1.cc: Likewise.
566         * testsuite/22_locale/time_get/get_time/char/2.cc: Likewise.
567         * testsuite/22_locale/time_get/get_time/char/3.cc: Likewise.
568         * testsuite/22_locale/time_get/get_time/char/4.cc: Likewise.
570 2006-01-03  Paolo Carlini  <pcarlini@suse.de>
572         * testsuite/27_io/basic_stringstream/str/char/1.cc: Initialize vars.
573         * testsuite/27_io/basic_stringstream/str/wchar_t/1.cc: Likewise.
574         * testsuite/27_io/basic_istringstream/str/char/1.cc: Likewise, tidy.
575         * testsuite/27_io/basic_istringstream/str/wchar_t/1.cc: Likewise.
577 2005-12-28  Paolo Carlini  <pcarlini@suse.de>
579         * testsuite/25_algorithms/heap/heap.cc (test01): Always enable
580         complexity checks.
581         * testsuite/18_support/numeric_limits/specialization.cc: Avoid
582         unused parameter warning.
583         * testsuite/18_support/numeric_limits/traps.cc: Acoid unused variable
584         warning.
585         * testsuite/ext/malloc_allocator/deallocate_global.cc: Fix format
586         string.
587         * testsuite/ext/malloc_allocator/deallocate_local.cc: Likewise.
588         * testsuite/ext/array_allocator/2.cc: Remove unused variable.
589         * testsuite/tr1/3_function_objects/mem_fn.cc: Avoid unused variable
590         warnings.
591         * testsuite/tr1/6_containers/unordered/instantiate/set.cc: Just
592         instantiate.
593         * testsuite/tr1/6_containers/unordered/instantiate/map.cc: Likewise.
594         * testsuite/tr1/6_containers/unordered/instantiate/hash.cc: Likewise.
595         * testsuite/tr1/6_containers/unordered/instantiate/multiset.cc:
596         Likewise.
597         * testsuite/tr1/6_containers/unordered/instantiate/multimap.cc:
598         Likewise.
599         * testsuite/tr1/6_containers/array/cons/aggregate_initialization.cc:
600         Avoid unused variable warnings.
601         * testsuite/tr1/6_containers/array/requirements/zero_sized_arrays.cc:
602         Likewise.
603         * testsuite/thread/18185.cc: Likewise.
604         * testsuite/27_io/ios_base/storage/11584.cc: Likewise; avoid comparison
605         between signed and unsigned warning.
606         * testsuite/27_io/types/1.cc: Avoid unused variable warnings.
607         * testsuite/testsuite_allocator.h (check_new): Likewise.
608         (check_deallocate_null): Adjust return type.
609         * testsuite/testsuite_hooks.h (bitmask_operators): Avoid unused
610         variable warnings.
611         * testsuite/21_strings/c_strings/wchar_t/24559.cc: Avoid unused
612         variable warning.
614 2005-12-28  Chris Jefferson  <chris@bubblescope.net>
616         * testsuite/tr1/6_containers/unordered/insert/multiset_range.cc
617         (test01): Add static cast.
618         * testsuite/tr1/6_containers/unordered/insert/set_range.cc
619         (test01): Likewise.
620         * testsuite/testsuite_allocator.h (check_deallocate_null): Return
621         true.
622         * testsuite/testsuite_hooks.h (operator==(NonDefaultConstructible,
623         NonDefaultConstructible), operator<(NonDefaultConstructible,
624         NonDefaultConstrictible)): Avoid unused parameter warning.
626 2005-12-26  Chris Jefferson  <chris@bubblescope.net>
628         * include/ext/mt_allocator.h (__mt_alloc::__mt_alloc): Remove
629         name of unused parameter.
630         * include/bits/stream_iterator.h (istream_iterator::istream_iterator):
631         Construct _M_value.
632         * include/debug/functions.h (__check_valid_range): Add
633         __attribute__((unused)).
634         * include/tr1/hashtable (hashtable::end): Remove name of unused
635         parameter.
636         * include/tr1/tuple_iterate.h (tuple::tuple): Likewise.
637         (tuple::operator=): Add __attribute__((unused)).
638         * include/tr1/functional (Fnv_hash<4>::hash): Add static_cast.
639         (Fnv_hash<8>::hash): Likewise.
641         * testsuite/25_algorithms/iter_swap/20577.cc (swap): Remove name of
642         unused parameter.
643         * testsuite/25_algorithms/unique_copy/check_type.cc (S2::S2,X2::X2):
644         Likewise.
645         * testsuite/22_locale/ctype/narrow/char/19955.cc (do_narrow): Likewise.
646         * testsuite/22_locale/ctype/is/char/9858.cc (Derived::do_is, 
647         Derived::do_scan_is, Derived::do_scan_not, Derived2::do_is,
648         Derived2::do_scan_is, Derived2::do_scan_not): Likewise.
649         * testsuite/22_locale/time_put/put/wchar_t/12439_1.cc (TP::do_put):
650         Likewise.
651         * testsuite/22_locale/time_put/put/wchar_t/12439_3.cc (TP::do_put):
652         Likewise.
653         * testsuite/22_locale/time_put/put/char/12439_1.cc (TP::do_put):
654         Likewise.
655         * testsuite/22_locale/time_put/put/char/12439_3.cc (TP::do_put):
656         Likewise.
657         * testsuite/testsuite_io.h (fail_num_get::do_get, fail_num_put::do_put):
658         Likewise.
659         * testsuite/25_algorithms/find/17441.cc (find): Likewise.
660         * testsuite/23_containers/vector/cons/clear_allocator.cc
661         (clear_alloc::clear_alloc): Likewise.
662         * testsuite/23_containers/vector/bool/clear_allocator.cc
663         (clear_alloc::clear_alloc): Likewise.
664         * testsuite/23_containers/list/cons/clear_allocator.cc
665         (clear_alloc::clear_alloc): Likewise.
666         * testsuite/23_containers/set/modifiers/16728.cc (test_container):
667         Likewise.
668         * testsuite/27_io/basic_ios/cons/char/3.cc (char_traits::to_char_type,
669         to_int_type): Likewise.
670         * testsuite/27_io/basic_filebuf/imbue/12206.cc (codecvt::do_out, do_in,
671         do_unshift, do_length): Likewise.
672         * testsuite/21_strings/basic_string/capacity/1.cc 
673         (operator==(A<T>,A<T>), operator<(A<T>,A<T>),
674         char_traits::to_char_type, char_traits::to_int_type): Likewise
675         * testsuite/testsuite_character.h (ctype::do_is, ctype::do_scan_is,
676         ctype::do_scan_not, do_toupper, do_tolower): Likewise.
677         * testsuite/25_algorithms/replace_copy/check_type.cc (Z::operator=):
678         Add missing return statement.
679         * testsuite/25_algorithms/replace_copy_if/check_type.cc (Z::operator=):
680         Likewise.
681         * testsuite/testsuite_iterators.h (output_iterator_wrapper::operator=,
682         random_access_iterator_wrapper::operator==): Likewise.
683         * testsuite/20_util/functional/binders/1.cc (s::f_int_int_const,
684         s::f_int_int, s::f_int_void_const, s::f_int_void): Likewise.
685         * testsuite/27_io/types/1.cc (test01): Likewise.
686         * testsuite/27_io/basic_ostream/write/wchar_t/1.cc (test01): Likewise.
687         * testsuite/27_io/basic_ostream/write/char/1.cc (test01): Likewise.
688         * testsuite/21_strings/c_strings/wchar_t/24559.cc (main): Likewise.
689         * testsuite/27_io/basic_istream/ignore/wchar_t/2.cc (check): Add static
690         cast.
691         * testsuite/27_io/basic_istream/ignore/char/2.cc (check): Likewise.
692         * testsuite/27_io/basic_istream/getline/wchar_t/5.cc (check): Likewise.
693         * testsuite/27_io/basic_istream/getline/char/5.cc (check): Likewise.
694         * testsuite/testsuite_allocator.h (check_new): Likewise.
695         (check_deallocate_null): Add missing return value.
696         * testsuite/ext/pool_allocator/allocate_chunk.cc (test01):
697         Make variable unsigned.
698         * testsuite/26_numerics/valarray/valarray_subset_assignment.cc
699         (check_array): Likewise.
700         (main): Removed unused variable.
701         * testsuite/27_io/basic_streambuf/in_avail/wchar_t/1.cc (test05):
702         Removed unused variable.
703         * testsuite/27_io/basic_ostream/flush/wchar_t/1.cc (test01): Likewise.
704         * testsuite/27_io/basic_ostream/flush/char/1.cc (test01): Likewise.
705         * testsuite/27_io/basic_ostream/endl/wchar_t/1.cc (test01): Likewise.
706         * testsuite/27_io/basic_ostream/endl/char/1.cc (test01): Likewise.
707         * testsuite/27_io/basic_ostream/ends/wchar_t/1.cc (test01): Likewise.
708         * testsuite/27_io/basic_ostream/ends/char/1.cc (test01): Likewise.
709         * testsuite/tr1/2_general_utilities/memory/shared_ptr/
710         assign/shared_ptr.cc (test01): Correct return type.     
711         * testsuite/27_io/basic_filebuf/close/char/2.cc (test_02):
712         Add default value to close_num.
714 2005-12-16  Paolo Carlini  <pcarlini@suse.de>
716         * testsuite/tr1/4_metaprogramming/type_properties/is_empty/is_empty.cc:
717         Fix class NonEmptyClassTwo.
719 2005-12-15  Paolo Carlini  <pcarlini@suse.de>
721         * include/bits/stl_vector.h (vector<>::_M_get_Tp_allocator): Change
722         to return by ref and add non const version.
723         * include/bits/stl_deque.h (deque<>::_M_get_Tp_allocator): Likewise.
725 2005-12-15  Paolo Carlini  <pcarlini@suse.de>
727         PR libstdc++/25421
728         * config/locale/gnu/c_locale.cc (_S_destroy_c_locale): Check
729         for null argument.
730         * testsuite/22_locale/facet/25421.cc: New.
732 2005-12-10  Paolo Carlini  <pcarlini@suse.de>
734         * include/ext/sso_string_base.h (__sso_string_base<>::_M_compare):
735         Add, specialized for char and wchar_t to immediately return true
736         when a string is compared to itself.
737         * include/ext/rc_string_base.h (__rc_string_base<>::_M_compare):
738         Likewise, for the same _Rep.
739         * include/ext/vstring.h (compare(const string&)): Use it.
741         * include/ext/sso_string_base.h (__sso_string_base<>::_M_destroy):
742         Deallocate passed size + 1.
743         (_M_dispose, _M_reserve): Adjust.
745 2005-12-08  Richard Guenther  <rguenther@suse.de>
747         Backport from mainline
748         2005-11-23  Paolo Carlini  <pcarlini@suse.de>
750         PR libstdc++/24975 (basic_string)
751         * include/bits/basic_string.h (_Rep::_S_empty_rep): Avoid
752         strict-aliasing warnings.
754 2005-12-07  Paolo Carlini  <pcarlini@suse.de>
756         * docs/html/configopts.html ([--enable-libstdcxx-allocator]):
757         Mention the SGI pooled allocator.
759 2005-12-05  Paolo Carlini  <pcarlini@suse.de>
761         * include/ext/sso_string_base.h (__sso_string_base<>::_M_assign):
762         Simplify, avoid pointless reallocations.
764 2005-12-04  Paolo Carlini  <pcarlini@suse.de>
766         * include/ext/sso_string_base.h (__sso_string_base<>::_M_reserve):
767         Simplify.
769 2005-12-04  Paolo Carlini  <pcarlini@suse.de>
771         * include/ext/vstring.h (__versa_string<>::operator+, all
772         versions): Move out of line...
773         * include/ext/vstring.tcc (__versa_string<>::operator+): ...
774         here; consistently use reserve for the benefit of sso_string_base;
775         prefer push_back to single-char append when appropriate.
777         * include/ext/vstring.h (__versa_string<>::push_back): Don't
778         call _M_reserve, _M_mutate instead.
779         (reserve): Just forward to _M_reserve.
780         * include/ext/vstring.tcc (__versa_string<>::_M_reserve): Remove.
781         * include/ext/rc_string_base.h (__rc_string_base<>::_M_reserve): Also
782         do the initial checks (first on length, in case __res == capacity).
783         * include/ext/sso_string_base.h (__sso_string_base<>::_M_reserve:
784         Likewise; don't call _M_set_length unnecessarily.
786 2005-12-04  Paolo Carlini  <pcarlini@suse.de>
788         * include/ext/vstring.h (__versa_string<>::_M_append): New.
789         (append(const __versa_string&), append(const __versa_string&,
790         size_type, size_type), append(const _CharT*, size_type),
791         append(const _CharT*)): Use it.
792         (append(size_type, _CharT)): Delegate to _M_replace_aux.
793         (assign(const __versa_string&, size_type, size_type),
794         assign(const _CharT*), replace(size_type, size_type,
795         const _CharT*, size_type)): Forward to _M_replace.
796         * include/ext/vstring.tcc (__versa_string<>::_M_append):
797         Define, core append functionality.
798         (_M_replace): Simplify, move __s == 0 case to _M_replace_aux.
799         (_M_replace_aux): Reorganize, don't call _M_replace.
801 2005-12-04  Paolo Carlini  <pcarlini@suse.de>
803         * include/ext/vstring.tcc (__versa_string<>::_M_replace):
804         Perform _M_check_length at the beginning and remove it from ...
805         (replace, _M_replace_dispatch, _M_replace_aux, assign): ... here.
806         (assign): Now move inline.
807         (resize): Don't call _M_check_length redundantly, append does.
809 2005-12-04  Paolo Carlini  <pcarlini@suse.de>
811         * include/ext/sso_string_base.h (__sso_string_base<>::_M_get_allocator):
812         Add non const version.
813         * include/ext/rc_string_base.h (__rc_string_base<>::_M_get_allocator):
814         Likewise.
815         
816         * include/ext/sso_string_base.h (__sso_string_base<>::_M_erase): Add.
817         * include/ext/rc_string_base.h (__rc_string_base<>::_M_erase): Likewise.
818         (_M_leak_hard): Use it.
819         * include/ext/vstring.h (__versa_string<>::clear, erase, all
820         versions): Use it.
821         * include/ext/vstring.tcc (__versa_string<>::resize): Likewise.
823         * include/ext/vstring.h (__versa_string<>::_M_replace_safe):
824         Remove.
825         * include/ext/vstring.h (__versa_string<>::_M_replace): New, does
826         the in-place work or delegates to _M_mutate in case of reallocation.
827         * include/ext/vstring.tcc (__versa_string<>::_M_replace_safe):
828         Remove.
829         * include/ext/vstring.tcc (__versa_string<>::_M_replace): Define.
830         (assign, replace, _M_replace_dispatch, _M_replace_aux): Use it.
831         * include/ext/sso_string_base.h (__sso_string_base<>::_M_mutate):
832         Change to manage only reallocations.
833         * include/ext/rc_string_base.h (__rc_string_base<>::_M_mutate):
834         Likewise.
836         * include/ext/vstring.h (__versa_string<>::insert(size_type,
837         const __versa_string&), insert(size_type, const __versa_string&,
838         size_type, size_type), insert(size_type, const _CharT*, size_type),
839         insert(size_type, const _CharT*)): Delegate to replace.
841         * include/ext/vstring.h (__versa_string<>::reserve): Move out of
842         line.
843         * include/ext/vstring.tcc (__versa_string<>::reserve): Do the
844         checks and call _M_reserve.
845         * include/ext/vstring.h (__versa_string<>::append): Call _M_reserve
846         instead of reserve.
847         * include/ext/vstring.tcc (__versa_string<>::append, all versions):
848         Likewise.
849         * include/ext/sso_string_base.h (__sso_string_base<>::_M_reserve):
850         Adjust.
851         * include/ext/rc_string_base.h (__rc_string_base<>::_M_reserve):
852         Likewise.
854 2005-11-22  Paolo Carlini  <pcarlini@suse.de>
856         PR libstdc++/24975
857         * include/bits/stl_set.h (insert(iterator, const value_type&),
858         erase(iterator), erase(iterator, iterator)): Don't break aliasing
859         rules casting to _Rep_iterator&, forward to _Rb_tree facilities.
860         * include/bits/stl_multiset.h (insert(iterator, const value_type&),
861         erase(iterator), erase(iterator, iterator)): Likewise.
862         * include/bits/stl_tree.h (_Rb_tree<>::_M_insert(_Const_Base_ptr,
863         _Const_Base_ptr, const value_type&), insert_unique(const_iterator,
864         const value_type&), insert_equal(const_iterator, const value_type&),
865         erase(const_iterator), erase(const_iterator, const_iterator)): New,
866         _Rb_tree<>::const_iterator counterparts of existing facilities.
868 2005-11-21  Paolo Carlini  <pcarlini@suse.de>
870         * include/ext/sso_string_base.h: Minor formatting and stylistic fixes.
871         (__sso_string_base<>::_M_get_allocator): Return by const ref.
872         * include/ext/rc_string_base.h: Likewise.
873         (__rc_string_base<>::_M_get_allocator): Return by const ref.
874         (__rc_string_base<>::_M_dispose): Take void, use _M_get_allocator.
875         (__rc_string_base<>::_M_grab): Take one alloc, use _M_get_allocator.
876         (__rc_string_base<>::~__rc_string_base,
877         __rc_string_base(const __rc_string_base&), _M_assign, _M_reserve,
878         _M_mutate): Adjust.
879         * include/ext/vstring_util.h: Minor stylistic fixes.
881 2005-11-18  Paolo Carlini  <pcarlini@suse.de>
883         * include/ext/rc_string_base.h (__rc_string_base<>::_Rep): Avoid the
884         anonymous struct extension, adjust everywhere.
886         * include/ext/rc_string_base.h (__rc_string_base<>::_S_empty_rep()):
887         Just use a static member.
888         (__rc_string_base<>::__rc_string_base(), _S_construct): Adjust.
890         * include/ext/rc_string_base.h (__rc_string_base<>::_Rep): Use anonymous
891         union together with _CharT to fix alignment issues, rebind to _Rep and
892         rename _Raw_alloc to _Rep_alloc_type.
893         (__rc_string_base<>::_Rep::_S_create, _M_destroy): Adjust consistently.
895         * include/ext/vstring_util.h (__is_null_p): Move inside struct
896         __vstring_utility as static _S_is_null_pointer.
897         * include/ext/sso_string.h
898         (__sso_string_base<>::_M_construct(std::forward_iterator_tag): Adjust.
899         * include/ext/rc_string_base.h
900         (__rc_string_base<>::_S_construct(std::forward_iterator_tag): Likewise.
902         Implement Option 3 of DR 431 for ext/vstring - both available bases.
903         * include/bits/cpp_type_traits.h (struct __is_empty): Add.
904         * include/ext/vstring.h (__versa_string<>::swap): Delegate to
905         this->_M_swap.
906         * include/ext/vstring.tcc (__versa_string<>::swap): Remove.
907         * include/ext/vstring_util.h (struct __vstring_utility<>): Add struct
908         _Alloc_hider<>, augmented of allocator swapping facility, specialized
909         to nop for empty allocators.
910         * include/ext/rc_string_base.h (__rc_string_base<>::_M_swap): Use it.
911         (__rc_string_base<>::_M_is_leaked, _M_set_sharable): Change to private.
912         * include/ext/sso_string_base.h (__sso_string_base<>::_M_swap):
913         Likewise.
914         (__sso_string_base<>::_M_is_leaked, _M_set_sharable): Remove, unused.   
916         * include/ext/rc_string_base.h (__rc_string_base<>::_M_data(_CharT*):
917         Return void.
918         * include/ext/sso_string_base.h (__sso_string_base<>::_M_data(_CharT*):
919         Likewise.
921 2005-11-17  Geoffrey Keating  <geoffk@apple.com>
923         * config/os/bsd/darwin/ppc-extra.ver: New.
924         * src/Makefile.am (libstdc++-symbol.ver): Move outside conditionals,
925         and make dependent on port symbol files.
926         (libstdc++-symbol.explist): Use the generated .ver file, not
927         the template.
928         * src/compatibility.cc [APPLE] (__eprintf): New.
929         * src/Makefile.in: Regenerate.
930         * configure.host (powerpc*-*-darwin*): Define
931         port_specific_symbol_files.
933 2005-11-16  Nathan Sidwell  <nathan@codesourcery.com>
935         * libsupc++/eh_arm.cc (__cxa_begin_cleanup): Remember a
936         foreign exception too.
937         (__gnu_end_cleanup): Recover a foreign exception too.
938         * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Cope
939         with forced unwinding.
940         * libsupc++/eh_throw.cc (__cxxabiv1::__cxa_rethrow): Use
941         _Unwind_Resume_or_Rethrow for ARM EABI.
943 2005-11-14  Geoffrey Keating  <geoffk@apple.com>
945         * acinclude.m4 (GLIBCXX_CHECK_LINKER_FEATURES): Don't check for
946         shared libgcc for darwin exports.
947         * configure: Regenerate.
949 2005-11-13  Jonathan Wakely  <redi@gcc.gnu.org>
951         * include/tr1/boost_shared_ptr.h (get_deleter):
952         Declare before shared_ptr.
953         (shared_ptr<>): Declare get_deleter as friend.
954         (shared_ptr<>:_M_get_deleter): Private.
956 2005-11-13  Douglas Gregor  <doug.gregor@gmail.com>
958         PR libstdc++/24818
959         * include/tr1/ref_wrap_iterate.h
960         (reference_wrapper::operator()()): Don't dereferene the result of
961         get() before calling it; it's already a reference.
962         * testsuite/tr1/3_function_objects/reference_wrapper/invoke.cc:
963         Test nullary calls to reference_wrappers.
965 2005-11-11  Paolo Carlini  <pcarlini@suse.de>
967         PR libstdc++/24808
968         * include/tr1/type_traits (__is_abstract_helper): Rename to __in_array
969         (with complemented logic).
970         (is_function): Use it, don't use __conv_helper.
971         (is_abstract): Adjust.
972         (__conv_helper): Rename to __is_convertible_simple.
973         (is_convertible): Adjust.
974         * testsuite/testsuite_tr1.h (class IncompleteClass): Add.
975         * testsuite/tr1/4_metaprogramming/composite_type_traits/is_object/
976         24808.cc: New.
977         * testsuite/tr1/4_metaprogramming/primary_type_categories/is_enum/
978         24808.cc: Likewise.
979         * testsuite/tr1/4_metaprogramming/primary_type_categories/is_function/
980         24808.cc: Likewise.
982 2005-11-11  Paolo Carlini  <pcarlini@suse.de>
984         PR libstdc++/24799
985         * include/tr1/functional (hash): Inherit from std::unary_function.
986         * testsuite/tr1/6_containers/unordered/hash/24799.cc: New.
988         PR libstdc++/24805
989         * include/tr1/boost_shared_ptr.h (swap(shared_ptr<>&, shared_ptr<>&),
990         swap(weak_ptr<>&, weak_ptr<>&)): Move inside namespace tr1.
991         * testsuite/tr1/2_general_utilities/memory/shared_ptr/modifiers/
992         24805.cc: New.
994         PR libstdc++/24809
995         * include/tr1/type_traits (__is_polymorhpic_helper): Adjust destructor.
996         * testsuite/tr1/4_metaprogramming/type_properties/is_polymorphic/
997         24809.cc: New.
999 2005-11-10  Paolo Carlini  <pcarlini@suse.de>
1001         * testsuite/tr1/2_general_utilities/memory/
1002         enable_shared_from_this/not_shared.cc: Adjust, remove xfail.
1003         * testsuite/tr1/2_general_utilities/memory/
1004         enable_shared_from_this/not_shared2.cc: Likewise.
1005         * testsuite/tr1/2_general_utilities/memory/
1006         enable_shared_from_this/not_shared3.cc: Likewise.
1008 2005-11-10  Paolo Carlini  <pcarlini@suse.de>
1010         * include/tr1/boost_shared_ptr.h (_Sp_counted_base::release,
1011         weak_release): Protect barriers with __GTHREADS.
1013 2005-11-10  Paolo Carlini  <pcarlini@suse.de>
1014             Peter Dimov  <pdimov@mmltd.net>
1016         * include/tr1/boost_shared_ptr.h (_Sp_counted_base::release):
1017         Optimize by manually inlining weak_release.
1019         * include/tr1/boost_shared_ptr.h (_Sp_counted_base::release,
1020         weak_release): Use explicit memory barriers.
1022 2005-11-09  Benjamin Kosnik  <bkoz@redhat.com>
1023             Paolo Carlini  <pcarlini@suse.de>
1024             Gabriel Dos Reis  <gdr@integrable-solutions.net>
1026         PR libstdc++/22203
1027         * numeric_limits.cc: Split into...
1028         * numeric_limits/specialization.cc: ..this.
1029         * numeric_limits/is_iec559.cc: Same.
1030         * numeric_limits/sign.cc: Same.
1031         * numeric_limits/quiet_NaN.cc: Same.
1032         * numeric_limits/digits10.cc: Same.
1033         * numeric_limits/denorm_min.cc: Same.
1034         * numeric_limits/min_max.cc: Same.
1035         * numeric_limits/epsilon.cc: Same.
1036         * numeric_limits/infinity.cc: Same.
1037         * numeric_limits/traps.cc: New.
1039 2005-11-09  Paolo Carlini  <pcarlini@suse.de>
1041         * include/tr1/boost_shared_ptr.h: Trivial formatting fixes.
1043 2005-11-08  Benjamin Kosnik  <bkoz@redhat.com>
1045         * testsuite/lib/libstdc++.exp (check_v3_target_debug_mode): Use
1046         exe as the executable extension.
1048         * acinclude.m4 (GLIBCXX_ENABLE_ALLOCATOR): Change gnu defaults to
1049         new.
1050         (GLIBCXX_ENABLE_PCH): Adjust message order.
1051         * configure: Regenerate.
1052         
1053         * scripts/testsuite_flags.in (query): Correct print_usagex typo.
1055         * include/bits/functexcept.h: Remove argument names.
1057         * src/mt_allocator.cc: Adjust comment.
1058         
1059 2005-11-06  Paolo Carlini  <pcarlini@suse.de>
1061         PR libstdc++/18174
1062         * include/bits/stl_queue.h (priority_queue): Tweak a bit the
1063         comment describing the container.
1065 2005-11-05  Paolo Carlini  <pcarlini@suse.de>
1067         * configure.host: Add | rs6000 to the cpu_defines_dir switch,
1068         consistently with the try_cpu one.
1070 2005-11-05  Paolo Carlini  <pcarlini@suse.de>
1072         PR libstdc++/22203
1073         * include/bits/c++config: Include cpu_defines.h.
1074         * include/Makefile.am: Add cpu_defines.h to host_headers.
1075         * configure.host: Add cpu_defines_dir.
1076         * configure.ac: Use it.
1077         * config/cpu/powerpc/cpu_defines.h: New.
1078         * config/cpu/generic/cpu_defines.h: Likewise.
1079         * configure: Regenerate.
1080         * Makefile.in: Likewise.
1081         * include/Makefile.in: Likewise.
1082         * libmath/Makefile.in: Likewise.
1083         * libsupc++/Makefile.in: Likewise.
1084         * po/Makefile.in: Likewise.
1085         * src/Makefile.in: Likewise.    
1086         * testsuite/Makefile.in: Likewise.
1088 2005-11-03  Paolo Carlini  <pcarlini@suse.de>
1090         * include/ext/sso_string_base.h (__sso_string_base<>::_M_swap):
1091         Change the various traits_type::copy call to always copy the
1092         entire local buffer; return early and don't do a full swap on
1093         the lengths for two common cases; change two _S_copy to plain
1094         traits_type::copy.
1096 2005-11-02  Thomas Kho  <tkho@ucla.edu>
1098         PR libstdc++/23425
1099         * include/bits/stl_vector.h (vector<>::clear): Open code
1100         in terms of _Destroy.
1102 2005-11-02  Paolo Carlini  <pcarlini@suse.de>
1104         * include/bits/vector.tcc (vector<>::_M_fill_assign): Qualify fill_n.
1106 2005-11-01  Paolo Carlini  <pcarlini@suse.de>
1108         PR libstdc++/24595
1109         * include/tr1/boost_shared_ptr.h (shared_ptr<>::get_deleter):
1110         Move out of shared_ptr.
1111         * testsuite/tr1/2_general_utilities/memory/shared_ptr/misc/24595.cc:
1112         New.
1114 2005-10-30  Paolo Carlini  <pcarlini@suse.de>
1116         PR libstdc++/20213
1117         * include/c_std/std_csignal.h: Adjust comment as per 17.4.1.2/4.
1118         * include/c_std/std_cstdlib.h: Likewise.
1119         * include/c_std/std_cstdio.h: Likewise.
1120         * include/c_std/std_cstdarg.h: Likewise.
1121         * include/c_std/std_cctype.h: Likewise.
1122         * include/c_std/std_cerrno.h: Likewise.
1123         * include/c_std/std_cmath.h: Likewise.
1124         * include/c_std/std_ciso646.h: Likewise.
1125         * include/c_std/std_ctime.h: Likewise.
1126         * include/c_std/std_clocale.h: Likewise.
1127         * include/c_std/std_climits.h: Likewise.
1128         * include/c_std/std_cassert.h: Likewise.
1129         * include/c_std/std_csetjmp.h: Likewise.
1130         * include/c_std/std_cwchar.h: Likewise.
1131         * include/c_std/std_cfloat.h: Likewise.
1132         * include/c_std/std_cstring.h: Likewise.
1133         * include/c_std/std_cstddef.h: Likewise.
1134         * include/c_std/std_cwctype.h: Likewise.
1136 2005-10-29  Carey Evans  <carey.evans@gmail.com>
1138         PR libstdc++/22087
1139         * config/os/djgpp/ctype_inline.h: Fix.
1140         * config/os/djgpp/ctype_noninline.h: Likewise.
1142 2005-10-28  Paolo Carlini  <pcarlini@suse.de>
1144         PR libstdc++/24559
1145         * include/c_std/std_cwchar.h (wcspbrk): Adjust signature.
1146         * testsuite/21_strings/c_strings/wchar_t/24559.cc: New.
1148 2005-10-25  Paolo Carlini  <pcarlini@suse.de>
1150         * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 39.
1151         * docs/html/ext/howto.html: Adjust.
1153 2005-10-21  Paolo Carlini  <pcarlini@suse.de>
1155         PR libstdc++/24450
1156         * config/locale/generic/time_members.h (__timepunct<>::
1157         __timepunct(__c_locale, const char*, size_t)): Avoid leaking
1158         memory if new throws inside _M_initialize_timepunct.
1159         * config/locale/gnu/time_members.h (__timepunct<>::
1160         __timepunct(__c_locale, const char*, size_t)): Likewise.
1161         * config/locale/gnu/message_members.h (messages<>::
1162         messages(__c_locale, const char*, size_t)): Rearrange to
1163         avoid memory leaks.
1165 2005-10-19  Paolo Carlini  <pcarlini@suse.de>
1167         * include/ext/sso_string_base.h (_M_swap): Rewrite.
1169 2005-10-19  Paolo Carlini  <pcarlini@suse.de>
1171         * include/ext/rc_string_base.h (_S_terminal): Remove.
1172         (_M_set_length): Adjust.
1173         (_S_max_size): Change to anonymous enum.
1174         (_M_max_size()): Add, returns the latter.
1175         * include/ext/sso_string_base.h: Likewise.
1176         * include/ext/vstring.h (max_size): Adjust.
1178 2005-10-17  Jonathan Wakely  <redi@gcc.gnu.org>
1180         PR libstdc++/24244
1181         * include/tr1/boost_shared_ptr.h
1182         (_Sp_counted_base::_Sp_counted_base()): When __GTHREAD_MUTEX_INIT
1183         is defined, initialize the mutex.
1185 2005-10-15  Paolo Carlini  <pcarlini@suse.de>
1187         * include/tr1/functional: Add missing #pragma GCC system_header.
1189 2005-10-14  Paolo Carlini  <pcarlini@suse.de>
1191         * include/tr1/hashtable (hashtable::m_erase): Rename to erase_node.
1192         (hashtable::erase(iterator), erase(const_iterator)): Adjust.
1194 2005-10-13  Richard Earnshaw  <richard.earnsahw@arm.com>
1196         PR libstdc++/23926
1197         * acinclude.m4 (port_specific_symbol_files): More symbol versioning
1198         fixes.
1199         * configure: Regenerate.
1201 2005-10-13  Hans-Peter Nilsson  <hp@axis.com>
1203         * testsuite/lib/libstdc++.exp (libstdc++_init): Require
1204         native testing before setting v3-sharedlib to 1.
1206 2005-10-12  Joe Buck  <Joe.Buck@synopsys.com>
1208         * docs/html/27_io/howto.html: Use reference to ifstream when
1209         including iosfwd.
1211 2005-10-11  Andrew Pinski  <pinskia@physics.uc.edu>
1213         PR libstdc++/23926
1214         * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Fix typo in check
1215         for GNU LD.
1216         * configure: Regenerate.
1218 2005-10-10  Benjamin Kosnik  <bkoz@redhat.com>
1220         * configure.ac (libtool_VERSION): To 6:7:0.
1221         * configure: Regenerate.
1222         * testsuite/testsuite_abi.cc (check_version): Add GLIBCXX_3.4.7.
1223         * config/linker-map.gnu: Export locale::_Impl::_M_install_cache.
1225 2005-10-10  Ian Lance Taylor  <ian@airs.com>
1227         PR libstdc++/13583
1228         * include/bits/locale_classes.h (locale::_Impl::_M_install_cache):
1229         Move out of line.
1230         * src/locale.cc: Define here, add mutex.
1232 2005-10-09  Paolo Carlini  <pcarlini@suse.de>
1234         PR libstdc++/24061 (issue 6.19)
1235         * include/tr1/hashtable (struct node_const_iterator, struct
1236         hashtable_const_iterator): New, add const variants to enable separate
1237         overloadings for iterator and const_iterator in unordered_set and
1238         unordered_multiset (as required by issue 6.19).
1239         (class hashtable): Change the mutable_iterators template parameter
1240         to constant_iterators and adjust throughout the logic.
1241         (hashtable::insert(iterator, const value_type&), erase(iterator)
1242         erase(iterator, iterator)): New, as per issue 6.19.
1243         (hashtable::m_erase(node*, node**)): New, called by erase(iterator)
1244         and erase(const_iterator).
1245         (hashtable::Insert_Conv_Type): New, used by insert(iterator,
1246         const value_type&) and insert(const_iterator, const value_type&)
1247         to delegate the work to insert(const value_type&).
1248         * include/tr1/unordered_map (class unordered_map, unordered_multimap):
1249         Adjust typedefs.
1250         * include/tr1/unordered_set (class unordered_set, unordered_multiset):
1251         Likewise.
1252         * testsuite/tr1/6_containers/unordered/erase/24061-map.cc: New.
1253         * testsuite/tr1/6_containers/unordered/erase/24061-multimap.cc: New.
1254         * testsuite/tr1/6_containers/unordered/erase/24061-multiset.cc: New.
1255         * testsuite/tr1/6_containers/unordered/erase/24061-set.cc: New.
1256         * testsuite/tr1/6_containers/unordered/insert/24061-map.cc: New.
1257         * testsuite/tr1/6_containers/unordered/insert/24061-multimap.cc: New.
1258         * testsuite/tr1/6_containers/unordered/insert/24061-multiset.cc: New.
1259         * testsuite/tr1/6_containers/unordered/insert/24061-set.cc: New.
1261 2005-10-08  Kazu Hirata  <kazu@codesourcery.com>
1263         Merge from csl-arm-branch:
1264         2004-12-15  Daniel Jacobowitz  <dan@codesourcery.com>
1265         * libstdc++-v3/config/linker-map.gnu: Add ARM EABI symbols.
1267 2005-10-07  Paolo Carlini  <pcarlini@suse.de>
1269         Fix libstdc++/24196 for ext/vstring/rc by returning to the behavior
1270         of basic_string pre-2003-06-13; remove fully-dynamic-string stuff.
1271         * include/ext/rc_string_base.h (_M_refcopy): Move inside the
1272         _Rep class and remove code in macro.
1273         (__rc_string_base()): Construct with _S_empty_rep()._M_refcopy().
1274         (_M_dispose, _M_leak_hard): Remove code in macro.
1275         (_S_construct): Return _S_empty_rep()._M_refcopy() for empty string.
1276         (_M_grab): Adjust.
1278         * include/ext/rc_string_base.h (_Rep::_M_refdata()): Minor tweak,
1279         mark throw().
1281 2005-10-07  Benjamin Kosnik  <bkoz@redhat.com>
1283         * docs/doxygen/user.cfg.in: Update to Doyxygen 1.4.4.
1285 2005-10-05  Paolo Carlini  <pcarlini@suse.de>
1287         * include/ext/sso_string_base.h (struct __sso_string_local):
1288         Remove, actually POD types cannot have user defined constructors
1289         (being aggregates) and therefore can always be members of unions.
1290         (class __sso_string_base): Adjust consistently.
1292 2005-10-05  Paolo Carlini  <pcarlini@suse.de>
1294         PR libstdc++/24198
1295         * testsuite/27_io/basic_filebuf/3.cc: Use __gnu_test::pod_ushort
1296         instead.
1297         * testsuite/27_io/basic_filebuf/seekoff/10132-2.cc: Likewise.
1298         * testsuite/27_io/basic_filebuf/seekpos/10132-3.cc: Likewise.
1299         * testsuite/27_io/basic_fstream/3.cc: Likewise; run the test.
1300         * testsuite/27_io/basic_ifstream/3.cc: Likewise; run the test.
1301         * testsuite/27_io/basic_ios/3.cc: Likewise.
1302         * testsuite/27_io/basic_iostream/3.cc: Likewise; run the test.
1303         * testsuite/27_io/basic_istream/3.cc: Likewise; run the test.
1304         * testsuite/27_io/basic_istringstream/3.cc: Likewise; run the test.
1305         * testsuite/27_io/basic_ofstream/3.cc: Likewise; run the test.
1306         * testsuite/27_io/basic_ostream/3.cc: Likewise; run the test.
1307         * testsuite/27_io/basic_ostringstream/3.cc: Likewise; run the test.
1308         * testsuite/27_io/basic_streambuf/3.cc: Likewise.
1309         * testsuite/27_io/basic_stringbuf/3.cc: Likewise.
1310         * testsuite/27_io/basic_stringstream/3.cc: Likewise; run the test.
1312 2005-10-05  Paolo Carlini  <pcarlini@suse.de>
1314         PR libstdc++/11729 (DR 280, [Ready])
1315         * include/bits/stl_iterator.h: Add reverse_iterator global
1316         functions with two template parameters (operator==, !=, <,
1317         >, <=, >=, -).
1318         * testsuite/24_iterators/reverse_iterator/11729.cc: New.
1319         * docs/html/ext/howto.html: Add an entry for issue 280.
1321 2005-10-03  Paolo Carlini  <pcarlini@suse.de>
1323         * include/tr1/hashtable
1324         (node_iterator::node_iterator(const node_iterator<,true,>&)): Fix to
1325         take a "false" (i.e., is_const == false) node_iterator.
1326         (hashtable_iterator::hashtable_iterator(const hashtable_iterator<,
1327         true,>&)): Likewise for hashtable_iterator.
1328         (hashtable::const_local_iterator): Fix typedef (is_const == true).
1329         (hashtable::const_iterator): Likewise.
1330         * testsuite/tr1/6_containers/unordered/types/map_iterator.cc: New.
1331         * testsuite/tr1/6_containers/unordered/types/multimap_iterator.cc: New.
1332         * testsuite/tr1/6_containers/unordered/types/set_iterator.cc: New.
1333         * testsuite/tr1/6_containers/unordered/types/multiset_iterator.cc: New.
1335 2005-10-02  Paolo Carlini  <pcarlini@suse.de>
1337         PR libstdc++/24054
1338         * include/tr1/hashtable (erase(const key_type&)): Return the
1339         number of elements erased.
1340         * testsuite/tr1/6_containers/unordered/hashtable/24054.cc: New.
1342 2005-10-01  Kenny Simpson  <theonetruekenny@yahoo.com>
1344         * include/tr1/tuple_iterate.h (tuple::operator=(const std::pair<>&)):
1345         Add missing return.
1347 2005-09-30  Paolo Carlini  <pcarlini@suse.de>
1349         PR libstdc++/24064
1350         * include/tr1/hashtable (hash_code_base<>::store_code): Add.
1351         (hashtable<>::insert(const value_type&)): Use it.
1352         * testsuite/tr1/6_containers/unordered/hashtable/24064.cc: New.
1354 2005-09-30  Paolo Carlini  <pcarlini@suse.de>
1356         PR libstdc++/23953
1357         * include/bits/locale_facets.tcc (__numpunct_cache<>::_M_cache,
1358         __moneypunct_cache<>::_M_cache): Check that grouping()[0] > 0.
1359         (__verify_grouping): Do the last check only if __grouping[__min] > 0.
1360         (__add_grouping<>): End recursion if *__gbeg <= 0.
1361         * testsuite/22_locale/num_get/get/char/23953.cc: New.
1362         * testsuite/22_locale/num_get/get/wchar_t/23953.cc: Likewise.
1363         * testsuite/22_locale/num_put/put/char/23953.cc: Likewise.
1364         * testsuite/22_locale/num_put/put/wchar_t/23953.cc: Likewise.
1366 2005-09-29  Chris Jefferson <chris@bubblescope.net>
1368         PR libstdc++/23978
1369         * include/tr1/tuple_iterate.h (tuple): Add operator=(std::pair).
1370         * testsuite/tr1/6_containers/tuple/creation_functions/23978.cc: New.
1371         
1372         * include/tr1/functional (ref, cref): Make inline.
1373         * include/tr1/tuple_iterate.h (tie): Correct formatting.
1374         (make_tuple): Make inline.
1376 2005-09-25  Benjamin Kosnik  <bkoz@redhat.com>
1377             Eric Botcazou  <ebotcazou@libertysurf.fr>
1379         * include/ext/mt_allocator.h
1380         (__per_type_pool<...true>::_S_initialize_once): Always call
1381         _M_initialize_once.
1382         (__common_pool<...true>::_S_initialize_once): Same.
1384 2005-09-23  Benjamin Kosnik  <bkoz@redhat.com>
1386         * testsuite/ext/mt_allocator/tune-1.cc: Clarify for single-thread.
1387         * testsuite/ext/mt_allocator/tune-2.cc: Same.
1388         * testsuite/ext/mt_allocator/tune-3.cc: Same.
1389         * testsuite/ext/mt_allocator/tune-4.cc: Same.
1391 2005-09-21  Guillaume Melquiond  <guillaume.melquiond@ens-lyon.fr>
1393         PR libstdc++/23956
1394         * include/ext/mt_allocator.h: Remove excess
1395         policy_type::_S_get_pool calls in constructors.
1396         
1397 2005-09-18  Paolo Carlini  <pcarlini@suse.de>
1399         PR libstdc++/23417 (cont)
1400         * include/bits/stl_tree.h (_Rb_tree_impl<true>): Use member
1401         initialization list for -Weffc++.
1403 2005-09-16  Janis Johnson  <janis187@us.ibm.com>
1405         * testsuite/27_io/basic_ostream/inserters_arithmetic/char/23871.cc:
1406         New.
1408 2005-09-15  Benjamin Kosnik  <bkoz@redhat.com>
1410         PR libstdc++/21674
1411         PR libstdc++/22205
1412         PR libstdc++/22222
1413         * include/bits/c++config: Set _GLIBCXX_STD regardless of __GXX_WEAK__.
1414         Add in check for __NO_INLINE__ for warning.
1415         * testsuite/lib/dg-options.exp (dg-require-debug-mode): New.
1416         * testsuite/lib/libstdc++.exp (check_v3_target_debug_mode): New.
1417         * testsuite/21_strings/basic_string/element_access/char/21674.cc:
1418         Use it.
1419         * testsuite/21_strings/basic_string/element_access/wchar_t/21674.cc:
1420         Use it.
1422 2005-09-15  Paolo Carlini  <pcarlini@suse.de>
1424         PR libstdc++/23875
1425         * include/std/std_ostream.h (operator<<(short), operator<<(unsigned
1426         short), operator<<(int), operator<<(unsigned int), operator<<(float)):
1427         Don't call operator<<(long), operator<<(unsigned long), or
1428         operator<<(double), do the work mandated by the resolution of DR117...
1429         * include/bits/ostream.tcc (operator<<(short), operator<<(unsigned
1430         short), operator<<(int), operator<<(unsigned int), operator<<(float)):
1431         ... here.
1432         * testsuite/27_io/basic_ostream/inserters_arithmetic/pod/23875.cc: New.
1434 2005-09-15  Mark Mitchell  <mark@codesourcery.com>
1436         * testsuite/testsuite_character.h: Specialize character<>
1437         templates in __gnu_cxx, not in __gnu_test.
1439 2005-09-13  Jonathan Wakely  <cow@compsoc.man.ac.uk>
1440             Benjamin Kosnik  <bkoz@redhat.com>
1442         PR libstdc++/21674
1443         * testsuite/21_strings/basic_string/element_access/char/21674.cc: New.
1444         * testsuite/21_strings/basic_string/element_access/wchar_t/21674.cc: 
1445         New.
1447 2005-09-12  David Edelsohn  <dje@gcc.gnu.org>
1449         PR libstdc++/22554
1450         PR libstdc++/23734
1451         * include/Makefile.am (stamp-assoc): Install each subgroup
1452         of headers separately.
1453         * include/Makefile.in: Regenerate.
1454         
1455 2005-09-12  Benjamin Kosnik  <bkoz@redhat.com>
1457         * testsuite/ext/mt_allocator/22309_thread.cc: Remove dg-do run.
1458         * testsuite/lib/libstdc++.exp ( proc libstdc++_init): Enable
1459         shared only for linux.
1460         
1461 2005-09-12  Benjamin Kosnik  <bkoz@redhat.com>
1462             David Edelsohn  <dje@gcc.gnu.org>
1464         PR libstdc++/22554
1465         PR libstdc++/23734
1466         * include/Makefile.am (assoc_headers): Break into five sub values.
1467         (install-headers): Use them.
1468         (stamp-assoc): Same.
1469         * include/Makefile.in: Regenerate.
1470         
1471 2005-09-12  Chris Jefferson  <chris@bubblescope.net>
1473         * include/bits/stl_algo.h (search_n): Delegate to specializations.
1474         (search_n(,,,,binary_predicate)): Likewise.
1475         (__search_n(forward_iterator_tag)): Original search_n, tweak to
1476         remove an unnecessary comparison.
1477         (__search_n(,,,,binary_predicate,forward_iterator_tag)): Likewise.
1479 2005-09-12  Jim Xochellis  <jimxoch@yahoo.gr>
1481         * include/bits/stl_algo.h
1482         (__search_n(std::random_access_iterator_tag)): Add specialization.
1483         (__search_n(,,,,binary_predicate,std::random_access_iterator_tag)):
1484         Likewise.
1486 2005-09-12  Benjamin Kosnik  <bkoz@redhat.com>
1488         PR libstdc++/23417
1489         * include/bits/stl_list.h (_List_impl): Use member initialization
1490         list for -Weffc++.
1491         * include/bits/stl_tree.h (_Rb_tree_impl): Same.
1493 2005-09-12  Paolo Carlini  <pcarlini@suse.de>
1495         PR libstdc++/23767
1496         * include/bits/stl_iterator.h (__normal_iterator::
1497         __normal_iterator<>(const __normal_iterator<_Iter, _Container>&)):
1498         Enable only when _Iter is equal to _Container::pointer.
1499         * testsuite/21_strings/basic_string/types/23767.cc: New.
1500         * testsuite/23_containers/vector/types/23767.cc: Likewise.
1501         * testsuite/ext/vstring/types/23767.cc: Likewise.
1503 2005-09-11  Benjamin Kosnik  <bkoz@redhat.com>
1505         PR libstdc++/19265
1506         PR libstdc++/22309
1507         * include/ext/mt_allocator.h
1508         (__gnu_cxx::__create_handler): Remove.
1509         (__pool<true>::_M_destroy_thread_key): Compatibility only.
1510         (__pool<true>::_M_initialize(__destroy): Same.
1511         (__pool<true>::_M_initialize): New.
1512         (__pool<true>::_M_initialize_once): Nothing fancy.
1513         (__pool<true>::_M_once): Remove.
1514         (__common_pool): New.
1515         (__common_pool_base): New.      
1516         (__per_type_pool): New.
1517         (__per_type_pool_base): New.
1518         * src/mt_allocator.cc: Same.
1519         * config/linker-map.gnu (__pool<true>::_M_initialize()): Add.
1520         
1521 2005-09-11  Jakub Jelinek  <jakub@redhat.com>
1523         PR libstdc++/19265
1524         PR libstdc++/22309
1525         * src/mt_allocator.cc (__gnu_internal::freelist_mutex): Make static.
1526         (__gnu_internal::__freelist): New type.
1527         (__gnu_internal::freelist): New variable.
1528         (__gnu_internal::_M_destroy_thread_key): New function.
1529         (__gnu_cxx::__pool<true>::_M_destroy): Don't delete
1530         _M_thread_freelist_initial.
1531         (__gnu_cxx::__pool<true>::_M_initialize): Make argument nameless.
1532         Don't use _M_thread_freelist and _M_thread_freelist_initial
1533         __pool<true> fields, instead use __gnu_internal::freelist fields, call
1534         gthread_key_create just once.  Use
1535         __gnu_internal::_M_destroy_thread_key as key destructor.        
1536         (__gnu_cxx::__pool<true>::_M_get_thread_id): Store size_t id
1537         rather than _Thread_record* in the thread specific value.  Don't
1538         use _M_thread_freelist __pool<true> field, instead use
1539         __gnu_internal::freelist fields.
1540         (__gnu_cxx::__pool<true>::_M_destroy_thread_key): Do nothing.
1542 2005-09-11  Benjamin Kosnik  <bkoz@redhat.com>
1543             Jakub Jelinek  <jakub@redhat.com>
1545         PR libstdc++/19265
1546         PR libstdc++/22309      
1547         * testsuite/testsuite_shared.cc: New.
1548         * testsuite/lib/dg-options.exp (dg-require-sharedlib): New.
1549         * testsuite/lib/libstdc++.exp (libstdc++_init): Look for shared
1550         library, and set v3-sharedlib based on this.
1551         (check_v3_target_sharedlib): New.
1552         (proc v3-build_support): Build shared objects.
1553         * testsuite/ext/mt_allocator/22309_thread.cc: New, use above.
1555 2005-09-11  Paolo Carlini  <pcarlini@suse.de>
1557         PR libstdc++/23781
1558         * include/bits/stl_list.h (_List_iterator<>::
1559         _List_iterator(_List_node_base*), _List_const_iterator<>::
1560         _List_const_iterator(const _List_node_base*)): Make explicit.
1561         (list<>::begin(), list<>::end(), list<>::pop_back()): Adjust
1562         consistently.
1563         * include/bits/list.tcc (list<>::insert, list<>::erase): Adjust
1564         consistently.
1565         * include/bits/stl_tree.h (_Rb_tree_iterator<>::
1566         _Rb_tree_iterator(_Link_type), _Rb_tree_const_iterator<>::
1567         _Rb_tree_const_iterator(_Link_type)): Make explicit.
1568         (_Rb_tree<>::begin(), _Rb_tree<>::end()): Adjust consistently.
1569         * include/ext/slist (_Slist_iterator<>::_Slist_iterator(_Node*)):
1570         Make explicit.
1571         (slist<>::erase(iterator), slist<>::erase(iterator, iterator)):
1572         Adjust consistently.
1573         * include/tr1/hashtable (hashtable_iterator<>::
1574         hashtable_iterator(hash_node<>**)): Make explicit.
1575         * testsuite/23_containers/list/23781.cc: New.
1576         * testsuite/23_containers/map/23781.cc: Likewise.
1577         * testsuite/23_containers/multimap/23781.cc: Likewise.
1578         * testsuite/23_containers/multiset/23781.cc: Likewise.
1579         * testsuite/23_containers/set/23781.cc: Likewise.
1580         * testsuite/ext/slist/23781.cc: Likewise.
1581         * testsuite/tr1/6_containers/unordered/23781.cc: Likewise.
1582         * testsuite/23_containers/map/operators/1_neg.cc: Adjust dg-error
1583         line numbers.
1584         * testsuite/23_containers/set/operators/1_neg.cc: Likewise.
1586         * include/tr1/array (array<>::begin(), array<>::end()): Adjust
1587         stylistically for consistency with the other containers.
1589 2005-09-10  Joseph S. Myers  <joseph@codesourcery.com>
1591         * testsuite/26_numerics/cmath/c99_classification_macros_c.cc:
1592         XFAIL on *-*-linux*, not *-*-linux-gnu.
1594 2005-09-09  Benjamin Kosnik  <bkoz@redhat.com>
1595             Jakub Jelinek  <jakub@redhat.com>
1597         * src/debug.cc (iterator_base_mutex): Make static for internal
1598         linkage.
1599         * src/locale_init.cc (locale_mutex): Same.
1600         * src/mt_allocator.cc (freelist_mutex): Same.
1601         * src/pool_allocator.cc (palloc_init_mutex): Same.
1602         
1603 2005-09-02  Paolo Carlini  <pcarlini@suse.de>
1605         * testsuite/tr1/6_containers/unordered/hashtable/23465.cc:
1606         Reduce maximum size and lf.
1608 2005-09-01  Benjamin Kosnik  <bkoz@redhat.com>
1610         * include/c_std/std_cmath.h: Declare C99 functions and helper
1611         functions as inline.
1613 2005-09-01  Benjamin Kosnik  <bkoz@redhat.com>
1614             Paolo Carlini  <pcarlini@suse.de>
1615         
1616         * testsuite/lib/libstdc++.exp (check_v3_target_cxa_atexit): Fix
1617         comment.
1619 2005-09-01  Benjamin Kosnik  <bkoz@redhat.com>
1621         * testsuite/lib/libstdc++.exp (check_v3_target_cxa_atexit): New.
1622         * testsuite/lib/dg-options.exp (dg-require-cxa-atexit): New.
1623         * testsuite/ext/mt_allocator/deallocate_local-6.cc: New.
1624         * testsuite/ext/mt_allocator/deallocate_local-8.cc: New.
1625         * testsuite/ext/mt_allocator/deallocate_local_thread-5.cc: New.
1626         * testsuite/ext/mt_allocator/deallocate_local_thread-7.cc: New.
1627         * docs/html/ext/mt_allocator.html: Add link to examples.
1628         * testsuite/testsuite_allocator.h: Tweak.
1629         * testsuite/ext/mt_allocator/deallocate_global-2.cc: Same.
1630         * testsuite/ext/mt_allocator/deallocate_global-4.cc: Same.
1631         * testsuite/ext/mt_allocator/deallocate_global_thread-1.cc: Same.
1632         * testsuite/ext/mt_allocator/deallocate_global_thread-3.cc: Same.
1633         * testsuite/ext/mt_allocator/deallocate_local-2.cc: Same.
1634         * testsuite/ext/mt_allocator/deallocate_local-4.cc: Same.
1635         * testsuite/ext/mt_allocator/deallocate_local_thread-1.cc: Same.
1636         * testsuite/ext/mt_allocator/deallocate_local_thread-3.cc: Same.
1637         * testsuite/ext/new_allocator/deallocate_global.cc: Same.
1638         * testsuite/ext/new_allocator/deallocate_local.cc: Same.
1640 2005-08-31  Paolo Carlini  <pcarlini@suse.de>
1641             Kaspar Fischer <fischerk@inf.ethz.ch> 
1643         PR libstdc++/23632
1644         * include/bits/stl_bvector.h (_Bit_iterator::operator[],
1645         _Bit_const_iterator::operator[]): Const-ify.
1646         * testsuite/23_containers/vector/bool/23632.cc: New.
1648 2005-08-30  Paolo Carlini  <pcarlini@suse.de>
1650         PR libstdc++/23578 (cont)
1651         * include/bits/stl_bvector.h (class vector<bool>): Add
1652         a dummy data() to avoid problems in debug-mode.
1654 2005-08-30  Paolo Carlini  <pcarlini@suse.de>
1656         * testsuite/ext/hash_map/23528.cc: New.
1658 2005-08-29  Paolo Carlini  <pcarlini@suse.de>
1660         * include/bits/stl_map.h (class map): ... and a missing @a.
1662 2005-08-29  Paolo Carlini  <pcarlini@suse.de>
1664         * include/bits/stl_map.h (class map): Add missing % in comment.
1666 2005-08-29  Paolo Carlini  <pcarlini@suse.de>
1668         PR libstdc++/23578 (DR 464 [Ready])
1669         * include/bits/stl_map.h (class map): Add at(const key_type&)
1670         member functions.
1671         * include/bits/stl_vector.h (class vector): Add data() member
1672         functions.
1673         * include/debug/map.h (class map): Adjust consistently.
1674         * include/debug/vector (class vector): Likewise.
1675         * testsuite/23_containers/map/element_access/1.cc: New.
1676         * testsuite/23_containers/vector/data_access/1.cc: Likewise.
1677         * docs/html/ext/howto.html: Add an entry for DR 464.
1679 2005-08-26  Benjamin Kosnik  <bkoz@redhat.com>
1681         PR libstdc++/20534 (contd)
1682         * src/debug.cc (__gnu_debug): Remove __fancy_abort definition.
1683         Remove cstdio and cstdlib includes.
1684         * include/debug/debug.h: Define inline here. Remove
1685         _GLIBCXX_DEBUG_ABORT.
1686         * include/debug/macros.h: Remove __fancy_abort declaration,
1687         _GLIBXX_DEBUG_ABORT definition.
1688         * config/linker-map.gnu: Remove export.
1689         
1690 2005-08-26  Benjamin Kosnik  <bkoz@redhat.com>
1692         * scripts/check_compile (UNIQUE_ID): New. Use to name output files.
1694 2005-08-26  Paolo Carlini  <pcarlini@suse.de>
1696         PR libstdc++/23081
1697         * include/tr1/array: Implement members back(), front(), data(),
1698         and the tuple interface; tidy.
1699         * testsuite/tr1/6_containers/array/element_access/back.cc: New.
1700         * testsuite/tr1/6_containers/array/element_access/data.cc: Likewise.
1701         * testsuite/tr1/6_containers/array/element_access/front.cc: Likewise.
1702         * testsuite/tr1/6_containers/array/tuple_interface/get.cc: Likewise.
1703         * testsuite/tr1/6_containers/array/tuple_interface/tuple_element.cc:
1704         Likewise.
1705         * testsuite/tr1/6_containers/array/tuple_interface/tuple_size.cc:
1706         Likewise.
1708 2005-08-25  Paolo Carlini  <pcarlini@suse.de>
1710         * include/tr1/hashtable: Use __throw_exception_again,
1711         not naked throw, in the catch clauses.
1713 2005-08-24  Lawrence Lim  <llim@redhat.com>
1714             Jakub Jelinek  <jakub@redhat.com>
1715             Benjamin Kosnik  <bkoz@redhat.com>
1717         PR libstdc++/23550
1718         * testsuite/21_strings/char_traits/requirements/char/1.cc
1719         (test01): Simplify counting.
1720         * testsuite/21_strings/char_traits/requirements/wchar_t/1.cc
1721         (test02): Same.
1723 2005-08-24  Paolo Carlini  <pcarlini@suse.de>
1724             Chris Jefferson  <chris@bubblescope.net>
1726         PR libstdc++/23465
1727         * include/tr1/hashtable (hash_code_base::m_swap): Use
1728         std::swap.
1729         (hashtable<>::hashtable(const hashtable&)): Use copy_code;
1730         fix m_allocate_node call.
1731         * testsuite/tr1/6_containers/unordered/hashtable/23465.cc: New.
1733 2005-08-23  Kelley Cook  <kcook@gcc.gnu.org>
1735         PR libstdc++/23462
1736         * testsuite/data/sgetn.txt: Revert to previous FSF address.
1738 2005-08-23  Thomas Kho  <tkho@ucla.edu>
1740         PR libstdc++/23358
1741         * include/bits/stl_construct.h (_Destroy(_ForwardIterator,
1742         _ForwardIterator, allocator<_Tp>)): Removed unused template parameter.
1744 2005-08-22  Geoffrey Keating  <geoffk@apple.com>
1746         * testsuite/23_containers/vector/resize/1.cc: XFAIL on darwin8.
1747         * testsuite/27_io/ios_base/storage/2.cc: Likewise.
1749 2005-08-19  J"orn Rennecke <joern.rennecke@st.com>
1751         * config/cpu/sh/atomicity.h: Replace broken generic code with current
1752         copy of generic/atomicity.h .
1754 2005-08-17  Kelley Cook  <kcook@gcc.gnu.org>
1756         * All files: Update FSF address.
1758 2005-08-09  Andrew Pinski  <pinskia@physics.uc.edu>
1760         * testsuite/26_numerics/cmath/c99_classification_macros_c.cc:
1761         xfail on *-*-darwin*.
1763 2005-08-03  Geoffrey Keating  <geoffk@apple.com>
1765         * configure.ac: Don't use GCC_NO_EXECUTABLES or clear
1766         GLIBCXX_IS_NATIVE on Darwin crosses.
1767         * acinclude.m4 (GLIBCXX_CONFIGURE_TESTSUITE): Don't skip configuring
1768         the testsuite just because there's no symbol versioning.
1769         * configure: Regenerate.
1771         * acinclude.m4 (GLIBCXX_CHECK_SETRLIMIT_ancilliary): Print
1772         status messages.
1773         (GLIBCXX_CHECK_S_ISREG_OR_S_IFREG): Likewise.
1774         (GLIBCXX_CHECK_POLL): Likewise.
1775         (GLIBCXX_CHECK_WRITEV): Likewise.
1776         (GLIBCXX_CHECK_INT64_T): Likewise.
1777         (GLIBCXX_CHECK_LFS): Likewise.
1778         * configure: Regenerate.
1780 2005-07-30  Andrew Pinski  <pinskia@physics.uc.edu>
1782         * scripts/make_exports.pl: Pass --strip-underscores to c++filt.
1784 2005-07-29  H.J. Lu  <hongjiu.lu@intel.com>
1786         PR libstdc++/22284
1787         * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Revert
1788         the change to info.ttype_base.
1789         
1790 2005-07-28  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
1792         * include/std/std_valarray.h: Fix grammar in comments.
1794 2005-07-25  Geoffrey Keating  <geoffk@apple.com>
1796         * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Handle darwin-export,
1797         and make it the default for Darwin.
1798         * scripts/make-exports.pl: New.
1799         * src/Makefile.am: Update for changes to GLIBCXX_ENABLE_SYMVERS.
1800         Handle darwin-export.
1801         * configure: Regenerate.
1802         * include/Makefile.in: Regenerate.
1803         * libmath/Makefile.in: Regenerate.
1804         * libsupc++/Makefile.in: Regenerate.
1805         * po/Makefile.in: Regenerate.
1806         * src/Makefile.in: Regenerate.
1807         * testsuite/Makefile.in: Regenerate.
1809 2005-07-25  Dave Odell  <evilalias@hotmail.com>
1811         PR libstdc++/23053
1812         * include/tr1/hashtable (hashtable<>::find_node): Const-ify.
1813         * testsuite/tr1/6_containers/unordered/hashtable/23053.cc: New.
1815 2005-07-25  Paolo Carlini  <pcarlini@suse.de>
1817         PR libstdc++/22515
1818         * include/bits/basic_string.h: Declare the specialization
1819         operator>>(basic_istream<char>&, basic_string<char>&).
1820         * include/std/std_istream.h: Declate the specialization
1821         operator>>(basic_istream<char>&, char*).
1822         * include/std/std_streambuf.h (basic_streambuf): Add friend
1823         declarations for the above.
1824         * src/istream.cc: Define the above.
1825         * testsuite/27_io/basic_istream/extractors_character/char/4.cc: New.
1826         * testsuite/27_io/basic_istream/extractors_character/wchar_t/4.cc:
1827         Likewise.
1828         * testsuite/performance/27_io/ifstream_extract_chars.cc: Likewise.
1830 2005-07-20  Paolo Carlini  <pcarlini@suse.de>
1832         * include/bits/streambuf.tcc (xsgetn, xsputn): Use streamsize
1833         instead of size_t.
1834         * src/streambuf.cc (__copy_streambufs): Likewise.
1836 2005-07-18  Paolo Carlini  <pcarlini@suse.de>
1838         * config/locale/gnu/ctype_members.cc (do_is(mask, wchar_t)):
1839         Speed-up for the common case of mask == ctype_base::space;
1840         otherwise, exit the loop earlier if the mask is one of the
1841         elementary ones.
1843 2005-07-14  Paolo Carlini  <pcarlini@suse.de>
1845         PR libstdc++/21193 (float, double, long double)
1846         * include/tr1/functional (hash<float>, hash<double>):
1847         Reimplement exploiting the Fnv_hash<>::hash helper.
1848         (hash<long double>): Reimplement using frexp (in this
1849         case, due to random padding bits, the former approach
1850         is not generally viable).
1852 2005-07-13  Paolo Carlini  <pcarlini@suse.de>
1854         PR libstdc++/21193 (string & wstring)
1855         * include/tr1/functional (hash<string>, hash<wstring>):
1856         Reimplement using the FNV hash.
1858         * include/tr1/functional: Trivial formatting fixes.
1860 2005-07-11  Paolo Carlini  <pcarlini@suse.de>
1862         * include/bits/ostream.tcc (basic_ostream<>::operator<<(long),
1863         basic_ostream<>::operator<<(long long)): Don't deal with oct
1864         and hex and casts to unsigned here...
1865         * include/bits/locale_facets.tcc (__int_to_char(_CharT*, long,
1866         const _CharT*, ios_base::fmtflags), __int_to_char(_CharT*, long
1867         long, const _CharT*, ios_base::fmtflags)): ... do that here,
1868         instead, as per Table 57.
1869         (num_put<>::_M_insert_int): Tidy treatment of numeric base and
1870         sign.
1871         * include/std/std_ostream.h (operator<<(short), operator<<(int)):
1872         Adjust logic, as per the letter of the resolution of DR117 [WP].
1873         * testsuite/22_locale/num_put/put/char/10.cc: New.
1874         * testsuite/22_locale/num_put/put/wchar_t/10.cc: Likewise.
1875         * testsuite/27_io/basic_ostream/inserters_arithmetic/char/7.cc:
1876         Likewise.
1877         * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/7.cc:
1878         Likewise.
1880 2005-07-07  David Edelsohn  <edelsohn@gnu.org>
1882         * testsuite/ext/pb_assoc/example/tree_order_statistics_join.cc:
1883         Change map_t to map_type.
1885 2005-07-05  Paolo Carlini  <pcarlini@suse.de>
1887         Add class __versa_string, a versatile "basic_string-type" class:
1888         an additional, non-standard, template parameter allows to specify
1889         the preferred base class. Two are provided: __rc_string_base,
1890         which implements a behavior very similar to our standard string,
1891         and __sso_string_base, not reference-counted and optimized for
1892         short strings. 
1893         * include/ext/rc_string_base.h: New.
1894         * include/ext/sso_string_base.h: Likewise.
1895         * include/ext/vstring.h: Likewise.
1896         * include/ext/vstring.tcc: Likewise.
1897         * include/ext/vstring_fwd.h: Likewise.
1898         * include/ext/vstring_util.h: Likewise.
1899         * include/Makefile.am: Add.
1900         * include/Makefile.in: Regenerate.
1901         * testsuite/ext/vstring/explicit_instantiation/1.cc: New.
1902         * testsuite/ext/vstring/explicit_instantiation/2.cc: Likewise.
1903         * testsuite/ext/vstring/explicit_instantiation/char/1.cc: Likewise.
1904         * testsuite/ext/vstring/explicit_instantiation/wchar_t/1.cc: Likewise.
1906         * Makefile.in: Regenerate with autotools 1.9.3 (to date, the version
1907         officially used by v3).
1908         * aclocal.m4: Likewise.
1909         * libmath/Makefile.in: Likewise.
1910         * libsupc++/Makefile.in: Likewise.
1911         * po/Makefile.in: Likewise.
1912         * src/Makefile.in: Likewise.
1913         * testsuite/Makefile.in: Likewise.
1915 2005-07-01  Paolo Carlini  <pcarlini@suse.de>
1917         Port from libstdcxx_so_7-branch:
1918         2004-10-28  Chris Jefferson  <chris@bubblescope.net>
1920         PR libstdc++/17441
1921         * include/bit/stl_algo.h (find(,,,input_iterator_tag),
1922         find(,,,random_access_interator_tag),
1923         find_if(,,,input_iterator_tag),
1924         find_if(,,,random_access_iterator_tag)): Uglify function name.
1925         (find, find_if): Use new uglified specialisation names.
1926         * testsuite/25_algorithms/find/17441.cc: New.
1928 2005-06-30  Ulrich Weigand  <uweigand@de.ibm.com>
1930         * include/ext/pb_assoc/detail/hash_fn/mask_based_range_hashing.hpp
1931         (PB_ASSOC_CLASS_C_DEC::s_highest_bit_1): Cast constant 1 to target
1932         type before shifting.
1934 2005-06-29  Paolo Carlini  <pcarlini@suse.de>
1935             
1936         PR libstdc++/21244 (cont^2)
1937         * include/ext/bitmap_allocator.h: Convert everywhere
1938         bits_per_block to size_t.       
1940 2005-06-29  Jonathan Wakely  <redi@gcc.gnu.org>
1942         * include/bits/basic_string.h, include/bits/locale_facets.h: Fix
1943         Doxygen comments that use wrong parameter and function names.
1945 2005-06-29  Paolo Carlini  <pcarlini@suse.de>
1947         * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 37.
1948         * docs/html/ext/howto.html: Adjust.
1950 2005-06-29  Paolo Carlini  <pcarlini@suse.de>
1952         PR libstdc++/22131
1953         * include/bits/locale_facets.tcc (num_get<>::_M_extract_int,
1954         num_get<>::_M_extract_float, money_get<>::_M_extract):
1955         Adjust to assign the result also when digit grouping is
1956         wrong (but the grammar is correct), as per 22.2.2.1.2, p11-12
1957         (NB: consistently for money_get too).
1958         * config/locale/generic/c_locale.cc (__convert_to_v): Do
1959         not check ios_base::failbit at the outset.
1960         * config/locale/gnu/c_locale.cc: Likewise.
1961         * testsuite/22_locale/money_get/get/char/22131.cc: New.
1962         * testsuite/22_locale/money_get/get/wchar_t/22131.cc: Likewise.
1963         * testsuite/22_locale/num_get/get/char/22131.cc: Likewise.
1964         * testsuite/22_locale/num_get/get/wchar_t/22131.cc: Likewise.
1965         * testsuite/22_locale/num_get/get/char/12.cc: Adjust.
1966         * testsuite/22_locale/num_get/get/wchar_t/12.cc: Likewise.
1967         * testsuite/27_io/basic_istream/extractors_arithmetic/char/07.cc:
1968         Likewise.
1969         * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/07.cc:
1970         Likewise.
1972 2005-06-28  Paul Brook  <paul@codesourcery.com>
1974         * acinclude.m4 (GLIBCXX_ENABLE_SJLJ_EXCEPTIONS): Check for
1975         __cxa_end_cleanup.
1976         * libsupc++/Makefile.am (sources): Add eh_call.c and eh_arm.c.
1977         * libsupc++/eh_arm.cc: New file.
1978         * libsupc++/eh_call.cc: New file.
1979         * libsupc++/eh_catch.cc (__cxa_get_exception_ptr): Use
1980         __gxx_caught_object.
1981         (__cxa_begin_catch): Ditto. Use __is_gxx_exception_class. Call
1982         _Unwind_Complete when using the ARM EABI.
1983         (__cxa_end_catch): Use __is_gxx_exception_class.
1984         * libsupc++/eh_personality.cc: Define NO_SIZE_OF_ENCODED_VALUE when
1985         using the ARM EABI.
1986         (save_caught_exception, restore_caught_exception): New functions.
1987         (_throw_typet): New typedef.
1988         (get_ttype_entry, get_adjusted_ptr, check_exception_spec): Add ARM
1989         EABI implementations.
1990         (PERSONALITY_FUNCTION): Use new functions.  Addd support for ARM EABI
1991         unwinding libary.
1992         (__cxa_unexpected): Disable when using the ARM EABI.
1993         * libsupc++/eh_throw.cc (__cxa_throw): Use __GXX_INIT_EXCEPTION_CLASS.
1994         (__cxa_rethrow): Use __is_gxx_exception_class.  Call
1995         _Unwind_RaiseException when using the ARM EABI.
1996         * libsupc++/unwind-cxx.h (struct __cxa_exception): Add fields for ARM
1997         EABI semantics.
1998         (struct __cxa_eh_globals): Ditto.
1999         (__cxa_call_terminate): Add prototype.
2000         (__cxa_type_match, __cxa_begin_cleanup, __cxa_end_cleanup): Add
2001         prototypes.
2002         (__get_exception_header_from_obj, __get_exception_header_from_ue):
2003         Move earlier in file.
2004         (__is_gxx_exception_class, __GXX_INIT_EXCEPTION_CLASS,
2005         __gxx_caught_object): New functions.
2006         * aclocal.m4: Regenerate.
2007         * configure: Regenerate.
2008         * Makefile.in: Regenerate.
2009         * include/Makefile.in: Regenerate.
2010         * libmath/Makefile.in: Regenerate.
2011         * libsupc++/Makefile.in: Regenerate.
2012         * po/Makefile.in: Regenerate.
2013         * src/Makefie.in: Regenerate.
2014         * testsuite/makefile.in: Regenerate.
2016 2005-06-27  Paolo Carlini  <pcarlini@suse.de>
2018         PR libstdc++/22102
2019         * include/bits/stl_tree.h (insert_unique(iterator, const _Val&),
2020         insert_equal((iterator, const _Val&)): Reimplement to check both
2021         before and after, as per the algorithm "ignore hint if wrong" of
2022         ISO paper N1780.
2024 2005-06-27  Benjamin Kosnik  <bkoz@redhat.com>
2025             Ami Tavory  <pbassoc@gmail.com>
2026         
2027         * docs/html/documentation.html: Add link for policy based
2028         associative containers docs.
2029         * docs/html/ext/pb_assoc/Std_hash_set_impl.jpg: New.
2030         * docs/html/ext/pb_assoc/acks.html: New.
2031         * docs/html/ext/pb_assoc/balls_and_bins.jpg: New.
2032         * docs/html/ext/pb_assoc/basic_assoc_cntnr.html: New.
2033         * docs/html/ext/pb_assoc/basic_assoc_cntnr_compound_data.html: New.
2034         * docs/html/ext/pb_assoc/basic_assoc_cntnr_no_data.html: New.
2035         * docs/html/ext/pb_assoc/basic_ds_tag.html: New.
2036         * docs/html/ext/pb_assoc/basic_hash_assoc_cntnr.html: New.
2037         * docs/html/ext/pb_assoc/basic_hash_ds_tag.html: New.
2038         * docs/html/ext/pb_assoc/basic_invalidation_guarantee.html: New.
2039         * docs/html/ext/pb_assoc/basic_ms_tag.html: New.
2040         * docs/html/ext/pb_assoc/basic_tree_assoc_cntnr.html: New.
2041         * docs/html/ext/pb_assoc/
2042           basic_tree_assoc_cntnr_const_node_iterator.html: New.
2043         * docs/html/ext/pb_assoc/
2044           basic_tree_assoc_cntnr_node_iterator.html: New.
2045         * docs/html/ext/pb_assoc/basic_tree_assoc_cntnr_rev.html: New.
2046         * docs/html/ext/pb_assoc/basic_tree_assoc_cntnr_rev_it.html: New.
2047         * docs/html/ext/pb_assoc/basic_tree_ds_tag.html: New.
2048         * docs/html/ext/pb_assoc/cc_hash_assoc_cntnr.html: New.
2049         * docs/html/ext/pb_assoc/cc_hash_ds_tag.html: New.
2050         * docs/html/ext/pb_assoc/
2051           cc_hash_max_collision_check_resize_trigger.html: New.
2052         * docs/html/ext/pb_assoc/cc_hash_policy_cd.jpg: New.
2053         * docs/html/ext/pb_assoc/cd.jpg: New.
2054         * docs/html/ext/pb_assoc/component_requirements.html: New.
2055         * docs/html/ext/pb_assoc/compound_data_enabled_ms_tag.html: New.
2056         * docs/html/ext/pb_assoc/compound_data_type.html: New.
2057         * docs/html/ext/pb_assoc/compound_ds_tag.html: New.
2058         * docs/html/ext/pb_assoc/concepts.html: New.
2059         * docs/html/ext/pb_assoc/contact.html: New.
2060         * docs/html/ext/pb_assoc/counter_update_metadata.html: New.
2061         * docs/html/ext/pb_assoc/counter_update_policy.html: New.
2062         * docs/html/ext/pb_assoc/data_enabled_ms_tag.html: New.
2063         * docs/html/ext/pb_assoc/design.html: New.
2064         * docs/html/ext/pb_assoc/different_underlying_dss.jpg: New.
2065         * docs/html/ext/pb_assoc/direct_mask_range_hashing.html: New.
2066         * docs/html/ext/pb_assoc/direct_mod_range_hashing.html: New.
2067         * docs/html/ext/pb_assoc/disclaimer.html: New.
2068         * docs/html/ext/pb_assoc/ds_gen.html: New.
2069         * docs/html/ext/pb_assoc/ds_tag_cd.jpg: New.
2070         * docs/html/ext/pb_assoc/ds_traits.html: New.
2071         * docs/html/ext/pb_assoc/embedded_lists_1.jpg: New.
2072         * docs/html/ext/pb_assoc/embedded_lists_2.jpg: New.
2073         * docs/html/ext/pb_assoc/examples.html: New.
2074         * docs/html/ext/pb_assoc/exception_guarantees_specifics.html: New.
2075         * docs/html/ext/pb_assoc/find_invalidation_guarantee.html: New.
2076         * docs/html/ext/pb_assoc/find_iterators_cd.jpg: New.
2077         * docs/html/ext/pb_assoc/find_iterators_range_ops_1.jpg: New.
2078         * docs/html/ext/pb_assoc/find_iterators_range_ops_2.jpg: New.
2079         * docs/html/ext/pb_assoc/generics.html: New.
2080         * docs/html/ext/pb_assoc/gp_hash_assoc_cntnr.html: New.
2081         * docs/html/ext/pb_assoc/gp_hash_ds_tag.html: New.
2082         * docs/html/ext/pb_assoc/gp_hash_policy_cd.jpg: New.
2083         * docs/html/ext/pb_assoc/hash_and_probe_general.html: New.
2084         * docs/html/ext/pb_assoc/hash_based_containers.html: New.
2085         * docs/html/ext/pb_assoc/hash_cd.jpg: New.
2086         * docs/html/ext/pb_assoc/hash_exponential_size_policy.html: New.
2087         * docs/html/ext/pb_assoc/hash_fn.html: New.
2088         * docs/html/ext/pb_assoc/hash_load_check_resize_trigger.html: New.
2089         * docs/html/ext/pb_assoc/hash_policies.html: New.
2090         * docs/html/ext/pb_assoc/hash_policy_cd.jpg: New.
2091         * docs/html/ext/pb_assoc/hash_prime_size_policy.html: New.
2092         * docs/html/ext/pb_assoc/hash_range_hashing_seq_diagram.jpg: New.
2093         * docs/html/ext/pb_assoc/hash_range_hashing_seq_diagram2.jpg: New.
2094         * docs/html/ext/pb_assoc/hash_ranged_hash_range_hashing_fns.jpg: New.
2095         * docs/html/ext/pb_assoc/hash_standard_resize_policy.html: New.
2096         * docs/html/ext/pb_assoc/home.html: New.
2097         * docs/html/ext/pb_assoc/index.html: New.
2098         * docs/html/ext/pb_assoc/insert_resize_sequence_diagram1.jpg: New.
2099         * docs/html/ext/pb_assoc/insert_resize_sequence_diagram2.jpg: New.
2100         * docs/html/ext/pb_assoc/insert_resize_sequence_diagram3.jpg: New.
2101         * docs/html/ext/pb_assoc/insert_type_methods.html: New.
2102         * docs/html/ext/pb_assoc/interface.html: New.
2103         * docs/html/ext/pb_assoc/interval_node_invariants.jpg: New.
2104         * docs/html/ext/pb_assoc/introduction.html: New.
2105         * docs/html/ext/pb_assoc/invalidation_guarantee_cd.jpg: New.
2106         * docs/html/ext/pb_assoc/invalidation_guarantee_erase.jpg: New.
2107         * docs/html/ext/pb_assoc/lib_download.html: New.
2108         * docs/html/ext/pb_assoc/linear_probe_fn.html: New.
2109         * docs/html/ext/pb_assoc/list_updates.html: New.
2110         * docs/html/ext/pb_assoc/lu_assoc_cntnr.html: New.
2111         * docs/html/ext/pb_assoc/lu_based_containers.html: New.
2112         * docs/html/ext/pb_assoc/lu_cd.jpg: New.
2113         * docs/html/ext/pb_assoc/lu_ds_tag.html: New.
2114         * docs/html/ext/pb_assoc/lu_ops.jpg: New.
2115         * docs/html/ext/pb_assoc/mmap_value_utils.html: New.
2116         * docs/html/ext/pb_assoc/motivation.html: New.
2117         * docs/html/ext/pb_assoc/move_to_front_update_metadata.html: New.
2118         * docs/html/ext/pb_assoc/move_to_front_update_policy.html: New.
2119         * docs/html/ext/pb_assoc/ms_cd.jpg: New.
2120         * docs/html/ext/pb_assoc/ms_gen.html: New.
2121         * docs/html/ext/pb_assoc/ms_tag_cd.jpg: New.
2122         * docs/html/ext/pb_assoc/ms_traits.html: New.
2123         * docs/html/ext/pb_assoc/node_invariant_invalidations.jpg: New.
2124         * docs/html/ext/pb_assoc/node_invariants.html: New.
2125         * docs/html/ext/pb_assoc/node_invariants.jpg: New.
2126         * docs/html/ext/pb_assoc/non_unique_mapping.html: New.
2127         * docs/html/ext/pb_assoc/non_unique_mapping_containers.jpg: New.
2128         * docs/html/ext/pb_assoc/null_data_type.html: New.
2129         * docs/html/ext/pb_assoc/null_hash_fn.html: New.
2130         * docs/html/ext/pb_assoc/null_probe_fn.html: New.
2131         * docs/html/ext/pb_assoc/order_by_key.html: New.
2132         * docs/html/ext/pb_assoc/order_statistics_key.html: New.
2133         * docs/html/ext/pb_assoc/order_statistics_key_cmp.html: New.
2134         * docs/html/ext/pb_assoc/order_statistics_node_updator.html: New.
2135         * docs/html/ext/pb_assoc/ov_tree_ds_tag.html: New.
2136         * docs/html/ext/pb_assoc/overview.html: New.
2137         * docs/html/ext/pb_assoc/pb_assoc_ex.html: New.
2138         * docs/html/ext/pb_assoc/portability.html: New.
2139         * docs/html/ext/pb_assoc/quadratic_probe_fn.html: New.
2140         * docs/html/ext/pb_assoc/range_invalidation_guarantee.html: New.
2141         * docs/html/ext/pb_assoc/rank_node_invariants.jpg: New.
2142         * docs/html/ext/pb_assoc/rationale_null_node_updator.jpg: New.
2143         * docs/html/ext/pb_assoc/rb_tree_ds_tag.html: New.
2144         * docs/html/ext/pb_assoc/reference_iterator.jpg: New.
2145         * docs/html/ext/pb_assoc/references.html: New.
2146         * docs/html/ext/pb_assoc/regression_tests.html: New.
2147         * docs/html/ext/pb_assoc/resize_general.html: New.
2148         * docs/html/ext/pb_assoc/resize_policies.html: New.
2149         * docs/html/ext/pb_assoc/resize_policy_cd.jpg: New.
2150         * docs/html/ext/pb_assoc/restoring_node_invariants.jpg: New.
2151         * docs/html/ext/pb_assoc/sample_node_updator.hpp: New.
2152         * docs/html/ext/pb_assoc/sample_probe_fn.hpp: New.
2153         * docs/html/ext/pb_assoc/sample_probe_fn.html: New.
2154         * docs/html/ext/pb_assoc/sample_range_hashing.hpp: New.
2155         * docs/html/ext/pb_assoc/sample_range_hashing.html: New.
2156         * docs/html/ext/pb_assoc/sample_ranged_hash_fn.hpp: New.
2157         * docs/html/ext/pb_assoc/sample_ranged_hash_fn.html: New.
2158         * docs/html/ext/pb_assoc/sample_ranged_probe_fn.hpp: New.
2159         * docs/html/ext/pb_assoc/sample_ranged_probe_fn.html: New.
2160         * docs/html/ext/pb_assoc/sample_resize_policy.hpp: New.
2161         * docs/html/ext/pb_assoc/sample_resize_policy.html: New.
2162         * docs/html/ext/pb_assoc/sample_resize_trigger.hpp: New.
2163         * docs/html/ext/pb_assoc/sample_size_policy.hpp: New.
2164         * docs/html/ext/pb_assoc/sample_update_policy.hpp: New.
2165         * docs/html/ext/pb_assoc/size_policies_general.html: New.
2166         * docs/html/ext/pb_assoc/splay_tree_ds_tag.html: New.
2167         * docs/html/ext/pb_assoc/timing_tests.html: New.
2168         * docs/html/ext/pb_assoc/toc.html: New.
2169         * docs/html/ext/pb_assoc/tree_assoc_cntnr.html: New.
2170         * docs/html/ext/pb_assoc/
2171           tree_assoc_cntnr_const_node_iterator.html: New.
2172         * docs/html/ext/pb_assoc/tree_assoc_cntnr_node_iterator.html: New.
2173         * docs/html/ext/pb_assoc/tree_based_containers.html: New.
2174         * docs/html/ext/pb_assoc/tree_cd.jpg: New.
2175         * docs/html/ext/pb_assoc/trigger_policies_general.html: New.
2176         * docs/html/ext/pb_assoc/tutorial.html: New.
2177         * docs/html/ext/pb_assoc/update_seq_diagram.jpg: New.
2178         * include/Makefile.am: Add assoc_srcdir, assoc_builddir, assoc_subdir,
2179         assoc_headers.
2180         * include/Makefile.in: Regenerate.
2181         * include/ext/typelist.h: New.
2182         * include/ext/pb_assoc/assoc_cntnr.hpp: New.
2183         * include/ext/pb_assoc/data_type.hpp: New.
2184         * include/ext/pb_assoc/ds_trait.hpp: New.
2185         * include/ext/pb_assoc/exception.hpp: New.
2186         * include/ext/pb_assoc/hash_policy.hpp: New.
2187         * include/ext/pb_assoc/lu_policy.hpp: New.
2188         * include/ext/pb_assoc/ms_trait.hpp: New.
2189         * include/ext/pb_assoc/tree_policy.hpp: New.
2190         * include/ext/pb_assoc/trivial_iterator_def.hpp: New.
2191         * include/ext/pb_assoc/detail/assoc_cntnr_base.hpp: New.
2192         * include/ext/pb_assoc/detail/cond_dealtor.hpp: New.
2193         * include/ext/pb_assoc/detail/constructors_destructor_fn_imps.hpp: New.
2194         * include/ext/pb_assoc/detail/ds_trait_imp.hpp: New.
2195         * include/ext/pb_assoc/detail/hash_types_traits.hpp: New.
2196         * include/ext/pb_assoc/detail/map_debug_base.hpp: New.
2197         * include/ext/pb_assoc/detail/mapping_level_imp.hpp: New.
2198         * include/ext/pb_assoc/detail/ms_category_imp.hpp: New.
2199         * include/ext/pb_assoc/detail/ms_trait_imp.hpp: New.
2200         * include/ext/pb_assoc/detail/order_statistics_imp.hpp: New.
2201         * include/ext/pb_assoc/detail/standard_policies.hpp: New.
2202         * include/ext/pb_assoc/detail/standard_sizes.hpp: New.
2203         * include/ext/pb_assoc/detail/type_utils.hpp: New.
2204         * include/ext/pb_assoc/detail/typelist.hpp: New.
2205         * include/ext/pb_assoc/detail/types_traits.hpp: New.
2206         * include/ext/pb_assoc/detail/basic_assoc_cntnr/
2207           constructor_destructor_fn_imps.hpp: New.
2208         * include/ext/pb_assoc/detail/basic_assoc_cntnr/
2209           constructors_destructor_fn_imps.hpp: New.
2210         * include/ext/pb_assoc/detail/basic_assoc_cntnr/d_extract_key.hpp: New.
2211         * include/ext/pb_assoc/detail/basic_assoc_cntnr/
2212           d_find_fn_imps.hpp: New.
2213         * include/ext/pb_assoc/detail/basic_assoc_cntnr/
2214           d_insert_fn_imps.hpp: New.
2215         * include/ext/pb_assoc/detail/basic_assoc_cntnr/erase_fn_imps.hpp: New.
2216         * include/ext/pb_assoc/detail/basic_assoc_cntnr/extract_key.hpp: New.
2217         * include/ext/pb_assoc/detail/basic_assoc_cntnr/info_fn_imps.hpp: New.
2218         * include/ext/pb_assoc/detail/basic_assoc_cntnr/
2219           insert_fn_imps.hpp: New.
2220         * include/ext/pb_assoc/detail/basic_assoc_cntnr/
2221           iterators_fn_imps.hpp: New.
2222         * include/ext/pb_assoc/detail/basic_hash_assoc_cntnr/
2223           constructor_destructor_fn_imps.hpp: New.
2224         * include/ext/pb_assoc/detail/basic_hash_assoc_cntnr/
2225           constructors_destructor_fn_imps.hpp: New.
2226         * include/ext/pb_assoc/detail/basic_hash_assoc_cntnr/
2227           resize_fn_imps.hpp: New.
2228         * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
2229           constructor_destructor_fn_imps.hpp: New.
2230         * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
2231           constructors_destructor_fn_imps.hpp: New.
2232         * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
2233           erase_fn_imps.hpp: New.
2234         * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
2235           node_iteration_fn_imps.hpp: New.
2236         * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
2237           policy_access_fn_imps.hpp: New.
2238         * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
2239           r_erase_fn_imps.hpp: New.
2240         * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
2241           r_range_iteration_fn_imps.hpp: New.
2242         * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
2243           range_iteration_fn_imps.hpp: New.     
2244         * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
2245           split_join_fn_imps.hpp: New.
2246         * include/ext/pb_assoc/detail/bin_search_tree_/
2247           bin_search_tree_.hpp: New.
2248         * include/ext/pb_assoc/detail/bin_search_tree_/
2249           cond_dtor_entry_dealtor.hpp: New.
2250         * include/ext/pb_assoc/detail/bin_search_tree_/
2251           cond_key_dtor_entry_dealtor.hpp: New.
2252         * include/ext/pb_assoc/detail/bin_search_tree_/
2253           constructors_destructor_fn_imps.hpp: New.
2254         * include/ext/pb_assoc/detail/bin_search_tree_/debug_fn_imps.hpp: New.
2255         * include/ext/pb_assoc/detail/bin_search_tree_/erase_fn_imps.hpp: New.
2256         * include/ext/pb_assoc/detail/bin_search_tree_/find_fn_imps.hpp: New.
2257         * include/ext/pb_assoc/detail/bin_search_tree_/find_iterators.hpp: New.
2258         * include/ext/pb_assoc/detail/bin_search_tree_/info_fn_imps.hpp: New.
2259         * include/ext/pb_assoc/detail/bin_search_tree_/insert_fn_imps.hpp: New.
2260         * include/ext/pb_assoc/detail/bin_search_tree_/
2261           iterators_fn_imps.hpp: New.
2262         * include/ext/pb_assoc/detail/bin_search_tree_/node_iterators.hpp: New.
2263         * include/ext/pb_assoc/detail/bin_search_tree_/
2264           r_erase_fn_imps.hpp: New.
2265         * include/ext/pb_assoc/detail/bin_search_tree_/rotate_fn_imps.hpp: New.
2266         * include/ext/pb_assoc/detail/bin_search_tree_/
2267           split_join_fn_imps.hpp: New.
2268         * include/ext/pb_assoc/detail/cc_hash_assoc_cntnr/
2269           constructor_destructor_fn_imps.hpp: New.
2270         * include/ext/pb_assoc/detail/cc_ht_map_/cc_ht_map_.hpp: New.
2271         * include/ext/pb_assoc/detail/cc_ht_map_/cmp_fn_imps.hpp: New.
2272         * include/ext/pb_assoc/detail/cc_ht_map_/
2273           cond_key_dtor_entry_dealtor.hpp: New.
2274         * include/ext/pb_assoc/detail/cc_ht_map_/
2275           constructor_destructor_fn_imps.hpp: New.
2276         * include/ext/pb_assoc/detail/cc_ht_map_/
2277           constructor_destructor_no_store_hash_fn_imps.hpp: New.
2278         * include/ext/pb_assoc/detail/cc_ht_map_/
2279           constructor_destructor_store_hash_fn_imps.hpp: New.
2280         * include/ext/pb_assoc/detail/cc_ht_map_/debug_fn_imps.hpp: New.
2281         * include/ext/pb_assoc/detail/cc_ht_map_/
2282           debug_no_store_hash_fn_imps.hpp: New.
2283         * include/ext/pb_assoc/detail/cc_ht_map_/
2284           debug_store_hash_fn_imps.hpp: New.
2285         * include/ext/pb_assoc/detail/cc_ht_map_/entry_list_fn_imps.hpp: New.
2286         * include/ext/pb_assoc/detail/cc_ht_map_/erase_fn_imps.hpp: New.
2287         * include/ext/pb_assoc/detail/cc_ht_map_/
2288           erase_no_store_hash_fn_imps.hpp: New.
2289         * include/ext/pb_assoc/detail/cc_ht_map_/
2290           erase_store_hash_fn_imps.hpp: New.
2291         * include/ext/pb_assoc/detail/cc_ht_map_/
2292           find_fn_imps.hpp: New.
2293         * include/ext/pb_assoc/detail/cc_ht_map_/
2294           find_no_store_hash_fn_imps.hpp: New.
2295         * include/ext/pb_assoc/detail/cc_ht_map_/
2296           find_store_hash_fn_imps.hpp: New.
2297         * include/ext/pb_assoc/detail/cc_ht_map_/info_fn_imps.hpp: New.
2298         * include/ext/pb_assoc/detail/cc_ht_map_/insert_fn_imps.hpp: New.
2299         * include/ext/pb_assoc/detail/cc_ht_map_/
2300           insert_no_store_hash_fn_imps.hpp: New.
2301         * include/ext/pb_assoc/detail/cc_ht_map_/
2302           insert_store_hash_fn_imps.hpp: New.
2303         * include/ext/pb_assoc/detail/cc_ht_map_/iterators_fn_imps.hpp: New.
2304         * include/ext/pb_assoc/detail/cc_ht_map_/
2305           policy_access_fn_imps.hpp: New.
2306         * include/ext/pb_assoc/detail/cc_ht_map_/resize_fn_imps.hpp: New.
2307         * include/ext/pb_assoc/detail/cc_ht_map_/
2308           resize_no_store_hash_fn_imps.hpp: New.
2309         * include/ext/pb_assoc/detail/cc_ht_map_/
2310           resize_store_hash_fn_imps.hpp: New.
2311         * include/ext/pb_assoc/detail/cc_ht_map_/size_fn_imps.hpp: New.
2312         * include/ext/pb_assoc/detail/cc_ht_map_/standard_policies.hpp: New.
2313         * include/ext/pb_assoc/detail/eq_fn/eq_by_less.hpp: New.
2314         * include/ext/pb_assoc/detail/eq_fn/hash_eq_fn.hpp: New.
2315         * include/ext/pb_assoc/detail/gp_hash_assoc_cntnr/
2316           constructor_destructor_fn_imps.hpp: New.
2317         * include/ext/pb_assoc/detail/gp_ht_map_/
2318           constructor_destructor_fn_imps.hpp: New.
2319         * include/ext/pb_assoc/detail/gp_ht_map_/
2320           constructor_destructor_no_store_hash_fn_imps.hpp: New.
2321         * include/ext/pb_assoc/detail/gp_ht_map_/
2322           constructor_destructor_store_hash_fn_imps.hpp: New.
2323         * include/ext/pb_assoc/detail/gp_ht_map_/debug_fn_imps.hpp: New.
2324         * include/ext/pb_assoc/detail/gp_ht_map_/
2325           debug_no_store_hash_fn_imps.hpp: New.
2326         * include/ext/pb_assoc/detail/gp_ht_map_/
2327           debug_store_hash_fn_imps.hpp: New.
2328         * include/ext/pb_assoc/detail/gp_ht_map_/erase_fn_imps.hpp: New.
2329         * include/ext/pb_assoc/detail/gp_ht_map_/
2330           erase_no_store_hash_fn_imps.hpp: New.
2331         * include/ext/pb_assoc/detail/gp_ht_map_/
2332           erase_store_hash_fn_imps.hpp: New.
2333         * include/ext/pb_assoc/detail/gp_ht_map_/find_fn_imps.hpp: New.
2334         * include/ext/pb_assoc/detail/gp_ht_map_/
2335           find_no_store_hash_fn_imps.hpp: New.
2336         * include/ext/pb_assoc/detail/gp_ht_map_/
2337           find_store_hash_fn_imps.hpp: New.
2338         * include/ext/pb_assoc/detail/gp_ht_map_/gp_ht_map_.hpp: New.
2339         * include/ext/pb_assoc/detail/gp_ht_map_/info_fn_imps.hpp: New.
2340         * include/ext/pb_assoc/detail/gp_ht_map_/insert_fn_imps.hpp: New.
2341         * include/ext/pb_assoc/detail/gp_ht_map_/
2342           insert_no_store_hash_fn_imps.hpp: New.
2343         * include/ext/pb_assoc/detail/gp_ht_map_/
2344           insert_store_hash_fn_imps.hpp: New.
2345         * include/ext/pb_assoc/detail/gp_ht_map_/iterator_fn_imps.hpp: New.
2346         * include/ext/pb_assoc/detail/gp_ht_map_/
2347           policy_access_fn_imps.hpp: New.
2348         * include/ext/pb_assoc/detail/gp_ht_map_/resize_fn_imps.hpp: New.
2349         * include/ext/pb_assoc/detail/gp_ht_map_/
2350           resize_no_store_hash_fn_imps.hpp: New.
2351         * include/ext/pb_assoc/detail/gp_ht_map_/
2352           resize_store_hash_fn_imps.hpp: New.
2353         * include/ext/pb_assoc/detail/hash_fn/
2354           direct_mask_range_hashing_imp.hpp: New.
2355         * include/ext/pb_assoc/detail/hash_fn/
2356           direct_mod_range_hashing_imp.hpp: New.
2357         * include/ext/pb_assoc/detail/hash_fn/linear_probe_fn_imp.hpp: New.
2358         * include/ext/pb_assoc/detail/hash_fn/
2359           mask_based_range_hashing.hpp: New.
2360         * include/ext/pb_assoc/detail/hash_fn/mod_based_range_hashing.hpp: New.
2361         * include/ext/pb_assoc/detail/hash_fn/probe_fn_base.hpp: New.
2362         * include/ext/pb_assoc/detail/hash_fn/quadratic_probe_fn_imp.hpp: New.
2363         * include/ext/pb_assoc/detail/hash_fn/ranged_hash_fn.hpp: New.
2364         * include/ext/pb_assoc/detail/hash_fn/ranged_probe_fn.hpp: New.
2365         * include/ext/pb_assoc/detail/lu_assoc_cntnr/
2366           constructor_destructor_fn_imps.hpp: New.
2367         * include/ext/pb_assoc/detail/lu_assoc_cntnr/
2368           policy_access_fn_imps.hpp: New.
2369         * include/ext/pb_assoc/detail/lu_map_/
2370           constructor_destructor_fn_imps.hpp: New.
2371         * include/ext/pb_assoc/detail/lu_map_/debug_fn_imps.hpp: New.
2372         * include/ext/pb_assoc/detail/lu_map_/erase_fn_imps.hpp: New.
2373         * include/ext/pb_assoc/detail/lu_map_/find_fn_imps.hpp: New.
2374         * include/ext/pb_assoc/detail/lu_map_/info_fn_imps.hpp: New.
2375         * include/ext/pb_assoc/detail/lu_map_/insert_fn_imps.hpp: New.
2376         * include/ext/pb_assoc/detail/lu_map_/iterators_fn_imps.hpp: New.
2377         * include/ext/pb_assoc/detail/lu_map_/lu_map_.hpp: New.
2378         * include/ext/pb_assoc/detail/lu_map_/policy_access_fn_imps.hpp: New.
2379         * include/ext/pb_assoc/detail/lu_policy/
2380           counter_lu_metadata_imp.hpp: New.
2381         * include/ext/pb_assoc/detail/lu_policy/counter_lu_policy_imp.hpp: New.
2382         * include/ext/pb_assoc/detail/lu_policy/mtf_lu_policy_imp.hpp: New.
2383         * include/ext/pb_assoc/detail/ov_tree_map_/cond_dtor.hpp: New.
2384         * include/ext/pb_assoc/detail/ov_tree_map_/
2385           constructors_destructor_fn_imps.hpp: New.
2386         * include/ext/pb_assoc/detail/ov_tree_map_/debug_fn_imps.hpp: New.
2387         * include/ext/pb_assoc/detail/ov_tree_map_/erase_fn_imps.hpp: New.
2388         * include/ext/pb_assoc/detail/ov_tree_map_/find_fn_imps.hpp: New.
2389         * include/ext/pb_assoc/detail/ov_tree_map_/info_fn_imps.hpp: New.
2390         * include/ext/pb_assoc/detail/ov_tree_map_/insert_fn_imps.hpp: New.
2391         * include/ext/pb_assoc/detail/ov_tree_map_/iterators_fn_imps.hpp: New.
2392         * include/ext/pb_assoc/detail/ov_tree_map_/node_iterators.hpp: New.
2393         * include/ext/pb_assoc/detail/ov_tree_map_/ov_tree_map_.hpp: New.
2394         * include/ext/pb_assoc/detail/ov_tree_map_/split_join_fn_imps.hpp: New.
2395         * include/ext/pb_assoc/detail/rb_tree_map_/
2396           constructors_destructor_fn_imps.hpp: New.
2397         * include/ext/pb_assoc/detail/rb_tree_map_/debug_fn_imps.hpp: New.
2398         * include/ext/pb_assoc/detail/rb_tree_map_/erase_fn_imps.hpp: New.
2399         * include/ext/pb_assoc/detail/rb_tree_map_/find_fn_imps.hpp: New.
2400         * include/ext/pb_assoc/detail/rb_tree_map_/info_fn_imps.hpp: New.
2401         * include/ext/pb_assoc/detail/rb_tree_map_/insert_fn_imps.hpp: New.
2402         * include/ext/pb_assoc/detail/rb_tree_map_/node.hpp: New.
2403         * include/ext/pb_assoc/detail/rb_tree_map_/rb_tree_.hpp: New.
2404         * include/ext/pb_assoc/detail/rb_tree_map_/split_join_fn_imps.hpp: New.
2405         * include/ext/pb_assoc/detail/resize_policy/
2406           cc_hash_max_collision_resize_trigger_imp.hpp: New.
2407         * include/ext/pb_assoc/detail/resize_policy/
2408           hash_exponential_size_policy_imp.hpp: New.
2409         * include/ext/pb_assoc/detail/resize_policy/
2410           hash_load_check_resize_trigger_imp.hpp: New.
2411         * include/ext/pb_assoc/detail/resize_policy/
2412           hash_prime_size_policy_imp.hpp: New.
2413         * include/ext/pb_assoc/detail/resize_policy/
2414           hash_standard_resize_policy_imp.hpp: New.
2415         * include/ext/pb_assoc/detail/resize_policy/
2416           ht_prime_size_policy_imp.hpp: New.
2417         * include/ext/pb_assoc/detail/resize_policy/size_base.hpp: New.
2418         * include/ext/pb_assoc/detail/splay_tree_/
2419           constructors_destructor_fn_imps.hpp: New.
2420         * include/ext/pb_assoc/detail/splay_tree_/debug_fn_imps.hpp: New.
2421         * include/ext/pb_assoc/detail/splay_tree_/erase_fn_imps.hpp: New.
2422         * include/ext/pb_assoc/detail/splay_tree_/find_fn_imps.hpp: New.
2423         * include/ext/pb_assoc/detail/splay_tree_/info_fn_imps.hpp: New.
2424         * include/ext/pb_assoc/detail/splay_tree_/insert_fn_imps.hpp: New.
2425         * include/ext/pb_assoc/detail/splay_tree_/node.hpp: New.
2426         * include/ext/pb_assoc/detail/splay_tree_/splay_fn_imps.hpp: New.
2427         * include/ext/pb_assoc/detail/splay_tree_/splay_tree_.hpp: New.
2428         * include/ext/pb_assoc/detail/splay_tree_/split_join_fn_imps.hpp: New.
2429         * include/ext/pb_assoc/detail/tree_assoc_cntnr/
2430           constructor_destructor_fn_imps.hpp: New.
2431         * include/ext/pb_assoc/detail/tree_policy/
2432           null_node_updator_imp.hpp: New.
2433         * include/ext/pb_assoc/detail/tree_policy/
2434           order_statistics_imp.hpp: New.
2435         * include/ext/pb_assoc/detail/typelist/typelist_append.hpp: New.
2436         * include/ext/pb_assoc/detail/typelist/typelist_apply.hpp: New.
2437         * include/ext/pb_assoc/detail/typelist/typelist_at_index.hpp: New.
2438         * include/ext/pb_assoc/detail/typelist/typelist_contains.hpp: New.
2439         * include/ext/pb_assoc/detail/typelist/typelist_filter.hpp: New.
2440         * include/ext/pb_assoc/detail/typelist/typelist_transform.hpp: New.
2441         * include/ext/pb_assoc/detail/typelist/
2442           typelist_typelist_append.hpp: New.
2443         * include/ext/pb_assoc/detail/unordered_iterator/
2444           const_find_iterator.hpp: New.
2445         * include/ext/pb_assoc/detail/unordered_iterator/
2446           const_iterator.hpp: New.
2447         * include/ext/pb_assoc/detail/unordered_iterator/
2448           find_iterator.hpp: New.
2449         * include/ext/pb_assoc/detail/unordered_iterator/iterator.hpp: New.
2450         * include/ext/pb_assoc/detail/value_type_adapter/
2451           constructor_destructor_and_related.hpp: New.
2452         * include/ext/pb_assoc/detail/value_type_adapter/
2453           erase_fn_imps.hpp: New.
2454         * include/ext/pb_assoc/detail/value_type_adapter/
2455           erase_if_pred.hpp: New.
2456         * include/ext/pb_assoc/detail/value_type_adapter/find_fn_imps.hpp: New.
2457         * include/ext/pb_assoc/detail/value_type_adapter/info_fn_imps.hpp: New.
2458         * include/ext/pb_assoc/detail/value_type_adapter/
2459         insert_fn_imps.hpp: New.
2460         * include/ext/pb_assoc/detail/value_type_adapter/
2461         invalidation_guarantee_selector.hpp: New.
2462         * include/ext/pb_assoc/detail/value_type_adapter/
2463         it_value_type_traits.hpp: New.
2464         * include/ext/pb_assoc/detail/value_type_adapter/iterator.hpp: New.
2465         * include/ext/pb_assoc/detail/value_type_adapter/
2466         iterator_fn_imps.hpp: New.
2467         * include/ext/pb_assoc/detail/value_type_adapter/ref_pair.hpp: New.
2468         * include/ext/pb_assoc/detail/value_type_adapter/
2469         value_type_adapter.hpp: New.
2470         * include/ext/pb_assoc/detail/value_type_adapter/
2471         value_type_traits.hpp: New.
2472         * testsuite/Makefile.am (CLEANFILES): Add .o, .dat, .cc.
2473         * testsuite/Makefile.in: Regenerate.
2474         * testsuite/testsuite_common_types.h: New.
2475         * testsuite/testsuite_visualization.h: New.
2476         * testsuite/ext/pb_assoc/example/basic_map.cc: New.
2477         * testsuite/ext/pb_assoc/example/basic_multimap.cc: New.
2478         * testsuite/ext/pb_assoc/example/basic_set.cc: New.
2479         * testsuite/ext/pb_assoc/example/ds_traits.cc: New.
2480         * testsuite/ext/pb_assoc/example/erase_if.cc: New.
2481         * testsuite/ext/pb_assoc/example/extract_key.cc: New.
2482         * testsuite/ext/pb_assoc/example/hash_find_neg.cc: New.
2483         * testsuite/ext/pb_assoc/example/hash_illegal_resize.cc: New.
2484         * testsuite/ext/pb_assoc/example/hash_initial_size.cc: New.
2485         * testsuite/ext/pb_assoc/example/hash_load_set_change.cc: New.
2486         * testsuite/ext/pb_assoc/example/hash_mod.cc: New.
2487         * testsuite/ext/pb_assoc/example/hash_resize.cc: New.
2488         * testsuite/ext/pb_assoc/example/hash_resize_neg.cc: New.
2489         * testsuite/ext/pb_assoc/example/hash_shift_mask.cc: New.
2490         * testsuite/ext/pb_assoc/example/mapping_level.cc: New.
2491         * testsuite/ext/pb_assoc/example/mapping_level_neg.cc: New.
2492         * testsuite/ext/pb_assoc/example/ms_traits.cc: New.
2493         * testsuite/ext/pb_assoc/example/ranged_hash.cc: New.
2494         * testsuite/ext/pb_assoc/example/store_hash.cc: New.
2495         * testsuite/ext/pb_assoc/example/tree_intervals.cc: New.
2496         * testsuite/ext/pb_assoc/example/tree_join.cc: New.
2497         * testsuite/ext/pb_assoc/example/tree_order_statistics.cc: New.
2498         * testsuite/ext/pb_assoc/example/tree_order_statistics_join.cc: New.
2499         * testsuite/ext/pb_assoc/example/tree_split.cc: New.
2500         * testsuite/performance/20_util/allocator/(insert.cc,
2501           insert_insert.cc, list_sort_search.cc, map_mt_find.cc, map_thread.cc,
2502           producer_consumer.cc): Recast to use typelists and move to...
2503         * testsuite/performance/23_containers/find/map.cc: New.
2504         * testsuite/performance/23_containers/index/map.cc: New.
2505         * testsuite/performance/23_containers/insert/associative.cc: New.
2506         * testsuite/performance/23_containers/insert/sequence.cc: New.
2507         * testsuite/performance/23_containers/insert_erase/associative.cc: New.
2508         * testsuite/performance/23_containers/producer_consumer/
2509         (associative.cc, sequence.cc): New.
2510         * testsuite/performance/23_containers/sort_search/list.cc: New.
2511         * testsuite/performance/23_containers/container_benchmark.cc: Remove.
2512         * testsuite/performance/23_containers/map_create_fill.cc: Move...
2513         * testsuite/performance/23_containers/create/map.cc: ...here.
2514         * testsuite/performance/23_containers/set_create_from_sorted.cc: Move.
2515         * testsuite/performance/23_containers/create_from_sorted/set.cc: here.
2516         * testsuite/performance/23_containers/list_create_fill_sort.cc: Move...
2517         * testsuite/performance/23_containers/create_sort/list.cc: ...here.
2518         * testsuite/performance/23_containers/set_insert_from_sorted.cc: Move.
2519         * testsuite/performance/23_containers/insert_from_sorted/set.cc: here.
2520         
2521 2005-06-23  Jakub Jelinek  <jakub@redhat.com>
2523         PR libstdc++/22109
2524         * src/compatibility.cc (_GLIBCXX_SYMVER_COMPATIBILITY): Remove.
2525         (istreambuf_iterator, basic_fstream, basic_ifstream, basic_ofstream,
2526         _M_copy, _M_move, _M_assign, _M_disjunct, _M_check_length,
2527         _M_set_length_and_sharable, ignore, eq): Define to XX suffixed
2528         variants.
2529         (ignore (streamsize)): Remove _W prefixed aliases.
2530         (_GLIBCXX_3_4_SYMVER_SPECIAL, _GLIBCXX_3_4_5_SYMVER_SPECIAL,
2531         _GLIBCXX_APPLY_SYMVER_SPECIAL): Remove.
2532         (_GLIBCXX_3_4_SYMVER, _GLIBCXX_3_4_5_SYMVER): Add XXname argument.
2533         Use #XXname instead of #name as the alias argument.
2534         * config/abi/compatibility.h: Replace uses of
2535         _GLIBCXX_APPLY_SYMVER_SPECIAL with _GLIBCXX_APPLY_SYMVER.  Always
2536         pass 2 arguments to the _GLIBCXX_APPLY_SYMVER macro.
2537         * include/bits/char_traits.h (char_traits::eq): Revert 2005-06-15
2538         change.
2539         * acinclude.m4: Decrease glibcxx_min_gnu_ld_version back to 21400.
2540         * configure: Rebuilt.
2542 2005-06-19  Benjamin Kosnik  <bkoz@redhat.com>
2544         PR libstdc++/22111
2545         * acinclude.m4 (GLIBCXX_CONFIGURE_TESTSUITE): Remove
2546         GLIBCXX_TEST_ABI. Remove duplicate _GLIBCXX_ASM_SYMVER define.
2547         Don't enable abi testing unless versioned.
2548         * configure: Regenerate.
2549         * testsuite/Makefile.am (check-abi): Remove conditional.
2550         * testsuite/Makefile.in: Regenerate.
2551         * testsuite/libstdc++-abi/abi.exp: Call build_support, then check
2552         v3-symver before proceeding.
2553         * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Set v3-symvers
2554         if _GLIBCXX_SYMVER.
2555         
2556 2005-06-17  Paolo Carlini  <pcarlini@suse.de>
2558         Port from libstdcxx_so_7-branch:
2559         2005-01-12  Christopher Jefferson <chris@bubblescope.net>
2561         * include/bits/stl_function.h (mem_fun_t, const_mem_fun_t,
2562         mem_fun_ref_t, const_mem_fun_ref_t, mem_fun1_t, const_mem_fun1_t,
2563         mem_fun1_ref_t, const_mem_fun1_ref_t): Remove overloads for void
2564         return type, just an old HP/SGI workaround.
2565         * testsuite/20_util/functional/binders.cc: Move to...
2566         * testsuite/20_util/functional/binders/3113.cc: ...here.
2567         * testsuite/20_util/functional/binders/1.cc: New.
2569 2005-06-17  Jonathan Wakely  <redi@gcc.gnu.org>
2571         * docs/html/21_strings/gotw29a.txt: Update code to corrected version.
2573 2005-06-17  Jakub Jelinek  <jakub@redhat.com>
2574             Benjamin Kosnik  <bkoz@redhat.com>
2576         * config/abi/alpha-linux-gnu/baseline_symbols.txt: Update.
2577         * config/abi/hppa-linux-gnu/baseline_symbols.txt: Same.
2578         * config/abi/mips-linux-gnu/baseline_symbols.txt: Same.
2579         * config/abi/sparc-linux-gnu/baseline_symbols.txt: Same.
2581         * config/abi/alpha-freebsd5/baseline_symbols.txt: Remove.
2582         * config/abi/i386-freebsd4/baseline_symbols.txt: Same.
2583         * config/abi/i386-freebsd5/baseline_symbols.txt: Same.
2584         * config/abi/sparc-freebsd5/baseline_symbols.txt: Same.
2586         * config/abi/arm-linux-gnu/baseline_symbols.txt: Remove.
2587         * config/abi/m68k-linux-gnu/baseline_symbols.txt: Same.
2589 2005-06-17  Jakub Jelinek  <jakub@redhat.com>
2591         * config/abi/ia64-linux-gnu/baseline_symbols.txt: Update.
2592         * config/abi/s390x-linux-gnu/baseline_symbols.txt: Update.
2593         * config/abi/s390-linux-gnu/baseline_symbols.txt: Update.
2594         * config/abi/x86_64-linux-gnu/baseline_symbols.txt: Update.
2595         * config/abi/x86_64-linux-gnu/32/baseline_symbols.txt: Update.
2596         * config/abi/powerpc-linux-gnu/baseline_symbols.txt: Update.
2597         * config/abi/i486-linux-gnu/baseline_symbols.txt: Update.
2598         * config/abi/i386-linux-gnu/baseline_symbols.txt: Update.
2599         * config/abi/powerpc64-linux-gnu/baseline_symbols.txt: New file.
2600         * config/abi/powerpc64-linux-gnu/32/baseline_symbols.txt: New file.
2602 2005-06-16  Jakub Jelinek  <jakub@redhat.com>
2604         * src/compatibility.cc: Include bits/c++config.h first.
2605         (_GLIBCXX_SYMVER_COMPATIBILITY): Define if _GLIBCXX_SYMVER
2606         and PIC are both defined.
2607         * include/bits/char_traits.h (char_traits::eq): Rename
2608         only if _GLIBCXX_SYMVER_COMPATIBILITY is defined.
2610 2005-06-16  Jakub Jelinek  <jakub@redhat.com>
2612         * acinclude.m4 ((GLIBCXX_ENABLE_SYMVERS): Rename _GLIBCXX_SIZE_T_IS_INT
2613         to _GLIBCXX_SIZE_T_IS_UINT.  Define _GLIBCXX_PTRDIFF_T_IS_INT.
2614         * configure: Regenerate.
2615         * config.h.in: Regenerate.
2616         * src/compatibility.cc (istream:ignore(streamsize)): Use
2617         _GLIBCXX_PTRDIFF_T_IS_INT instead of _GLIBCXX_SIZE_T_IS_INT.
2618         * config/abi/compatibility.h: Rename _GLIBCXX_SIZE_T_IS_INT
2619         to _GLIBCXX_SIZE_T_IS_UINT.  Use _GLIBCXX_PTRDIFF_T_IS_INT
2620         instead for symbols with streamsize arguments.
2622 2005-06-16  Jakub Jelinek  <jakub@redhat.com>
2624         * config/linker-map.gnu: Also export
2625         _ZNSt13basic_istreamIwSt11char_traitsIwEE6ignoreE[il][il].
2627 2005-06-15  Benjamin Kosnik  <bkoz@redhat.com>
2629         * configure.ac (libtool_VERSION): To 6:6:0.
2630         * configure: Regenerate.
2631         * config/linker-map.gnu: Edit.
2632         * src/istream.cc: Move istream::ignore(streamsize) specializations...
2633         * src/compatibility.cc: ...here. New.
2634         * include/bits/char_traits.h (char_traits::eq): Rename when
2635         appropriate.
2636         * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Define _GLIBCXX_SIZE_T_IS_INT.
2637         Bump glibcxx_min_gnu_ld_version to 21590.
2638         * configure: Regenerate.
2639         * acconfig.h: Remove _GLIBCXX_ASM_SYMVER.
2640         * config.h.in: Regenerate.
2641         * src/Makefile.am (sources): Add compatibility.cc.
2642         * src/Makefile.in: Regenerate.
2643         * include/Makefile.am (host_headers_noinst): Add compatibility.h.
2644         * include/Makefile.in: Regenerate.
2645         * testsuite/testsuite_abi.h (symbol): Add data members.
2646         * testsuite/testsuite_abi.cc (check_version): Add GLIBCXX_3.4.5,
2647         GLIBCXX_3.4.6.  Remove deprecated versions. Do a better job
2648         version checking.
2650 2005-06-15  Paolo Carlini  <pcarlini@suse.de>
2652         * include/tr1/hashtable: Trivial formatting fixes.
2653         * include/tr1/unordered_map: Likewise.
2654         * include/tr1/unordered_set: Likewise.
2656 2005-06-14  Tom Tromey  <tromey@redhat.com>
2658         PR libgcj/19877:
2659         * configure, aclocal.m4: Rebuilt.
2660         * Makefile.in, include/Makefile.in, libmath/Makefile.in,
2661         libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in,
2662         testsuite/Makefile.in: Likewise.
2664 2005-06-08  Benjamin Kosnik  <bkoz@redhat.com>
2666         PR libstdc++/21955
2667         * include/std/std_sstream.h (basic_stringbuf::showmanyc): Add.
2668         Remove unnecessary this->_M_mode decoration.
2669         * include/bits/fstream.tcc: Adjust line spacing.        
2670         * testsuite/27_io/basic_streambuf/in_avail/char/1.cc: New, test
2671         base class behavior.
2672         * testsuite/27_io/basic_streambuf/in_avail/wchar_t/1.cc: Same.
2673         * testsuite/27_io/basic_stringbuf/in_avail/char/21955.cc: New.
2674         * testsuite/27_io/basic_stringbuf/in_avail/char/1.cc: Match
2675         filebuf behavior.
2676         * testsuite/27_io/basic_stringbuf/in_avail/wchar_t/1.cc: Same.
2677         * testsuite/27_io/basic_stringbuf/str/wchar_t/1.cc: Same.
2678         * testsuite/27_io/basic_stringbuf/str/char/1.cc: Same.
2679         * testsuite/27_io/basic_streambuf/in_avail/char/9701-3.cc: Move...
2680         * testsuite/27_io/basic_filebuf/in_avail/char/9701-3.cc: ...here.
2681         
2682 2005-06-07  Benjamin Kosnik  <bkoz@redhat.com>
2684         * acinclude.m4 (GLIBCXX_ENABLE_C99): Use C++ compiler for complex
2685         tests.
2686         * configure: Regenerated.
2688 2005-06-07  Adrian Straetling  <straetling@de.ibm.com>
2690         * config/cpu/s390/atomicity.h: (__exchange_and_add, 
2691         __atomic_add): Use the builtins for atomic memory operations.
2693 2005-06-06  Paolo Carlini  <pcarlini@suse.de>
2695         PR libstdc++/21770 (cont: __gnu_debug::string)
2696         * include/debug/string: Use _Base typedefs for pointer, const_pointer,
2697         reference, const_reference, size_type, difference_type.
2698         * testsuite/21_strings/basic_string/2.cc: New.
2700 2005-06-06  Paolo Carlini  <pcarlini@suse.de>
2702         PR libstdc++/21770 (cont: debug-mode)
2703         * include/debug/deque: Use _Base typedefs for pointer, const_pointer,
2704         reference, const_reference.
2705         * include/debug/list: Likewise.
2706         * include/debug/map.h: Likewise.
2707         * include/debug/multimap.h: Likewise.
2708         * include/debug/multiset.h: Likewise.
2709         * include/debug/set.h: Likewise.
2710         * include/debug/vector: Likewise.
2712 2005-06-06  Paolo Carlini  <pcarlini@suse.de>
2714         Port from libstdcxx_so_7-branch:
2715         2004-09-24  Paolo Carlini  <pcarlini@suse.de>
2716                     Jonathan Wakely  <redi@gcc.gnu.org>
2718         * include/bits/stl_list.h (list::list(size_type, value_type,
2719         const allocator_type&): Implement according to the letter of the
2720         standard, i.e., don't use two overloads, not equivalent in case
2721         of non default constructible T.
2722         (list::resize(size_type, const value_type&)): Fix the signature:
2723         according to the standard the second argument is by value; also,
2724         don't use two overloads.
2725         * include/bits/list.tcc (list::resize(size_type, const value_type&)):
2726         Adjust consistently the signature.
2727         * include/bits/stl_deque.h (deque::deque(size_type, value_type,
2728         const allocator_type&)): Likewise.
2729         (deque::resize(size_type, const value_type&)): Likewise.
2730         * include/bits/stl_vector.h (vector::vector(size_type, value_type,
2731         const allocator_type&)): Likewise.
2732         (vector::resize(size_type, const value_type&)): Likewise.
2733         * testsuite/testsuite_hooks.h: Add NonDefaultConstructible test type.
2734         * testsuite/23_containers/deque/explicit_instantiation/2.cc: New.
2735         * testsuite/23_containers/list/explicit_instantiation/2.cc: New.
2736         * testsuite/23_containers/map/explicit_instantiation/2.cc: New.
2737         * testsuite/23_containers/multimap/explicit_instantiation/2.cc: New.
2738         * testsuite/23_containers/multiset/explicit_instantiation/2.cc: New.
2739         * testsuite/23_containers/set/explicit_instantiation/2.cc: New.
2740         * testsuite/23_containers/vector/explicit_instantiation/2.cc: New.
2742         * include/bits/deque.tcc: Minor formatting fix.
2744 2005-06-06  Peter Doerfler  <doerfler@techinfo.rwth-aachen.de>
2746         * include/bits/stl_function.h: ... and another one.
2748 2005-06-06  Peter Doerfler  <doerfler@techinfo.rwth-aachen.de>
2750         * include/bits/stl_function.h: Fix typo in comment.
2752 2005-06-05  Paolo Carlini  <pcarlini@suse.de>
2754         * acinclude.m4 ([GLIBCXX_ENABLE_C99]): Check clog, clogf, clogl
2755         too for ac_c99_complex.
2756         * configure: Regenerate.
2758 2005-06-03  Paolo Carlini  <pcarlini@suse.de>
2760         PR libstdc++/21770
2761         * include/bits/stl_deque.h: Add concept-check. In class _Deque_base
2762         rebind _Alloc to  _Tp_alloc_type, change _Deque_impl to inherit from
2763         the latter and add _M_get_Tp_allocator() which returns it. Use
2764         everywhere _M_get_Tp_allocator() instead of get_allocator().
2765         * include/bits/deque.tcc: Likewise, use _M_get_Tp_allocator().
2766         * include/bits/stl_list.h: Add concept-check. In class _List_base
2767         rebind _Alloc to _Tp_alloc_type and add _M_get_Tp_allocator(), which
2768         returns the allocator (of type _Node_alloc_type) converted to
2769         _Tp_alloc_type. Use everywhere _M_get_Tp_allocator() instead of
2770         get_allocator().
2771         * include/bits/list.tcc: Likewise, use _M_get_Tp_allocator().
2772         * include/bits/stl_vector.h: Add concept-check. In class _Vector_base
2773         rebind _Alloc to _Tp_alloc_type, change _Vector_impl to inherit from
2774         the latter and add _M_get_Tp_allocator() which returns it. Use
2775         everywhere _M_get_Tp_allocator() instead of get_allocator().
2776         * include/bits/vector.tcc: Likewise, use _M_get_Tp_allocator().
2777         * include/bits/stl_map.h: Add concept-check. Rebind _Alloc to
2778         _Pair_alloc_type and use it for _Rb_tree.
2779         * include/bits/stl_multimap.h: Likewise.
2780         * include/bits/stl_multiset.h: Add concept-check. Rebind _Alloc to
2781         _Key_alloc_type and use it for _Rb_tree.
2782         * include/bits/stl_set.h: Likewise.
2783         * include/bits/basic_string.h: Rebind _Alloc to _CharT_alloc_type and
2784         use it for the allocator typedefs.
2785         * testsuite/21_strings/basic_string/1.cc: New.
2786         * testsuite/23_containers/deque/explicit_instantiation.cc: Move to...
2787         * testsuite/23_containers/deque/explicit_instantiation/1.cc: ... here.
2788         * testsuite/23_containers/deque/explicit_instantiation/3.cc: New.
2789         * testsuite/23_containers/list/explicit_instantiation.cc: Move to...
2790         * testsuite/23_containers/list/explicit_instantiation/1.cc: ... here.
2791         * testsuite/23_containers/list/explicit_instantiation/3.cc: New.
2792         * testsuite/23_containers/map/explicit_instantiation.cc: Move to...
2793         * testsuite/23_containers/map/explicit_instantiation/1.cc: ... here.
2794         * testsuite/23_containers/map/explicit_instantiation/3.cc: New.
2795         * testsuite/23_containers/multimap/explicit_instantiation.cc: Move to...
2796         * testsuite/23_containers/multimap/explicit_instantiation/1.cc: .. here.
2797         * testsuite/23_containers/multimap/explicit_instantiation/3.cc: New.
2798         * testsuite/23_containers/multiset/explicit_instantiation.cc: Move to...
2799         * testsuite/23_containers/multiset/explicit_instantiation/1.cc: .. here.
2800         * testsuite/23_containers/multiset/explicit_instantiation/3.cc: New.
2801         * testsuite/23_containers/set/explicit_instantiation.cc: Move to...
2802         * testsuite/23_containers/set/explicit_instantiation/1.cc: .. here.
2803         * testsuite/23_containers/set/explicit_instantiation/3.cc: New.
2804         * testsuite/23_containers/vector/explicit_instantiation.cc: Move to...
2805         * testsuite/23_containers/vector/explicit_instantiation/1.cc: ... here.
2806         * testsuite/23_containers/vector/explicit_instantiation/3.cc: New.
2808 2005-06-02  Nathan Sidwell  <nathan@codesourcery.com>
2810         PR c++/21280
2811         * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust expected errors.
2812         * testsuite/27_io/ios_base/cons/copy_neg.cc: Likewise.
2814 2005-05-31  Paolo Carlini  <pcarlini@suse.de>
2816         PR libstdc++/20534 (contd)
2817         * include/debug/macros.h: Add _GLIBCXX_DEBUG_ABORT, using
2818         __gnu_debug::__fancy_abort.
2819         * src/debug.cc: Define the latter.
2820         * include/debug/debug.h: Use _GLIBCXX_DEBUG_ABORT instead of
2821         assert.
2822         * config/linker-map.gnu (__gnu_debug::__fancy_abort): Add.
2824 2005-05-30  Paolo Carlini  <pcarlini@suse.de>
2826         * include/std/std_complex.h (log(const complex<_Tp>&)): When
2827         _GLIBCXX_USE_C99_COMPLEX, forward to __builtin_clog/clogf/clogl.
2829 2005-05-28  Paolo Carlini  <pcarlini@suse.de>
2831         Revert:
2832         2005-05-18  Paolo Carlini  <pcarlini@suse.de>
2833                     Nathan Myers  <ncm@cantrip.org>
2835         PR libstdc++/19495
2836         * include/bits/basic_string.h (_Raw_bytes_alloc): Rebind to
2837         size_type instead of char and rename to _Raw_alloc.
2838         * include/bits/basic_string.tcc (_Rep::_M_destroy, _Rep::_S_create):
2839         Use the above.
2840         * src/bitmap_allocator.cc: Add instantiation for size_type.
2841         * src/mt_allocator.cc: Likewise.
2842         * src/pool_allocator.cc: Likewise.
2843         * include/ext/array_allocator.h: Tweak slightly, avoid assuming
2844         the existence of an _Array::begin() and size() members.
2845         * testsuite/ext/array_allocator/2.cc: Tweak to use an allocator
2846         of size_type, instead of char, thus avoiding problems with
2847         rebinds, not treated correctly by array_allocator.
2849 2005-05-27  Paolo Carlini  <pcarlini@suse.de>
2851         * docs/html/abi.html: Mention 3.4.0 as the current baseline; add
2852         a notice about the configure options.
2854 2005-05-27  Mark Mitchell  <mark@codesourcery.com>
2856         * docs/html/test.html: Mention PCH_CXXFLAGS.
2857         * testsuite/lib/libstdc++.exp: Set PCH_CXXFLAGS by probing for an
2858         available stcd++.h PCH.
2859         * testsuite/libstdc++-dg/normal.exp: Use PCH_CXXFLAGS.
2861 2005-05-27  Theodore Papadopoulo  <Theodore.Papadopoulo@sophia.inria.fr>
2863         * src/misc-inst.cc: Remove unnecessary included files.
2865 2005-05-27  Benjamin Kosnik  <bkoz@redhat.com>
2867         PR libstdc++/21674
2868         * include/bits/c++config: Remove extern template use when in debug
2869         mode, disable for non-weak systems.
2870         
2871 2005-05-27  Benjamin Kosnik  <bkoz@redhat.com>
2873         PR libstdc++/20534 
2874         * include/debug/debug.h: Forwarding header, that pulls in details
2875         only if in debug mode.
2876         * include/debug/macros.h: ...transfer all the internal macros here.
2877         * include/debug/functions.h: ...transfer all the functions here.
2878         * include/debug/safe_iterator.h: Add functions.h, macros.h includes.
2879         * include/debug/safe_sequence.h: Same.
2880         * include/debug/vector: Tweak.
2881         * include/Makefile.am (debug_headers): Add new includes.
2882         * include/Makefile.in: Regenerate.
2883         * testsuite/17_intro/no_assert_neg.cc: Add.
2885         * include/ext/hash_set: Add debug mode include.
2886         * include/ext/hash_map: Same.
2887         * include/debug/hash_map: Fix included files to match actual files.
2888         * include/debug/hash_set: Same.
2889                 
2890 2005-05-26  Paolo Carlini  <pcarlini@suse.de>
2892         PR libstdc++/13943
2893         * include/c_std/std_cstdlib.h: Do not open code llabs and lldiv,
2894         available when _GLIBCXX_USE_C99 is defined.
2895         * testsuite/26_numerics/cstdlib/13943.cc: New.
2897         * acinclude.m4 ([GLIBCXX_ENABLE_C99]): For completeness, check
2898         also strtoll and strtoull for ac_c99_stdlib.
2899         * configure: Regenerate.
2901 2005-05-25  Benjamin Kosnik  <bkoz@redhat.com>
2903         * config/linker-map.gnu: Add linkage support for no extern templates.
2904         (std::ios_base::_M_call_callbacks): Add.
2905         (std::ios_base::_M_dispose_callbacks): Add.
2906         (std::locale::facet::_S_get_c_name): Add.
2907         (std::__copy_streambufs): Add.
2908         * configure.ac (libtool_VERSION): To 6:5:0.
2909         * configure: Regenerate.
2910         * testsuite/testsuite_abi.cc (check_version): Add GLIBCXX_3.4.5.
2911         
2912 2005-05-25  Paolo Carlini  <pcarlini@suse.de>
2914         * include/bits/basic_string.h (_Rep::_M_set_length_and_sharable):
2915         Use, consistently, traits_type::assign.
2917 2005-05-25  Paolo Carlini  <pcarlini@suse.de>
2919         * config/cpu/alpha/atomicity.h: Use the builtins for
2920         atomic memory operations.
2921         * config/cpu/powerpc/atomicity.h: Likewise.
2922         * config/cpu/ia64/atomicity.h: Do not include ia64intrin.h.
2924 2005-05-24  Paolo Carlini  <pcarlini@suse.de>
2926         * testsuite/25_algorithms/equal.cc: Move to...
2927         * testsuite/25_algorithms/equal: ... here.
2928         * testsuite/25_algorithms/lower_bound.cc: Move to...
2929         * testsuite/25_algorithms/lower_bound: ... here.
2931 2005-05-24  Paolo Carlini  <pcarlini@suse.de>
2933         Port from libstdcxx_so_7-branch:
2934         2005-20-05  Chris Jefferson  <chris@bubblescope.net>
2936         * testsuite/25_algorithms/heap.cc: Move to...
2937         * testsuite/25_algorithms/heap/heap.cc: ...here.
2938         * testsuite/25_algorithms/partition.cc: Move to...
2939         * testsuite/25_algorithms/partition/partition.cc: ...here.
2941         2005-03-29  Christopher Jefferson  <chris@bubblescope.net>
2943         * testsuite/25_algorithms/includes/1.cc: Add tests.
2944         * testsuite/25_algorithms/search/1.cc: Likewise.
2945         * testsuite/25_algorithms/unique_copy/1.cc: Likewise.
2946         * testsuite/25_algorithms/swap_ranges/1.cc: New.
2947         * testsuite/25_algorithms/swap_ranges/check_type.cc: New.
2948         * testsuite/25_algorithms/rotate.cc: Move to...
2949         * testsuite/25_algorithms/rotate/rotate.cc: ... here.
2950         * testsuite/25_algorithms/rotate/1.cc: New.
2951         * testsuite/25_algorithms/rotate/check_type.cc: New.
2952         * testsuite/25_algorithms/search_n/iterator.cc: Fix typo.
2954         2005-03-14  Christopher Jefferson  <chris@bubblescope.net>
2956         * include/bits/stl_algo.h (replace_copy, replace_copy_if):
2957         Don't assume that __new_value and *__first are convertible to
2958         each other.     
2960         * testsuite/25_algorithms/find/1.cc: New.
2961         * testsuite/25_algorithms/find/check_type.cc: New.
2962         * testsuite/25_algorithms/find_if/1.cc: New.
2963         * testsuite/25_algorithms/find_if/check_type.cc: New.
2964         * testsuite/25_algorithms/replace/1.cc: New.
2965         * testsuite/25_algorithms/replace/check_type.cc: New.
2966         * testsuite/25_algorithms/replace_if/1.cc: New.
2967         * testsuite/25_algorithms/replace_if/check_type.cc: New.
2968         * testsuite/25_algorithms/replace_copy/1.cc: New.
2969         * testsuite/25_algorithms/replace_copy/check_type.cc: New.
2970         * testsuite/25_algorithms/replace_copy_if/1.cc: New.
2971         * testsuite/25_algorithms/replace_copy_if/check_type.cc: New.
2972         * testsuite/25_algorithms/remove/1.cc: New.
2973         * testsuite/25_algorithms/remove/check_type.cc: New.
2974         * testsuite/25_algorithms/remove_if/1.cc: New.
2975         * testsuite/25_algorithms/remove_if/check_type.cc: New.
2976         * testsuite/25_algorithms/count/1.cc: New.
2977         * testsuite/25_algorithms/count/check_type.cc: New.
2978         * testsuite/25_algorithms/count_if/1.cc: New.
2979         * testsuite/25_algorithms/count_if/check_type.cc: New.
2981         2005-02-27  Christopher Jefferson  <chris@bubblescope.net>
2982                     Paolo Carlini  <pcarlini@suse.de>
2984         * testsuite/ext/is_heap/check_type.cc: New.
2985         
2986         2005-02-27  Paolo Carlini  <pcarlini@suse.de>
2988         * testsuite/ext/is_heap/1.cc: New.
2990         2005-02-01  Christopher Jefferson  <chris@bubblescope.net>
2992         * testsuite/ext/median.cc: New.
2993         * testsuite/25_algorithms/adjacent_find/1.cc: New.
2994         * testsuite/25_algorithms/adjacent_find/check_type.cc: New.
2995         * testsuite/25_algorithms/search/1.cc: New.
2996         * testsuite/25_algorithms/search/check_type.cc: New.
2997         * testsuite/25_algorithms/unique_copy/1.cc: New.
2998         * testsuite/25_algorithms/unique_copy/check_type.cc: New.
2999         * testsuite/25_algorithms/partial_sort/1.cc: New.
3000         * testsuite/25_algorithms/partial_sort/check_type.cc: New.
3001         * testsuite/25_algorithms/partial_sort_copy/1.cc: New.
3002         * testsuite/25_algorithms/partial_sort_copy/check_type.cc: New.
3003         * testsuite/25_algorithms/lower_bound/1.cc: New.
3004         * testsuite/25_algorithms/lower_bound/check_type.cc: New.
3005         * testsuite/25_algorithms/upper_bound/1.cc: New.
3006         * testsuite/25_algorithms/upper_bound/check_type.cc: New.
3007         * testsuite/25_algorithms/merge/1.cc: New.
3008         * testsuite/25_algorithms/merge/check_type.cc: New.
3009         * testsuite/25_algorithms/inplace_merge/1.cc: New.
3010         * testsuite/25_algorithms/inplace_merge/check_type.cc: New.
3011         * testsuite/25_algorithms/stable_sort/1.cc: New.
3012         * testsuite/25_algorithms/stable_sort/check_type.cc: New.
3013         * testsuite/25_algorithms/nth_element/1.cc: New.
3014         * testsuite/25_algorithms/nth_element/check_type.cc: New.
3015         * testsuite/25_algorithms/equal_range/1.cc: New.
3016         * testsuite/25_algorithms/equal_range/check_type.cc: New.
3017         * testsuite/25_algorithms/binary_search/1.cc: New.
3018         * testsuite/25_algorithms/binary_search/check_type.cc: New.
3019         * testsuite/25_algorithms/includes/1.cc: New.
3020         * testsuite/25_algorithms/includes/check_type.cc: New.
3021         * testsuite/25_algorithms/set_union/1.cc: New.
3022         * testsuite/25_algorithms/set_union/check_type.cc: New.
3023         * testsuite/25_algorithms/set_intersection/1.cc: New.
3024         * testsuite/25_algorithms/set_intersection/check_type.cc: New.
3025         * testsuite/25_algorithms/set_difference/1.cc: New.
3026         * testsuite/25_algorithms/set_difference/check_type.cc: New.
3027         * testsuite/25_algorithms/set_symmetric_difference/1.cc: New.
3028         * testsuite/25_algorithms/set_symmetric_difference/check_type.cc: New.  
3029         * testsuite/25_algorithms/min_element/1.cc: New.
3030         * testsuite/25_algorithms/min_element/check_type.cc: New.
3031         * testsuite/25_algorithms/max_element/1.cc: New.
3032         * testsuite/25_algorithms/max_element/check_type.cc: New.
3033         * testsuite/25_algorithms/prev_permutation/1.cc: New.
3034         * testsuite/25_algorithms/prev_permutation/check_type.cc: New.
3035         * testsuite/25_algorithms/next_permutation/1.cc: New.
3036         * testsuite/25_algorithms/next_permutation/check_type.cc: New.
3037         * testsuite/25_algorithms/find_first_of/1.cc: New.
3038         * testsuite/25_algorithms/find_first_of/check_type.cc: New.
3039         * testsuite/25_algorithms/find_end/1.cc: New.
3040         * testsuite/25_algorithms/find_end/check_type.cc: New.
3041         * testsuite/25_algorithms/equal/check_type.cc: Insert iterator type.
3042         * testsuite/25_algorithms/lexicographical_compare/check_type.cc:
3043         Likewise.
3045         2005-01-10  Christopher Jefferson <chris@bubblescope.net>
3047         * testsuite/25_algorithms/lexicographical_compare/check_type.cc: New.
3048         * testsuite/25_algorithms/lexicographical_compare/1.cc: Likewise.
3049         * testsuite/25_algorithms/mismatch/check_type.cc: Likewise.
3050         * testsuite/25_algorithms/mismatch/1.cc: Likewise.
3051         * testsuite/25_algorithms/equal/check_type.cc: New.
3052         * testsuite/25_algorithms/equal/1.cc: New.
3054 2005-05-24  Benjamin Kosnik  <bkoz@redhat.com>
3056         * include/bits/allocator.h: Change ___glibcxx_base_allocator to
3057         __glibcxx_base_allocator.
3058         * config/allocator/bitmap_allocator_base.h: Same.
3059         * config/allocator/malloc_allocator_base.h: Same.
3060         * config/allocator/mt_allocator_base.h: Same.
3061         * config/allocator/new_allocator_base.h: Same.
3062         * config/allocator/pool_allocator_base.h: Same.
3064 2005-05-24  Jonathan Wakely  <redi@gcc.gnu.org>
3066         * include/debug/string (class basic_string): Add missing
3067         default template arguments; provide typedefs for char
3068         and wchar_t.
3069         (operator[]): Allow s[s.size()] in debug mode, but not
3070         pedantic mode.
3072 2005-05-24  Paolo Carlini  <pcarlini@suse.de>
3074         Port from libstdcxx_so_7-branch:
3075         2005-04-25  Christopher Jefferson  <chris@bubblescope.net>
3077         * include/bits/stl_algo.h (count): Correct concept checks.
3078         (search_n) : Likewise.
3079         * testsuite/25_algorithms/search_n/check_type.cc: New.
3081         * testsuite/testsuite_iterators.h
3082         (random_access_iterator_wrapper::operator+): Move out of
3083         class to external function, and add symmetric version.
3085         2005-03-14  Christopher Jefferson  <chris@bubblescope.net>
3087         * testsuite/testsuite_iterators.h (WritableObject::WritableObject):
3088         Add const.
3089         
3090         2005-02-01  Christopher Jefferson  <chris@bubblescope.net>
3092         * testsuite/testsuite_iterators.h (random_access_iterator_wrapper::
3093         operator--): Fix typo.
3094         (OutputContainer::OutputContainer): Correct zeroing array.
3095         (WritableObject::operator==): Fix typo.
3096         (WritableObject::operator=): make operator= templated 
3097         to allow differing types to be assigned.
3098         (WritableObject::operator++): Fix checking if iterator is
3099         written to multiple times.
3100         (random_access_iterator_wrapper::operator+): Add const.
3101         (random_access_iterator_wrapper::operator-): Likewise.
3102         (random_access_iterator_wrapper::operator[]): Add dereference.
3104 2005-05-23  Jonathan Wakely  <redi@gcc.gnu.org>
3106         * docs/html/debug.html: Explain that _GLIBXX_DEBUG_PEDANTIC
3107         had to be defined for pedantic mode in 3.4 and 4.0.0.
3109 2005-05-20  Jan Beulich  <jbeulich@novell.com>
3111         * libmath/stubs.c: Also implement fabsf/fabsl if not present in the
3112         system libraries.
3114 2005-05-20  Paolo Carlini  <pcarlini@suse.de>
3116         * include/bits/stl_algo.h (__rotate<_RandomAccessIterator>):
3117         Don't qualify __tmp as const, _ValueType is not necessarily
3118         Assignable.
3119         * include/bits/stl_algobase.h (swap, __iter_swap<false>):
3120         Likewise, as an harmless extension.
3122 2005-05-19  Richard Henderson  <rth@redhat.com>
3124         * libsupc++/unwind-cxx.h: Revert gcc_unreachable change.
3126 2005-05-19  Jonathan Wakely  <redi@gcc.gnu.org>
3128         * include/bits/basic_string.h (operator[]): Allow s[s.size()] in
3129         debug mode, but not pedantic mode.
3131 2005-05-19  Jan Beulich  <jbeulich@novell.com>
3133         * libsupc++/unwind-cxx.h: Include cstdlib.
3134         (gcc_unreachable): #define.
3135         * libsupc++/eh_personality.cc (gcc_unreachable): Remove #define.
3137 2005-05-18  Paolo Carlini  <pcarlini@suse.de>
3138             Nathan Myers  <ncm@cantrip.org>
3140         PR libstdc++/19495
3141         * include/bits/basic_string.h (_Raw_bytes_alloc): Rebind to
3142         size_type instead of char and rename to _Raw_alloc.
3143         * include/bits/basic_string.tcc (_Rep::_M_destroy, _Rep::_S_create):
3144         Use the above.
3145         * src/bitmap_allocator.cc: Add instantiation for size_type.
3146         * src/mt_allocator.cc: Likewise.
3147         * src/pool_allocator.cc: Likewise.
3148         * include/ext/array_allocator.h: Tweak slightly, avoid assuming
3149         the existence of an _Array::begin() and size() members.
3150         * testsuite/ext/array_allocator/2.cc: Tweak to use an allocator
3151         of size_type, instead of char, thus avoiding problems with
3152         rebinds, not treated correctly by array_allocator.
3154 2005-05-18  Paolo Carlini  <pcarlini@suse.de>
3156         * testsuite/22_locale/ctype/is/char/2.cc: Adjust dg-require-namedlocale.
3157         * testsuite/22_locale/ctype/is/wchar_t/2.cc: Likewise.
3158         * testsuite/22_locale/time_get/get_year/char/wrapped_env.cc: Add
3159         missing dg-require-namedlocale.
3160         * testsuite/22_locale/time_get/get_year/char/wrapped_locale.cc:
3161         Likewise.
3162         * testsuite/22_locale/time_get/get_year/wchar_t/wrapped_env.cc:
3163         Likewise.
3164         * testsuite/22_locale/time_get/get_year/wchar_t/wrapped_locale.cc:
3165         Likewise.
3167 2005-05-18  Paolo Carlini  <pcarlini@suse.de>
3169         * testsuite/testsuite_hooks.cc: Remove try_named_locale.
3170         * testsuite/testsuite_hooks.h: Remove try_named_locale.
3171         * testsuite/lib/libstdc++.exp (check_v3_target_namedlocale): New.
3172         * testsuite/lib/dg-options.exp (dg-require-namedlocale): New, uses
3173         the above.
3174         * testsuite/22_locale/codecvt/always_noconv/char/wrapped_env.cc: Use
3175         dg-require-namedlocale.
3176         * testsuite/22_locale/codecvt/always_noconv/char/wrapped_locale.cc:
3177         Likewise.
3178         * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: Likewise.
3179         * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: Likewise.
3180         * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: Likewise.
3181         * testsuite/22_locale/codecvt/always_noconv/wchar_t/wrapped_env.cc: 
3182         Likewise.
3183         * testsuite/22_locale/codecvt/always_noconv/wchar_t/wrapped_locale.cc:
3184         Likewise.
3185         * testsuite/22_locale/codecvt/encoding/char/wrapped_env.cc: Likewise.
3186         * testsuite/22_locale/codecvt/encoding/char/wrapped_locale.cc: Likewise.
3187         * testsuite/22_locale/codecvt/encoding/wchar_t/2.cc: Likewise.
3188         * testsuite/22_locale/codecvt/encoding/wchar_t/3.cc: Likewise.
3189         * testsuite/22_locale/codecvt/encoding/wchar_t/4.cc: Likewise.
3190         * testsuite/22_locale/codecvt/encoding/wchar_t/wrapped_env.cc: Likewise.
3191         * testsuite/22_locale/codecvt/encoding/wchar_t/wrapped_locale.cc:
3192         Likewise.
3193         * testsuite/22_locale/codecvt/in/char/wrapped_env.cc: Likewise.
3194         * testsuite/22_locale/codecvt/in/char/wrapped_locale.cc: Likewise.
3195         * testsuite/22_locale/codecvt/in/wchar_t/2.cc: Likewise.
3196         * testsuite/22_locale/codecvt/in/wchar_t/3.cc: Likewise.
3197         * testsuite/22_locale/codecvt/in/wchar_t/4.cc: Likewise.
3198         * testsuite/22_locale/codecvt/in/wchar_t/7.cc: Likewise. 
3199         * testsuite/22_locale/codecvt/in/wchar_t/8.cc: Likewise.
3200         * testsuite/22_locale/codecvt/in/wchar_t/9.cc: Likewise.
3201         * testsuite/22_locale/codecvt/in/wchar_t/wrapped_env.cc: Likewise. 
3202         * testsuite/22_locale/codecvt/in/wchar_t/wrapped_locale.cc: Likewise.    
3203         * testsuite/22_locale/codecvt/length/char/wrapped_env.cc: Likewise. 
3204         * testsuite/22_locale/codecvt/length/char/wrapped_locale.cc: Likewise.    
3205         * testsuite/22_locale/codecvt/length/wchar_t/2.cc: Likewise.   
3206         * testsuite/22_locale/codecvt/length/wchar_t/3.cc: Likewise.   
3207         * testsuite/22_locale/codecvt/length/wchar_t/4.cc: Likewise.   
3208         * testsuite/22_locale/codecvt/length/wchar_t/7.cc: Likewise.   
3209         * testsuite/22_locale/codecvt/length/wchar_t/wrapped_env.cc: Likewise.      
3210         * testsuite/22_locale/codecvt/length/wchar_t/wrapped_locale.cc:
3211         Likewise.
3212         * testsuite/22_locale/codecvt/max_length/char/wrapped_env.cc: Likewise.
3213         * testsuite/22_locale/codecvt/max_length/char/wrapped_locale.cc:
3214         Likewise.  
3215         * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: Likewise.    
3216         * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: Likewise.    
3217         * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: Likewise.    
3218         * testsuite/22_locale/codecvt/max_length/wchar_t/wrapped_env.cc:
3219         Likewise.  
3220         * testsuite/22_locale/codecvt/max_length/wchar_t/wrapped_locale.cc:
3221         Likewise.
3222         * testsuite/22_locale/codecvt/out/char/wrapped_env.cc: Likewise.    
3223         * testsuite/22_locale/codecvt/out/char/wrapped_locale.cc: Likewise. 
3224         * testsuite/22_locale/codecvt/out/wchar_t/2.cc: Likewise.  
3225         * testsuite/22_locale/codecvt/out/wchar_t/3.cc: Likewise.  
3226         * testsuite/22_locale/codecvt/out/wchar_t/4.cc: Likewise.  
3227         * testsuite/22_locale/codecvt/out/wchar_t/7.cc: Likewise.  
3228         * testsuite/22_locale/codecvt/out/wchar_t/wrapped_env.cc: Likewise. 
3229         * testsuite/22_locale/codecvt/out/wchar_t/wrapped_locale.cc: Likewise. 
3230         * testsuite/22_locale/codecvt/unshift/char/wrapped_env.cc: Likewise.   
3231         * testsuite/22_locale/codecvt/unshift/char/wrapped_locale.cc: Likewise.
3232         * testsuite/22_locale/codecvt/unshift/wchar_t/2.cc: Likewise.    
3233         * testsuite/22_locale/codecvt/unshift/wchar_t/3.cc: Likewise.    
3234         * testsuite/22_locale/codecvt/unshift/wchar_t/4.cc: Likewise.    
3235         * testsuite/22_locale/codecvt/unshift/wchar_t/wrapped_env.cc: Likewise.
3236         * testsuite/22_locale/codecvt/unshift/wchar_t/wrapped_locale.cc:
3237         Likewise.
3238         * testsuite/22_locale/collate/compare/char/1.cc: Likewise.  
3239         * testsuite/22_locale/collate/compare/char/2.cc: Likewise.  
3240         * testsuite/22_locale/collate/compare/char/3.cc: Likewise.  
3241         * testsuite/22_locale/collate/compare/char/wrapped_env.cc: Likewise.        
3242         * testsuite/22_locale/collate/compare/char/wrapped_locale.cc: Likewise.     
3243         * testsuite/22_locale/collate/compare/wchar_t/1.cc: Likewise.     
3244         * testsuite/22_locale/collate/compare/wchar_t/2.cc: Likewise.     
3245         * testsuite/22_locale/collate/compare/wchar_t/3.cc: Likewise.     
3246         * testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc: Likewise.
3247         * testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc:
3248         Likewise.  
3249         * testsuite/22_locale/collate/hash/char/2.cc: Likewise.     
3250         * testsuite/22_locale/collate/hash/char/wrapped_env.cc: Likewise.   
3251         * testsuite/22_locale/collate/hash/char/wrapped_locale.cc: Likewise.        
3252         * testsuite/22_locale/collate/hash/wchar_t/2.cc: Likewise.  
3253         * testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc: Likewise.
3254         * testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc: Likewise.     
3255         * testsuite/22_locale/collate/transform/char/2.cc: Likewise.     
3256         * testsuite/22_locale/collate/transform/char/3.cc: Likewise.     
3257         * testsuite/22_locale/collate/transform/char/wrapped_env.cc: Likewise.      
3258         * testsuite/22_locale/collate/transform/char/wrapped_locale.cc:
3259         Likewise.
3260         * testsuite/22_locale/collate/transform/wchar_t/2.cc: Likewise. 
3261         * testsuite/22_locale/collate/transform/wchar_t/3.cc: Likewise. 
3262         * testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc:
3263         Likewise.
3264         * testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc:
3265         Likewise.
3266         * testsuite/22_locale/collate_byname/named_equivalence.cc: Likewise.
3267         * testsuite/22_locale/ctype/cons/char/wrapped_env.cc: Likewise.    
3268         * testsuite/22_locale/ctype/cons/char/wrapped_locale.cc: Likewise. 
3269         * testsuite/22_locale/ctype/is/char/2.cc: Likewise. 
3270         * testsuite/22_locale/ctype/is/char/wrapped_env.cc: Likewise.      
3271         * testsuite/22_locale/ctype/is/char/wrapped_locale.cc: Likewise.  
3272         * testsuite/22_locale/ctype/is/wchar_t/2.cc: Likewise.   
3273         * testsuite/22_locale/ctype/is/wchar_t/wrapped_env.cc: Likewise.  
3274         * testsuite/22_locale/ctype/is/wchar_t/wrapped_locale.cc: Likewise.
3275         * testsuite/22_locale/ctype/narrow/char/wrapped_env.cc: Likewise.
3276         * testsuite/22_locale/ctype/narrow/char/wrapped_locale.cc: Likewise.        
3277         * testsuite/22_locale/ctype/narrow/wchar_t/3.cc: Likewise. 
3278         * testsuite/22_locale/ctype/narrow/wchar_t/wrapped_env.cc: Likewise.        
3279         * testsuite/22_locale/ctype/narrow/wchar_t/wrapped_locale.cc: Likewise.
3280         * testsuite/22_locale/ctype/scan/char/wrapped_env.cc: Likewise.   
3281         * testsuite/22_locale/ctype/scan/char/wrapped_locale.cc: Likewise. 
3282         * testsuite/22_locale/ctype/scan/wchar_t/wrapped_env.cc: Likewise. 
3283         * testsuite/22_locale/ctype/scan/wchar_t/wrapped_locale.cc: Likewise.       
3284         * testsuite/22_locale/ctype/to/char/wrapped_env.cc: Likewise.       
3285         * testsuite/22_locale/ctype/to/char/wrapped_locale.cc: Likewise.    
3286         * testsuite/22_locale/ctype/to/wchar_t/wrapped_env.cc: Likewise.    
3287         * testsuite/22_locale/ctype/to/wchar_t/wrapped_locale.cc: Likewise. 
3288         * testsuite/22_locale/ctype/widen/char/wrapped_env.cc: Likewise.    
3289         * testsuite/22_locale/ctype/widen/char/wrapped_locale.cc: Likewise. 
3290         * testsuite/22_locale/ctype/widen/wchar_t/2.cc: Likewise.   
3291         * testsuite/22_locale/ctype/widen/wchar_t/3.cc: Likewise.   
3292         * testsuite/22_locale/ctype/widen/wchar_t/wrapped_env.cc: Likewise.
3293         * testsuite/22_locale/ctype/widen/wchar_t/wrapped_locale.cc: Likewise.
3294         * testsuite/22_locale/facet/2.cc: Likewise.
3295         * testsuite/22_locale/locale/cons/12352.cc: Likewise.
3296         * testsuite/22_locale/locale/cons/12438.cc: Likewise.
3297         * testsuite/22_locale/locale/cons/12658_thread-1.cc: Likewise. 
3298         * testsuite/22_locale/locale/cons/12658_thread-2.cc: Likewise. 
3299         * testsuite/22_locale/locale/cons/2.cc: Likewise.
3300         * testsuite/22_locale/locale/cons/4.cc: Likewise.
3301         * testsuite/22_locale/locale/cons/5.cc: Likewise.
3302         * testsuite/22_locale/locale/cons/7.cc: Likewise.
3303         * testsuite/22_locale/locale/cons/7222-env.cc: Likewise.  
3304         * testsuite/22_locale/locale/global_locale_objects/14071.cc: Likewise.  
3305         * testsuite/22_locale/locale/global_locale_objects/2.cc: Likewise.
3306         * testsuite/22_locale/messages/members/char/1.cc: Likewise.
3307         * testsuite/22_locale/messages/members/char/2.cc: Likewise.
3308         * testsuite/22_locale/messages/members/char/3.cc: Likewise.
3309         * testsuite/22_locale/messages/members/char/wrapped_env.cc: Likewise.   
3310         * testsuite/22_locale/messages/members/char/wrapped_locale.cc: Likewise.
3311         * testsuite/22_locale/messages_byname/named_equivalence.cc: Likewise.   
3312         * testsuite/22_locale/money_get/get/char/1.cc: Likewise.    
3313         * testsuite/22_locale/money_get/get/char/10.cc: Likewise.   
3314         * testsuite/22_locale/money_get/get/char/11.cc: Likewise.   
3315         * testsuite/22_locale/money_get/get/char/11528.cc: Likewise.
3316         * testsuite/22_locale/money_get/get/char/12.cc: Likewise.   
3317         * testsuite/22_locale/money_get/get/char/13.cc: Likewise.   
3318         * testsuite/22_locale/money_get/get/char/15.cc: Likewise.   
3319         * testsuite/22_locale/money_get/get/char/16.cc: Likewise.   
3320         * testsuite/22_locale/money_get/get/char/17.cc: Likewise.   
3321         * testsuite/22_locale/money_get/get/char/18.cc: Likewise.   
3322         * testsuite/22_locale/money_get/get/char/2.cc: Likewise.    
3323         * testsuite/22_locale/money_get/get/char/3.cc: Likewise.    
3324         * testsuite/22_locale/money_get/get/char/4.cc: Likewise.    
3325         * testsuite/22_locale/money_get/get/char/wrapped_env.cc: Likewise. 
3326         * testsuite/22_locale/money_get/get/char/wrapped_locale.cc: Likewise.  
3327         * testsuite/22_locale/money_get/get/wchar_t/1.cc: Likewise. 
3328         * testsuite/22_locale/money_get/get/wchar_t/10.cc: Likewise.      
3329         * testsuite/22_locale/money_get/get/wchar_t/11.cc: Likewise.      
3330         * testsuite/22_locale/money_get/get/wchar_t/11528.cc: Likewise.
3331         * testsuite/22_locale/money_get/get/wchar_t/12.cc: Likewise.      
3332         * testsuite/22_locale/money_get/get/wchar_t/13.cc: Likewise.      
3333         * testsuite/22_locale/money_get/get/wchar_t/15.cc: Likewise.      
3334         * testsuite/22_locale/money_get/get/wchar_t/16.cc: Likewise.      
3335         * testsuite/22_locale/money_get/get/wchar_t/17.cc: Likewise.      
3336         * testsuite/22_locale/money_get/get/wchar_t/18.cc: Likewise.      
3337         * testsuite/22_locale/money_get/get/wchar_t/2.cc: Likewise. 
3338         * testsuite/22_locale/money_get/get/wchar_t/3.cc: Likewise. 
3339         * testsuite/22_locale/money_get/get/wchar_t/4.cc: Likewise. 
3340         * testsuite/22_locale/money_get/get/wchar_t/wrapped_env.cc: Likewise.      
3341         * testsuite/22_locale/money_get/get/wchar_t/wrapped_locale.cc: Likewise.
3342         * testsuite/22_locale/money_put/put/char/1.cc: Likewise.  
3343         * testsuite/22_locale/money_put/put/char/2.cc: Likewise.  
3344         * testsuite/22_locale/money_put/put/char/3.cc: Likewise.  
3345         * testsuite/22_locale/money_put/put/char/9780-3.cc: Likewise.      
3346         * testsuite/22_locale/money_put/put/char/wrapped_env.cc: Likewise. 
3347         * testsuite/22_locale/money_put/put/char/wrapped_locale.cc: Likewise.  
3348         * testsuite/22_locale/money_put/put/wchar_t/1.cc: Likewise. 
3349         * testsuite/22_locale/money_put/put/wchar_t/2.cc: Likewise. 
3350         * testsuite/22_locale/money_put/put/wchar_t/3.cc: Likewise. 
3351         * testsuite/22_locale/money_put/put/wchar_t/wrapped_env.cc: Likewise.     
3352         * testsuite/22_locale/money_put/put/wchar_t/wrapped_locale.cc: Likewise.
3353         * testsuite/22_locale/moneypunct/members/char/2.cc: Likewise.
3354         * testsuite/22_locale/moneypunct/members/char/wrapped_env.cc: Likewise.    
3355         * testsuite/22_locale/moneypunct/members/char/wrapped_locale.cc:
3356         Likewise. 
3357         * testsuite/22_locale/moneypunct/members/wchar_t/2.cc: Likewise.   
3358         * testsuite/22_locale/moneypunct/members/wchar_t/wrapped_env.cc:
3359         Likewise.
3360         * testsuite/22_locale/moneypunct/members/wchar_t/wrapped_locale.cc:
3361         Likewise.
3362         * testsuite/22_locale/moneypunct_byname/named_equivalence.cc: Likewise.
3363         * testsuite/22_locale/num_get/get/char/1.cc: Likewise.   
3364         * testsuite/22_locale/num_get/get/char/3.cc: Likewise.   
3365         * testsuite/22_locale/num_get/get/char/5.cc: Likewise.   
3366         * testsuite/22_locale/num_get/get/char/6.cc: Likewise.   
3367         * testsuite/22_locale/num_get/get/char/9.cc: Likewise.   
3368         * testsuite/22_locale/num_get/get/char/wrapped_env.cc: Likewise.
3369         * testsuite/22_locale/num_get/get/char/wrapped_locale.cc: Likewise. 
3370         * testsuite/22_locale/num_get/get/wchar_t/1.cc: Likewise.  
3371         * testsuite/22_locale/num_get/get/wchar_t/3.cc: Likewise.  
3372         * testsuite/22_locale/num_get/get/wchar_t/5.cc: Likewise.  
3373         * testsuite/22_locale/num_get/get/wchar_t/6.cc: Likewise.  
3374         * testsuite/22_locale/num_get/get/wchar_t/9.cc: Likewise.  
3375         * testsuite/22_locale/num_get/get/wchar_t/wrapped_env.cc: Likewise. 
3376         * testsuite/22_locale/num_get/get/wchar_t/wrapped_locale.cc: Likewise. 
3377         * testsuite/22_locale/num_put/put/char/1.cc: Likewise.      
3378         * testsuite/22_locale/num_put/put/char/20909.cc: Likewise.  
3379         * testsuite/22_locale/num_put/put/char/20914.cc: Likewise.  
3380         * testsuite/22_locale/num_put/put/char/3.cc: Likewise.      
3381         * testsuite/22_locale/num_put/put/char/5.cc: Likewise.      
3382         * testsuite/22_locale/num_put/put/char/9780-2.cc: Likewise. 
3383         * testsuite/22_locale/num_put/put/char/wrapped_env.cc: Likewise.    
3384         * testsuite/22_locale/num_put/put/char/wrapped_locale.cc: Likewise. 
3385         * testsuite/22_locale/num_put/put/wchar_t/1.cc: Likewise. 
3386         * testsuite/22_locale/num_put/put/wchar_t/20909.cc: Likewise.   
3387         * testsuite/22_locale/num_put/put/wchar_t/20914.cc: Likewise.   
3388         * testsuite/22_locale/num_put/put/wchar_t/3.cc: Likewise. 
3389         * testsuite/22_locale/num_put/put/wchar_t/5.cc: Likewise.
3390         * testsuite/22_locale/num_put/put/wchar_t/wrapped_env.cc: Likewise.
3391         * testsuite/22_locale/num_put/put/wchar_t/wrapped_locale.cc: Likewise. 
3392         * testsuite/22_locale/numpunct/members/char/2.cc: Likewise.
3393         * testsuite/22_locale/numpunct/members/char/3.cc: Likewise.
3394         * testsuite/22_locale/numpunct/members/char/wrapped_env.cc: Likewise.    
3395         * testsuite/22_locale/numpunct/members/char/wrapped_locale.cc: Likewise.
3396         * testsuite/22_locale/numpunct/members/wchar_t/2.cc: Likewise.    
3397         * testsuite/22_locale/numpunct/members/wchar_t/wrapped_env.cc: Likewise.
3398         * testsuite/22_locale/numpunct/members/wchar_t/wrapped_locale.cc:
3399         Likewise. 
3400         * testsuite/22_locale/numpunct_byname/named_equivalence.cc: Likewise.       
3401         * testsuite/22_locale/time_get/date_order/char/wrapped_env.cc: Likewise.    
3402         * testsuite/22_locale/time_get/date_order/char/wrapped_locale.cc:
3403         Likewise. 
3404         * testsuite/22_locale/time_get/date_order/wchar_t/wrapped_env.cc:
3405         Likewise. 
3406         * testsuite/22_locale/time_get/date_order/wchar_t/wrapped_locale.cc:
3407         Likewise.
3408         * testsuite/22_locale/time_get/get_date/char/12750.cc: Likewise.
3409         * testsuite/22_locale/time_get/get_date/char/2.cc: Likewise.   
3410         * testsuite/22_locale/time_get/get_date/char/wrapped_env.cc: Likewise.      
3411         * testsuite/22_locale/time_get/get_date/char/wrapped_locale.cc:
3412         Likewise.
3413         * testsuite/22_locale/time_get/get_date/wchar_t/12750.cc: Likewise. 
3414         * testsuite/22_locale/time_get/get_date/wchar_t/2.cc: Likewise.     
3415         * testsuite/22_locale/time_get/get_date/wchar_t/4.cc: Likewise.     
3416         * testsuite/22_locale/time_get/get_date/wchar_t/wrapped_env.cc:
3417         Likewise.  
3418         * testsuite/22_locale/time_get/get_date/wchar_t/wrapped_locale.cc:
3419         Likewise.
3420         * testsuite/22_locale/time_get/get_monthname/char/2.cc: Likewise.  
3421         * testsuite/22_locale/time_get/get_monthname/char/wrapped_env.cc:
3422         Likewise.
3423         * testsuite/22_locale/time_get/get_monthname/char/wrapped_locale.cc:
3424         Likewise.
3425         * testsuite/22_locale/time_get/get_monthname/wchar_t/2.cc: Likewise.
3426         * testsuite/22_locale/time_get/get_monthname/wchar_t/wrapped_env.cc:
3427         Likewise.
3428         * testsuite/22_locale/time_get/get_monthname/wchar_t/wrapped_locale.cc:
3429         Likewise.
3430         * testsuite/22_locale/time_get/get_time/char/1.cc: Likewise.
3431         * testsuite/22_locale/time_get/get_time/char/2.cc: Likewise.
3432         * testsuite/22_locale/time_get/get_time/char/wrapped_env.cc: Likewise.
3433         * testsuite/22_locale/time_get/get_time/char/wrapped_locale.cc:
3434         Likewise.
3435         * testsuite/22_locale/time_get/get_time/wchar_t/1.cc: Likewise.
3436         * testsuite/22_locale/time_get/get_time/wchar_t/2.cc: Likewise.
3437         * testsuite/22_locale/time_get/get_time/wchar_t/wrapped_env.cc:
3438         Likewise. 
3439         * testsuite/22_locale/time_get/get_time/wchar_t/wrapped_locale.cc:
3440         Likewise.
3441         * testsuite/22_locale/time_get/get_weekday/char/2.cc: Likewise.
3442         * testsuite/22_locale/time_get/get_weekday/char/wrapped_env.cc:
3443         Likewise.
3444         * testsuite/22_locale/time_get/get_weekday/char/wrapped_locale.cc:
3445         Likewise. 
3446         * testsuite/22_locale/time_get/get_weekday/wchar_t/2.cc: Likewise.
3447         * testsuite/22_locale/time_get/get_weekday/wchar_t/wrapped_env.cc:
3448         Likewise.    
3449         * testsuite/22_locale/time_get/get_weekday/wchar_t/wrapped_locale.cc:
3450         Likewise. 
3451         * testsuite/22_locale/time_put/put/char/17038.cc: Likewise. 
3452         * testsuite/22_locale/time_put/put/char/2.cc: Likewise.     
3453         * testsuite/22_locale/time_put/put/char/3.cc: Likewise.     
3454         * testsuite/22_locale/time_put/put/char/4.cc: Likewise.     
3455         * testsuite/22_locale/time_put/put/char/6.cc: Likewise.     
3456         * testsuite/22_locale/time_put/put/char/7.cc: Likewise.     
3457         * testsuite/22_locale/time_put/put/char/8.cc: Likewise.     
3458         * testsuite/22_locale/time_put/put/char/9780-1.cc: Likewise.       
3459         * testsuite/22_locale/time_put/put/char/wrapped_env.cc: Likewise.
3460         * testsuite/22_locale/time_put/put/char/wrapped_locale.cc: Likewise.  
3461         * testsuite/22_locale/time_put/put/wchar_t/17038.cc: Likewise.   
3462         * testsuite/22_locale/time_put/put/wchar_t/2.cc: Likewise.
3463         * testsuite/22_locale/time_put/put/wchar_t/3.cc: Likewise.
3464         * testsuite/22_locale/time_put/put/wchar_t/4.cc: Likewise.
3465         * testsuite/22_locale/time_put/put/wchar_t/6.cc: Likewise.
3466         * testsuite/22_locale/time_put/put/wchar_t/7.cc: Likewise.
3467         * testsuite/22_locale/time_put/put/wchar_t/8.cc: Likewise.
3468         * testsuite/22_locale/time_put/put/wchar_t/wrapped_env.cc: Likewise.     
3469         * testsuite/22_locale/time_put/put/wchar_t/wrapped_locale.cc: Likewise.
3470         * testsuite/27_io/basic_filebuf/imbue/char/13007.cc: Likewise.  
3471         * testsuite/27_io/basic_filebuf/imbue/char/13171-1.cc: Likewise.
3472         * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
3473         * testsuite/27_io/basic_filebuf/imbue/char/13171-4.cc: Likewise.
3474         * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise.
3475         * testsuite/27_io/basic_filebuf/imbue/char/14975-1.cc: Likewise.
3476         * testsuite/27_io/basic_filebuf/imbue/char/2.cc: Likewise. 
3477         * testsuite/27_io/basic_filebuf/imbue/char/9322.cc: Likewise.       
3478         * testsuite/27_io/basic_filebuf/imbue/wchar_t/12868.cc: Likewise.
3479         * testsuite/27_io/basic_filebuf/imbue/wchar_t/13007.cc: Likewise.   
3480         * testsuite/27_io/basic_filebuf/imbue/wchar_t/13171-3.cc: Likewise. 
3481         * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-2.cc: Likewise. 
3482         * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-3.cc: Likewise. 
3483         * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc: Likewise. 
3484         * testsuite/27_io/basic_filebuf/imbue/wchar_t/2.cc: Likewise.       
3485         * testsuite/27_io/basic_filebuf/imbue/wchar_t/9322.cc: Likewise.    
3486         * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1.cc: Likewise.  
3487         * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2.cc: Likewise.  
3488         * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3.cc: Likewise.  
3489         * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4.cc: Likewise.  
3490         * testsuite/27_io/basic_filebuf/seekoff/wchar_t/1.cc: Likewise.    
3491         * testsuite/27_io/basic_filebuf/seekoff/wchar_t/2.cc: Likewise.    
3492         * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9874.cc: Likewise. 
3493         * testsuite/27_io/basic_filebuf/underflow/wchar_t/1.cc: Likewise.  
3494         * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-1.cc: Likewise.  
3495         * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-2.cc: Likewise.  
3496         * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-3.cc: Likewise.  
3497         * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-4.cc: Likewise.  
3498         * testsuite/27_io/basic_filebuf/underflow/wchar_t/2.cc: Likewise.
3499         * testsuite/27_io/basic_filebuf/underflow/wchar_t/3.cc: Likewise.
3500         * testsuite/27_io/basic_filebuf/underflow/wchar_t/4.cc: Likewise.
3501         * testsuite/27_io/basic_filebuf/underflow/wchar_t/5.cc: Likewise.
3502         * testsuite/27_io/basic_filebuf/underflow/wchar_t/9520.cc: Likewise.        
3503         * testsuite/27_io/basic_ios/copyfmt/char/2.cc: Likewise.   
3504         * testsuite/27_io/basic_ostream/inserters_arithmetic/char/2.cc:
3505         Likewise.   
3506         * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/2.cc:
3507         Likewise.
3508         * testsuite/27_io/basic_streambuf/imbue/char/13007-1.cc: Likewise.
3509         * testsuite/27_io/basic_streambuf/imbue/char/13007-2.cc: Likewise.
3510         * testsuite/27_io/basic_streambuf/imbue/char/9322.cc: Likewise.  
3511         * testsuite/27_io/basic_streambuf/imbue/wchar_t/13007-1.cc: Likewise.    
3512         * testsuite/27_io/basic_streambuf/imbue/wchar_t/13007-2.cc: Likewise.    
3513         * testsuite/27_io/basic_streambuf/imbue/wchar_t/9322.cc: Likewise. 
3514         * testsuite/27_io/basic_stringbuf/imbue/char/9322.cc: Likewise.    
3515         * testsuite/27_io/basic_stringbuf/imbue/wchar_t/9322.cc: Likewise.
3516         * testsuite/27_io/objects/wchar_t/10.cc: Likewise. 
3517         * testsuite/27_io/objects/wchar_t/11.cc: Likewise. 
3518         * testsuite/27_io/objects/wchar_t/12.cc: Likewise. 
3519         * testsuite/27_io/objects/wchar_t/13.cc: Likewise. 
3520         * testsuite/27_io/objects/wchar_t/9520.cc: Likewise.
3521         * testsuite/ext/stdio_sync_filebuf/wchar_t/12077.cc: Likewise.
3523 2005-05-17  Nathan Sidwell  <nathan@codesourcery.com>
3525         * libsupc++/eh_personality.cc (gcc_unreachable): Define.
3527 2005-05-16  Paolo Carlini  <pcarlini@suse.de>
3529         * docs/html/install.html: Update list of required named
3530         locales, add "es_ES".
3532 2005-05-13  Magnus Fromreide  <magfr@lysator.liu.se>
3534         * testsuite/27_io/basic_streambuf/sgetn/char/1.cc: Use
3535         initialization instead of copying as the string is used only once.
3536         * testsuite/27_io/basic_streambuf/sgetn/wchar_t/1.cc: Likewise.
3537         * testsuite/27_io/basic_streambuf/sputn/char/1.cc: Likewise.
3538         * testsuite/27_io/basic_streambuf/sputn/wchar_t/1.cc: Likewise.
3540 2005-05-12  Benjamin Kosnik  <bkoz@redhat.com>
3542         * scripts/create_testsuite_files: Fix.
3543         
3544 2005-05-12  Kaz Kojima  <kkojima@gcc.gnu.org>
3546         * testsuite/18_support/numeric_limits.cc (dg-options): Add
3547         -mieee to options on sh*-*-*.
3549 2005-05-10  Jonathan Wakely  <redi@gcc.gnu.org>
3551         * include/debug/debug.h: Fix typo in macro name.
3553 2005-05-09  Paolo Carlini  <pcarlini@suse.de>
3554             Giovanni Bajo  <giovannibajo@gcc.gnu.org>
3555             
3556         PR libstdc++/18604
3557         * include/bits/deque.tcc: Fully qualify names from namespace std.
3558         * include/bits/stl_bvector.h: Likewise.
3559         * include/bits/stl_deque.h: Likewise.
3560         * include/bits/stl_list.h: Likewise.
3561         * include/bits/stl_map.h: Likewise.
3562         * include/bits/stl_multimap.h: Likewise.
3563         * include/bits/stl_multiset.h: Likewise.
3564         * include/bits/stl_set.h: Likewise.
3565         * include/bits/stl_vector.h: Likewise.
3566         * include/bits/vector.tcc: Likewise.
3567         * include/std/std_bitset.h: Likewise.
3568         * testsuite/23_containers/bitset/18604.cc: New.
3569         * testsuite/23_containers/deque/18604.cc: Likewise.
3570         * testsuite/23_containers/list/18604.cc: Likewise.
3571         * testsuite/23_containers/map/18604.cc: Likewise.
3572         * testsuite/23_containers/set/18604.cc: Likewise.
3573         * testsuite/23_containers/vector/18604.cc: Likewise.    
3575 2005-05-09  Mike Stump  <mrs@apple.com>
3577         * configure: Regenerate.
3579 2005-05-09  Jonathan Wakely  <redi@gcc.gnu.org>
3581         DR 434. bitset::to_string() hard to use [Ready]
3582         * include/debug/bitset (to_string): Add three overloads, taking
3583         fewer template arguments.
3585 2005-05-06  Mark Mitchell  <mark@codesourcery.com>
3587         * testsuite/testsuite_hooks.cc (try_mkfifo): Remove.
3588         * testsuite/testsuite_hooks.h (try_mkfifo): Likewise.
3589         * testsuite/27_io/basic_filebuf/close/char/4879.cc: Use
3590         dg-require-fork and dg-require-mkfifo.  Replace try_mkfifo with
3591         mkfifo.
3592         * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise.
3593         * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
3594         * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise.
3595         * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-2.cc:
3596         Likewise.
3597         * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc:
3598         Likewise.
3599         * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise.
3600         * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc:
3601         Likewise.
3602         * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise.
3603         * testsuite/27_io/objects/char/7.cc: Likewise.
3604         * testsuite/27_io/objects/char/9661-1.cc: Likewise.
3605         * testsuite/27_io/objects/wchar_t/7.cc: Likewise.
3606         * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise.
3608 2005-05-04  Benjamin Kosnik  <bkoz@redhat.com>
3610         * acinclude.m4: Remove testsuite_wchar_t and testsuite_thread.
3611         * testsuite/Makefile.am: Same.
3612         * scripts/create_testsuite_files: Same. 
3613         * Makefile.in: Regenerate.
3614         * configure: Same.
3615         * include/Makefile.in: Same.
3616         * libmath/Makefile.in: Same.
3617         * libsupc++/Makefile.in: Same.
3618         * po/Makefile.in: Same.
3619         * src/Makefile.in: Same.
3621 2005-05-04  Mark Mitchell  <mark@codesourcery.com>
3623         * testsuite/lib/libstdc++.exp (v3-build_support): Look for
3624         __GTHREADS, rather than _GLIBCXX_HAVE_GTHR_DEFAULT, to determine
3625         whether or not thread support is available.
3627         * docs/html/test.html: Explain how to run the testsuite on an
3628         installed directory. 
3630 2005-05-01  Paolo Carlini  <pcarlini@suse.de>
3632         * config/os/aix/os_defines.h: Remove obsolete __off_t,
3633         __off64_t, __ssize_t defines.
3634         * config/os/djgpp/os_defines.h: Likewise.
3635         * config/os/hpux/os_defines.h: Likewise.
3636         * config/os/irix/irix5.2/os_defines.h: Likewise.
3637         * config/os/irix/irix6.5/os_defines.h: Likewise.
3638         * config/os/solaris/solaris2.5/os_defines.h: Likewise.
3639         * config/os/solaris/solaris2.6/os_defines.h: Likewise.
3640         * config/os/solaris/solaris2.7/os_defines.h: Likewise.
3641         * docs/html/17_intro/porting.html: Don't discuss the defines.
3642         * docs/html/17_intro/porting.texi: Likewise.
3644 2005-04-29  Paolo Carlini  <pcarlini@suse.de>
3645             Nathan Myers  <ncm@cantrip.org>
3647         PR libstdc++/21286
3648         * include/bits/fstream.tcc (basic_filebuf<>::xsgetn):
3649         Loop on short reads; remove the work-around for
3650         libstdc++/20806, not needed anymore.
3652 2005-04-29  Paolo Carlini  <pcarlini@suse.de>
3654         PR libstdc++/21238
3655         * include/bits/locale_facets.tcc (num_get::_M_extract_float,
3656         num_get::_M_extract_int, num_get::do_get(bool&),
3657         num_put::_M_insert_int, num_put::_M_insert_float,
3658         num_put::do_put(bool), money_get::_M_extract,
3659         money_put::_M_insert): Adjust the __cache_type typedef not to
3660         forward to a numpunct/moneypunct typedef.
3661         * testsuite/testsuite_character.h: Add pod_uint and its numpunct
3662         and moneypunct specializations.
3663         * testsuite/testsuite_character.cc: Add numpunct<pod_uint>::id
3664         and moneypunct<pod_uint>::id.
3665         * testsuite/22_locale/num_get/3.cc: New.
3666         * testsuite/22_locale/num_put/3.cc: Likewise.
3667         * testsuite/22_locale/money_get/3.cc: Likewise.
3668         * testsuite/22_locale/money_put/3.cc: Likewise.
3670         * include/bits/locale_facets.tcc (money_put::_M_insert,
3671         time_get::_M_extract_name): Prefer operator== to operator!=
3672         on char_types.
3674 2005-04-29  Paolo Carlini  <pcarlini@suse.de>
3676         * include/tr1/type_traits (is_convertible): Adjust according
3677         to the resolution of TR1 issue 3.20.
3678         * testsuite/tr1/4_metaprogramming/relationships_between_types/
3679         is_convertible/is_convertible.cc: Add tests.
3681 2005-04-28  Paolo Carlini  <pcarlini@suse.de>
3682             Gabriel Dos Reis  <gdr@integrable-solutions.net>
3684         PR libstdc++/21244 (cont)
3685         * include/bits/cpp_type_traits.h (struct __traitor): Convert
3686         to bool the values.
3687         * include/bits/stl_algo.h: Convert _S_threshold to int.
3688         * include/bits/stl_bvector.h: Revert previous change, convert
3689         _S_word_bit to int.
3690         * include/debug/formatter.h: Convert __max_parameters to
3691         size_t.
3692         * include/ext/mt_allocator.h: Likewise for _S_chunk_size.
3693         * include/ext/pool_allocator.h: Likewise for _S_max_bytes and
3694         _S_align.
3695         * include/ext/rope: Likewise for _S_alloc_granularity; convert
3696         _S_max_rope_depth to int.
3697         * include/ext/ropeimpl.h: Convert _S_path_cache_len to int;
3698         _S_max_rope_depth to int; _S_copy_max to size_t.
3700 2005-04-27  Benjamin Kosnik  <bkoz@redhat.com>
3702         * docs/doxygen/user.cfg.in: Update to doxygen-1.4.2.
3703         * docs/doxygen/doxygroups.cc: Update namespace comments.
3705 2005-04-27  Dominik Strasser  <dominik.strasser@infineon.com>
3706             Paolo Carlini  <pcarlini@suse.de>
3708         PR libstdc++/21244
3709         * include/bits/stl_bvector.h: Change the anonymous enum
3710         at namespace scope to _S_word_bit_enum.
3711         * testsuite/23_containers/vector/bool/21244.cc: New.
3713 2005-04-27  Paolo Carlini  <pcarlini@suse.de>
3715         * include/tr1/type_traits (has_trivial_copy, has_trivial_assign,
3716         has_nothrow_copy, has_nothrow_assign): Adjust according to the
3717         resolution of TR1 issue 3.21.
3718         * testsuite/testsuite_tr1.h (test_copy_property,
3719         test_assign_property): Remove.
3720         * testsuite/tr1/4_metaprogramming/type_properties/
3721         has_nothrow_assign/has_nothrow_assign.cc: Adjust.
3722         * testsuite/tr1/4_metaprogramming/type_properties/
3723         has_nothrow_copy/has_nothrow_copy.cc: Likewise.
3724         * testsuite/tr1/4_metaprogramming/type_properties/
3725         has_trivial_assign/has_trivial_assign.cc: Likewise.
3726         * testsuite/tr1/4_metaprogramming/type_properties/
3727         has_trivial_copy/has_trivial_copy.cc: Likewise.
3729 2005-04-26  Jones Desougi  <jones@ingate.com>
3731         PR libstdc++/21131
3732         * linkage.m4: Fix comments.
3734 2005-04-26  Paolo Carlini  <pcarlini@suse.de>
3736         PR libstdc++/21209
3737         * include/bits/locale_facets.tcc (_M_extract_int): Avoid signed
3738         integer overflow, always use a suited unsigned type in the main
3739         parsing loop.
3740         (struct __to_unsigned_type): New.
3741         * testsuite/22_locale/num_get/get/char/16.cc: New.
3742         * testsuite/22_locale/num_get/get/wchar_t/16.cc: Likewise.
3744 2005-04-25  Paolo Carlini  <pcarlini@suse.de>
3746         PR libstdc++/21035
3747         * include/bits/basic_string.h (compare): Adjust the documentation
3748         to match the implementation and the standard.
3750 2005-04-24  Paolo Carlini  <pcarlini@suse.de>
3752         * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 35.
3754 2005-04-20  Mark Mitchell  <mark@codesourcery.com>
3756         * testsuite/ext/bitmap_allocator/check_allocate_max_size.cpp: Add
3757         explicit instantiations for systems without weak symbols.
3758         * testsuite/ext/bitmap_allocator/check_deallocate_null.cc:
3759         Likewise. 
3761 2005-04-18  Jonathan Wakely  <redi@gcc.gnu.org>
3763         * include/bits/stl_algo.h (rotate_copy): Add missing std qualification.
3765 2005-04-17  Paolo Carlini  <pcarlini@suse.de>
3767         PR libstdc++/20914
3768         * include/bits/locale_facets.tcc (__int_to_char(_CharT*, _ValueT,
3769         const _CharT*, ios_base::fmtflags, bool)): Don't deal with numeric
3770         base or sign here, instead...
3771         (_M_insert_int(_OutIter, ios_base&, _CharT, _ValueT)): ... here,
3772         after adding the grouping. This fixes the bug and also allows to
3773         clean-up the code dealing with integer types.
3774         (_M_group_int(const char*, size_t, _CharT, ios_base&, _CharT*,
3775         _CharT*, int&)): Simplify, remove bits dealing with numeric base.
3776         (__int_to_char(_CharT*, unsigned long, const _CharT*,
3777         ios_base::fmtflags), __int_to_char(_CharT*, unsigned long long,
3778         const _CharT*, ios_base::fmtflags)): Remove hackish fix for
3779         libstdc++/15565.
3780         (__int_to_char(_CharT*, long, const _CharT*, ios_base::fmtflags),
3781         __int_to_char(_CharT*, long long, const _CharT*, ios_base::fmtflags)):
3782         Simplify, don't pass the sign.
3783         (_M_insert_float(_OutIter, ios_base&, _CharT, char, _ValueT)):
3784         Deal with a sign at the beginning of __cs; robustify the grouping
3785         check.
3786         * testsuite/22_locale/num_put/put/char/20914.cc: New.
3787         * testsuite/22_locale/num_put/put/wchar_t/20914.cc: Likewise.
3789 2005-04-14  Benjamin Kosnik  <bkoz@redhat.com>
3791         * include/ext/bitmap_allocator.h
3792         (__gnu_cxx::free_list::_M_get_mutex): New.
3793         (__gnu_cxx::free_list::_M_get_free_list): New.
3794         (__gnu_cxx::free_list::_S_bfl_mutex): Remove.
3795         (__gnu_cxx::free_list::_S_free_list): Remove.
3796         * src/bitmap_allocator.cc: Same.
3797         * config/linker-map.gnu: Remove free_list and mutex export.
3799 2005-04-14  Benjamin Kosnik  <bkoz@redhat.com>
3801         *  include/ext/pod_char_traits.h (__gnu_cxx::character): Add char_type.
3802         (character::to): New.
3803         (character::from): New.
3804         (operator==): Add state parameter.
3805         (operator<): Same.
3806         (char_traits::copy): Use std::copy.
3807         (char_traits::assign): Use std::fill_n.
3808         (char_traits::to_char_type): Use character::from.
3809         (char_traits::to_int_type): Use character::to.
3810         *  testsuite/testsuite_character.h (__gnu_test::character): Remove.
3811         (__gnu_test::conversion_state): Remove.
3812         (__gnu_test::pod_char): Remove.
3813         (pod_char): New typedef.
3814         (pod_uchar): New typedef.
3815         (pod_ushort): New typedef.
3816         *  testsuite/testsuite_character.cc: Fixups.
3817         *  testsuite/21_strings/basic_string/inserters_extractors/pod/
3818         10081-in.cc: Same.
3819         *  testsuite/21_strings/basic_string/inserters_extractors/pod/
3820         10081-out.cc: Same.
3821         *  testsuite/22_locale/numpunct/members/pod/1.cc: Same.
3822         *  testsuite/22_locale/numpunct/members/pod/2.cc: Same.
3823         *  testsuite/27_io/basic_filebuf/close/12790-1.cc: Same.
3824         *  testsuite/27_io/basic_filebuf/open/12790-1.cc: Same.
3825         *  testsuite/27_io/basic_filebuf/seekoff/12790-1.cc: Same.
3826         *  testsuite/27_io/basic_filebuf/seekoff/12790-2.cc: Same.
3827         *  testsuite/27_io/basic_filebuf/seekoff/12790-3.cc: Same.
3828         *  testsuite/27_io/basic_filebuf/seekoff/12790-4.cc: Same.
3829         *  testsuite/27_io/basic_filebuf/seekpos/12790-1.cc: Same.
3830         *  testsuite/27_io/basic_filebuf/seekpos/12790-2.cc: Same.
3831         *  testsuite/27_io/basic_filebuf/seekpos/12790-3.cc: Same.
3832         *  testsuite/27_io/basic_ios/imbue/14072.cc: Same.
3833         *  testsuite/27_io/basic_istream/extractors_arithmetic/pod/
3834         3983-1.cc: Same.
3835         *  testsuite/27_io/basic_istream/extractors_character/pod/
3836         3983-2.cc: Same.
3837         *  testsuite/27_io/basic_istream/extractors_other/pod/3983-3.cc: Same.
3838         *  testsuite/27_io/basic_istream/sentry/pod/1.cc: Same.
3839         *  testsuite/27_io/basic_ostream/sentry/pod/1.cc: Same.
3841 2005-04-12  Mike Stump  <mrs@apple.com>
3843         * configure: Regenerate.
3845 2005-04-08  Benjamin Kosnik  <bkoz@redhat.com>
3847         * testsuite/Makefile.am: Remove libv3test.a.
3848         * testsuite/Makefile.in: Regenerate.
3849         * testsuite/lib/libstdc++.exp (v3_target_compile): Fix comments.
3850         
3851 2005-04-08  Paolo Carlini  <pcarlini@suse.de>
3853         PR libstdc++/20909
3854         * include/bits/locale_facets.tcc (num_put<>::_M_insert_float):
3855         Don't even try to group numbers like 2e20, i.e., no decimal
3856         point, scientific notation.
3857         * testsuite/22_locale/num_put/put/char/20909.cc: New.
3858         * testsuite/22_locale/num_put/put/wchar_t/20909.cc: Likewise.
3860 2005-04-08  Kelley Cook  <kcook@gcc.gnu.org>
3862         * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Define _GLIBCXX_ASM_SYMVER.
3863         * acconfig.h: Delete file.
3864         * Makefile.in, acinclude.m4, configure: Regenerate.
3866 2005-04-08  Kelley Cook  <kcook@gcc.gnu.org>
3868         * linkage.m4 (GLIBCXX_MAYBE_UNDERSCORED_FUNCS): New macro.
3869         (GLIBCXX_CHECK_MATH_DECL_AND_LINKAGE_1,
3870         GLIBCXX_CHECK_MATH_DECL_AND_LINKAGE_2,
3871         GLIBCXX_CHECK_MATH_DECL_AND_LINKAGE_3,
3872         GLIBCXX_CHECK_MATH_DECLS_AND_LINKAGES_1,
3873         GLIBCXX_CHECK_STDLIB_DECL_AND_LINKAGE_2): Use it.
3874         (GLIBCXX_CHECK_MATH_SUPPORT): Delete obsolete comment.
3875         * acconfig.h: Delete redundant macros.
3876         * config.h.in, configure: Regenerate.
3878 2005-04-08  Kelley Cook  <kcook@gcc.gnu.org>
3880         * linkage.m4 (GLIBCXX_CHECK_MATH_DECLS_AND_LINKAGES_1): Eliminate
3881         a subshell and if test fails, test for same functions with 
3882         leading underscore.
3883         (GLIBCXX_CHECK_MATH_SUPPORT): Eliminate seperate checks for _funcs.
3884         * configure: Regenerate.
3886 2005-04-08  Danny Smith  <dannysmith@users.sourceforge.net>
3887             Paolo Carlini  <pcarlini@suse.de>
3888                         
3889         PR libstdc++/20806
3890         * config/os/mingw32/os_defines.h: Define
3891         _GLIBCXX_HAVE_DOS_BASED_FILESYSTEM.
3892         * config/os/newlib/os_defines.h: Likewise, for __CYGWIN__.
3893         * include/bits/fstream.tcc (basic_filebuf<>::showmanyc()):
3894         Use it.
3895         (basic_filebuf<>::xsgetn(_CharT*, streamsize)): Likewise.
3897 2005-04-08  Kelley Cook  <kcook@gcc.gnu.org>
3899         * acconfig.h: Sort the bottom section.
3900         * config.h.in: Regenerate.
3902 2005-04-08  Kelley Cook  <kcook@gcc.gnu.org>
3904         * acconfig.h: Remove redundant HAVE_FLOAT_H.
3905         * config.h.in: Regenerate.
3907 2005-04-08  Kelley Cook  <kcook@gcc.gnu.org>
3909         * configure.ac: Create template for PACKAGE and VERSION.
3910         Update comment on how to regenerate file.  Update minimum
3911         automake version to 1.9.3.
3912         * acconfig.h: Remove PACKAGE and VERSION.
3913         * aclocal.m4, configure, Makefile.in, po/Makefile.in, 
3914         src/Makefile.in, include/Makefile.in, libmath/Makefile.in, 
3915         testsuite/Makefile.in, config.h.in: Regenerate.
3917 2005-04-06  Benjamin Kosnik  <bkoz@redhat.com>
3919         * docs/html/test.html: Update.
3920         * testsuite/printnow.c: Remove.
3921         * scripts/check_survey.in: Remove.
3923         * testsuite/abi_check.cc: To...
3924         * testuite/testsuite_abi_check.cc: ...here.
3925         * testsuite/libstdc++-abi/abi.exp: Change abi_check.cc to
3926         testsuite_abi_check.cc.
3928         * testsuite/testsuite_hooks.h: Move character related bits to...
3929         * testsuite/testsuite_character.h: ...here.
3930         * testsuite/testsuite_character.cc: ... and here.
3931         * testsuite/21_strings/basic_string/inserters_extractors/pod/
3932         10081-in.cc: Use testsuite_character.h.
3933         * testsuite/21_strings/basic_string/inserters_extractors/pod/
3934         10081-out.cc: Same.
3935         * testsuite/22_locale/numpunct/members/pod/1.cc: Same.
3936         * testsuite/22_locale/numpunct/members/pod/2.cc: Same.
3937         * testsuite/27_io/basic_filebuf/2.cc: Same.
3938         * testsuite/27_io/basic_fstream/2.cc: Same.
3939         * testsuite/27_io/basic_istream/2.cc: Same.
3940         * testsuite/27_io/basic_istream/extractors_arithmetic/pod/
3941         3983-1.cc: Same.
3942         * testsuite/27_io/basic_istream/extractors_character/char/
3943         9826.cc: Same.
3944         * testsuite/27_io/basic_istream/extractors_character/pod/
3945         3983-2.cc: Same.
3946         * testsuite/27_io/basic_istream/extractors_other/pod/3983-3.cc: Same.
3947         * testsuite/27_io/basic_istream/sentry/pod/1.cc: Same.
3948         * testsuite/27_io/basic_ostream/2.cc: Same.
3949         * testsuite/27_io/basic_ostream/sentry/pod/1.cc: Same.
3950         * testsuite/27_io/basic_streambuf/2.cc: Same.
3951         * testsuite/27_io/basic_stringbuf/2.cc: Same.
3952         * testsuite/27_io/basic_stringbuf/4.cc: Same.
3953         * testsuite/27_io/basic_stringstream/2.cc: Same.
3954         * testsuite/27_io/fpos/1.cc: Same.
3955         * testsuite/ext/mt_allocator/tune-1.cc: Same.
3956         * testsuite/ext/mt_allocator/tune-2.cc: Same.
3957         * testsuite/ext/stdio_filebuf/char/1.cc: Same.  
3958         * testsuite/lib/libstdc++.exp (v3-build_support): Add
3959         testsuite_character.cc.
3960         * testsuite/Makefile.am (libv3test_a_SOURCES): Add
3961         testsuite_character.cc.
3962         * testsuite/Makefile.in: Regenerate.
3963                 
3964         * configure.ac: Remove use of check_survey.
3965         * configure: Regenerate.
3966         * testsuite/Makefile.am: Remove check-script and
3967         check-script-install rules.
3968         * testsuite/Makefile.in: Regenerate.
3970 2005-04-06  Ulrich Weigand  <uweigand@de.ibm.com>
3972         * config/cpu/s390/atomicity.h (__exchange_and_add): Add "memory"
3973         clobber to inline assembly statement.
3975 2005-04-06  Kelley Cook  <kcook@gcc.gnu.org>
3977         * acinclude.m4 (_GLIBCXX_USE_LONG_LONG,
3978         _GLIBCXX_USE_WCHAR_T, _GLIBCXX_USE_C99, _GLIBCXX_USE_C99_MATH,
3979         _GLIBCXX_USE_C99_COMPLEX, _GLIBCXX_RES_LIMITS, _GLIBCXX_CONCEPT_CHECKS,
3980         _GLIBCXX_SYMVER, _GLIBCXX_USE_LFS, _GLIBCXX_FULLY_DYNAMIC_STRING,
3981         _GLIBCXX_USE_NLS, HAVE_GTHR_DEFAULT, HAVE_MBSTATE_T, HAVE_POLL,
3982         HAVE_S_ISREG, HAVE_S_IFREG, HAVE_WRITEV, HAVE_INT64_T,
3983         HAVE_LC_MESSAGES): Use long form of AC_DEFINE ...
3984         * acconfig.h: ... to eliminate them from here.
3985         (_GLIBCXX_ASM_SYMVER): Move definition below @BOTTOM@.
3986         * config.h.in, configure: Regenerate.
3987         
3988 2005-04-05  Kelley Cook  <kcook@gcc.gnu.org>
3990         * Makefile.am (ACLOCAL_AMFLAGS): Define.
3991         * crossconfig.m4: Wrap file into new GLIBCXX_CROSSCONFIG macro.
3992         * configure.ac: Use it.
3993         * acinclude.m4: Delete explicit m4_includes and sincludes.
3994         * aclocal.m4, configure, Makefile.in, po/Makefile.in, 
3995         src/Makefile.in, include/Makefile.in, libmath/Makefile.in, 
3996         testsuite/Makefile.in: Regenerate.
3998 2005-04-05  Jonathan Wakely  <redi@gcc.gnu.org>
4000         * include/tr1/memory, include/tr1/boost_shared_ptr.h: Use mutex
4001         to make _Sp_counted_base::add_ref_lock() thread-safe. Check whether
4002         to destroy resources by testing for equality, not inequality. Add
4003         empty critical sections to solve memory visibility issues.
4004         * testsuite/tr1/2_general_utilities/memory/
4005         shared_ptr/cons/auto_ptr_neg.cc: Use dg-excess-errors instead of
4006         explicitly listing line numbers which need to be kept in sync.
4007         * testsuite/tr1/2_general_utilities/memory/
4008         shared_ptr/assign/auto_ptr_neg.cc: Same.
4009         * testsuite/tr1/2_general_utilities/memory/
4010         shared_ptr/assign/auto_ptr_rvalue_neg.cc: Same.
4011         * testsuite/tr1/2_general_utilities/memory/
4012         shared_ptr/cons/weak_ptr_expired.cc: Make XFAIL for consistency when
4013         -fno-exceptions.
4014         * testsuite/tr1/2_general_utilities/memory/
4015         enable_shared_from_this/not_shared.cc: Add explanatory comments.
4016         * testsuite/tr1/2_general_utilities/memory/
4017         enable_shared_from_this/not_shared2.cc: Same.
4018         * testsuite/tr1/2_general_utilities/memory/
4019         enable_shared_from_this/not_shared3.cc: Same.
4021 2005-04-05  Kelley Cook  <kcook@gcc.gnu.org>
4023         * acconfig.h: Delete macros already AC_DEFINED.
4024         * config.h.in: Regenerate.
4026 2005-04-05  Kelley Cook  <kcook@gcc.gnu.org>
4028         * acconfig.h (HAVE_MODF): Remove.
4029         * linkage.m4: Check for modf.
4030         * config.h.in, configure: Regenerate.
4032 2005-04-05  Kelley Cook  <kcook@gcc.gnu.org>
4034         * acconfig.h (ENABLE_NLS, HAVE_CATGETS): Remove.
4035         (HAVE_GETTEXT, HAVE_STPCPY): Likewise.
4036         * config.h.in: Regenerate.
4037         
4038 2005-04-05  Kelley Cook  <kcook@gcc.gnu.org>
4040         * linkage.m4 (GLIBCXX_CHECK_BUILTIN_MATH_DEC): Use m4 translit macro 
4041         to convert to uppercase instead of shelling out to tr.
4042         * acconfig.h: Remove now redundant HAVE__BUILTINS_*.
4043         * configure, config.h.in: Regenerate.
4045 2005-04-05  Kelley Cook  <kcook@gcc.gnu.org>
4047         * acconfig.h (HAVE_TANL): Correct cut-and-paste typo.
4048         * config.h.in: Regenerate.
4050 2005-04-04  Mark Mitchell  <mark@codesourcery.com>
4052         * testsuite/Makefile.am (check-local): Remove.
4053         (curent_symbols.txt): Likewise.
4054         (check-abi): Do not depend on current_symbols.txt.
4055         * testsuite/Makefile.in: Regenerated.
4056         * testsuite/libstdc++-abi/abi.exp: Build current_symbols.txt.
4058 2005-04-02  Douglas Gregor  <doug.gregor@gmail.com>
4059         
4060         * include/tr1/tuple_iterate.h (tuple_element): Use new macro
4061         _GLIBCXX_T_NUM_ARGS_PLUS_1 because _T is a macro on Darwin.
4062         * include/tr1/repeat.h (_GLIBCXX_T_NUM_ARGS_PLUS_1): Define for
4063         each iteration.
4064         * scripts/gen_includers.h: Define _GLIBCXX_T_NUM_ARGS_PLUS_1 for
4065         each iteration.
4066         
4067 2005-04-01  Douglas Gregor  <doug.gregor@gmail.com>
4069         * include/tr1/functional (_Maybe_wrap_member_pointer): Wrap up
4070         member pointers in _Mem_fn but let other function objects pass
4071         through unchanged.
4072         * include/tr1/functional_iterator (bind): Reduce number of bind()
4073         overloads to two to eliminate ambiguities. Use
4074         _Maybe_wrap_member_pointer to handle member pointers gracefully.
4075         
4076 2005-04-01  Mark Mitchell  <mark@codesourcery.com>
4078         * testsuite/Makefile.am (noinst_PROGRAMS): Remove.
4079         (site.exp): Write out the path to the baseline file.
4080         (check-abi): Use DejaGNU.
4081         (check-abi-verbose): Remove.
4082         * testsuite/Makefile.in: Regenerated.
4083         * testsuite/abi_check.cc (main): Check the return value from
4084         compare_symbols.
4085         * testsuite/testsuite_abi.cc (compare_symbols): Return a value.
4086         * testsuite/testsuite_abi.h (compare_symbols): Adjust prototype.
4087         * testsuite/libstdc++-abi/abi.exp: New file.
4089 2005-03-31  Chris Jefferson  <chris@bubblescope.net>
4091         * include/tr1/tuple: Support iteration via tuple_iterate.h.
4092         * include/tr1/tuple_iterate.h: Iteration file for tuple.
4094 2005-03-31  Douglas Gregor  <doug.gregor@gmail.com>
4096         * include/Makefile.am (tr1_headers): Add bind and mu repetition
4097         headers and reference_wrapper<> forwarding header.
4098         * include/Makefile.in: Regenerate.
4099         * include/tr1/bind_iterate.h: Implementation of function call
4100         operators for the function object returned from tr1::bind().
4101         * include/tr1/bind_repeat.h: Bind-specific repetition header,
4102         akin to include/tr1/repeat.h.
4103         * include/tr1/functional (_Mem_fn): Bug fix: declare result member
4104         template for use with result_of.
4105         (is_bind_expression): New.
4106         (is_placeholder): New.
4107         (_Placeholder): New. Placeholder type for bind.
4108         (_Mu): New. Implementation detail of bind.
4109         (_Bind, _Bind_result): New. Function objects returned by bind.
4110         (_GLIBCXX_JOIN): New. Required to create bind placeholders.
4111         * include/tr1/functional_iterate.h (_Bind, _Bind_result, bind):
4112         New. Implementation of tr1::bind.
4113         * include/tr1/mu_iterate.h (_Mu): result template and operator()
4114         for the _Mu helper to bind.
4115         * include/tr1/ref_fwd.h (reference_wrapper): Forward declaration
4116         used by tuple header.
4117         (ref): Ditto.
4118         (cref): Ditto.
4119         * include/tr1/repeat.h: Add bind-specific repetition macros.
4120         * include/tr1/tuple: Use reference_wrapper forwarding header for
4121         initial definitions, then include <tr1/functional> at the end, to
4122         make the circular dependencies work.
4123         (tie): Support zero-argument tie() function.
4124         * testsuite/tr1/3_function_objects/bind/all_bound.cc: New test of
4125         bind() functionality with parameters bound.
4126         * testsuite/tr1/3_function_objects/bind/nested.cc: New test of
4127         nested bind() expressions.
4128         * testsuite/tr1/3_function_objects/bind/placeholders.cc: New test
4129         of bind() placeholders.
4130         * testsuite/tr1/3_function_objects/bind/ref.cc: New test of bind()
4131         with arguments bound via reference_wrapper<>.
4132         * scripts/gen_includers.pl: Generate the repetitive part of
4133         include/tr1/repeat.h.
4134         * scripts/gen_bind_includers.pl: Generate the repetitive part of
4135         include/tr1/bind_repeat.h. 
4136         
4137 2005-03-30  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
4139         * testsuite/Makefile.am (CXX): Use ${SHELL}.
4140         (GLIBCXX_INCLUDES): Same.
4141         (AM_CXXFLAGS): Same.
4142         * testsuite/Makefile.in: Regenerate.
4144 2005-03-25  Mark Mitchell  <mark@codesourcery.com>
4146         * testsuite/lib/libstdc++.exp (libstdc++_init): Define LOCALEDIR
4147         when testing an installed compiler.
4148         
4149         * testsuite/lib/libstdc++.exp (v3-build_support): Pass -w when
4150         compiling support objects.
4152 2005-03-24  Benjamin Kosnik  <bkoz@redhat.com>
4154         * include/tr1/memory: Forward to...
4155         * include/tr1/boost_shared_ptr.h: ...here. Add Boost Software License.
4156         * include/Makefile.am (tr1_headers): Add boost_shared_ptr.h.
4157         * include/Makefile.in: Regenerate.
4158         * testsuite/tr1/2_general_utilities/memory/shared_ptr/cons/
4159         auto_ptr_neg.cc: Adjust line numbers.
4161 2005-03-23  Mark Mitchell  <mark@codesourcery.com>
4163         * testsuite/Makefile.am (all-local): Do not build testsuite_files.
4164         * testsuite/Makefile.in: Regenerated. 
4166 2005-03-23  Benjamin Kosnik  <bkoz@redhat.com>
4168         * acinclude.m4: Adjust so that _GLIBCXX_USE_C99 implies
4169         using _GLIBCXX_USE_C99_COMPLEX, _GLIBCXX_USE_C99_MATH, and
4170         _GLIBCXX_USE_C99_WCHAR.
4171         Remove GLIBCXX_ENABLE_C_MBCHAR, consolidate in GLIBCXX_ENABLE_C99
4172         and GLIBCXX_ENABLE_WCHAR_T.
4173         Take C99 bits from GLIBCXX_CHECK_WCHAR_T_SUPPORT and put in 
4174         GLIBCXX_ENABLE_C99.
4175         Change remaining parts of GLIBCXX_CHECK_WCHAR_T_SUPPORT to
4176         GLIBCXX_CHECK_ICONV_SUPPORT.
4177         * configure.ac: Remove GLIBCXX_ENABLE_C_MBCHAR, use
4178         GLIBCXX_CHECK_ICONV_SUPPORT and GLIBCXX_ENABLE_WCHAR_T.
4179         * crossconfig.m4: Same.
4180         * acconfig.h: Same, adjust comments.
4181         * config.h.in: Regenerate.
4182         * configure: Regenerate.
4183         * docs/html/configopts.html: Change --enable-c-mbchar to
4184         --enable-wchar_t.
4186         * config/locale/gnu/c++locale_internal.h: Guard wide functions
4187         with _GLIBCXX_USE_WCHAR_T.
4188         * include/c_std/std_cwctype.h: Alphabetize, remove duplicates.
4189         * include/c_std/std_cstdio.h: Spacing.
4191         * config/locale/gnu/c_locale.h: Tweaks for unused warnings.
4192         * src/debug.cc: Same.
4194 2005-03-23  Mark Mitchell  <mark@codesourcery.com>
4196         * testsuite/libstdc++-dg/normal.exp: Read testsuite_files, if it
4197         exists.
4199         * testsuite/lib/libstdc++.exp (libstdc++_wchar_t): Rename to ...
4200         (v3-wchar_t): ... this.
4201         (libstdc++_threads): Rename to ...
4202         (v3-threads): ... this.
4203         (libstdc++_test_objs): Rename to ...
4204         (v3-test_objs): ... this.
4205         (libstdc++_build_support): Rename to ...
4206         (v3-build_support): ... this.
4207         * testsuite/libstdc++-dg/normal.exp: Adjust to use new names.
4209         * testsuite/lib/libstdc++.exp (libstdc++_init): Improve handling
4210         of compilers not in the build directory.
4211         (libstdc++_wchar_t): New variable.
4212         (libstdc++_threads): Likewise.
4213         (libstdc++_test_objs): Likewise.
4214         (v3_target_compile): Use libstdc++_test_objs.
4215         (v3-list-tests): Remove.
4216         (listdc++_build_support): New function.
4217         * testsuite/libstdc++-dg/normal.exp: Rework to dynamically
4218         generate list of tests.
4220 2005-03-21  Chris Jefferson  <chris@bubblescope.net>
4222         PR libstdc++/20577
4223         * include/bits/stl_algobase.h (iter_swap): Only delegate iter_swap
4224         to swap when the iterator's reference_type is a reference to its
4225         value_type.
4226         * testsuite/25_algorithms/iter_swap/20577.cc: New.
4228 2005-03-21  Zack Weinberg  <zack@codesourcery.com>
4230         * acinclude.m4 (GLIBCXX_CONFIGURE): Delete gcc_version logic.
4231         (GLIBCXX_EXPORT_INSTALL_INFO): Adjust quotation so ${gcc_version}
4232         is expanded by the Makefiles, not by configure.
4233         * fragment.am: Set gcc_version.
4234         * libmath/Makefile.am: Likewise.
4235         * configure, Makefile.in, include/Makefile.in, libmath/Makefile.in
4236         * libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in
4237         * testsuite/Makefile.in: Regenerate.
4239 2005-03-16  Paolo Carlini  <pcarlini@suse.de>
4241         * testsuite/20_util/functional/binders.cc: Remove explicit
4242         instantiations for non-weak systems.
4243         * testsuite/20_util/memory/allocator/1.cc: Likewise.
4244         * testsuite/20_util/memory/allocator/10378.cc: Likewise.
4245         * testsuite/20_util/memory/allocator/10416.cc: Likewise.
4246         * testsuite/20_util/memory/allocator/8230.cc: Likewise.
4247         * testsuite/20_util/utility/rel_ops.cc: Likewise.
4248         * testsuite/22_locale/ctype/is/char/2.cc: Likewise.
4249         * testsuite/22_locale/ctype/is/wchar_t/2.cc: Likewise.
4250         * testsuite/23_containers/deque/cons/1.cc: Likewise.
4251         * testsuite/23_containers/deque/cons/2.cc: Likewise.
4252         * testsuite/23_containers/deque/invalidation/1.cc: Likewise.
4253         * testsuite/23_containers/deque/invalidation/2.cc: Likewise.
4254         * testsuite/23_containers/deque/invalidation/3.cc: Likewise.
4255         * testsuite/23_containers/deque/invalidation/4.cc: Likewise.
4256         * testsuite/23_containers/deque/modifiers/swap.cc: Likewise.
4257         * testsuite/23_containers/deque/operators/1.cc: Likewise.
4258         * testsuite/23_containers/list/capacity/1.cc: Likewise.
4259         * testsuite/23_containers/list/cons/1.cc: Likewise.
4260         * testsuite/23_containers/list/cons/2.cc: Likewise.
4261         * testsuite/23_containers/list/cons/3.cc: Likewise.
4262         * testsuite/23_containers/list/cons/4.cc: Likewise.
4263         * testsuite/23_containers/list/cons/5.cc: Likewise.
4264         * testsuite/23_containers/list/cons/6.cc: Likewise.
4265         * testsuite/23_containers/list/cons/7.cc: Likewise.
4266         * testsuite/23_containers/list/cons/8.cc: Likewise.
4267         * testsuite/23_containers/list/cons/9.cc: Likewise.
4268         * testsuite/23_containers/list/invalidation/1.cc: Likewise.
4269         * testsuite/23_containers/list/invalidation/2.cc: Likewise.
4270         * testsuite/23_containers/list/invalidation/3.cc: Likewise.
4271         * testsuite/23_containers/list/invalidation/4.cc: Likewise.
4272         * testsuite/23_containers/list/modifiers/1.cc: Likewise.
4273         * testsuite/23_containers/list/modifiers/2.cc: Likewise.
4274         * testsuite/23_containers/list/modifiers/3.cc: Likewise.
4275         * testsuite/23_containers/list/operators/1.cc: Likewise.
4276         * testsuite/23_containers/list/operators/2.cc: Likewise.
4277         * testsuite/23_containers/list/operators/3.cc: Likewise.
4278         * testsuite/23_containers/list/operators/4.cc: Likewise.
4279         * testsuite/23_containers/map/insert/1.cc: Likewise.
4280         * testsuite/23_containers/map/invalidation/1.cc: Likewise.
4281         * testsuite/23_containers/map/invalidation/2.cc: Likewise.
4282         * testsuite/23_containers/map/modifiers/swap.cc: Likewise.
4283         * testsuite/23_containers/map/operators/1.cc: Likewise.
4284         * testsuite/23_containers/multimap/invalidation/1.cc: Likewise.
4285         * testsuite/23_containers/multimap/invalidation/2.cc: Likewise.
4286         * testsuite/23_containers/multimap/modifiers/swap.cc: Likewise.
4287         * testsuite/23_containers/multiset/insert/1.cc: Likewise.
4288         * testsuite/23_containers/multiset/insert/2.cc: Likewise.
4289         * testsuite/23_containers/multiset/invalidation/1.cc: Likewise.
4290         * testsuite/23_containers/multiset/invalidation/2.cc: Likewise.
4291         * testsuite/23_containers/multiset/modifiers/swap.cc: Likewise.
4292         * testsuite/23_containers/priority_queue/members/7161.cc: Likewise.
4293         * testsuite/23_containers/queue/members/7157.cc: Likewise.
4294         * testsuite/23_containers/set/insert/1.cc: Likewise.
4295         * testsuite/23_containers/set/invalidation/1.cc: Likewise.
4296         * testsuite/23_containers/set/invalidation/2.cc: Likewise.
4297         * testsuite/23_containers/set/modifiers/swap.cc: Likewise.
4298         * testsuite/23_containers/stack/members/7158.cc: Likewise.
4299         * testsuite/23_containers/vector/bool/6886.cc: Likewise.
4300         * testsuite/23_containers/vector/capacity/1.cc: Likewise.
4301         * testsuite/23_containers/vector/capacity/8230.cc: Likewise.
4302         * testsuite/23_containers/vector/cons/1.cc: Likewise.
4303         * testsuite/23_containers/vector/cons/2.cc: Likewise.
4304         * testsuite/23_containers/vector/cons/3.cc: Likewise.
4305         * testsuite/23_containers/vector/cons/6513.cc: Likewise.
4306         * testsuite/23_containers/vector/element_access/1.cc: Likewise.
4307         * testsuite/23_containers/vector/invalidation/1.cc: Likewise.
4308         * testsuite/23_containers/vector/invalidation/2.cc: Likewise.
4309         * testsuite/23_containers/vector/invalidation/3.cc: Likewise.
4310         * testsuite/23_containers/vector/invalidation/4.cc: Likewise.
4311         * testsuite/23_containers/vector/modifiers/1.cc: Likewise.
4312         * testsuite/23_containers/vector/modifiers/2.cc: Likewise.
4313         * testsuite/23_containers/vector/modifiers/swap.cc: Likewise.
4314         * testsuite/23_containers/vector/resize/1.cc: Likewise.
4315         * testsuite/24_iterators/back_insert_iterator.cc: Likewise.
4316         * testsuite/24_iterators/front_insert_iterator.cc: Likewise.
4317         * testsuite/24_iterators/insert_iterator.cc: Likewise.
4318         * testsuite/24_iterators/iterator.cc: Likewise.
4319         * testsuite/25_algorithms/copy/1.cc: Likewise.
4320         * testsuite/25_algorithms/copy/2.cc: Likewise.
4321         * testsuite/25_algorithms/copy/3.cc: Likewise.
4322         * testsuite/25_algorithms/copy/4.cc: Likewise.
4323         * testsuite/25_algorithms/equal.cc: Likewise.
4324         * testsuite/25_algorithms/fill/1.cc: Likewise.
4325         * testsuite/25_algorithms/fill/2.cc: Likewise.
4326         * testsuite/25_algorithms/min_max.cc: Likewise.
4327         * testsuite/25_algorithms/rotate.cc: Likewise.
4328         * testsuite/25_algorithms/unique/1.cc: Likewise.
4329         * testsuite/25_algorithms/unique/2.cc: Likewise.
4330         * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9874.cc: Likewise.
4331         * testsuite/ext/concept_checks.cc: Likewise.
4332         * testsuite/ext/hash_map/1.cc: Likewise.
4333         * testsuite/ext/hash_set/1.cc: Likewise.
4334         * testsuite/ext/rope/1.cc: Likewise.
4335         * testsuite/ext/rope/2.cc: Likewise.
4336         * testsuite/ext/rope/3.cc: Likewise.
4337         * testsuite/thread/pthread1.cc: Likewise.
4338         * testsuite/thread/pthread4.cc: Likewise.
4339         * testsuite/thread/pthread5.cc: Likewise.
4340         * testsuite/thread/pthread6.cc: Likewise.
4341         * testsuite/thread/pthread7-rope.cc: Likewise.
4343 2005-03-15  Zack Weinberg  <zack@codesourcery.com>
4345         * include/Makefile.am (c++config.h): Depend on DATESTAMP from gcc
4346         subdirectory.  Generate #define of __GLIBCXX__ from contents of
4347         that file.
4348         * include/Makefile.in: Regenerate.
4349         * include/bits/c++config: Do not define __GLIBCXX__.
4351 2005-03-15  Paolo Carlini  <pcarlini@suse.de>
4353         PR libstdc++/20352
4354         * include/std/std_complex.h (pow(const complex<_Tp>&,
4355         const _Tp&)): On non-c99 platforms, don't try to compute
4356         log of complex zero.
4358 2005-03-10  Ben Elliston  <bje@au.ibm.com>
4360         * testsuite/22_locale/locale/cons/12658_thread-1.cc: Don't XFAIL
4361         on GNU/Linux.
4363 2005-03-07  Paolo Carlini  <pcarlini@suse.de>
4365         * include/tr1/type_traits (is_polymorphic): Don't forget
4366         the virtual destructor, thus avoiding warnings.
4367         * testsuite/testsuite_tr1.h (class AbstractClass,
4368         class PolymorphicClass): Likewise.
4370 2005-03-07  Paolo Carlini  <pcarlini@suse.de>
4372         * include/std/std_complex.h (pow(const complex<_Tp>&,
4373         const complex<_Tp>&)): Dispatch to either __complex_pow(__x.__rep(),
4374         __y.__rep()) or __complex_pow(__x, __y) depending on the macro
4375         _GLIBCXX_USE_C99_COMPLEX.
4377 2005-03-07  Paolo Carlini  <pcarlini@suse.de>
4379         * include/std/std_fstream.h (basic_fstream<>::open,
4380         basic_ifstream<>::open, basic_ofstream<>::open): Implement the
4381         resolution of DR 409 [Ready], call clear() on success.
4382         * docs/html/ext/howto.html: Add an entry for DR 409.
4383         * docs/html/faq/index.html (4_4): Clarify the new behavior.
4384         * testsuite/27_io/basic_ifstream/open/char/1.cc: Adjust.
4385         * testsuite/27_io/basic_ofstream/open/char/1.cc: Likewise.
4387 2005-03-05  Joseph S. Myers  <joseph@codesourcery.com>
4389         * testsuite/22_locale/collate/compare/wchar_t/2.cc,
4390         testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc,
4391         testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc,
4392         testsuite/22_locale/collate/hash/wchar_t/2.cc,
4393         testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc,
4394         testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc,
4395         testsuite/22_locale/collate/transform/wchar_t/2.cc,
4396         testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc,
4397         testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc:
4398         XFAIL on *-*-hpux11.23.
4400 2005-03-04  Paolo Carlini  <pcarlini@suse.de>
4402         * include/tr1/type_traits: Add is_base_of.
4403         * testsuite/tr1/4_metaprogramming/relationships_between_types/
4404         is_base_of/is_base_of.cc: New.
4405         * testsuite/tr1/4_metaprogramming/relationships_between_types/
4406         is_base_of/typedefs.cc: Likewise.
4408 2005-03-03  Benjamin Kosnik  <bkoz@redhat.com>
4410         * include/tr1/functional: Convert relative path.
4412         * docs/doxygen/user.cfg.in: Add tr1 includes.
4414 2005-03-03  Paolo Carlini  <pcarlini@suse.de>
4416         * include/tr1/type_traits: Implemenet is_polymorphic.
4417         (is_empty): Minor tweaks.
4418         * testsuite/testsuite_tr1.h: Add test types.
4419         * testsuite/tr1/4_metaprogramming/type_properties/
4420         is_polymorphic/is_polymorphic.cc: New.
4421         * testsuite/tr1/4_metaprogramming/type_properties/
4422         is_polymorphic/typedefs.cc: Likewise.
4423         * testsuite/tr1/4_metaprogramming/composite_type_traits/
4424         is_union_or_class/is_union_or_class.cc: Add tests.
4426 2005-03-02  Douglas Gregor  <doug.gregor@gmail.com>
4428         * include/tr1/functional (_Has_result_type): Cleanup.
4429         (_Result_of_impl): Handle member data pointers correctly.
4430         (reference_wrapper): Support invocation.
4431         Move repetition code into new file include/tr1/repeat.h.
4432         * include/tr1/functional_iterate.h (reference_wrapper): Support
4433         invocation.  Cleanup long lines.
4434         * include/tr1/ref_wrap_iterate.h (reference_wrapper): Declare
4435         invocation operators.
4436         * include/tr1/repeat.h: Code repetition header.
4437         * include/Makefile.am: Add ref_wrap_iterate.h, repeat.h.
4438         * include/Makefile.in: Add ref_wrap_iterate.h, repeat.h.
4439         * testsuite/tr1/3_function_objects/reference_wrapper/invoke.cc:
4440         New test of reference_wrapper invocation.
4441         * testsuite/tr1/3_function_objects/reference_wrapper/typedefs.cc:
4442         New test of reference_wrapper typedefs and base classes.
4443         * testsuite/tr1/3_function_objects/result_of.cc: Trivial cleanup
4444         (e-mail address).
4446 2005-03-02  Douglas Gregor  <doug.gregor@gmail.com>
4448         * include/tr1/function (result_of): New class template.
4449         * include/tr1/functional/iterator.h: Implementation of TR1
4450         result_of.
4451         * testsuite/tr1/3_function_objects/result_of.cc: New test
4453 2005-03-01  Vladimir Merzliakov  <wanderer@rsu.ru>
4455         * testsuite/26_numerics/cmath/c99_classification_macros_c.cc: Tweak.
4457 2005-02-28  Benjamin Kosnik  <bkoz@redhat.com>
4459         * testsuite/tr1/2_general_utilities/memory/shared_ptr/
4460         cons/auto_ptr_neg.cc: Correct line numbers.
4462         * testsuite/testsuite_abi.cc: Add CXXABI_1.3.1.
4464 2005-02-28  Jonathan Wakely  <redi@gcc.gnu.org>
4466         * include/tr1/memory: Replace checked_deleter with (unchecked)
4467         _Sp_deleter as GCC warns about delete on incomplete types anyway.
4469 2005-02-28  Jonathan Wakely  <redi@gcc.gnu.org>
4471         * include/tr1/memory: Add missing "inline" to __throw_bad_weak_ptr.
4473 2005-02-28  Hans-Peter Nilsson  <hp@axis.com>
4475         PR target/19065
4476         * config/cpu/cris/atomicity.h (__exchange_and_add): In asm, use
4477         'Q' constraint, not 'm'.
4479 2005-02-26  Earl Chew  <earl_chew@agilent.com>
4480             Christopher Jefferson  <chris@bubblescope.net>
4482         * include/bits/stl_tree.h (_Rb_tree<>::_M_insert): Don't leak
4483         memory if _M_key_compare throws.
4485 2005-02-25  Paolo Carlini  <pcarlini@suse.de>
4487         * include/tr1/type_traits: Add the trivial is_union and is_class;
4488         add the __is_union_or_class extension.
4489         (is_enum, is_empty): Use the latter.
4490         * include/tr1/type_traits_fwd.h: Add __is_union_or_class.
4491         * testsuite/testsuite_tr1.h: Add UnionType; trivial formatting
4492         fixes.
4493         * testsuite/tr1/4_metaprogramming/composite_type_traits/
4494         is_union_or_class/is_union_or_class.cc: New.
4495         * testsuite/tr1/4_metaprogramming/composite_type_traits/
4496         is_union_or_class/typedefs.cc: Likewise.
4498 2005-02-24  Benjamin Kosnik  <bkoz@redhat.com>
4500         * testsuite/tr1/6_containers/unordered/instantiate/hash.cc: Guard
4501         wchar_t use with _GLIBCXX_USE_WCHAR_T.
4503 2005-02-24  Benjamin Kosnik  <bkoz@redhat.com>
4505         * include/std/std_complex.h: _GLIBCXX_USE_C99_COMPLEX_MATH to
4506         _GLIBCXX_USE_C99_COMPLEX.
4507         * acinclude.m4: Same.
4508         * acconfig.h: Same.
4509         * configure: Regenerate.
4510         * config.h.in: Same.
4512 2005-02-24  Paolo Carlini  <pcarlini@suse.de>
4514         * include/tr1/functional (mem_fn): Avoid _T, badname on
4515         Darwin.
4517 2005-02-23  Douglas Gregor  <doug.gregor@gmail.com>
4519         * include/tr1/functional (function): New class template.
4520         (mem_fn): New function template.
4521         Implementations of TR1 function and mem_fn facilities.
4522         * include/tr1/functional_iterate.h: Implementations of TR1
4523         function and mem_fn facilities.
4524         * testsuite/tr1/3_function_objects/function/1.cc: New
4525         test of std::tr1::function.
4526         * testsuite/tr1/3_function_objects/function/2.cc: New
4527         test of std::tr1::function.
4528         * testsuite/tr1/3_function_objects/function/3.cc: New
4529         test of std::tr1::function.
4530         * testsuite/tr1/3_function_objects/function/4.cc: New
4531         test of std::tr1::function.
4532         * testsuite/tr1/3_function_objects/function/5.cc: New
4533         test of std::tr1::function.
4534         * testsuite/tr1/3_function_objects/function/6.cc: New
4535         test of std::tr1::function.
4536         * testsuite/tr1/3_function_objects/function/7.cc: New
4537         test of std::tr1::function.
4538         * testsuite/tr1/3_function_objects/function/8.cc: New
4539         test of std::tr1::function.
4540         * testsuite/tr1/3_function_objects/function/9.cc: New
4541         test of std::tr1::function.
4542         * testsuite/tr1/3_function_objects/mem_fn.cc: New test of
4543         std::tr1::mem_fn.
4545 2005-02-23  Paolo Carlini  <pcarlini@suse.de>
4547         * include/tr1/type_traits: Implement is_convertible.
4548         * testsuite/tr1/4_metaprogramming/relationships_between_types/
4549         is_convertible/is_convertible.cc: New.
4550         * testsuite/tr1/4_metaprogramming/relationships_between_types/
4551         is_convertible/typedefs.cc: Likewise.
4552         * testsuite/testsuite_tr1.h: Add class DerivedType.
4554         * include/tr1/type_traits (is_function): Don't mistake references
4555         to function types for function types.
4556         * testsuite/tr1/4_metaprogramming/primary_type_categories/
4557         is_function/is_function.cc: Add testcase.
4559 2005-02-22  Benjamin Kosnik  <bkoz@redhat.com>
4561         * scripts/check_performance: Tweaks.
4563         * testsuite/27_io/basic_ostream/inserters_other/wchar_t/2.cc: Name
4564         output file with extension that clean rules can find.
4566 2005-02-22  Richard Henderson  <rth@redhat.com>
4568         PR libstdc++/20091
4569         * libsupc++/eh_catch.cc (__cxa_begin_catch): Don't special case
4570         decrement of uncaughtExceptions for rethrow.
4572 2005-02-22  Paolo Carlini  <pcarlini@suse.de>
4574         * include/tr1/functional: Fix License to GPL with exception.
4575         * include/tr1/hashtable: Likewise.
4576         * include/tr1/tuple: Likewise.
4577         * include/tr1/type_traits: Likewise.
4578         * include/tr1/type_traits_fwd.h: Likewise.
4579         * include/tr1/unordered_map: Likewise.
4580         * include/tr1/unordered_set: Likewise.
4581         * include/tr1/utility: Likewise.
4583 2005-02-22  Paolo Carlini  <pcarlini@suse.de>
4585         * testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/
4586         auto_ptr_neg.cc: Add missing dg-do compile directive.
4587         * testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/
4588         auto_ptr_rvalue_neg.cc: Likewise.
4589         * testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/
4590         shared_ptr_neg.cc: Likewise.
4591         * testsuite/tr1/2_general_utilities/memory/shared_ptr/cons/
4592         auto_ptr_neg.cc: Likewise.
4593         * testsuite/tr1/2_general_utilities/memory/shared_ptr/modifiers/
4594         reset_neg.cc: Likewise.
4595         * testsuite/tr1/2_general_utilities/memory/shared_ptr/modifiers/
4596         swap_neg.cc: Likewise.
4598 2005-02-22  Jonathan Wakely  <redi@gcc.gnu.org>
4600         * include/Makefile.am, include/Makefile.in: Fix accidental extra
4601         change from previous commit.
4603 2005-02-21  Jonathan Wakely  <redi@gcc.gnu.org>
4605         * include/tr1/memory: New file.
4606         * include/Makefile.am, include/Makefile.in: Add new TR1 header.
4607         * testsuite/tr1/2_general_utilities/memory/
4608         enable_shared_from_this/not_shared.cc: New test.
4609         * testsuite/tr1/2_general_utilities/memory/
4610         enable_shared_from_this/not_shared2.cc: New test.
4611         * testsuite/tr1/2_general_utilities/memory/
4612         enable_shared_from_this/not_shared3.cc: New test.
4613         * testsuite/tr1/2_general_utilities/memory/
4614         enable_shared_from_this/shared.cc: New test.
4615         * testsuite/tr1/2_general_utilities/memory/
4616         enable_shared_from_this/still_shared.cc: New test.
4617         * testsuite/tr1/2_general_utilities/memory/
4618         shared_ptr/assign/assign.cc: New test.
4619         * testsuite/tr1/2_general_utilities/memory/
4620         shared_ptr/assign/auto_ptr.cc: New test.
4621         * testsuite/tr1/2_general_utilities/memory/
4622         shared_ptr/assign/auto_ptr_neg.cc: New test.
4623         * testsuite/tr1/2_general_utilities/memory/
4624         shared_ptr/assign/auto_ptr_rvalue_neg.cc: New test.
4625         * testsuite/tr1/2_general_utilities/memory/
4626         shared_ptr/assign/shared_ptr.cc: New test.
4627         * testsuite/tr1/2_general_utilities/memory/
4628         shared_ptr/assign/shared_ptr_neg.cc: New test.
4629         * testsuite/tr1/2_general_utilities/memory/
4630         shared_ptr/comparison/cmp.cc: New test.
4631         * testsuite/tr1/2_general_utilities/memory/
4632         shared_ptr/cons/auto_ptr.cc: New test.
4633         * testsuite/tr1/2_general_utilities/memory/
4634         shared_ptr/cons/auto_ptr_neg.cc: New test.
4635         * testsuite/tr1/2_general_utilities/memory/
4636         shared_ptr/cons/copy.cc: New test.
4637         * testsuite/tr1/2_general_utilities/memory/
4638         shared_ptr/cons/default.cc: New test.
4639         * testsuite/tr1/2_general_utilities/memory/
4640         shared_ptr/cons/pointer.cc: New test.
4641         * testsuite/tr1/2_general_utilities/memory/
4642         shared_ptr/cons/weak_ptr.cc: New test.
4643         * testsuite/tr1/2_general_utilities/memory/
4644         shared_ptr/cons/weak_ptr_expired.cc: New test.
4645         * testsuite/tr1/2_general_utilities/memory/
4646         shared_ptr/dest/dest.cc: New test.
4647         * testsuite/tr1/2_general_utilities/memory/
4648         shared_ptr/misc/io.cc: New test.
4649         * testsuite/tr1/2_general_utilities/memory/
4650         shared_ptr/misc/swap.cc: New test.
4651         * testsuite/tr1/2_general_utilities/memory/
4652         shared_ptr/modifiers/reset.cc: New test.
4653         * testsuite/tr1/2_general_utilities/memory/
4654         shared_ptr/modifiers/reset_neg.cc: New test.
4655         * testsuite/tr1/2_general_utilities/memory/
4656         shared_ptr/modifiers/swap.cc: New test.
4657         * testsuite/tr1/2_general_utilities/memory/
4658         shared_ptr/modifiers/swap_neg.cc: New test.
4659         * testsuite/tr1/2_general_utilities/memory/
4660         shared_ptr/observers/bool_conv.cc: New test.
4661         * testsuite/tr1/2_general_utilities/memory/
4662         shared_ptr/observers/get.cc: New test.
4663         * testsuite/tr1/2_general_utilities/memory/
4664         shared_ptr/observers/unique.cc: New test.
4665         * testsuite/tr1/2_general_utilities/memory/
4666         shared_ptr/observers/use_count.cc: New test.
4668 2005-02-21  Paolo Carlini  <pcarlini@suse.de>
4670         * include/tr1/type_traits (is_member_function_pointer):
4671         Remove ugly workaround for c++/19076.
4673 2005-02-21  Paolo Carlini  <pcarlini@suse.de>
4675         * include/bits/basic_string.tcc (_Rep::_M_destroy): Don't
4676         check for this == &_S_empty_rep, it's always false, here.
4678 2005-02-19  Matt Austern  <austern@gmail.com>
4680         * include/tr1/functional (tr1_hashtable_define_trivial_hash): Make
4681         hash<T>::operator() a const member function for T a fundamental type
4682         * include/tr1/hashtable (extract1st::operator()): Declare const.
4683         (hash_code_base): Declare all member functions const
4684         (hashtable::find): fix call to this->bucket_count()
4685         (hashtable::count): Likewise.
4686         (hashtable::equal_range): m_incr_bucket applies to iterator, not node.
4687         * testsuite/tr1/6_containers/unordered/find/set1.cc: New test.
4688         * testsuite/tr1/6_containers/unordered/find/map1.cc: New test.
4689         * testsuite/tr1/6_containers/unordered/find/multimap1.cc: New test.
4690         * testsuite/tr1/6_containers/unordered/find/multiset1.cc: New test.
4692 2005-02-19  Hans-Peter Nilsson  <hp@axis.com>
4694         PR libstdc++/20071
4695         * include/tr1/functional (hash<std::wstring>): Wrap in #ifdef
4696         _GLIBCXX_USE_WCHAR_T.
4698 2005-02-18  Richard Henderson  <rth@redhat.com>
4700         PR libstdc++/10606
4701         * config/linker-map.gnu (CXXABI_1.3.1): Add __cxa_get_exception_ptr.
4702         * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Increment
4703         uncaughtExceptions here instead of ...
4704         * libsupc++/eh_throw.cc (__cxa_throw) ... here.
4705         (__cxa_rethrow): Increment uncaughtExceptions here instead of ...
4706         * libsupc++/eh_catch.cc (__cxa_end_catch): ... here.
4707         (__cxa_get_exception_ptr): New.
4708         * libsupc++/unwind-cxx.h (__cxa_get_exception_ptr): Declare.
4710 2005-02-18  Matt Austern  <austern@apple.com>
4712         * testsuite/tr1/6_containers/unordered/insert/array_syntax.cc: Fix
4713         test case to use assignment instead of ==
4714         * testsuite/tr1/6_containers/unordered/insert/map_range.cc: New test.
4715         * testsuite/tr1/6_containers/unordered/insert/multimap_range.cc: New test.
4716         * testsuite/tr1/6_containers/unordered/insert/multiset_range.cc: New test.
4717         * testsuite/tr1/6_containers/unordered/insert/set_range.cc: New test.
4719 2005-02-18  Eric Botcazou  <ebotcazou@libertysurf.fr>
4721         * testsuite/thread/pthread1.cc: Do not invoke pthread_setconcurrency
4722         on Solaris 2.6 and below.
4723         * testsuite/thread/pthread2.cc: Likewise.
4724         * testsuite/thread/pthread3.cc: Likewise.
4725         * testsuite/thread/pthread4.cc: Likewise.
4726         * testsuite/thread/pthread5.cc: Likewise.
4727         * testsuite/thread/pthread6.cc: Likewise.
4728         * testsuite/thread/pthread7-rope.cc: Likewise.
4730 2005-02-17  Matt Austern  <austern@apple.com>
4732         * include/tr1/functional (hash): New function object.
4733         * include/tr1/hashtable: New file.
4734         * include/tr1/unordered_set: New file.
4735         * include/tr1/unordered_map: New file.
4736         * include/Makefile.am: Add three new TR1 headers.
4737         * include/Makefile.in: Likewise.
4738         * testsuite/tr1/6_containers/unordered/insert/array_syntax.cc: New test.
4739         * testsuite/tr1/6_containers/unordered/insert/map_single.cc: New test.
4740         * testsuite/tr1/6_containers/unordered/insert/multimap_single.cc: New test.
4741         * testsuite/tr1/6_containers/unordered/insert/multiset_single.cc: New test.
4742         * testsuite/tr1/6_containers/unordered/insert/set_single.cc: New test.
4743         * testsuite/tr1/6_containers/unordered/instantiate/hash.cc: New test.
4744         * testsuite/tr1/6_containers/unordered/instantiate/map.cc: New test.
4745         * testsuite/tr1/6_containers/unordered/instantiate/multimap.cc: New test.
4746         * testsuite/tr1/6_containers/unordered/instantiate/multiset.cc: New test.
4747         * testsuite/tr1/6_containers/unordered/instantiate/set.cc: New test.
4749 2005-02-16  Paolo Carlini  <pcarlini@suse.de>
4751         * testsuite/23_containers/set/modifiers/16728.cc:
4752         Remove redundant include <testsuite_performance.h>.
4754 2005-02-16  Paolo Carlini  <pcarlini@suse.de>
4756         PR libstdc++/19829
4757         * testsuite/21_strings/basic_string/find/char/3.cc: Fix the test
4758         at line #66 to not access str_lit01 beyond its end.
4759         * testsuite/21_strings/basic_string/find/wchar_t/3.cc: Likewise.
4761 2005-02-15  Paolo Carlini  <pcarlini@suse.de>
4762             Jon Grimm  <jgrimm2@us.ibm.com>
4764         PR libstdc++/19955
4765         * include/bits/locale_facets.h (ctype<char>::_M_narrow_init()):
4766         Fix the logic setting _M_narrow_ok: first check whether the
4767         transformation is trivial with a dflt == 0, then deal with the
4768         special case of zero.
4769         * testsuite/22_locale/ctype/narrow/char/19955.cc: New.
4771         * include/bits/locale_facets.h (ctype<char>::_M_widen_init()):
4772         Tweak consistently to use memcmp; minor formatting fixes.
4774 2005-02-15  Jakub Jelinek  <jakub@redhat.com>
4776         PR libstdc++/19946
4777         * testsuite/demangle/abi_examples/01.cc (main): Adjust for 2005-02-13
4778         demangler change.
4779         * testsuite/demangle/abi_examples/02.cc (main): Likewise.
4781 2005-02-13  Richard Guenther  <rguenth@gcc.gnu.org>
4782             Paolo Carlini  <pcarlini@suse.de>
4784         PR libstdc++/11706
4785         * include/c_std/std_cmath.h (pow): Use __builtin_powi[lf]
4786         for integer overloads.
4788         * testsuite/26_numerics/cmath/powi.cc: New.
4790 2005-02-11  Janis Johnson  <janis187@us.ibm.com>
4792         * testsuite/26_numerics/complex/13450.cc: Fix XFAIL selector.
4793         * testsuite/26_numerics/complex/complex_value.cc: Ditto.
4794         * testsuite/26_numerics/complex/pow.cc: Ditto.
4796         * testsuite/lib/libstdc++.exp: Load target-supports-dg.exp.
4797         * testsuite/26_numerics/complex/13450.cc: XFAIL for broken_cplxf_arg.
4798         * testsuite/26_numerics/complex/complex_value.cc: Ditto.
4799         * testsuite/26_numerics/complex/pow.cc: Ditto.
4801 2005-02-09  Mike Stump  <mrs@apple.com>
4803         * libsupc++/del_op.cc: Don't include cstdlib when !_GLIBCXX_HOSTED.
4805 2005-02-09  Janis Johnson  <janis187@us.ibm.com>
4807         * testsuite/ext/array_allocator/2.cc: XFAIL for powerpc*-*-linux*.
4809 2005-02-08  Mark Mitchell  <mark@codesourcery.com>
4811         * config/linker-map.gnu (GLIBCXX_3.4): Add _ZNSdC* and _ZNSdD*.
4813 2005-02-07  Loren J. Rittle  <ljrittle@acm.org>
4815         * testsuite/27_io/basic_istream/getline/wchar_t/5.cc: Make buf static.
4816         * testsuite/27_io/basic_stringbuf/setbuf/wchar_t/4.cc: Make ref and
4817         src static.
4819 2005-02-02  Brad Spencer  <spencer@infointeractive.com>
4821         * debug.html: Fix broken tags.
4822         * documentation.html: Same.
4824 2005-02-02  Andreas Jaeger  <aj@suse.de>
4826         * testsuite/lib/libstdc++.exp: Revert Geoffrey Keating's patch
4827         from 2005-01-28.
4828         * testsuite/Makefile.am: Likewise.
4829         * testsuite/Makefile.in: Likewise.
4831 2005-02-01  Paolo Carlini  <pcarlini@suse.de>
4833         * include/bits/cpp_type_traits.h: Rename _M_type fields to
4834         __value, except for __enable_if, _M_type -> __type, consistently
4835         with the other traits.
4836         * include/bits/stl_algobase.h: Tweak consistently.
4837         * include/bits/stl_tree.h: Likewise.
4838         * include/bits/valarray_array.h: Likewise.
4839         * include/c_std/std_cmath.h: Likewise.
4840         * include/debug/safe_iterator.h: Likewise.
4841         * include/std/std_complex.h: Likewise.
4843 2005-01-31  Brad Spencer  <spencer@infointeractive.com>
4845         * crossconfig.m4: Repair Solaris cross bits for strtold and strtof.
4846         * configure: Regenerated.
4848 2005-01-31  Mark Mitchell  <mark@codesourcery.com>
4850         * include/std/std_limits.h (numeric_limits<float>::has_denorm):
4851         Add required cast.
4852         (numeric_limits<double>::has_denorm): Likewise.
4853         (numeric_limits<long double>::has_denorm): Likewise.
4855 2005-01-31  Paolo Carlini  <pcarlini@suse.de>
4856             Gabriel Dos Reis  <gdr@integrable-solutions.net>
4858         * include/bits/cpp_type_traits.h: Add types to the structs thus
4859         making type_traits.h redundant; exploit new __truth_type and
4860         __traitor helpers.
4861         * include/bits/type_traits.h: Remove.
4862         * include/Makefile.am: Update.
4863         * include/Makefile.in: Regenerate.
4864         * include/backward/tempbuf.h: Include cpp_type_traits.h instead.
4865         * include/bits/basic_string.h (replace(iterator, iterator,
4866         _InputIterator, _InputIterator), _S_construct(_InIterator,
4867         _InIterator, const _Alloc&)): Use __is_integer instead.
4868         * include/bits/stl_bvector.h (vector(_InputIterator,
4869         _InputIterator, const allocator_type&), assign(_InputIterator,
4870         _InputIterator), insert(iterator, _InputIterator, _InputIterator)):
4871         Likewise.
4872         * include/bits/stl_construct.h (_Destroy(_ForwardIterator,
4873         _ForwardIterator)): Use __is_scalar.
4874         * include/bits/stl_deque.h (deque(_InputIterator, _InputIterator,
4875         const allocator_type&), assign(_InputIterator, _InputIterator),
4876         insert(iterator, _InputIterator, _InputIterator)): Use __is_integer.
4877         * include/bits/stl_list.h (assign(_InputIterator, _InputIterator),
4878         insert(iterator, _InputIterator, _InputIterator)): Likewise.
4879         * include/bits/stl_tempbuf.h (_Temporary_buffer(_ForwardIterator,
4880         _ForwardIterator)): Use __is_scalar.
4881         * include/bits/stl_uninitialized.h (uninitialized_copy(_InputIterator,
4882         _InputIterator, _ForwardIterator), uninitialized_fill(_ForwardIterator,
4883         _ForwardIterator, const _Tp&), uninitialized_fill_n(_ForwardIterator,
4884         _Size, const _Tp&)): Likewise.
4885         * include/bits/stl_vector.h (vector(_InputIterator, _InputIterator,
4886         const allocator_type&), assign(_InputIterator, _InputIterator),
4887         insert(iterator, _InputIterator, _InputIterator)): Use __is_integer.
4888         * include/debug/debug.h (__valid_range(const _InputIterator&,
4889         const _InputIterator&)): Use __is_integer.
4890         * include/ext/slist (assign(_InputIterator, _InputIterator)): Likewise.
4891         * include/std/std_string.h: Include cpp_type_traits.h instead.
4893 2005-01-30  Paolo Carlini  <pcarlini@suse.de>
4895         PR libstdc++/19642
4896         * config/locale/generic/c_locale.h (__convert_from_v): Switch only
4897         LC_NUMERIC, and only when actually != "C".
4899 2005-01-28  Paolo Carlini  <pcarlini@suse.de>
4901         * include/tr1/type_traits (is_function): Minor consistency tweaks.
4903 2005-01-28  Geoffrey Keating  <geoffk@apple.com>
4905         * testsuite/lib/libstdc++.exp (libstdc++_init): Search the path
4906         for the compiler.  Don't set cxxflags.
4907         (v3_target_compile): Search for libv3test.a relative to $objdir.
4908         (lsearch_all_inline): New.
4909         (lsearch_all_inline_not): New.
4910         (v3-list-tests): Rewrite to not need generated files.
4911         * testsuite/Makefile.am (IGNORE_WCHAR_T): New.
4912         (IGNORE_THREAD): New.
4913         (TESTS_TO_IGNORE): New.
4914         (site.exp): Set tests_to_ignore, cxxflags.
4915         * aclocal.m4: Regenerate.
4916         * Makefile.in: Regenerate.
4917         * libmath/Makefile.in: Likewise.
4918         * libsupc++/Makefile.in: Likewise.
4919         * po/Makefile.in: Likewise.
4920         * src/Makefile.in: Likewise.
4921         * testsuite/Makefile.in: Likewise.
4923 2005-01-28  Paolo Carlini  <pcarlini@suse.de>
4925         * include/tr1/type_traits: Implement is_empty.
4926         * testsuite/tr1/4_metaprogramming/type_properties/is_empty/
4927         is_empty.cc: New.
4928         * testsuite/tr1/4_metaprogramming/type_properties/is_empty/
4929         typedefs.cc: Likewise.
4931         * include/tr1/type_traits (__is_abstract_helper): Simplify a bit.
4933 2005-01-28  Paolo Carlini  <pcarlini@suse.de>
4935         * include/tr1/type_traits: Implement is_abstract, by exploiting the
4936         resolution of DR core/337.
4937         * testsuite/testsuite_tr1.h: Add AbstractClass.
4938         * testsuite/tr1/4_metaprogramming/type_properties/is_abstract/
4939         is_abstract.cc: New.
4940         * testsuite/tr1/4_metaprogramming/type_properties/is_abstract/
4941         typedefs.cc: Likewise.
4943         * include/tr1/type_traits (is_function): Rewrite, use the conversion
4944         F& -> F* instead, thus avoiding problems with abstract classes.
4945         * testsuite/tr1/4_metaprogramming/primary_type_categories/
4946         is_function/is_function.cc: Add a test for tricky AbstractClass.
4948 2005-01-26  Paolo Carlini  <pcarlini@suse.de>
4950         * include/ext/mt_allocator.h
4951         (struct __per_type_pool_policy<,, false>::_S_get_pool,
4952         struct __per_type_pool_policy<,, true>::_S_get_pool): Scale
4953         _M_chunk_size too with sizeof(_Tp), otherwise the allocator
4954         breaks down as soon as sizeof(_Tp) >~ _S_chunk_size / 128;
4955         reduce to 64 the multiplier for _M_max_bytes (safer wrt
4956         _Binmap_type being a short); trivial reformattings.
4957         * testsuite/ext/mt_allocator/check_allocate_big_per_type.cc: New.
4959 2005-01-26  Paolo Carlini  <pcarlini@suse.de>
4961         * acinclude.m4 ([GLIBCXX_ENABLE_C99]): Add ac_c99_complex
4962         to the final test for enable_c99, thus robustifying it; remove
4963         duplicate final test on ac_99_math.
4964         * configure: Regenerate.
4966         * include/std/std_complex.h: Remove usages of the dead
4967         _GLIBCXX_BUGGY_COMPLEX macro.
4969         * testsuite/26_numerics/cmath/19322.cc: Protect with
4970         _GLIBCXX_USE_C99_MATH instead of the stronger _GLIBCXX_USE_C99,
4971         since only C99 math facilities are involved.
4972         * testsuite/26_numerics/cmath/c99_classification_macros_c++.cc:
4973         Likewise.
4975 2005-01-25  Loren J. Rittle  <ljrittle@acm.org>
4977         * acinclude.m4 (GLIBCXX_ENABLE_CLOCALE): Map FreeBSD to darwin
4978         instead of generic.  Change autoconf report to "darwin or freebsd".
4979         * configure: Regenerate.
4980         * config/os/bsd/freebsd/ctype_inline.h (ctype<wchar_t>::do_is): Add.
4981         (ctype<wchar_t>::do_scan_is): Likewise.
4982         (ctype<wchar_t>::do_scan_not): Likewise.
4984 2005-01-25  Benjamin Kosnik  <bkoz@redhat.com>
4986         * acinclude.m4 (GLIBCXX_ENABLE_C99): Test for complex math
4987         functions, and enable _GLIBCXX_USE_C99_COMPLEX_MATH if they exist.
4988         * acconfig.h: Add _GLIBCXX_USE_C99_COMPLEX_MATH.
4989         * config.h.in: Regenerate.
4990         * configure: Regenerate.
4991         * include/std/std_complex.h: Protect complex builtins with
4992         _GLIBCXX_USE_C99_COMPLEX_MATH.
4994 2005-01-24  Paolo Carlini  <pcarlini@suse.de>
4996         * include/tr1/type_traits: Implement is_signed and is_unsigned.
4997         * testsuite/tr1/4_metaprogramming/type_properties/
4998         is_signed/is_signed.cc: New.
4999         * testsuite/tr1/4_metaprogramming/type_properties/
5000         is_signed/typedefs.cc: Likewise.
5001         * testsuite/tr1/4_metaprogramming/type_properties/
5002         is_unsigned/is_unsigned.cc: Likewise.
5003         * testsuite/tr1/4_metaprogramming/type_properties/
5004         is_unsigned/typedefs.cc: Likewise.
5006 2005-01-23  Paolo Carlini  <pcarlini@suse.de>
5008         * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 34.
5010 2005-01-23  Paolo Carlini  <pcarlini@suse.de>
5012         * testsuite/27_io/basic_ostream/cons/wchar_t/9827.cc: New.
5013         * testsuite/27_io/basic_ostream/endl/wchar_t/1.cc: Likewise.
5014         * testsuite/27_io/basic_ostream/ends/wchar_t/1.cc: Likewise.
5015         * testsuite/27_io/basic_ostream/ends/wchar_t/2.cc: Likewise.
5016         * testsuite/27_io/basic_ostream/exceptions/wchar_t/9561.cc: Likewise.
5017         * testsuite/27_io/basic_ostream/flush/wchar_t/1.cc: Likewise.
5018         * testsuite/27_io/basic_ostream/flush/wchar_t/2.cc: Likewise.
5019         * testsuite/27_io/basic_ostream/flush/wchar_t/
5020         exceptions_badbit_throw.cc: Likewise.
5021         * testsuite/27_io/basic_ostream/inserters_arithmetic/
5022         wchar_t/2.cc: Likewise.
5023         * testsuite/27_io/basic_ostream/inserters_arithmetic/
5024         wchar_t/3.cc: Likewise.
5025         * testsuite/27_io/basic_ostream/inserters_arithmetic/
5026         wchar_t/4.cc: Likewise.
5027         * testsuite/27_io/basic_ostream/inserters_arithmetic/
5028         wchar_t/4402.cc: Likewise.
5029         * testsuite/27_io/basic_ostream/inserters_arithmetic/
5030         wchar_t/5.cc: Likewise.
5031         * testsuite/27_io/basic_ostream/inserters_arithmetic/
5032         wchar_t/6.cc: Likewise.
5033         * testsuite/27_io/basic_ostream/inserters_arithmetic/
5034         wchar_t/9555-oa.cc: Likewise.
5035         * testsuite/27_io/basic_ostream/inserters_arithmetic/
5036         wchar_t/exceptions_badbit_throw.cc: Likewise.
5037         * testsuite/27_io/basic_ostream/inserters_arithmetic/
5038         wchar_t/exceptions_failbit_throw.cc: Likewise.
5039         * testsuite/27_io/basic_ostream/inserters_character/
5040         wchar_t/1.cc: Likewise.
5041         * testsuite/27_io/basic_ostream/inserters_character/
5042         wchar_t/2.cc: Likewise.
5043         * testsuite/27_io/basic_ostream/inserters_character/
5044         wchar_t/3.cc: Likewise.
5045         * testsuite/27_io/basic_ostream/inserters_character/
5046         wchar_t/4.cc: Likewise.
5047         * testsuite/27_io/basic_ostream/inserters_character/
5048         wchar_t/5.cc: Likewise.
5049         * testsuite/27_io/basic_ostream/inserters_character/
5050         wchar_t/6.cc: Likewise.
5051         * testsuite/27_io/basic_ostream/inserters_character/
5052         wchar_t/9555-oc.cc: Likewise.
5053         * testsuite/27_io/basic_ostream/inserters_other/
5054         wchar_t/1.cc: Likewise.
5055         * testsuite/27_io/basic_ostream/inserters_other/
5056         wchar_t/2.cc: Likewise.
5057         * testsuite/27_io/basic_ostream/inserters_other/
5058         wchar_t/3.cc: Likewise.
5059         * testsuite/27_io/basic_ostream/inserters_other/
5060         wchar_t/4.cc: Likewise.
5061         * testsuite/27_io/basic_ostream/inserters_other/
5062         wchar_t/5.cc: Likewise.
5063         * testsuite/27_io/basic_ostream/inserters_other/
5064         wchar_t/9318-out.cc: Likewise.
5065         * testsuite/27_io/basic_ostream/inserters_other/
5066         wchar_t/9424-out.cc: Likewise.
5067         * testsuite/27_io/basic_ostream/inserters_other/
5068         wchar_t/9555-oo.cc: Likewise.
5069         * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
5070         error_failbit.cc: Likewise.
5071         * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
5072         exceptions_badbit_throw.cc: Likewise.
5073         * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
5074         exceptions_failbit_throw.cc: Likewise.
5075         * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
5076         exceptions_null.cc: Likewise.
5077         * testsuite/27_io/basic_ostream/put/char/1.cc: Likewise.
5078         * testsuite/27_io/basic_ostream/put/wchar_t/1.cc: Likewise.
5079         * testsuite/27_io/basic_ostream/seekp/char/
5080         exceptions_badbit_throw.cc: Likewise.
5081         * testsuite/27_io/basic_ostream/seekp/wchar_t/
5082         2346-fstream.cc: Likewise.
5083         * testsuite/27_io/basic_ostream/seekp/wchar_t/
5084         2346-sstream.cc: Likewise.
5085         * testsuite/27_io/basic_ostream/seekp/wchar_t/
5086         exceptions_badbit_throw.cc: Likewise.
5087         * testsuite/27_io/basic_ostream/sentry/wchar_t/1.cc: Likewise.
5088         * testsuite/27_io/basic_ostream/sentry/wchar_t/2.cc: Likewise.
5089         * testsuite/27_io/basic_ostream/tellp/wchar_t/1.cc: Likewise.
5090         * testsuite/27_io/basic_ostream/tellp/wchar_t/2.cc: Likewise.
5091         * testsuite/27_io/basic_ostream/tellp/wchar_t/
5092         exceptions_badbit_throw.cc: Likewise.
5093         * testsuite/27_io/basic_ostream/write/wchar_t/1.cc: Likewise.
5095         * testsuite/data/wostream_inserter_char-1.tst: Likewise.
5096         * testsuite/data/wostream_inserter_char-1.txt: Likewise.
5097         * testsuite/data/wostream_inserter_other-1.tst: Likewise.
5098         * testsuite/data/wostream_inserter_other-2.tst: Likewise.
5099         * testsuite/data/wostream_seeks-1.tst: Likewise.
5101         * testsuite/27_io/basic_ostream/endl/char/1.cc: Minor tweaks.
5102         * testsuite/27_io/basic_ostream/ends/char/1.cc: Likewise.
5103         * testsuite/27_io/basic_ostream/exceptions/char/9561.cc: Likewise.
5104         * testsuite/27_io/basic_ostream/flush/char/1.cc: Likewise.
5105         * testsuite/27_io/basic_ostream/flush/char/2.cc: Likewise.
5106         * testsuite/27_io/basic_ostream/flush/char/
5107         exceptions_badbit_throw.cc: Likewise.
5108         * testsuite/27_io/basic_ostream/inserters_arithmetic/
5109         char/2.cc: Likewise.
5110         * testsuite/27_io/basic_ostream/inserters_arithmetic/
5111         char/3.cc: Likewise.
5112         * testsuite/27_io/basic_ostream/inserters_arithmetic/
5113         char/4.cc: Likewise.
5114         * testsuite/27_io/basic_ostream/inserters_arithmetic/
5115         char/4402.cc: Likewise.
5116         * testsuite/27_io/basic_ostream/inserters_arithmetic/
5117         char/5.cc: Likewise.
5118         * testsuite/27_io/basic_ostream/inserters_arithmetic/
5119         char/6.cc: Likewise.
5120         * testsuite/27_io/basic_ostream/inserters_character/
5121         char/4.cc: Likewise.
5122         * testsuite/27_io/basic_ostream/inserters_other/char/
5123         2.cc: Likewise.
5124         * testsuite/27_io/basic_ostream/inserters_other/char/
5125         5.cc: Likewise.
5126         * testsuite/27_io/basic_ostream/inserters_other/char/
5127         error_failbit.cc: Likewise.
5128         * testsuite/27_io/basic_ostream/inserters_other/char/
5129         exceptions_badbit_throw.cc: Likewise.
5130         * testsuite/27_io/basic_ostream/inserters_other/char/
5131         exceptions_failbit_throw.cc: Likewise.
5132         * testsuite/27_io/basic_ostream/inserters_other/char/
5133         exceptions_null.cc: Likewise.
5134         * testsuite/27_io/basic_ostream/put/char/1.cc: Likewise.
5135         * testsuite/27_io/basic_ostream/seekp/char/
5136         exceptions_badbit_throw.cc: Likewise.
5137         * testsuite/27_io/basic_ostream/sentry/char/2.cc: Likewise.
5138         * testsuite/27_io/basic_ostream/write/char/1.cc: Likewise.
5140 2005-01-23  Paolo Carlini  <pcarlini@suse.de>
5142         * include/tr1/type_traits (aligned_storage): Use __aligned__ instead
5143         of aligned.
5145 2005-01-23  Paolo Carlini  <pcarlini@suse.de>
5146             Andreas Jaeger  <aj@suse.de>
5148         PR libstdc++/19343
5149         * include/bits/functexcept.h: Mark the helpers as 'noreturn'.
5151 2005-01-21  Loren J. Rittle  <ljrittle@acm.org>
5153         * testsuite/27_io/basic_filebuf/open/char/9507.cc: Allow
5154         lseek on fifo to succeed.  Thus, check for consistent report.
5156 2005-01-21  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
5158         PR libstdc++/19510
5159         * include/bits/stl_list.h (_List_iterator): Initialize _M_node
5160         in constructor.
5161         (_List_const_iterator): Likewise.
5162         * include/bits/stl_tree.h (_Rb_tree_iterator): Likewise.
5163         (_Rb_tree_const_iterator): Likewise.
5165         * testsuite/23_containers/map/operators/1_neg.cc: Adjust line numbers.
5166         * testsuite/23_containers/set/operators/1_neg.cc: Likewise.
5168 2005-01-20  Benjamin Kosnik  <bkoz@redhat.com>
5170         * testsuite/Makefile.am (check-compile): New.
5171         * testsuite/Makefile.in: Regenerate.
5172         * scripts/check_compile_time: New.
5173         * scripts/check_performance: Tweaks.
5175 2005-01-19  Paolo Carlini  <pcarlini@suse.de>
5177         PR libstdc++/19535
5178         * include/tr1/utility (struct __pair_get<1>::__get, __const_get):
5179         Fix typo in the return type.
5180         * testsuite/tr1/6_containers/utility/19535.cc: New.
5182 2005-01-19  Loren J. Rittle  <ljrittle@acm.org>
5184         * include/ext/array_allocator.h (array_allocator<>::allocate):
5185         Avoid __used.  Use __array_used instead.
5186         * docs/html/17_intro/BADNAMES: Add list for FreeBSD.
5188 2005-01-18  David Edelsohn  <edelsohn@gnu.org>
5190         * config/os/aix/os_defines.h (_XOPEN_SOURCE): Delete.
5191         (_XOPEN_SOURCE_EXTENDED): Delete.
5193 2005-01-18  Benjamin Kosnik  <bkoz@redhat.com>
5195         * testsuite/testsuite_performance.h (time_counter::start):
5196         Clear. Tweaks.
5197         (clear_counters): Inline.
5198         (start_counters): Inline.
5199         (stop_counters): Inline.
5200         * testsuite/performance/20_util/allocator/map_thread.cc: Return.
5201         * testsuite/performance/20_util/allocator/insert.cc: Remove bogus
5202         return, add return.
5203         * testsuite/performance/20_util/allocator/map_thread.cc: Same.
5205 2005-01-17  Paolo Carlini  <pcarlini@suse.de>
5207         PR libstdc++/19433
5208         * include/bits/stl_tree.h (_Rb_tree<>::insert_unique(iterator,
5209         const _Val&), _Rb_tree<>::insert_equal(iterator, const _Val&)):
5210         Obtain amortized constant complexity if t is inserted right after
5211         p - not before p - as per Table 69.
5212         * testsuite/performance/23_containers/set_insert_from_sorted.cc: New.
5214         * testsuite/23_containers/multiset/insert/2.cc: New.
5215         * testsuite/23_containers/set/insert/1.cc: Likewise.
5217         * testsuite/performance/23_containers/set_create_from_sorted.cc:
5218         Simplify.
5220         * include/bits/stl_tree.h: Add a few missing std:: qualifications.
5222 2005-01-16  Jonathan Wakely  <redi@gcc.gnu.org>
5224         * include/ext/rope: Qualify calls to std::copy() by sequence_buffer.
5225         * testsuite/ext/rope/4.cc: Add.
5227 2005-01-16  Lorenz Minder  <lminder@gmx.net>
5228             Paolo Carlini  <pcarlini@suse.de>
5230         PR libstdc++/19322
5231         * include/c_std/std_cmath.h: Define the C99 classification facilities
5232         directly inside namespace std:.
5233         * testsuite/26_numerics/cmath/19322.cc: New.
5235 2005-01-15  David Edelsohn  <edelsohn@gnu.org>
5237         * config/os/aix/os_defines.h (_G_USING_THUNKS): Delete.
5239 2005-01-14  Paolo Carlini  <pcarlini@suse.de>
5241         PR libstdc++/19422
5242         * include/bits/stl_tree.h (_Rb_tree<>::insert_equal(_II, _II),
5243         _Rb_tree<>::insert_unique(_II, _II)): Use insert_equal (insert_unique,
5244         respectively) with hint (end()).
5245         * testsuite/performance/23_containers/set_create_from_sorted.cc: New.
5247 2005-01-13  Geoffrey Keating  <geoffk@apple.com>
5249         * configure.host (darwin): On darwin8 or later, no need to build
5250         libstdc++ with -flat_namespace.
5252 2005-01-13  Jonathan Wakely  <redi@gcc.gnu.org>
5254         * docs/doxygen/user.cfg.in: Set HAVE_DOT back to YES.
5256 2005-01-13  Paolo Carlini  <pcarlini@suse.de>
5258         * testsuite/26_numerics/cmath/c99_classification_macros_c++.cc:
5259         Re-enable commented-out test for double type.
5261 2005-01-11  Paolo Carlini  <pcarlini@suse.de>
5262             Benjamin Kosnik  <bkoz@redhat.com>
5264         * src/istream.cc (basic_istream<char>::ignore(streamsize),
5265         basic_istream<char>::ignore(streamsize, int_type),
5266         basic_istream<wchar_t>::ignore(streamsize),
5267         basic_istream<wchar_t>::ignore(streamsize, int_type)): In case
5268         more than numeric_limits<streamsize>::max() chars are skipped,
5269         set _M_gcount = max().
5270         * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
5271         int_type)): Likewise; keep simple, don't forward.
5273 2005-01-11  Paolo Carlini  <pcarlini@suse.de>
5275         * src/istream.cc (basic_istream<char>::ignore(streamsize),
5276         basic_istream<char>::ignore(streamsize, int_type),
5277         basic_istream<wchar_t>::ignore(streamsize),
5278         basic_istream<wchar_t>::ignore(streamsize, int_type)): Revert
5279         2005-01-05 change: actually, the previous behavior is conforming
5280         and consistent with that of get(char_type*, streamsize, char_type),
5281         albeit slightly different from that of 3.3/3.4 in a corner case
5282         due to the use of snextc.
5283         * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
5284         int_type)): Likewise.
5285         * testsuite/27_io/basic_istream/ignore/char/4.cc: Remove.
5286         * testsuite/27_io/basic_istream/ignore/wchar_t/4.cc: Likewise.
5288 2005-01-11  Paolo Carlini  <pcarlini@suse.de>
5290         * include/tr1/type_traits: Implement alignment_of and aligned_storage.
5291         * testsuite/tr1/4_metaprogramming/other_transformations/
5292         aligned_storage/aligned_storage.cc: New.
5293         * testsuite/tr1/4_metaprogramming/other_transformations/
5294         aligned_storage/typedefs.cc: Likewise.
5295         * testsuite/tr1/4_metaprogramming/type_properties/
5296         alignment_of/alignment_of.cc: Likewise.
5297         * testsuite/tr1/4_metaprogramming/type_properties/
5298         alignment_of/typedefs.cc: Likewise.
5300 2005-01-10  Paolo Carlini  <pcarlini@suse.de>
5302         * Makefile.in: Regenerate.
5303         * libmath/Makefile.in: Likewise.
5304         * libsupc++/Makefile.in: Likewise.
5305         * po/Makefile.in: Likewise.
5306         * src/Makefile.in: Likewise.
5307         * testsuite/Makefile.in: Likewise.
5309 2005-01-10  Paolo Carlini  <pcarlini@suse.de>
5311         * include/bits/stl_algobase.h (lexicographical_compare):
5312         Fix concept check.
5314 2005-01-07  Benjamin Kosnik  <bkoz@redhat.com>
5316         * acinclude.m4: Remove CCODECVT_H.
5317         * configure: Regenerate.
5318         * include/Makefile.am (host_headers_extra): Move to...
5319         (ext_headers): ...here.
5320         * include/Makefile.in: Regenerate.
5321         * include/ext/enc_filebuf: Remove enc_filebuf, consolidate
5322         enc_traits to...
5323         * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Move...
5324         * include/ext/codecvt_specializations.h: ...here. Remove
5325         _GLIBCXX_USE___ENC_TRAITS.
5326         (__enc_traits): To __encoding_state, put in __gnu_cxx namespace.
5327         (enc_char_traits): To __encoding_char_traits, put in __gnu_cxx
5328         namespace.
5329         * config/locale/generic/codecvt_specializations.h: Remove.
5330         * include/bits/codecvt.h: Remove codecvt_specializations.h include.
5331         * src/codecvt.cc: Remove __enc_traits::_S_max_size.
5333 2005-01-06  Benjamin Kosnik  <bkoz@redhat.com>
5335         * include/bits/fstream.tcc: Remove unnecessary qualifications for
5336         uglified data members of basic_filebuf, including _M_buf,
5337         _M_buf_size, _M_mode, _M_pback_init.
5338         * include/std/std_fstream.h: Same.
5340 2005-01-05  Benjamin Kosnik  <bkoz@redhat.com>
5342         * testsuite/testsuite_hooks.h:
5343         (copy_constructor::mark_call):  Use __throw_runtime_error.
5344         (assignment_operator::mark_call): Same.
5345         * testsuite/testsuite_hooks.cc (verify_demangle): Same.
5346         (locale_data): Remove, just use runtime_error directly.
5347         (environment_variable): Same.
5348         (not_found): Same.
5349         (run_tests_wrapped_locale): Use __throw_runtime_error.
5350         (run_tests_wrapped_env): Same.
5351         (semaphore::semaphore): Same.
5352         (semaphore::signal): Same.
5353         (semaphore::wait): Same.
5354         * testsuite/testsuite_abi.h (symbol_error): Remove, use logic_error.
5355         * testsuite/testsuite_abi.cc (get_symbol): Use __throw_logic_error.
5356         (create_symbols): Use __throw_runtime_error.
5357         * src/bitmap_allocator.cc: Use __throw_bad_alloc.
5359 2005-01-05  Mark Mitchell  <mark@codesourcery.com>
5361         * testsuite/27_io/basic_filebuf/open/char/9507.cc: Remove child
5362         process.
5364 2005-01-05  Paolo Carlini  <pcarlini@suse.de>
5366         * src/istream.cc (basic_istream<char>::ignore(streamsize),
5367         basic_istream<char>::ignore(streamsize, int_type),
5368         basic_istream<wchar_t>::ignore(streamsize),
5369         basic_istream<wchar_t>::ignore(streamsize, int_type)): At the end,
5370         first check _M_gcount vs __n.
5371         * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
5372         int_type)): Likewise.
5373         * testsuite/27_io/basic_istream/ignore/char/4.cc: New.
5374         * testsuite/27_io/basic_istream/ignore/wchar_t/4.cc: Likewise.
5376 2005-01-03  Mark Mitchell  <mark@codesourcery.com>
5378         * testsuite/testsuite_hooks.cc: Use __throw_exception_again
5379         instead of just throw.
5381         * testsuite/testsuite_hooks.cc: Update coypright and follow style
5382         guidelines.
5383         * testsuite/testsuite_hooks.h: Likewise.
5384         * testsuite/27_io/basic_filebuf/close/char/4879.cc: Use
5385         semaphores, not sleep.
5386         * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise.
5387         * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
5388         * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise.
5389         * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc:
5390         Likewise.
5391         * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise.
5392         * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise.
5393         * testsuite/27_io/objects/char/7.cc: Likewise.
5394         * testsuite/27_io/objects/char/9661-1.cc: Likewise.
5395         * testsuite/27_io/objects/wchar_t/7.cc: Likewise.
5396         * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise.
5398         * configure.ac: Check for sys/ipc.h and sys/sem.h.
5399         * config.h.in: Regenerated.
5400         * configure: Likewise.
5401         * testsuite/testsuite_hooks.cc (_GLIBCXX_SYSV_SEM): Conditionally
5402         define.
5403         (sys/types.h): Include.
5404         (sys/ipc.h): Likewise.
5405         (sys/sem.h): Likewise.
5406         (__gnu_test::semun): New type.
5407         (__gnu_test::semaphore::sempaphore): New function.
5408         (__gnu_test::semaphore::~semaphore): Likewise.
5409         (__gnu_test::semaphore::wait): Likewise.
5410         (__gnu_test::semaphore::signal): Likewise.
5411         * testsuite/testsuite_hooks.h (__gnu_test::semaphore): New class.
5412         * testsuite/27_io/basic_filebuf/close/char/4879.cc: Use
5413         semaphores, not sleep.
5414         * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise.
5415         * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
5416         * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise.
5417         * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc:
5418         Likewise.
5419         * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise.
5420         * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise.
5421         * testsuite/27_io/objects/char/7.cc: Likewise.
5422         * testsuite/27_io/objects/char/9661-1.cc: Likewise.
5423         * testsuite/27_io/objects/wchar_t/7.cc: Likewise.
5424         * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise.
5426 2005-01-03  Paolo Carlini  <pcarlini@suse.de>
5428         * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
5429         int_type)): Reset _M_gcount to numeric_limits<streamsize>::min().
5430         * src/istream.cc (basic_istream<char>::ignore(streamsize, int_type),
5431         basic_istream<wchar_t>::ignore(streamsize, int_type)): Likewise.
5432         * src/istream.cc (basic_istream<char>::ignore(streamsize),
5433         basic_istream<wchar_t>::ignore(streamsize)): Likewise; fix a typo.
5435 2005-01-02  Paolo Carlini  <pcarlini@suse.de>
5437         * src/istream.cc (basic_istream<char>::ignore(streamsize),
5438         basic_istream<char>::ignore(streamsize, int_type),
5439         basic_istream<wchar_t>::ignore(streamsize),
5440         basic_istream<wchar_t>::ignore(streamsize, int_type)): Avoid
5441         _M_gcount overflows.
5442         * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
5443         int_type)): Likewise; use snextc in the main loop, consistently
5444         with the specializations above.
5446 2005-01-02  Chris Jefferson  <chris@bubblescope.net>
5448         * include/bits/stl_algobase.h (mismatch): Correct concept check.
5450 2005-01-01  Paolo Carlini  <pcarlini@suse.de>
5452         * testsuite/ext/enc_filebuf/char/13189.cc: Fix, first include
5453         testsuite_hooks.h, to know whether including ext/enc_filebuf.h.
5454         * testsuite/ext/enc_filebuf/wchar_t/13189.cc: Likewise.
5456 2005-01-01  Paolo Carlini  <pcarlini@suse.de>
5458         * testsuite/27_io/basic_istream/extractors_character/char/1.cc: Fix,
5459         null-terminate array1 at the outset.
5460         * testsuite/27_io/basic_istream/extractors_character/wchar_t/1.cc:
5461         Likewise.