* zh_CN.po: Update.
[official-gcc.git] / libstdc++-v3 / ChangeLog
blob059043b5eea71aceef01a0dadd6de1be8dea9f60
1 2005-09-12  Benjamin Kosnik  <bkoz@redhat.com>
3         * testsuite/lib/libstdc++.exp (v3-build_support): Use sharedlib for
4         type of target_compile.
5          (v3_target_compile): Set flags for sharelib type.
6         
7 2005-09-12  Benjamin Kosnik  <bkoz@redhat.com>
8             David Edelsohn <dje@gcc.gnu.org>
10         PR libstdc++/22554
11         PR libstdc++/23734
12         * include/Makefile.am (assoc_headers): Break into five sub values.
13         (install-headers): Use them.
14         (stamp-assoc): Same.
15         * include/Makefile.in: Regenerate.
16         
17 2005-09-12  Chris Jefferson  <chris@bubblescope.net>
19         * include/bits/stl_algo.h (search_n): Delegate to specializations.
20         (search_n(,,,,binary_predicate)): Likewise.
21         (__search_n(forward_iterator_tag)): Original search_n, tweak to
22         remove an unnecessary comparison.
23         (__search_n(,,,,binary_predicate,forward_iterator_tag)): Likewise.
25 2005-09-12  Jim Xochellis  <jimxoch@yahoo.gr>
27         * include/bits/stl_algo.h
28         (__search_n(std::random_access_iterator_tag)): Add specialization.
29         (__search_n(,,,,binary_predicate,std::random_access_iterator_tag)):
30         Likewise.
32 2005-09-12  Benjamin Kosnik  <bkoz@redhat.com>
34         PR libstdc++/23417
35         * include/bits/stl_list.h (_List_impl): Use member initialization
36         list for -Weffc++.
37         * include/bits/stl_tree.h (_Rb_tree_impl): Same.
39 2005-09-12  Paolo Carlini  <pcarlini@suse.de>
41         PR libstdc++/23767
42         * include/bits/stl_iterator.h (__normal_iterator::
43         __normal_iterator<>(const __normal_iterator<_Iter, _Container>&)):
44         Enable only when _Iter is equal to _Container::pointer.
45         * testsuite/21_strings/basic_string/types/23767.cc: New.
46         * testsuite/23_containers/vector/types/23767.cc: Likewise.
47         * testsuite/ext/vstring/types/23767.cc: Likewise.
49 2005-09-11  Benjamin Kosnik  <bkoz@redhat.com>
51         PR libstdc++/19265
52         PR libstdc++/22309
53         * include/ext/mt_allocator.h
54         (__gnu_cxx::__create_handler): Remove.
55         (__pool<true>::_M_destroy_thread_key): Compatibility only.
56         (__pool<true>::_M_initialize(__destroy): Same.
57         (__pool<true>::_M_initialize): New.
58         (__pool<true>::_M_initialize_once): Nothing fancy.
59         (__pool<true>::_M_once): Remove.
60         (__common_pool): New.
61         (__common_pool_base): New.      
62         (__per_type_pool): New.
63         (__per_type_pool_base): New.
64         * src/mt_allocator.cc: Same.
65         * config/linker-map.gnu (__pool<true>::_M_initialize()): Add.
66         
67 2005-09-11  Jakub Jelinek  <jakub@redhat.com>
69         PR libstdc++/19265
70         PR libstdc++/22309
71         * src/mt_allocator.cc (__gnu_internal::freelist_mutex): Make static.
72         (__gnu_internal::__freelist): New type.
73         (__gnu_internal::freelist): New variable.
74         (__gnu_internal::_M_destroy_thread_key): New function.
75         (__gnu_cxx::__pool<true>::_M_destroy): Don't delete
76         _M_thread_freelist_initial.
77         (__gnu_cxx::__pool<true>::_M_initialize): Make argument nameless.
78         Don't use _M_thread_freelist and _M_thread_freelist_initial
79         __pool<true> fields, instead use __gnu_internal::freelist fields, call
80         gthread_key_create just once.  Use
81         __gnu_internal::_M_destroy_thread_key as key destructor.        
82         (__gnu_cxx::__pool<true>::_M_get_thread_id): Store size_t id
83         rather than _Thread_record* in the thread specific value.  Don't
84         use _M_thread_freelist __pool<true> field, instead use
85         __gnu_internal::freelist fields.
86         (__gnu_cxx::__pool<true>::_M_destroy_thread_key): Do nothing.
88 2005-09-11  Benjamin Kosnik  <bkoz@redhat.com>
89             Jakub Jelinek  <jakub@redhat.com>
91         PR libstdc++/19265
92         PR libstdc++/22309      
93         * testsuite/testsuite_shared.cc: New.
94         * testsuite/lib/dg-options.exp (dg-require-sharedlib): New.
95         * testsuite/lib/libstdc++.exp (libstdc++_init): Look for shared
96         library, and set v3-sharedlib based on this.
97         (check_v3_target_sharedlib): New.
98         (proc v3-build_support): Build shared objects.
99         * testsuite/ext/mt_allocator/22309_thread.cc: New, use above.
101 2005-09-11  Paolo Carlini  <pcarlini@suse.de>
103         PR libstdc++/23781
104         * include/bits/stl_list.h (_List_iterator<>::
105         _List_iterator(_List_node_base*), _List_const_iterator<>::
106         _List_const_iterator(const _List_node_base*)): Make explicit.
107         (list<>::begin(), list<>::end(), list<>::pop_back()): Adjust
108         consistently.
109         * include/bits/list.tcc (list<>::insert, list<>::erase): Adjust
110         consistently.
111         * include/bits/stl_tree.h (_Rb_tree_iterator<>::
112         _Rb_tree_iterator(_Link_type), _Rb_tree_const_iterator<>::
113         _Rb_tree_const_iterator(_Link_type)): Make explicit.
114         (_Rb_tree<>::begin(), _Rb_tree<>::end()): Adjust consistently.
115         * include/ext/slist (_Slist_iterator<>::_Slist_iterator(_Node*)):
116         Make explicit.
117         (slist<>::erase(iterator), slist<>::erase(iterator, iterator)):
118         Adjust consistently.
119         * include/tr1/hashtable (hashtable_iterator<>::
120         hashtable_iterator(hash_node<>**)): Make explicit.
121         * testsuite/23_containers/list/23781.cc: New.
122         * testsuite/23_containers/map/23781.cc: Likewise.
123         * testsuite/23_containers/multimap/23781.cc: Likewise.
124         * testsuite/23_containers/multiset/23781.cc: Likewise.
125         * testsuite/23_containers/set/23781.cc: Likewise.
126         * testsuite/ext/slist/23781.cc: Likewise.
127         * testsuite/tr1/6_containers/unordered/23781.cc: Likewise.
128         * testsuite/23_containers/map/operators/1_neg.cc: Adjust dg-error
129         line numbers.
130         * testsuite/23_containers/set/operators/1_neg.cc: Likewise.
132         * include/tr1/array (array<>::begin(), array<>::end()): Adjust
133         stylistically for consistency with the other containers.
135 2005-09-10  Joseph S. Myers  <joseph@codesourcery.com>
137         * testsuite/26_numerics/cmath/c99_classification_macros_c.cc:
138         XFAIL on *-*-linux*, not *-*-linux-gnu.
140 2005-09-09  Benjamin Kosnik  <bkoz@redhat.com>
141             Jakub Jelinek  <jakub@redhat.com>
143         * src/debug.cc (iterator_base_mutex): Make static for internal
144         linkage.
145         * src/locale_init.cc (locale_mutex): Same.
146         * src/mt_allocator.cc (freelist_mutex): Same.
147         * src/pool_allocator.cc (palloc_init_mutex): Same.
148         
149 2005-09-02  Paolo Carlini  <pcarlini@suse.de>
151         * testsuite/tr1/6_containers/unordered/hashtable/23465.cc:
152         Reduce maximum size and lf.
154 2005-09-01  Benjamin Kosnik  <bkoz@redhat.com>
156         * include/c_std/std_cmath.h: Declare C99 functions and helper
157         functions as inline.
159 2005-09-01  Benjamin Kosnik  <bkoz@redhat.com>
160             Paolo Carlini  <pcarlini@suse.de>
161         
162         * testsuite/lib/libstdc++.exp (check_v3_target_cxa_atexit): Fix
163         comment.
165 2005-09-01  Benjamin Kosnik  <bkoz@redhat.com>
167         * testsuite/lib/libstdc++.exp (check_v3_target_cxa_atexit): New.
168         * testsuite/lib/dg-options.exp (dg-require-cxa-atexit): New.
169         * testsuite/ext/mt_allocator/deallocate_local-6.cc: New.
170         * testsuite/ext/mt_allocator/deallocate_local-8.cc: New.
171         * testsuite/ext/mt_allocator/deallocate_local_thread-5.cc: New.
172         * testsuite/ext/mt_allocator/deallocate_local_thread-7.cc: New.
173         * docs/html/ext/mt_allocator.html: Add link to examples.
174         * testsuite/testsuite_allocator.h: Tweak.
175         * testsuite/ext/mt_allocator/deallocate_global-2.cc: Same.
176         * testsuite/ext/mt_allocator/deallocate_global-4.cc: Same.
177         * testsuite/ext/mt_allocator/deallocate_global_thread-1.cc: Same.
178         * testsuite/ext/mt_allocator/deallocate_global_thread-3.cc: Same.
179         * testsuite/ext/mt_allocator/deallocate_local-2.cc: Same.
180         * testsuite/ext/mt_allocator/deallocate_local-4.cc: Same.
181         * testsuite/ext/mt_allocator/deallocate_local_thread-1.cc: Same.
182         * testsuite/ext/mt_allocator/deallocate_local_thread-3.cc: Same.
183         * testsuite/ext/new_allocator/deallocate_global.cc: Same.
184         * testsuite/ext/new_allocator/deallocate_local.cc: Same.
186 2005-08-31  Paolo Carlini  <pcarlini@suse.de>
187             Kaspar Fischer <fischerk@inf.ethz.ch> 
189         PR libstdc++/23632
190         * include/bits/stl_bvector.h (_Bit_iterator::operator[],
191         _Bit_const_iterator::operator[]): Const-ify.
192         * testsuite/23_containers/vector/bool/23632.cc: New.
194 2005-08-30  Paolo Carlini  <pcarlini@suse.de>
196         PR libstdc++/23578 (cont)
197         * include/bits/stl_bvector.h (class vector<bool>): Add
198         a dummy data() to avoid problems in debug-mode.
200 2005-08-30  Paolo Carlini  <pcarlini@suse.de>
202         * testsuite/ext/hash_map/23528.cc: New.
204 2005-08-29  Paolo Carlini  <pcarlini@suse.de>
206         * include/bits/stl_map.h (class map): ... and a missing @a.
208 2005-08-29  Paolo Carlini  <pcarlini@suse.de>
210         * include/bits/stl_map.h (class map): Add missing % in comment.
212 2005-08-29  Paolo Carlini  <pcarlini@suse.de>
214         PR libstdc++/23578 (DR 464 [Ready])
215         * include/bits/stl_map.h (class map): Add at(const key_type&)
216         member functions.
217         * include/bits/stl_vector.h (class vector): Add data() member
218         functions.
219         * include/debug/map.h (class map): Adjust consistently.
220         * include/debug/vector (class vector): Likewise.
221         * testsuite/23_containers/map/element_access/1.cc: New.
222         * testsuite/23_containers/vector/data_access/1.cc: Likewise.
223         * docs/html/ext/howto.html: Add an entry for DR 464.
225 2005-08-26  Benjamin Kosnik  <bkoz@redhat.com>
227         PR libstdc++/20534 (contd)
228         * src/debug.cc (__gnu_debug): Remove __fancy_abort definition.
229         Remove cstdio and cstdlib includes.
230         * include/debug/debug.h: Define inline here. Remove
231         _GLIBCXX_DEBUG_ABORT.
232         * include/debug/macros.h: Remove __fancy_abort declaration,
233         _GLIBXX_DEBUG_ABORT definition.
234         * config/linker-map.gnu: Remove export.
235         
236 2005-08-26  Benjamin Kosnik  <bkoz@redhat.com>
238         * scripts/check_compile (UNIQUE_ID): New. Use to name output files.
240 2005-08-26  Paolo Carlini  <pcarlini@suse.de>
242         PR libstdc++/23081
243         * include/tr1/array: Implement members back(), front(), data(),
244         and the tuple interface; tidy.
245         * testsuite/tr1/6_containers/array/element_access/back.cc: New.
246         * testsuite/tr1/6_containers/array/element_access/data.cc: Likewise.
247         * testsuite/tr1/6_containers/array/element_access/front.cc: Likewise.
248         * testsuite/tr1/6_containers/array/tuple_interface/get.cc: Likewise.
249         * testsuite/tr1/6_containers/array/tuple_interface/tuple_element.cc:
250         Likewise.
251         * testsuite/tr1/6_containers/array/tuple_interface/tuple_size.cc:
252         Likewise.
254 2005-08-25  Paolo Carlini  <pcarlini@suse.de>
256         * include/tr1/hashtable: Use __throw_exception_again,
257         not naked throw, in the catch clauses.
259 2005-08-24  Lawrence Lim  <llim@redhat.com>
260             Jakub Jelinek  <jakub@redhat.com>
261             Benjamin Kosnik  <bkoz@redhat.com>
263         PR libstdc++/23550
264         * testsuite/21_strings/char_traits/requirements/char/1.cc
265         (test01): Simplify counting.
266         * testsuite/21_strings/char_traits/requirements/wchar_t/1.cc
267         (test02): Same.
269 2005-08-24  Paolo Carlini  <pcarlini@suse.de>
270             Chris Jefferson  <chris@bubblescope.net>
272         PR libstdc++/23465
273         * include/tr1/hashtable (hash_code_base::m_swap): Use
274         std::swap.
275         (hashtable<>::hashtable(const hashtable&)): Use copy_code;
276         fix m_allocate_node call.
277         * testsuite/tr1/6_containers/unordered/hashtable/23465.cc: New.
279 2005-08-23  Kelley Cook  <kcook@gcc.gnu.org>
281         PR libstdc++/23462
282         * testsuite/data/sgetn.txt: Revert to previous FSF address.
284 2005-08-23  Thomas Kho  <tkho@ucla.edu>
286         PR libstdc++/23358
287         * include/bits/stl_construct.h (_Destroy(_ForwardIterator,
288         _ForwardIterator, allocator<_Tp>)): Removed unused template parameter.
290 2005-08-22  Geoffrey Keating  <geoffk@apple.com>
292         * testsuite/23_containers/vector/resize/1.cc: XFAIL on darwin8.
293         * testsuite/27_io/ios_base/storage/2.cc: Likewise.
295 2005-08-19  J"orn Rennecke <joern.rennecke@st.com>
297         * config/cpu/sh/atomicity.h: Replace broken generic code with current
298         copy of generic/atomicity.h .
300 2005-08-17  Kelley Cook  <kcook@gcc.gnu.org>
302         * All files: Update FSF address.
304 2005-08-09  Andrew Pinski  <pinskia@physics.uc.edu>
306         * testsuite/26_numerics/cmath/c99_classification_macros_c.cc:
307         xfail on *-*-darwin*.
309 2005-08-03  Geoffrey Keating  <geoffk@apple.com>
311         * configure.ac: Don't use GCC_NO_EXECUTABLES or clear
312         GLIBCXX_IS_NATIVE on Darwin crosses.
313         * acinclude.m4 (GLIBCXX_CONFIGURE_TESTSUITE): Don't skip configuring
314         the testsuite just because there's no symbol versioning.
315         * configure: Regenerate.
317         * acinclude.m4 (GLIBCXX_CHECK_SETRLIMIT_ancilliary): Print
318         status messages.
319         (GLIBCXX_CHECK_S_ISREG_OR_S_IFREG): Likewise.
320         (GLIBCXX_CHECK_POLL): Likewise.
321         (GLIBCXX_CHECK_WRITEV): Likewise.
322         (GLIBCXX_CHECK_INT64_T): Likewise.
323         (GLIBCXX_CHECK_LFS): Likewise.
324         * configure: Regenerate.
326 2005-07-30  Andrew Pinski  <pinskia@physics.uc.edu>
328         * scripts/make_exports.pl: Pass --strip-underscores to c++filt.
330 2005-07-29  H.J. Lu  <hongjiu.lu@intel.com>
332         PR libstdc++/22284
333         * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Revert
334         the change to info.ttype_base.
335         
336 2005-07-28  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
338         * include/std/std_valarray.h: Fix grammar in comments.
340 2005-07-25  Geoffrey Keating  <geoffk@apple.com>
342         * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Handle darwin-export,
343         and make it the default for Darwin.
344         * scripts/make-exports.pl: New.
345         * src/Makefile.am: Update for changes to GLIBCXX_ENABLE_SYMVERS.
346         Handle darwin-export.
347         * configure: Regenerate.
348         * include/Makefile.in: Regenerate.
349         * libmath/Makefile.in: Regenerate.
350         * libsupc++/Makefile.in: Regenerate.
351         * po/Makefile.in: Regenerate.
352         * src/Makefile.in: Regenerate.
353         * testsuite/Makefile.in: Regenerate.
355 2005-07-25  Dave Odell  <evilalias@hotmail.com>
357         PR libstdc++/23053
358         * include/tr1/hashtable (hashtable<>::find_node): Const-ify.
359         * testsuite/tr1/6_containers/unordered/hashtable/23053.cc: New.
361 2005-07-25  Paolo Carlini  <pcarlini@suse.de>
363         PR libstdc++/22515
364         * include/bits/basic_string.h: Declare the specialization
365         operator>>(basic_istream<char>&, basic_string<char>&).
366         * include/std/std_istream.h: Declate the specialization
367         operator>>(basic_istream<char>&, char*).
368         * include/std/std_streambuf.h (basic_streambuf): Add friend
369         declarations for the above.
370         * src/istream.cc: Define the above.
371         * testsuite/27_io/basic_istream/extractors_character/char/4.cc: New.
372         * testsuite/27_io/basic_istream/extractors_character/wchar_t/4.cc:
373         Likewise.
374         * testsuite/performance/27_io/ifstream_extract_chars.cc: Likewise.
376 2005-07-20  Paolo Carlini  <pcarlini@suse.de>
378         * include/bits/streambuf.tcc (xsgetn, xsputn): Use streamsize
379         instead of size_t.
380         * src/streambuf.cc (__copy_streambufs): Likewise.
382 2005-07-18  Paolo Carlini  <pcarlini@suse.de>
384         * config/locale/gnu/ctype_members.cc (do_is(mask, wchar_t)):
385         Speed-up for the common case of mask == ctype_base::space;
386         otherwise, exit the loop earlier if the mask is one of the
387         elementary ones.
389 2005-07-14  Paolo Carlini  <pcarlini@suse.de>
391         PR libstdc++/21193 (float, double, long double)
392         * include/tr1/functional (hash<float>, hash<double>):
393         Reimplement exploiting the Fnv_hash<>::hash helper.
394         (hash<long double>): Reimplement using frexp (in this
395         case, due to random padding bits, the former approach
396         is not generally viable).
398 2005-07-13  Paolo Carlini  <pcarlini@suse.de>
400         PR libstdc++/21193 (string & wstring)
401         * include/tr1/functional (hash<string>, hash<wstring>):
402         Reimplement using the FNV hash.
404         * include/tr1/functional: Trivial formatting fixes.
406 2005-07-11  Paolo Carlini  <pcarlini@suse.de>
408         * include/bits/ostream.tcc (basic_ostream<>::operator<<(long),
409         basic_ostream<>::operator<<(long long)): Don't deal with oct
410         and hex and casts to unsigned here...
411         * include/bits/locale_facets.tcc (__int_to_char(_CharT*, long,
412         const _CharT*, ios_base::fmtflags), __int_to_char(_CharT*, long
413         long, const _CharT*, ios_base::fmtflags)): ... do that here,
414         instead, as per Table 57.
415         (num_put<>::_M_insert_int): Tidy treatment of numeric base and
416         sign.
417         * include/std/std_ostream.h (operator<<(short), operator<<(int)):
418         Adjust logic, as per the letter of the resolution of DR117 [WP].
419         * testsuite/22_locale/num_put/put/char/10.cc: New.
420         * testsuite/22_locale/num_put/put/wchar_t/10.cc: Likewise.
421         * testsuite/27_io/basic_ostream/inserters_arithmetic/char/7.cc:
422         Likewise.
423         * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/7.cc:
424         Likewise.
426 2005-07-07  David Edelsohn  <edelsohn@gnu.org>
428         * testsuite/ext/pb_assoc/example/tree_order_statistics_join.cc:
429         Change map_t to map_type.
431 2005-07-05  Paolo Carlini  <pcarlini@suse.de>
433         Add class __versa_string, a versatile "basic_string-type" class:
434         an additional, non-standard, template parameter allows to specify
435         the preferred base class. Two are provided: __rc_string_base,
436         which implements a behavior very similar to our standard string,
437         and __sso_string_base, not reference-counted and optimized for
438         short strings. 
439         * include/ext/rc_string_base.h: New.
440         * include/ext/sso_string_base.h: Likewise.
441         * include/ext/vstring.h: Likewise.
442         * include/ext/vstring.tcc: Likewise.
443         * include/ext/vstring_fwd.h: Likewise.
444         * include/ext/vstring_util.h: Likewise.
445         * include/Makefile.am: Add.
446         * include/Makefile.in: Regenerate.
447         * testsuite/ext/vstring/explicit_instantiation/1.cc: New.
448         * testsuite/ext/vstring/explicit_instantiation/2.cc: Likewise.
449         * testsuite/ext/vstring/explicit_instantiation/char/1.cc: Likewise.
450         * testsuite/ext/vstring/explicit_instantiation/wchar_t/1.cc: Likewise.
452         * Makefile.in: Regenerate with autotools 1.9.3 (to date, the version
453         officially used by v3).
454         * aclocal.m4: Likewise.
455         * libmath/Makefile.in: Likewise.
456         * libsupc++/Makefile.in: Likewise.
457         * po/Makefile.in: Likewise.
458         * src/Makefile.in: Likewise.
459         * testsuite/Makefile.in: Likewise.
461 2005-07-01  Paolo Carlini  <pcarlini@suse.de>
463         Port from libstdcxx_so_7-branch:
464         2004-10-28  Chris Jefferson  <chris@bubblescope.net>
466         PR libstdc++/17441
467         * include/bit/stl_algo.h (find(,,,input_iterator_tag),
468         find(,,,random_access_interator_tag),
469         find_if(,,,input_iterator_tag),
470         find_if(,,,random_access_iterator_tag)): Uglify function name.
471         (find, find_if): Use new uglified specialisation names.
472         * testsuite/25_algorithms/find/17441.cc: New.
474 2005-06-30  Ulrich Weigand  <uweigand@de.ibm.com>
476         * include/ext/pb_assoc/detail/hash_fn/mask_based_range_hashing.hpp
477         (PB_ASSOC_CLASS_C_DEC::s_highest_bit_1): Cast constant 1 to target
478         type before shifting.
480 2005-06-29  Paolo Carlini  <pcarlini@suse.de>
481             
482         PR libstdc++/21244 (cont^2)
483         * include/ext/bitmap_allocator.h: Convert everywhere
484         bits_per_block to size_t.       
486 2005-06-29  Jonathan Wakely  <redi@gcc.gnu.org>
488         * include/bits/basic_string.h, include/bits/locale_facets.h: Fix
489         Doxygen comments that use wrong parameter and function names.
491 2005-06-29  Paolo Carlini  <pcarlini@suse.de>
493         * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 37.
494         * docs/html/ext/howto.html: Adjust.
496 2005-06-29  Paolo Carlini  <pcarlini@suse.de>
498         PR libstdc++/22131
499         * include/bits/locale_facets.tcc (num_get<>::_M_extract_int,
500         num_get<>::_M_extract_float, money_get<>::_M_extract):
501         Adjust to assign the result also when digit grouping is
502         wrong (but the grammar is correct), as per 22.2.2.1.2, p11-12
503         (NB: consistently for money_get too).
504         * config/locale/generic/c_locale.cc (__convert_to_v): Do
505         not check ios_base::failbit at the outset.
506         * config/locale/gnu/c_locale.cc: Likewise.
507         * testsuite/22_locale/money_get/get/char/22131.cc: New.
508         * testsuite/22_locale/money_get/get/wchar_t/22131.cc: Likewise.
509         * testsuite/22_locale/num_get/get/char/22131.cc: Likewise.
510         * testsuite/22_locale/num_get/get/wchar_t/22131.cc: Likewise.
511         * testsuite/22_locale/num_get/get/char/12.cc: Adjust.
512         * testsuite/22_locale/num_get/get/wchar_t/12.cc: Likewise.
513         * testsuite/27_io/basic_istream/extractors_arithmetic/char/07.cc:
514         Likewise.
515         * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/07.cc:
516         Likewise.
518 2005-06-28  Paul Brook  <paul@codesourcery.com>
520         * acinclude.m4 (GLIBCXX_ENABLE_SJLJ_EXCEPTIONS): Check for
521         __cxa_end_cleanup.
522         * libsupc++/Makefile.am (sources): Add eh_call.c and eh_arm.c.
523         * libsupc++/eh_arm.cc: New file.
524         * libsupc++/eh_call.cc: New file.
525         * libsupc++/eh_catch.cc (__cxa_get_exception_ptr): Use
526         __gxx_caught_object.
527         (__cxa_begin_catch): Ditto. Use __is_gxx_exception_class. Call
528         _Unwind_Complete when using the ARM EABI.
529         (__cxa_end_catch): Use __is_gxx_exception_class.
530         * libsupc++/eh_personality.cc: Define NO_SIZE_OF_ENCODED_VALUE when
531         using the ARM EABI.
532         (save_caught_exception, restore_caught_exception): New functions.
533         (_throw_typet): New typedef.
534         (get_ttype_entry, get_adjusted_ptr, check_exception_spec): Add ARM
535         EABI implementations.
536         (PERSONALITY_FUNCTION): Use new functions.  Addd support for ARM EABI
537         unwinding libary.
538         (__cxa_unexpected): Disable when using the ARM EABI.
539         * libsupc++/eh_throw.cc (__cxa_throw): Use __GXX_INIT_EXCEPTION_CLASS.
540         (__cxa_rethrow): Use __is_gxx_exception_class.  Call
541         _Unwind_RaiseException when using the ARM EABI.
542         * libsupc++/unwind-cxx.h (struct __cxa_exception): Add fields for ARM
543         EABI semantics.
544         (struct __cxa_eh_globals): Ditto.
545         (__cxa_call_terminate): Add prototype.
546         (__cxa_type_match, __cxa_begin_cleanup, __cxa_end_cleanup): Add
547         prototypes.
548         (__get_exception_header_from_obj, __get_exception_header_from_ue):
549         Move earlier in file.
550         (__is_gxx_exception_class, __GXX_INIT_EXCEPTION_CLASS,
551         __gxx_caught_object): New functions.
552         * aclocal.m4: Regenerate.
553         * configure: Regenerate.
554         * Makefile.in: Regenerate.
555         * include/Makefile.in: Regenerate.
556         * libmath/Makefile.in: Regenerate.
557         * libsupc++/Makefile.in: Regenerate.
558         * po/Makefile.in: Regenerate.
559         * src/Makefie.in: Regenerate.
560         * testsuite/makefile.in: Regenerate.
562 2005-06-27  Paolo Carlini  <pcarlini@suse.de>
564         PR libstdc++/22102
565         * include/bits/stl_tree.h (insert_unique(iterator, const _Val&),
566         insert_equal((iterator, const _Val&)): Reimplement to check both
567         before and after, as per the algorithm "ignore hint if wrong" of
568         ISO paper N1780.
570 2005-06-27  Benjamin Kosnik  <bkoz@redhat.com>
571             Ami Tavory  <pbassoc@gmail.com>
572         
573         * docs/html/documentation.html: Add link for policy based
574         associative containers docs.
575         * docs/html/ext/pb_assoc/Std_hash_set_impl.jpg: New.
576         * docs/html/ext/pb_assoc/acks.html: New.
577         * docs/html/ext/pb_assoc/balls_and_bins.jpg: New.
578         * docs/html/ext/pb_assoc/basic_assoc_cntnr.html: New.
579         * docs/html/ext/pb_assoc/basic_assoc_cntnr_compound_data.html: New.
580         * docs/html/ext/pb_assoc/basic_assoc_cntnr_no_data.html: New.
581         * docs/html/ext/pb_assoc/basic_ds_tag.html: New.
582         * docs/html/ext/pb_assoc/basic_hash_assoc_cntnr.html: New.
583         * docs/html/ext/pb_assoc/basic_hash_ds_tag.html: New.
584         * docs/html/ext/pb_assoc/basic_invalidation_guarantee.html: New.
585         * docs/html/ext/pb_assoc/basic_ms_tag.html: New.
586         * docs/html/ext/pb_assoc/basic_tree_assoc_cntnr.html: New.
587         * docs/html/ext/pb_assoc/
588           basic_tree_assoc_cntnr_const_node_iterator.html: New.
589         * docs/html/ext/pb_assoc/
590           basic_tree_assoc_cntnr_node_iterator.html: New.
591         * docs/html/ext/pb_assoc/basic_tree_assoc_cntnr_rev.html: New.
592         * docs/html/ext/pb_assoc/basic_tree_assoc_cntnr_rev_it.html: New.
593         * docs/html/ext/pb_assoc/basic_tree_ds_tag.html: New.
594         * docs/html/ext/pb_assoc/cc_hash_assoc_cntnr.html: New.
595         * docs/html/ext/pb_assoc/cc_hash_ds_tag.html: New.
596         * docs/html/ext/pb_assoc/
597           cc_hash_max_collision_check_resize_trigger.html: New.
598         * docs/html/ext/pb_assoc/cc_hash_policy_cd.jpg: New.
599         * docs/html/ext/pb_assoc/cd.jpg: New.
600         * docs/html/ext/pb_assoc/component_requirements.html: New.
601         * docs/html/ext/pb_assoc/compound_data_enabled_ms_tag.html: New.
602         * docs/html/ext/pb_assoc/compound_data_type.html: New.
603         * docs/html/ext/pb_assoc/compound_ds_tag.html: New.
604         * docs/html/ext/pb_assoc/concepts.html: New.
605         * docs/html/ext/pb_assoc/contact.html: New.
606         * docs/html/ext/pb_assoc/counter_update_metadata.html: New.
607         * docs/html/ext/pb_assoc/counter_update_policy.html: New.
608         * docs/html/ext/pb_assoc/data_enabled_ms_tag.html: New.
609         * docs/html/ext/pb_assoc/design.html: New.
610         * docs/html/ext/pb_assoc/different_underlying_dss.jpg: New.
611         * docs/html/ext/pb_assoc/direct_mask_range_hashing.html: New.
612         * docs/html/ext/pb_assoc/direct_mod_range_hashing.html: New.
613         * docs/html/ext/pb_assoc/disclaimer.html: New.
614         * docs/html/ext/pb_assoc/ds_gen.html: New.
615         * docs/html/ext/pb_assoc/ds_tag_cd.jpg: New.
616         * docs/html/ext/pb_assoc/ds_traits.html: New.
617         * docs/html/ext/pb_assoc/embedded_lists_1.jpg: New.
618         * docs/html/ext/pb_assoc/embedded_lists_2.jpg: New.
619         * docs/html/ext/pb_assoc/examples.html: New.
620         * docs/html/ext/pb_assoc/exception_guarantees_specifics.html: New.
621         * docs/html/ext/pb_assoc/find_invalidation_guarantee.html: New.
622         * docs/html/ext/pb_assoc/find_iterators_cd.jpg: New.
623         * docs/html/ext/pb_assoc/find_iterators_range_ops_1.jpg: New.
624         * docs/html/ext/pb_assoc/find_iterators_range_ops_2.jpg: New.
625         * docs/html/ext/pb_assoc/generics.html: New.
626         * docs/html/ext/pb_assoc/gp_hash_assoc_cntnr.html: New.
627         * docs/html/ext/pb_assoc/gp_hash_ds_tag.html: New.
628         * docs/html/ext/pb_assoc/gp_hash_policy_cd.jpg: New.
629         * docs/html/ext/pb_assoc/hash_and_probe_general.html: New.
630         * docs/html/ext/pb_assoc/hash_based_containers.html: New.
631         * docs/html/ext/pb_assoc/hash_cd.jpg: New.
632         * docs/html/ext/pb_assoc/hash_exponential_size_policy.html: New.
633         * docs/html/ext/pb_assoc/hash_fn.html: New.
634         * docs/html/ext/pb_assoc/hash_load_check_resize_trigger.html: New.
635         * docs/html/ext/pb_assoc/hash_policies.html: New.
636         * docs/html/ext/pb_assoc/hash_policy_cd.jpg: New.
637         * docs/html/ext/pb_assoc/hash_prime_size_policy.html: New.
638         * docs/html/ext/pb_assoc/hash_range_hashing_seq_diagram.jpg: New.
639         * docs/html/ext/pb_assoc/hash_range_hashing_seq_diagram2.jpg: New.
640         * docs/html/ext/pb_assoc/hash_ranged_hash_range_hashing_fns.jpg: New.
641         * docs/html/ext/pb_assoc/hash_standard_resize_policy.html: New.
642         * docs/html/ext/pb_assoc/home.html: New.
643         * docs/html/ext/pb_assoc/index.html: New.
644         * docs/html/ext/pb_assoc/insert_resize_sequence_diagram1.jpg: New.
645         * docs/html/ext/pb_assoc/insert_resize_sequence_diagram2.jpg: New.
646         * docs/html/ext/pb_assoc/insert_resize_sequence_diagram3.jpg: New.
647         * docs/html/ext/pb_assoc/insert_type_methods.html: New.
648         * docs/html/ext/pb_assoc/interface.html: New.
649         * docs/html/ext/pb_assoc/interval_node_invariants.jpg: New.
650         * docs/html/ext/pb_assoc/introduction.html: New.
651         * docs/html/ext/pb_assoc/invalidation_guarantee_cd.jpg: New.
652         * docs/html/ext/pb_assoc/invalidation_guarantee_erase.jpg: New.
653         * docs/html/ext/pb_assoc/lib_download.html: New.
654         * docs/html/ext/pb_assoc/linear_probe_fn.html: New.
655         * docs/html/ext/pb_assoc/list_updates.html: New.
656         * docs/html/ext/pb_assoc/lu_assoc_cntnr.html: New.
657         * docs/html/ext/pb_assoc/lu_based_containers.html: New.
658         * docs/html/ext/pb_assoc/lu_cd.jpg: New.
659         * docs/html/ext/pb_assoc/lu_ds_tag.html: New.
660         * docs/html/ext/pb_assoc/lu_ops.jpg: New.
661         * docs/html/ext/pb_assoc/mmap_value_utils.html: New.
662         * docs/html/ext/pb_assoc/motivation.html: New.
663         * docs/html/ext/pb_assoc/move_to_front_update_metadata.html: New.
664         * docs/html/ext/pb_assoc/move_to_front_update_policy.html: New.
665         * docs/html/ext/pb_assoc/ms_cd.jpg: New.
666         * docs/html/ext/pb_assoc/ms_gen.html: New.
667         * docs/html/ext/pb_assoc/ms_tag_cd.jpg: New.
668         * docs/html/ext/pb_assoc/ms_traits.html: New.
669         * docs/html/ext/pb_assoc/node_invariant_invalidations.jpg: New.
670         * docs/html/ext/pb_assoc/node_invariants.html: New.
671         * docs/html/ext/pb_assoc/node_invariants.jpg: New.
672         * docs/html/ext/pb_assoc/non_unique_mapping.html: New.
673         * docs/html/ext/pb_assoc/non_unique_mapping_containers.jpg: New.
674         * docs/html/ext/pb_assoc/null_data_type.html: New.
675         * docs/html/ext/pb_assoc/null_hash_fn.html: New.
676         * docs/html/ext/pb_assoc/null_probe_fn.html: New.
677         * docs/html/ext/pb_assoc/order_by_key.html: New.
678         * docs/html/ext/pb_assoc/order_statistics_key.html: New.
679         * docs/html/ext/pb_assoc/order_statistics_key_cmp.html: New.
680         * docs/html/ext/pb_assoc/order_statistics_node_updator.html: New.
681         * docs/html/ext/pb_assoc/ov_tree_ds_tag.html: New.
682         * docs/html/ext/pb_assoc/overview.html: New.
683         * docs/html/ext/pb_assoc/pb_assoc_ex.html: New.
684         * docs/html/ext/pb_assoc/portability.html: New.
685         * docs/html/ext/pb_assoc/quadratic_probe_fn.html: New.
686         * docs/html/ext/pb_assoc/range_invalidation_guarantee.html: New.
687         * docs/html/ext/pb_assoc/rank_node_invariants.jpg: New.
688         * docs/html/ext/pb_assoc/rationale_null_node_updator.jpg: New.
689         * docs/html/ext/pb_assoc/rb_tree_ds_tag.html: New.
690         * docs/html/ext/pb_assoc/reference_iterator.jpg: New.
691         * docs/html/ext/pb_assoc/references.html: New.
692         * docs/html/ext/pb_assoc/regression_tests.html: New.
693         * docs/html/ext/pb_assoc/resize_general.html: New.
694         * docs/html/ext/pb_assoc/resize_policies.html: New.
695         * docs/html/ext/pb_assoc/resize_policy_cd.jpg: New.
696         * docs/html/ext/pb_assoc/restoring_node_invariants.jpg: New.
697         * docs/html/ext/pb_assoc/sample_node_updator.hpp: New.
698         * docs/html/ext/pb_assoc/sample_probe_fn.hpp: New.
699         * docs/html/ext/pb_assoc/sample_probe_fn.html: New.
700         * docs/html/ext/pb_assoc/sample_range_hashing.hpp: New.
701         * docs/html/ext/pb_assoc/sample_range_hashing.html: New.
702         * docs/html/ext/pb_assoc/sample_ranged_hash_fn.hpp: New.
703         * docs/html/ext/pb_assoc/sample_ranged_hash_fn.html: New.
704         * docs/html/ext/pb_assoc/sample_ranged_probe_fn.hpp: New.
705         * docs/html/ext/pb_assoc/sample_ranged_probe_fn.html: New.
706         * docs/html/ext/pb_assoc/sample_resize_policy.hpp: New.
707         * docs/html/ext/pb_assoc/sample_resize_policy.html: New.
708         * docs/html/ext/pb_assoc/sample_resize_trigger.hpp: New.
709         * docs/html/ext/pb_assoc/sample_size_policy.hpp: New.
710         * docs/html/ext/pb_assoc/sample_update_policy.hpp: New.
711         * docs/html/ext/pb_assoc/size_policies_general.html: New.
712         * docs/html/ext/pb_assoc/splay_tree_ds_tag.html: New.
713         * docs/html/ext/pb_assoc/timing_tests.html: New.
714         * docs/html/ext/pb_assoc/toc.html: New.
715         * docs/html/ext/pb_assoc/tree_assoc_cntnr.html: New.
716         * docs/html/ext/pb_assoc/
717           tree_assoc_cntnr_const_node_iterator.html: New.
718         * docs/html/ext/pb_assoc/tree_assoc_cntnr_node_iterator.html: New.
719         * docs/html/ext/pb_assoc/tree_based_containers.html: New.
720         * docs/html/ext/pb_assoc/tree_cd.jpg: New.
721         * docs/html/ext/pb_assoc/trigger_policies_general.html: New.
722         * docs/html/ext/pb_assoc/tutorial.html: New.
723         * docs/html/ext/pb_assoc/update_seq_diagram.jpg: New.
724         * include/Makefile.am: Add assoc_srcdir, assoc_builddir, assoc_subdir,
725         assoc_headers.
726         * include/Makefile.in: Regenerate.
727         * include/ext/typelist.h: New.
728         * include/ext/pb_assoc/assoc_cntnr.hpp: New.
729         * include/ext/pb_assoc/data_type.hpp: New.
730         * include/ext/pb_assoc/ds_trait.hpp: New.
731         * include/ext/pb_assoc/exception.hpp: New.
732         * include/ext/pb_assoc/hash_policy.hpp: New.
733         * include/ext/pb_assoc/lu_policy.hpp: New.
734         * include/ext/pb_assoc/ms_trait.hpp: New.
735         * include/ext/pb_assoc/tree_policy.hpp: New.
736         * include/ext/pb_assoc/trivial_iterator_def.hpp: New.
737         * include/ext/pb_assoc/detail/assoc_cntnr_base.hpp: New.
738         * include/ext/pb_assoc/detail/cond_dealtor.hpp: New.
739         * include/ext/pb_assoc/detail/constructors_destructor_fn_imps.hpp: New.
740         * include/ext/pb_assoc/detail/ds_trait_imp.hpp: New.
741         * include/ext/pb_assoc/detail/hash_types_traits.hpp: New.
742         * include/ext/pb_assoc/detail/map_debug_base.hpp: New.
743         * include/ext/pb_assoc/detail/mapping_level_imp.hpp: New.
744         * include/ext/pb_assoc/detail/ms_category_imp.hpp: New.
745         * include/ext/pb_assoc/detail/ms_trait_imp.hpp: New.
746         * include/ext/pb_assoc/detail/order_statistics_imp.hpp: New.
747         * include/ext/pb_assoc/detail/standard_policies.hpp: New.
748         * include/ext/pb_assoc/detail/standard_sizes.hpp: New.
749         * include/ext/pb_assoc/detail/type_utils.hpp: New.
750         * include/ext/pb_assoc/detail/typelist.hpp: New.
751         * include/ext/pb_assoc/detail/types_traits.hpp: New.
752         * include/ext/pb_assoc/detail/basic_assoc_cntnr/
753           constructor_destructor_fn_imps.hpp: New.
754         * include/ext/pb_assoc/detail/basic_assoc_cntnr/
755           constructors_destructor_fn_imps.hpp: New.
756         * include/ext/pb_assoc/detail/basic_assoc_cntnr/d_extract_key.hpp: New.
757         * include/ext/pb_assoc/detail/basic_assoc_cntnr/
758           d_find_fn_imps.hpp: New.
759         * include/ext/pb_assoc/detail/basic_assoc_cntnr/
760           d_insert_fn_imps.hpp: New.
761         * include/ext/pb_assoc/detail/basic_assoc_cntnr/erase_fn_imps.hpp: New.
762         * include/ext/pb_assoc/detail/basic_assoc_cntnr/extract_key.hpp: New.
763         * include/ext/pb_assoc/detail/basic_assoc_cntnr/info_fn_imps.hpp: New.
764         * include/ext/pb_assoc/detail/basic_assoc_cntnr/
765           insert_fn_imps.hpp: New.
766         * include/ext/pb_assoc/detail/basic_assoc_cntnr/
767           iterators_fn_imps.hpp: New.
768         * include/ext/pb_assoc/detail/basic_hash_assoc_cntnr/
769           constructor_destructor_fn_imps.hpp: New.
770         * include/ext/pb_assoc/detail/basic_hash_assoc_cntnr/
771           constructors_destructor_fn_imps.hpp: New.
772         * include/ext/pb_assoc/detail/basic_hash_assoc_cntnr/
773           resize_fn_imps.hpp: New.
774         * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
775           constructor_destructor_fn_imps.hpp: New.
776         * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
777           constructors_destructor_fn_imps.hpp: New.
778         * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
779           erase_fn_imps.hpp: New.
780         * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
781           node_iteration_fn_imps.hpp: New.
782         * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
783           policy_access_fn_imps.hpp: New.
784         * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
785           r_erase_fn_imps.hpp: New.
786         * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
787           r_range_iteration_fn_imps.hpp: New.
788         * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
789           range_iteration_fn_imps.hpp: New.     
790         * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
791           split_join_fn_imps.hpp: New.
792         * include/ext/pb_assoc/detail/bin_search_tree_/
793           bin_search_tree_.hpp: New.
794         * include/ext/pb_assoc/detail/bin_search_tree_/
795           cond_dtor_entry_dealtor.hpp: New.
796         * include/ext/pb_assoc/detail/bin_search_tree_/
797           cond_key_dtor_entry_dealtor.hpp: New.
798         * include/ext/pb_assoc/detail/bin_search_tree_/
799           constructors_destructor_fn_imps.hpp: New.
800         * include/ext/pb_assoc/detail/bin_search_tree_/debug_fn_imps.hpp: New.
801         * include/ext/pb_assoc/detail/bin_search_tree_/erase_fn_imps.hpp: New.
802         * include/ext/pb_assoc/detail/bin_search_tree_/find_fn_imps.hpp: New.
803         * include/ext/pb_assoc/detail/bin_search_tree_/find_iterators.hpp: New.
804         * include/ext/pb_assoc/detail/bin_search_tree_/info_fn_imps.hpp: New.
805         * include/ext/pb_assoc/detail/bin_search_tree_/insert_fn_imps.hpp: New.
806         * include/ext/pb_assoc/detail/bin_search_tree_/
807           iterators_fn_imps.hpp: New.
808         * include/ext/pb_assoc/detail/bin_search_tree_/node_iterators.hpp: New.
809         * include/ext/pb_assoc/detail/bin_search_tree_/
810           r_erase_fn_imps.hpp: New.
811         * include/ext/pb_assoc/detail/bin_search_tree_/rotate_fn_imps.hpp: New.
812         * include/ext/pb_assoc/detail/bin_search_tree_/
813           split_join_fn_imps.hpp: New.
814         * include/ext/pb_assoc/detail/cc_hash_assoc_cntnr/
815           constructor_destructor_fn_imps.hpp: New.
816         * include/ext/pb_assoc/detail/cc_ht_map_/cc_ht_map_.hpp: New.
817         * include/ext/pb_assoc/detail/cc_ht_map_/cmp_fn_imps.hpp: New.
818         * include/ext/pb_assoc/detail/cc_ht_map_/
819           cond_key_dtor_entry_dealtor.hpp: New.
820         * include/ext/pb_assoc/detail/cc_ht_map_/
821           constructor_destructor_fn_imps.hpp: New.
822         * include/ext/pb_assoc/detail/cc_ht_map_/
823           constructor_destructor_no_store_hash_fn_imps.hpp: New.
824         * include/ext/pb_assoc/detail/cc_ht_map_/
825           constructor_destructor_store_hash_fn_imps.hpp: New.
826         * include/ext/pb_assoc/detail/cc_ht_map_/debug_fn_imps.hpp: New.
827         * include/ext/pb_assoc/detail/cc_ht_map_/
828           debug_no_store_hash_fn_imps.hpp: New.
829         * include/ext/pb_assoc/detail/cc_ht_map_/
830           debug_store_hash_fn_imps.hpp: New.
831         * include/ext/pb_assoc/detail/cc_ht_map_/entry_list_fn_imps.hpp: New.
832         * include/ext/pb_assoc/detail/cc_ht_map_/erase_fn_imps.hpp: New.
833         * include/ext/pb_assoc/detail/cc_ht_map_/
834           erase_no_store_hash_fn_imps.hpp: New.
835         * include/ext/pb_assoc/detail/cc_ht_map_/
836           erase_store_hash_fn_imps.hpp: New.
837         * include/ext/pb_assoc/detail/cc_ht_map_/
838           find_fn_imps.hpp: New.
839         * include/ext/pb_assoc/detail/cc_ht_map_/
840           find_no_store_hash_fn_imps.hpp: New.
841         * include/ext/pb_assoc/detail/cc_ht_map_/
842           find_store_hash_fn_imps.hpp: New.
843         * include/ext/pb_assoc/detail/cc_ht_map_/info_fn_imps.hpp: New.
844         * include/ext/pb_assoc/detail/cc_ht_map_/insert_fn_imps.hpp: New.
845         * include/ext/pb_assoc/detail/cc_ht_map_/
846           insert_no_store_hash_fn_imps.hpp: New.
847         * include/ext/pb_assoc/detail/cc_ht_map_/
848           insert_store_hash_fn_imps.hpp: New.
849         * include/ext/pb_assoc/detail/cc_ht_map_/iterators_fn_imps.hpp: New.
850         * include/ext/pb_assoc/detail/cc_ht_map_/
851           policy_access_fn_imps.hpp: New.
852         * include/ext/pb_assoc/detail/cc_ht_map_/resize_fn_imps.hpp: New.
853         * include/ext/pb_assoc/detail/cc_ht_map_/
854           resize_no_store_hash_fn_imps.hpp: New.
855         * include/ext/pb_assoc/detail/cc_ht_map_/
856           resize_store_hash_fn_imps.hpp: New.
857         * include/ext/pb_assoc/detail/cc_ht_map_/size_fn_imps.hpp: New.
858         * include/ext/pb_assoc/detail/cc_ht_map_/standard_policies.hpp: New.
859         * include/ext/pb_assoc/detail/eq_fn/eq_by_less.hpp: New.
860         * include/ext/pb_assoc/detail/eq_fn/hash_eq_fn.hpp: New.
861         * include/ext/pb_assoc/detail/gp_hash_assoc_cntnr/
862           constructor_destructor_fn_imps.hpp: New.
863         * include/ext/pb_assoc/detail/gp_ht_map_/
864           constructor_destructor_fn_imps.hpp: New.
865         * include/ext/pb_assoc/detail/gp_ht_map_/
866           constructor_destructor_no_store_hash_fn_imps.hpp: New.
867         * include/ext/pb_assoc/detail/gp_ht_map_/
868           constructor_destructor_store_hash_fn_imps.hpp: New.
869         * include/ext/pb_assoc/detail/gp_ht_map_/debug_fn_imps.hpp: New.
870         * include/ext/pb_assoc/detail/gp_ht_map_/
871           debug_no_store_hash_fn_imps.hpp: New.
872         * include/ext/pb_assoc/detail/gp_ht_map_/
873           debug_store_hash_fn_imps.hpp: New.
874         * include/ext/pb_assoc/detail/gp_ht_map_/erase_fn_imps.hpp: New.
875         * include/ext/pb_assoc/detail/gp_ht_map_/
876           erase_no_store_hash_fn_imps.hpp: New.
877         * include/ext/pb_assoc/detail/gp_ht_map_/
878           erase_store_hash_fn_imps.hpp: New.
879         * include/ext/pb_assoc/detail/gp_ht_map_/find_fn_imps.hpp: New.
880         * include/ext/pb_assoc/detail/gp_ht_map_/
881           find_no_store_hash_fn_imps.hpp: New.
882         * include/ext/pb_assoc/detail/gp_ht_map_/
883           find_store_hash_fn_imps.hpp: New.
884         * include/ext/pb_assoc/detail/gp_ht_map_/gp_ht_map_.hpp: New.
885         * include/ext/pb_assoc/detail/gp_ht_map_/info_fn_imps.hpp: New.
886         * include/ext/pb_assoc/detail/gp_ht_map_/insert_fn_imps.hpp: New.
887         * include/ext/pb_assoc/detail/gp_ht_map_/
888           insert_no_store_hash_fn_imps.hpp: New.
889         * include/ext/pb_assoc/detail/gp_ht_map_/
890           insert_store_hash_fn_imps.hpp: New.
891         * include/ext/pb_assoc/detail/gp_ht_map_/iterator_fn_imps.hpp: New.
892         * include/ext/pb_assoc/detail/gp_ht_map_/
893           policy_access_fn_imps.hpp: New.
894         * include/ext/pb_assoc/detail/gp_ht_map_/resize_fn_imps.hpp: New.
895         * include/ext/pb_assoc/detail/gp_ht_map_/
896           resize_no_store_hash_fn_imps.hpp: New.
897         * include/ext/pb_assoc/detail/gp_ht_map_/
898           resize_store_hash_fn_imps.hpp: New.
899         * include/ext/pb_assoc/detail/hash_fn/
900           direct_mask_range_hashing_imp.hpp: New.
901         * include/ext/pb_assoc/detail/hash_fn/
902           direct_mod_range_hashing_imp.hpp: New.
903         * include/ext/pb_assoc/detail/hash_fn/linear_probe_fn_imp.hpp: New.
904         * include/ext/pb_assoc/detail/hash_fn/
905           mask_based_range_hashing.hpp: New.
906         * include/ext/pb_assoc/detail/hash_fn/mod_based_range_hashing.hpp: New.
907         * include/ext/pb_assoc/detail/hash_fn/probe_fn_base.hpp: New.
908         * include/ext/pb_assoc/detail/hash_fn/quadratic_probe_fn_imp.hpp: New.
909         * include/ext/pb_assoc/detail/hash_fn/ranged_hash_fn.hpp: New.
910         * include/ext/pb_assoc/detail/hash_fn/ranged_probe_fn.hpp: New.
911         * include/ext/pb_assoc/detail/lu_assoc_cntnr/
912           constructor_destructor_fn_imps.hpp: New.
913         * include/ext/pb_assoc/detail/lu_assoc_cntnr/
914           policy_access_fn_imps.hpp: New.
915         * include/ext/pb_assoc/detail/lu_map_/
916           constructor_destructor_fn_imps.hpp: New.
917         * include/ext/pb_assoc/detail/lu_map_/debug_fn_imps.hpp: New.
918         * include/ext/pb_assoc/detail/lu_map_/erase_fn_imps.hpp: New.
919         * include/ext/pb_assoc/detail/lu_map_/find_fn_imps.hpp: New.
920         * include/ext/pb_assoc/detail/lu_map_/info_fn_imps.hpp: New.
921         * include/ext/pb_assoc/detail/lu_map_/insert_fn_imps.hpp: New.
922         * include/ext/pb_assoc/detail/lu_map_/iterators_fn_imps.hpp: New.
923         * include/ext/pb_assoc/detail/lu_map_/lu_map_.hpp: New.
924         * include/ext/pb_assoc/detail/lu_map_/policy_access_fn_imps.hpp: New.
925         * include/ext/pb_assoc/detail/lu_policy/
926           counter_lu_metadata_imp.hpp: New.
927         * include/ext/pb_assoc/detail/lu_policy/counter_lu_policy_imp.hpp: New.
928         * include/ext/pb_assoc/detail/lu_policy/mtf_lu_policy_imp.hpp: New.
929         * include/ext/pb_assoc/detail/ov_tree_map_/cond_dtor.hpp: New.
930         * include/ext/pb_assoc/detail/ov_tree_map_/
931           constructors_destructor_fn_imps.hpp: New.
932         * include/ext/pb_assoc/detail/ov_tree_map_/debug_fn_imps.hpp: New.
933         * include/ext/pb_assoc/detail/ov_tree_map_/erase_fn_imps.hpp: New.
934         * include/ext/pb_assoc/detail/ov_tree_map_/find_fn_imps.hpp: New.
935         * include/ext/pb_assoc/detail/ov_tree_map_/info_fn_imps.hpp: New.
936         * include/ext/pb_assoc/detail/ov_tree_map_/insert_fn_imps.hpp: New.
937         * include/ext/pb_assoc/detail/ov_tree_map_/iterators_fn_imps.hpp: New.
938         * include/ext/pb_assoc/detail/ov_tree_map_/node_iterators.hpp: New.
939         * include/ext/pb_assoc/detail/ov_tree_map_/ov_tree_map_.hpp: New.
940         * include/ext/pb_assoc/detail/ov_tree_map_/split_join_fn_imps.hpp: New.
941         * include/ext/pb_assoc/detail/rb_tree_map_/
942           constructors_destructor_fn_imps.hpp: New.
943         * include/ext/pb_assoc/detail/rb_tree_map_/debug_fn_imps.hpp: New.
944         * include/ext/pb_assoc/detail/rb_tree_map_/erase_fn_imps.hpp: New.
945         * include/ext/pb_assoc/detail/rb_tree_map_/find_fn_imps.hpp: New.
946         * include/ext/pb_assoc/detail/rb_tree_map_/info_fn_imps.hpp: New.
947         * include/ext/pb_assoc/detail/rb_tree_map_/insert_fn_imps.hpp: New.
948         * include/ext/pb_assoc/detail/rb_tree_map_/node.hpp: New.
949         * include/ext/pb_assoc/detail/rb_tree_map_/rb_tree_.hpp: New.
950         * include/ext/pb_assoc/detail/rb_tree_map_/split_join_fn_imps.hpp: New.
951         * include/ext/pb_assoc/detail/resize_policy/
952           cc_hash_max_collision_resize_trigger_imp.hpp: New.
953         * include/ext/pb_assoc/detail/resize_policy/
954           hash_exponential_size_policy_imp.hpp: New.
955         * include/ext/pb_assoc/detail/resize_policy/
956           hash_load_check_resize_trigger_imp.hpp: New.
957         * include/ext/pb_assoc/detail/resize_policy/
958           hash_prime_size_policy_imp.hpp: New.
959         * include/ext/pb_assoc/detail/resize_policy/
960           hash_standard_resize_policy_imp.hpp: New.
961         * include/ext/pb_assoc/detail/resize_policy/
962           ht_prime_size_policy_imp.hpp: New.
963         * include/ext/pb_assoc/detail/resize_policy/size_base.hpp: New.
964         * include/ext/pb_assoc/detail/splay_tree_/
965           constructors_destructor_fn_imps.hpp: New.
966         * include/ext/pb_assoc/detail/splay_tree_/debug_fn_imps.hpp: New.
967         * include/ext/pb_assoc/detail/splay_tree_/erase_fn_imps.hpp: New.
968         * include/ext/pb_assoc/detail/splay_tree_/find_fn_imps.hpp: New.
969         * include/ext/pb_assoc/detail/splay_tree_/info_fn_imps.hpp: New.
970         * include/ext/pb_assoc/detail/splay_tree_/insert_fn_imps.hpp: New.
971         * include/ext/pb_assoc/detail/splay_tree_/node.hpp: New.
972         * include/ext/pb_assoc/detail/splay_tree_/splay_fn_imps.hpp: New.
973         * include/ext/pb_assoc/detail/splay_tree_/splay_tree_.hpp: New.
974         * include/ext/pb_assoc/detail/splay_tree_/split_join_fn_imps.hpp: New.
975         * include/ext/pb_assoc/detail/tree_assoc_cntnr/
976           constructor_destructor_fn_imps.hpp: New.
977         * include/ext/pb_assoc/detail/tree_policy/
978           null_node_updator_imp.hpp: New.
979         * include/ext/pb_assoc/detail/tree_policy/
980           order_statistics_imp.hpp: New.
981         * include/ext/pb_assoc/detail/typelist/typelist_append.hpp: New.
982         * include/ext/pb_assoc/detail/typelist/typelist_apply.hpp: New.
983         * include/ext/pb_assoc/detail/typelist/typelist_at_index.hpp: New.
984         * include/ext/pb_assoc/detail/typelist/typelist_contains.hpp: New.
985         * include/ext/pb_assoc/detail/typelist/typelist_filter.hpp: New.
986         * include/ext/pb_assoc/detail/typelist/typelist_transform.hpp: New.
987         * include/ext/pb_assoc/detail/typelist/
988           typelist_typelist_append.hpp: New.
989         * include/ext/pb_assoc/detail/unordered_iterator/
990           const_find_iterator.hpp: New.
991         * include/ext/pb_assoc/detail/unordered_iterator/
992           const_iterator.hpp: New.
993         * include/ext/pb_assoc/detail/unordered_iterator/
994           find_iterator.hpp: New.
995         * include/ext/pb_assoc/detail/unordered_iterator/iterator.hpp: New.
996         * include/ext/pb_assoc/detail/value_type_adapter/
997           constructor_destructor_and_related.hpp: New.
998         * include/ext/pb_assoc/detail/value_type_adapter/
999           erase_fn_imps.hpp: New.
1000         * include/ext/pb_assoc/detail/value_type_adapter/
1001           erase_if_pred.hpp: New.
1002         * include/ext/pb_assoc/detail/value_type_adapter/find_fn_imps.hpp: New.
1003         * include/ext/pb_assoc/detail/value_type_adapter/info_fn_imps.hpp: New.
1004         * include/ext/pb_assoc/detail/value_type_adapter/
1005         insert_fn_imps.hpp: New.
1006         * include/ext/pb_assoc/detail/value_type_adapter/
1007         invalidation_guarantee_selector.hpp: New.
1008         * include/ext/pb_assoc/detail/value_type_adapter/
1009         it_value_type_traits.hpp: New.
1010         * include/ext/pb_assoc/detail/value_type_adapter/iterator.hpp: New.
1011         * include/ext/pb_assoc/detail/value_type_adapter/
1012         iterator_fn_imps.hpp: New.
1013         * include/ext/pb_assoc/detail/value_type_adapter/ref_pair.hpp: New.
1014         * include/ext/pb_assoc/detail/value_type_adapter/
1015         value_type_adapter.hpp: New.
1016         * include/ext/pb_assoc/detail/value_type_adapter/
1017         value_type_traits.hpp: New.
1018         * testsuite/Makefile.am (CLEANFILES): Add .o, .dat, .cc.
1019         * testsuite/Makefile.in: Regenerate.
1020         * testsuite/testsuite_common_types.h: New.
1021         * testsuite/testsuite_visualization.h: New.
1022         * testsuite/ext/pb_assoc/example/basic_map.cc: New.
1023         * testsuite/ext/pb_assoc/example/basic_multimap.cc: New.
1024         * testsuite/ext/pb_assoc/example/basic_set.cc: New.
1025         * testsuite/ext/pb_assoc/example/ds_traits.cc: New.
1026         * testsuite/ext/pb_assoc/example/erase_if.cc: New.
1027         * testsuite/ext/pb_assoc/example/extract_key.cc: New.
1028         * testsuite/ext/pb_assoc/example/hash_find_neg.cc: New.
1029         * testsuite/ext/pb_assoc/example/hash_illegal_resize.cc: New.
1030         * testsuite/ext/pb_assoc/example/hash_initial_size.cc: New.
1031         * testsuite/ext/pb_assoc/example/hash_load_set_change.cc: New.
1032         * testsuite/ext/pb_assoc/example/hash_mod.cc: New.
1033         * testsuite/ext/pb_assoc/example/hash_resize.cc: New.
1034         * testsuite/ext/pb_assoc/example/hash_resize_neg.cc: New.
1035         * testsuite/ext/pb_assoc/example/hash_shift_mask.cc: New.
1036         * testsuite/ext/pb_assoc/example/mapping_level.cc: New.
1037         * testsuite/ext/pb_assoc/example/mapping_level_neg.cc: New.
1038         * testsuite/ext/pb_assoc/example/ms_traits.cc: New.
1039         * testsuite/ext/pb_assoc/example/ranged_hash.cc: New.
1040         * testsuite/ext/pb_assoc/example/store_hash.cc: New.
1041         * testsuite/ext/pb_assoc/example/tree_intervals.cc: New.
1042         * testsuite/ext/pb_assoc/example/tree_join.cc: New.
1043         * testsuite/ext/pb_assoc/example/tree_order_statistics.cc: New.
1044         * testsuite/ext/pb_assoc/example/tree_order_statistics_join.cc: New.
1045         * testsuite/ext/pb_assoc/example/tree_split.cc: New.
1046         * testsuite/performance/20_util/allocator/(insert.cc,
1047           insert_insert.cc, list_sort_search.cc, map_mt_find.cc, map_thread.cc,
1048           producer_consumer.cc): Recast to use typelists and move to...
1049         * testsuite/performance/23_containers/find/map.cc: New.
1050         * testsuite/performance/23_containers/index/map.cc: New.
1051         * testsuite/performance/23_containers/insert/associative.cc: New.
1052         * testsuite/performance/23_containers/insert/sequence.cc: New.
1053         * testsuite/performance/23_containers/insert_erase/associative.cc: New.
1054         * testsuite/performance/23_containers/producer_consumer/
1055         (associative.cc, sequence.cc): New.
1056         * testsuite/performance/23_containers/sort_search/list.cc: New.
1057         * testsuite/performance/23_containers/container_benchmark.cc: Remove.
1058         * testsuite/performance/23_containers/map_create_fill.cc: Move...
1059         * testsuite/performance/23_containers/create/map.cc: ...here.
1060         * testsuite/performance/23_containers/set_create_from_sorted.cc: Move.
1061         * testsuite/performance/23_containers/create_from_sorted/set.cc: here.
1062         * testsuite/performance/23_containers/list_create_fill_sort.cc: Move...
1063         * testsuite/performance/23_containers/create_sort/list.cc: ...here.
1064         * testsuite/performance/23_containers/set_insert_from_sorted.cc: Move.
1065         * testsuite/performance/23_containers/insert_from_sorted/set.cc: here.
1066         
1067 2005-06-23  Jakub Jelinek  <jakub@redhat.com>
1069         PR libstdc++/22109
1070         * src/compatibility.cc (_GLIBCXX_SYMVER_COMPATIBILITY): Remove.
1071         (istreambuf_iterator, basic_fstream, basic_ifstream, basic_ofstream,
1072         _M_copy, _M_move, _M_assign, _M_disjunct, _M_check_length,
1073         _M_set_length_and_sharable, ignore, eq): Define to XX suffixed
1074         variants.
1075         (ignore (streamsize)): Remove _W prefixed aliases.
1076         (_GLIBCXX_3_4_SYMVER_SPECIAL, _GLIBCXX_3_4_5_SYMVER_SPECIAL,
1077         _GLIBCXX_APPLY_SYMVER_SPECIAL): Remove.
1078         (_GLIBCXX_3_4_SYMVER, _GLIBCXX_3_4_5_SYMVER): Add XXname argument.
1079         Use #XXname instead of #name as the alias argument.
1080         * config/abi/compatibility.h: Replace uses of
1081         _GLIBCXX_APPLY_SYMVER_SPECIAL with _GLIBCXX_APPLY_SYMVER.  Always
1082         pass 2 arguments to the _GLIBCXX_APPLY_SYMVER macro.
1083         * include/bits/char_traits.h (char_traits::eq): Revert 2005-06-15
1084         change.
1085         * acinclude.m4: Decrease glibcxx_min_gnu_ld_version back to 21400.
1086         * configure: Rebuilt.
1088 2005-06-19  Benjamin Kosnik  <bkoz@redhat.com>
1090         PR libstdc++/22111
1091         * acinclude.m4 (GLIBCXX_CONFIGURE_TESTSUITE): Remove
1092         GLIBCXX_TEST_ABI. Remove duplicate _GLIBCXX_ASM_SYMVER define.
1093         Don't enable abi testing unless versioned.
1094         * configure: Regenerate.
1095         * testsuite/Makefile.am (check-abi): Remove conditional.
1096         * testsuite/Makefile.in: Regenerate.
1097         * testsuite/libstdc++-abi/abi.exp: Call build_support, then check
1098         v3-symver before proceeding.
1099         * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Set v3-symvers
1100         if _GLIBCXX_SYMVER.
1101         
1102 2005-06-17  Paolo Carlini  <pcarlini@suse.de>
1104         Port from libstdcxx_so_7-branch:
1105         2005-01-12  Christopher Jefferson <chris@bubblescope.net>
1107         * include/bits/stl_function.h (mem_fun_t, const_mem_fun_t,
1108         mem_fun_ref_t, const_mem_fun_ref_t, mem_fun1_t, const_mem_fun1_t,
1109         mem_fun1_ref_t, const_mem_fun1_ref_t): Remove overloads for void
1110         return type, just an old HP/SGI workaround.
1111         * testsuite/20_util/functional/binders.cc: Move to...
1112         * testsuite/20_util/functional/binders/3113.cc: ...here.
1113         * testsuite/20_util/functional/binders/1.cc: New.
1115 2005-06-17  Jonathan Wakely  <redi@gcc.gnu.org>
1117         * docs/html/21_strings/gotw29a.txt: Update code to corrected version.
1119 2005-06-17  Jakub Jelinek  <jakub@redhat.com>
1120             Benjamin Kosnik  <bkoz@redhat.com>
1122         * config/abi/alpha-linux-gnu/baseline_symbols.txt: Update.
1123         * config/abi/hppa-linux-gnu/baseline_symbols.txt: Same.
1124         * config/abi/mips-linux-gnu/baseline_symbols.txt: Same.
1125         * config/abi/sparc-linux-gnu/baseline_symbols.txt: Same.
1127         * config/abi/alpha-freebsd5/baseline_symbols.txt: Remove.
1128         * config/abi/i386-freebsd4/baseline_symbols.txt: Same.
1129         * config/abi/i386-freebsd5/baseline_symbols.txt: Same.
1130         * config/abi/sparc-freebsd5/baseline_symbols.txt: Same.
1132         * config/abi/arm-linux-gnu/baseline_symbols.txt: Remove.
1133         * config/abi/m68k-linux-gnu/baseline_symbols.txt: Same.
1135 2005-06-17  Jakub Jelinek  <jakub@redhat.com>
1137         * config/abi/ia64-linux-gnu/baseline_symbols.txt: Update.
1138         * config/abi/s390x-linux-gnu/baseline_symbols.txt: Update.
1139         * config/abi/s390-linux-gnu/baseline_symbols.txt: Update.
1140         * config/abi/x86_64-linux-gnu/baseline_symbols.txt: Update.
1141         * config/abi/x86_64-linux-gnu/32/baseline_symbols.txt: Update.
1142         * config/abi/powerpc-linux-gnu/baseline_symbols.txt: Update.
1143         * config/abi/i486-linux-gnu/baseline_symbols.txt: Update.
1144         * config/abi/i386-linux-gnu/baseline_symbols.txt: Update.
1145         * config/abi/powerpc64-linux-gnu/baseline_symbols.txt: New file.
1146         * config/abi/powerpc64-linux-gnu/32/baseline_symbols.txt: New file.
1148 2005-06-16  Jakub Jelinek  <jakub@redhat.com>
1150         * src/compatibility.cc: Include bits/c++config.h first.
1151         (_GLIBCXX_SYMVER_COMPATIBILITY): Define if _GLIBCXX_SYMVER
1152         and PIC are both defined.
1153         * include/bits/char_traits.h (char_traits::eq): Rename
1154         only if _GLIBCXX_SYMVER_COMPATIBILITY is defined.
1156 2005-06-16  Jakub Jelinek  <jakub@redhat.com>
1158         * acinclude.m4 ((GLIBCXX_ENABLE_SYMVERS): Rename _GLIBCXX_SIZE_T_IS_INT
1159         to _GLIBCXX_SIZE_T_IS_UINT.  Define _GLIBCXX_PTRDIFF_T_IS_INT.
1160         * configure: Regenerate.
1161         * config.h.in: Regenerate.
1162         * src/compatibility.cc (istream:ignore(streamsize)): Use
1163         _GLIBCXX_PTRDIFF_T_IS_INT instead of _GLIBCXX_SIZE_T_IS_INT.
1164         * config/abi/compatibility.h: Rename _GLIBCXX_SIZE_T_IS_INT
1165         to _GLIBCXX_SIZE_T_IS_UINT.  Use _GLIBCXX_PTRDIFF_T_IS_INT
1166         instead for symbols with streamsize arguments.
1168 2005-06-16  Jakub Jelinek  <jakub@redhat.com>
1170         * config/linker-map.gnu: Also export
1171         _ZNSt13basic_istreamIwSt11char_traitsIwEE6ignoreE[il][il].
1173 2005-06-15  Benjamin Kosnik  <bkoz@redhat.com>
1175         * configure.ac (libtool_VERSION): To 6:6:0.
1176         * configure: Regenerate.
1177         * config/linker-map.gnu: Edit.
1178         * src/istream.cc: Move istream::ignore(streamsize) specializations...
1179         * src/compatibility.cc: ...here. New.
1180         * include/bits/char_traits.h (char_traits::eq): Rename when
1181         appropriate.
1182         * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Define _GLIBCXX_SIZE_T_IS_INT.
1183         Bump glibcxx_min_gnu_ld_version to 21590.
1184         * configure: Regenerate.
1185         * acconfig.h: Remove _GLIBCXX_ASM_SYMVER.
1186         * config.h.in: Regenerate.
1187         * src/Makefile.am (sources): Add compatibility.cc.
1188         * src/Makefile.in: Regenerate.
1189         * include/Makefile.am (host_headers_noinst): Add compatibility.h.
1190         * include/Makefile.in: Regenerate.
1191         * testsuite/testsuite_abi.h (symbol): Add data members.
1192         * testsuite/testsuite_abi.cc (check_version): Add GLIBCXX_3.4.5,
1193         GLIBCXX_3.4.6.  Remove deprecated versions. Do a better job
1194         version checking.
1196 2005-06-15  Paolo Carlini  <pcarlini@suse.de>
1198         * include/tr1/hashtable: Trivial formatting fixes.
1199         * include/tr1/unordered_map: Likewise.
1200         * include/tr1/unordered_set: Likewise.
1202 2005-06-14  Tom Tromey  <tromey@redhat.com>
1204         PR libgcj/19877:
1205         * configure, aclocal.m4: Rebuilt.
1206         * Makefile.in, include/Makefile.in, libmath/Makefile.in,
1207         libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in,
1208         testsuite/Makefile.in: Likewise.
1210 2005-06-08  Benjamin Kosnik  <bkoz@redhat.com>
1212         PR libstdc++/21955
1213         * include/std/std_sstream.h (basic_stringbuf::showmanyc): Add.
1214         Remove unnecessary this->_M_mode decoration.
1215         * include/bits/fstream.tcc: Adjust line spacing.        
1216         * testsuite/27_io/basic_streambuf/in_avail/char/1.cc: New, test
1217         base class behavior.
1218         * testsuite/27_io/basic_streambuf/in_avail/wchar_t/1.cc: Same.
1219         * testsuite/27_io/basic_stringbuf/in_avail/char/21955.cc: New.
1220         * testsuite/27_io/basic_stringbuf/in_avail/char/1.cc: Match
1221         filebuf behavior.
1222         * testsuite/27_io/basic_stringbuf/in_avail/wchar_t/1.cc: Same.
1223         * testsuite/27_io/basic_stringbuf/str/wchar_t/1.cc: Same.
1224         * testsuite/27_io/basic_stringbuf/str/char/1.cc: Same.
1225         * testsuite/27_io/basic_streambuf/in_avail/char/9701-3.cc: Move...
1226         * testsuite/27_io/basic_filebuf/in_avail/char/9701-3.cc: ...here.
1227         
1228 2005-06-07  Benjamin Kosnik  <bkoz@redhat.com>
1230         * acinclude.m4 (GLIBCXX_ENABLE_C99): Use C++ compiler for complex
1231         tests.
1232         * configure: Regenerated.
1234 2005-06-07  Adrian Straetling  <straetling@de.ibm.com>
1236         * config/cpu/s390/atomicity.h: (__exchange_and_add, 
1237         __atomic_add): Use the builtins for atomic memory operations.
1239 2005-06-06  Paolo Carlini  <pcarlini@suse.de>
1241         PR libstdc++/21770 (cont: __gnu_debug::string)
1242         * include/debug/string: Use _Base typedefs for pointer, const_pointer,
1243         reference, const_reference, size_type, difference_type.
1244         * testsuite/21_strings/basic_string/2.cc: New.
1246 2005-06-06  Paolo Carlini  <pcarlini@suse.de>
1248         PR libstdc++/21770 (cont: debug-mode)
1249         * include/debug/deque: Use _Base typedefs for pointer, const_pointer,
1250         reference, const_reference.
1251         * include/debug/list: Likewise.
1252         * include/debug/map.h: Likewise.
1253         * include/debug/multimap.h: Likewise.
1254         * include/debug/multiset.h: Likewise.
1255         * include/debug/set.h: Likewise.
1256         * include/debug/vector: Likewise.
1258 2005-06-06  Paolo Carlini  <pcarlini@suse.de>
1260         Port from libstdcxx_so_7-branch:
1261         2004-09-24  Paolo Carlini  <pcarlini@suse.de>
1262                     Jonathan Wakely  <redi@gcc.gnu.org>
1264         * include/bits/stl_list.h (list::list(size_type, value_type,
1265         const allocator_type&): Implement according to the letter of the
1266         standard, i.e., don't use two overloads, not equivalent in case
1267         of non default constructible T.
1268         (list::resize(size_type, const value_type&)): Fix the signature:
1269         according to the standard the second argument is by value; also,
1270         don't use two overloads.
1271         * include/bits/list.tcc (list::resize(size_type, const value_type&)):
1272         Adjust consistently the signature.
1273         * include/bits/stl_deque.h (deque::deque(size_type, value_type,
1274         const allocator_type&)): Likewise.
1275         (deque::resize(size_type, const value_type&)): Likewise.
1276         * include/bits/stl_vector.h (vector::vector(size_type, value_type,
1277         const allocator_type&)): Likewise.
1278         (vector::resize(size_type, const value_type&)): Likewise.
1279         * testsuite/testsuite_hooks.h: Add NonDefaultConstructible test type.
1280         * testsuite/23_containers/deque/explicit_instantiation/2.cc: New.
1281         * testsuite/23_containers/list/explicit_instantiation/2.cc: New.
1282         * testsuite/23_containers/map/explicit_instantiation/2.cc: New.
1283         * testsuite/23_containers/multimap/explicit_instantiation/2.cc: New.
1284         * testsuite/23_containers/multiset/explicit_instantiation/2.cc: New.
1285         * testsuite/23_containers/set/explicit_instantiation/2.cc: New.
1286         * testsuite/23_containers/vector/explicit_instantiation/2.cc: New.
1288         * include/bits/deque.tcc: Minor formatting fix.
1290 2005-06-06  Peter Doerfler  <doerfler@techinfo.rwth-aachen.de>
1292         * include/bits/stl_function.h: ... and another one.
1294 2005-06-06  Peter Doerfler  <doerfler@techinfo.rwth-aachen.de>
1296         * include/bits/stl_function.h: Fix typo in comment.
1298 2005-06-05  Paolo Carlini  <pcarlini@suse.de>
1300         * acinclude.m4 ([GLIBCXX_ENABLE_C99]): Check clog, clogf, clogl
1301         too for ac_c99_complex.
1302         * configure: Regenerate.
1304 2005-06-03  Paolo Carlini  <pcarlini@suse.de>
1306         PR libstdc++/21770
1307         * include/bits/stl_deque.h: Add concept-check. In class _Deque_base
1308         rebind _Alloc to  _Tp_alloc_type, change _Deque_impl to inherit from
1309         the latter and add _M_get_Tp_allocator() which returns it. Use
1310         everywhere _M_get_Tp_allocator() instead of get_allocator().
1311         * include/bits/deque.tcc: Likewise, use _M_get_Tp_allocator().
1312         * include/bits/stl_list.h: Add concept-check. In class _List_base
1313         rebind _Alloc to _Tp_alloc_type and add _M_get_Tp_allocator(), which
1314         returns the allocator (of type _Node_alloc_type) converted to
1315         _Tp_alloc_type. Use everywhere _M_get_Tp_allocator() instead of
1316         get_allocator().
1317         * include/bits/list.tcc: Likewise, use _M_get_Tp_allocator().
1318         * include/bits/stl_vector.h: Add concept-check. In class _Vector_base
1319         rebind _Alloc to _Tp_alloc_type, change _Vector_impl to inherit from
1320         the latter and add _M_get_Tp_allocator() which returns it. Use
1321         everywhere _M_get_Tp_allocator() instead of get_allocator().
1322         * include/bits/vector.tcc: Likewise, use _M_get_Tp_allocator().
1323         * include/bits/stl_map.h: Add concept-check. Rebind _Alloc to
1324         _Pair_alloc_type and use it for _Rb_tree.
1325         * include/bits/stl_multimap.h: Likewise.
1326         * include/bits/stl_multiset.h: Add concept-check. Rebind _Alloc to
1327         _Key_alloc_type and use it for _Rb_tree.
1328         * include/bits/stl_set.h: Likewise.
1329         * include/bits/basic_string.h: Rebind _Alloc to _CharT_alloc_type and
1330         use it for the allocator typedefs.
1331         * testsuite/21_strings/basic_string/1.cc: New.
1332         * testsuite/23_containers/deque/explicit_instantiation.cc: Move to...
1333         * testsuite/23_containers/deque/explicit_instantiation/1.cc: ... here.
1334         * testsuite/23_containers/deque/explicit_instantiation/3.cc: New.
1335         * testsuite/23_containers/list/explicit_instantiation.cc: Move to...
1336         * testsuite/23_containers/list/explicit_instantiation/1.cc: ... here.
1337         * testsuite/23_containers/list/explicit_instantiation/3.cc: New.
1338         * testsuite/23_containers/map/explicit_instantiation.cc: Move to...
1339         * testsuite/23_containers/map/explicit_instantiation/1.cc: ... here.
1340         * testsuite/23_containers/map/explicit_instantiation/3.cc: New.
1341         * testsuite/23_containers/multimap/explicit_instantiation.cc: Move to...
1342         * testsuite/23_containers/multimap/explicit_instantiation/1.cc: .. here.
1343         * testsuite/23_containers/multimap/explicit_instantiation/3.cc: New.
1344         * testsuite/23_containers/multiset/explicit_instantiation.cc: Move to...
1345         * testsuite/23_containers/multiset/explicit_instantiation/1.cc: .. here.
1346         * testsuite/23_containers/multiset/explicit_instantiation/3.cc: New.
1347         * testsuite/23_containers/set/explicit_instantiation.cc: Move to...
1348         * testsuite/23_containers/set/explicit_instantiation/1.cc: .. here.
1349         * testsuite/23_containers/set/explicit_instantiation/3.cc: New.
1350         * testsuite/23_containers/vector/explicit_instantiation.cc: Move to...
1351         * testsuite/23_containers/vector/explicit_instantiation/1.cc: ... here.
1352         * testsuite/23_containers/vector/explicit_instantiation/3.cc: New.
1354 2005-06-02  Nathan Sidwell  <nathan@codesourcery.com>
1356         PR c++/21280
1357         * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust expected errors.
1358         * testsuite/27_io/ios_base/cons/copy_neg.cc: Likewise.
1360 2005-05-31  Paolo Carlini  <pcarlini@suse.de>
1362         PR libstdc++/20534 (contd)
1363         * include/debug/macros.h: Add _GLIBCXX_DEBUG_ABORT, using
1364         __gnu_debug::__fancy_abort.
1365         * src/debug.cc: Define the latter.
1366         * include/debug/debug.h: Use _GLIBCXX_DEBUG_ABORT instead of
1367         assert.
1368         * config/linker-map.gnu (__gnu_debug::__fancy_abort): Add.
1370 2005-05-30  Paolo Carlini  <pcarlini@suse.de>
1372         * include/std/std_complex.h (log(const complex<_Tp>&)): When
1373         _GLIBCXX_USE_C99_COMPLEX, forward to __builtin_clog/clogf/clogl.
1375 2005-05-28  Paolo Carlini  <pcarlini@suse.de>
1377         Revert:
1378         2005-05-18  Paolo Carlini  <pcarlini@suse.de>
1379                     Nathan Myers  <ncm@cantrip.org>
1381         PR libstdc++/19495
1382         * include/bits/basic_string.h (_Raw_bytes_alloc): Rebind to
1383         size_type instead of char and rename to _Raw_alloc.
1384         * include/bits/basic_string.tcc (_Rep::_M_destroy, _Rep::_S_create):
1385         Use the above.
1386         * src/bitmap_allocator.cc: Add instantiation for size_type.
1387         * src/mt_allocator.cc: Likewise.
1388         * src/pool_allocator.cc: Likewise.
1389         * include/ext/array_allocator.h: Tweak slightly, avoid assuming
1390         the existence of an _Array::begin() and size() members.
1391         * testsuite/ext/array_allocator/2.cc: Tweak to use an allocator
1392         of size_type, instead of char, thus avoiding problems with
1393         rebinds, not treated correctly by array_allocator.
1395 2005-05-27  Paolo Carlini  <pcarlini@suse.de>
1397         * docs/html/abi.html: Mention 3.4.0 as the current baseline; add
1398         a notice about the configure options.
1400 2005-05-27  Mark Mitchell  <mark@codesourcery.com>
1402         * docs/html/test.html: Mention PCH_CXXFLAGS.
1403         * testsuite/lib/libstdc++.exp: Set PCH_CXXFLAGS by probing for an
1404         available stcd++.h PCH.
1405         * testsuite/libstdc++-dg/normal.exp: Use PCH_CXXFLAGS.
1407 2005-05-27  Theodore Papadopoulo  <Theodore.Papadopoulo@sophia.inria.fr>
1409         * src/misc-inst.cc: Remove unnecessary included files.
1411 2005-05-27  Benjamin Kosnik  <bkoz@redhat.com>
1413         PR libstdc++/21674
1414         * include/bits/c++config: Remove extern template use when in debug
1415         mode, disable for non-weak systems.
1416         
1417 2005-05-27  Benjamin Kosnik  <bkoz@redhat.com>
1419         PR libstdc++/20534 
1420         * include/debug/debug.h: Forwarding header, that pulls in details
1421         only if in debug mode.
1422         * include/debug/macros.h: ...transfer all the internal macros here.
1423         * include/debug/functions.h: ...transfer all the functions here.
1424         * include/debug/safe_iterator.h: Add functions.h, macros.h includes.
1425         * include/debug/safe_sequence.h: Same.
1426         * include/debug/vector: Tweak.
1427         * include/Makefile.am (debug_headers): Add new includes.
1428         * include/Makefile.in: Regenerate.
1429         * testsuite/17_intro/no_assert_neg.cc: Add.
1431         * include/ext/hash_set: Add debug mode include.
1432         * include/ext/hash_map: Same.
1433         * include/debug/hash_map: Fix included files to match actual files.
1434         * include/debug/hash_set: Same.
1435                 
1436 2005-05-26  Paolo Carlini  <pcarlini@suse.de>
1438         PR libstdc++/13943
1439         * include/c_std/std_cstdlib.h: Do not open code llabs and lldiv,
1440         available when _GLIBCXX_USE_C99 is defined.
1441         * testsuite/26_numerics/cstdlib/13943.cc: New.
1443         * acinclude.m4 ([GLIBCXX_ENABLE_C99]): For completeness, check
1444         also strtoll and strtoull for ac_c99_stdlib.
1445         * configure: Regenerate.
1447 2005-05-25  Benjamin Kosnik  <bkoz@redhat.com>
1449         * config/linker-map.gnu: Add linkage support for no extern templates.
1450         (std::ios_base::_M_call_callbacks): Add.
1451         (std::ios_base::_M_dispose_callbacks): Add.
1452         (std::locale::facet::_S_get_c_name): Add.
1453         (std::__copy_streambufs): Add.
1454         * configure.ac (libtool_VERSION): To 6:5:0.
1455         * configure: Regenerate.
1456         * testsuite/testsuite_abi.cc (check_version): Add GLIBCXX_3.4.5.
1457         
1458 2005-05-25  Paolo Carlini  <pcarlini@suse.de>
1460         * include/bits/basic_string.h (_Rep::_M_set_length_and_sharable):
1461         Use, consistently, traits_type::assign.
1463 2005-05-25  Paolo Carlini  <pcarlini@suse.de>
1465         * config/cpu/alpha/atomicity.h: Use the builtins for
1466         atomic memory operations.
1467         * config/cpu/powerpc/atomicity.h: Likewise.
1468         * config/cpu/ia64/atomicity.h: Do not include ia64intrin.h.
1470 2005-05-24  Paolo Carlini  <pcarlini@suse.de>
1472         * testsuite/25_algorithms/equal.cc: Move to...
1473         * testsuite/25_algorithms/equal: ... here.
1474         * testsuite/25_algorithms/lower_bound.cc: Move to...
1475         * testsuite/25_algorithms/lower_bound: ... here.
1477 2005-05-24  Paolo Carlini  <pcarlini@suse.de>
1479         Port from libstdcxx_so_7-branch:
1480         2005-20-05  Chris Jefferson  <chris@bubblescope.net>
1482         * testsuite/25_algorithms/heap.cc: Move to...
1483         * testsuite/25_algorithms/heap/heap.cc: ...here.
1484         * testsuite/25_algorithms/partition.cc: Move to...
1485         * testsuite/25_algorithms/partition/partition.cc: ...here.
1487         2005-03-29  Christopher Jefferson  <chris@bubblescope.net>
1489         * testsuite/25_algorithms/includes/1.cc: Add tests.
1490         * testsuite/25_algorithms/search/1.cc: Likewise.
1491         * testsuite/25_algorithms/unique_copy/1.cc: Likewise.
1492         * testsuite/25_algorithms/swap_ranges/1.cc: New.
1493         * testsuite/25_algorithms/swap_ranges/check_type.cc: New.
1494         * testsuite/25_algorithms/rotate.cc: Move to...
1495         * testsuite/25_algorithms/rotate/rotate.cc: ... here.
1496         * testsuite/25_algorithms/rotate/1.cc: New.
1497         * testsuite/25_algorithms/rotate/check_type.cc: New.
1498         * testsuite/25_algorithms/search_n/iterator.cc: Fix typo.
1500         2005-03-14  Christopher Jefferson  <chris@bubblescope.net>
1502         * include/bits/stl_algo.h (replace_copy, replace_copy_if):
1503         Don't assume that __new_value and *__first are convertible to
1504         each other.     
1506         * testsuite/25_algorithms/find/1.cc: New.
1507         * testsuite/25_algorithms/find/check_type.cc: New.
1508         * testsuite/25_algorithms/find_if/1.cc: New.
1509         * testsuite/25_algorithms/find_if/check_type.cc: New.
1510         * testsuite/25_algorithms/replace/1.cc: New.
1511         * testsuite/25_algorithms/replace/check_type.cc: New.
1512         * testsuite/25_algorithms/replace_if/1.cc: New.
1513         * testsuite/25_algorithms/replace_if/check_type.cc: New.
1514         * testsuite/25_algorithms/replace_copy/1.cc: New.
1515         * testsuite/25_algorithms/replace_copy/check_type.cc: New.
1516         * testsuite/25_algorithms/replace_copy_if/1.cc: New.
1517         * testsuite/25_algorithms/replace_copy_if/check_type.cc: New.
1518         * testsuite/25_algorithms/remove/1.cc: New.
1519         * testsuite/25_algorithms/remove/check_type.cc: New.
1520         * testsuite/25_algorithms/remove_if/1.cc: New.
1521         * testsuite/25_algorithms/remove_if/check_type.cc: New.
1522         * testsuite/25_algorithms/count/1.cc: New.
1523         * testsuite/25_algorithms/count/check_type.cc: New.
1524         * testsuite/25_algorithms/count_if/1.cc: New.
1525         * testsuite/25_algorithms/count_if/check_type.cc: New.
1527         2005-02-27  Christopher Jefferson  <chris@bubblescope.net>
1528                     Paolo Carlini  <pcarlini@suse.de>
1530         * testsuite/ext/is_heap/check_type.cc: New.
1531         
1532         2005-02-27  Paolo Carlini  <pcarlini@suse.de>
1534         * testsuite/ext/is_heap/1.cc: New.
1536         2005-02-01  Christopher Jefferson  <chris@bubblescope.net>
1538         * testsuite/ext/median.cc: New.
1539         * testsuite/25_algorithms/adjacent_find/1.cc: New.
1540         * testsuite/25_algorithms/adjacent_find/check_type.cc: New.
1541         * testsuite/25_algorithms/search/1.cc: New.
1542         * testsuite/25_algorithms/search/check_type.cc: New.
1543         * testsuite/25_algorithms/unique_copy/1.cc: New.
1544         * testsuite/25_algorithms/unique_copy/check_type.cc: New.
1545         * testsuite/25_algorithms/partial_sort/1.cc: New.
1546         * testsuite/25_algorithms/partial_sort/check_type.cc: New.
1547         * testsuite/25_algorithms/partial_sort_copy/1.cc: New.
1548         * testsuite/25_algorithms/partial_sort_copy/check_type.cc: New.
1549         * testsuite/25_algorithms/lower_bound/1.cc: New.
1550         * testsuite/25_algorithms/lower_bound/check_type.cc: New.
1551         * testsuite/25_algorithms/upper_bound/1.cc: New.
1552         * testsuite/25_algorithms/upper_bound/check_type.cc: New.
1553         * testsuite/25_algorithms/merge/1.cc: New.
1554         * testsuite/25_algorithms/merge/check_type.cc: New.
1555         * testsuite/25_algorithms/inplace_merge/1.cc: New.
1556         * testsuite/25_algorithms/inplace_merge/check_type.cc: New.
1557         * testsuite/25_algorithms/stable_sort/1.cc: New.
1558         * testsuite/25_algorithms/stable_sort/check_type.cc: New.
1559         * testsuite/25_algorithms/nth_element/1.cc: New.
1560         * testsuite/25_algorithms/nth_element/check_type.cc: New.
1561         * testsuite/25_algorithms/equal_range/1.cc: New.
1562         * testsuite/25_algorithms/equal_range/check_type.cc: New.
1563         * testsuite/25_algorithms/binary_search/1.cc: New.
1564         * testsuite/25_algorithms/binary_search/check_type.cc: New.
1565         * testsuite/25_algorithms/includes/1.cc: New.
1566         * testsuite/25_algorithms/includes/check_type.cc: New.
1567         * testsuite/25_algorithms/set_union/1.cc: New.
1568         * testsuite/25_algorithms/set_union/check_type.cc: New.
1569         * testsuite/25_algorithms/set_intersection/1.cc: New.
1570         * testsuite/25_algorithms/set_intersection/check_type.cc: New.
1571         * testsuite/25_algorithms/set_difference/1.cc: New.
1572         * testsuite/25_algorithms/set_difference/check_type.cc: New.
1573         * testsuite/25_algorithms/set_symmetric_difference/1.cc: New.
1574         * testsuite/25_algorithms/set_symmetric_difference/check_type.cc: New.  
1575         * testsuite/25_algorithms/min_element/1.cc: New.
1576         * testsuite/25_algorithms/min_element/check_type.cc: New.
1577         * testsuite/25_algorithms/max_element/1.cc: New.
1578         * testsuite/25_algorithms/max_element/check_type.cc: New.
1579         * testsuite/25_algorithms/prev_permutation/1.cc: New.
1580         * testsuite/25_algorithms/prev_permutation/check_type.cc: New.
1581         * testsuite/25_algorithms/next_permutation/1.cc: New.
1582         * testsuite/25_algorithms/next_permutation/check_type.cc: New.
1583         * testsuite/25_algorithms/find_first_of/1.cc: New.
1584         * testsuite/25_algorithms/find_first_of/check_type.cc: New.
1585         * testsuite/25_algorithms/find_end/1.cc: New.
1586         * testsuite/25_algorithms/find_end/check_type.cc: New.
1587         * testsuite/25_algorithms/equal/check_type.cc: Insert iterator type.
1588         * testsuite/25_algorithms/lexicographical_compare/check_type.cc:
1589         Likewise.
1591         2005-01-10  Christopher Jefferson <chris@bubblescope.net>
1593         * testsuite/25_algorithms/lexicographical_compare/check_type.cc: New.
1594         * testsuite/25_algorithms/lexicographical_compare/1.cc: Likewise.
1595         * testsuite/25_algorithms/mismatch/check_type.cc: Likewise.
1596         * testsuite/25_algorithms/mismatch/1.cc: Likewise.
1597         * testsuite/25_algorithms/equal/check_type.cc: New.
1598         * testsuite/25_algorithms/equal/1.cc: New.
1600 2005-05-24  Benjamin Kosnik  <bkoz@redhat.com>
1602         * include/bits/allocator.h: Change ___glibcxx_base_allocator to
1603         __glibcxx_base_allocator.
1604         * config/allocator/bitmap_allocator_base.h: Same.
1605         * config/allocator/malloc_allocator_base.h: Same.
1606         * config/allocator/mt_allocator_base.h: Same.
1607         * config/allocator/new_allocator_base.h: Same.
1608         * config/allocator/pool_allocator_base.h: Same.
1610 2005-05-24  Jonathan Wakely  <redi@gcc.gnu.org>
1612         * include/debug/string (class basic_string): Add missing
1613         default template arguments; provide typedefs for char
1614         and wchar_t.
1615         (operator[]): Allow s[s.size()] in debug mode, but not
1616         pedantic mode.
1618 2005-05-24  Paolo Carlini  <pcarlini@suse.de>
1620         Port from libstdcxx_so_7-branch:
1621         2005-04-25  Christopher Jefferson  <chris@bubblescope.net>
1623         * include/bits/stl_algo.h (count): Correct concept checks.
1624         (search_n) : Likewise.
1625         * testsuite/25_algorithms/search_n/check_type.cc: New.
1627         * testsuite/testsuite_iterators.h
1628         (random_access_iterator_wrapper::operator+): Move out of
1629         class to external function, and add symmetric version.
1631         2005-03-14  Christopher Jefferson  <chris@bubblescope.net>
1633         * testsuite/testsuite_iterators.h (WritableObject::WritableObject):
1634         Add const.
1635         
1636         2005-02-01  Christopher Jefferson  <chris@bubblescope.net>
1638         * testsuite/testsuite_iterators.h (random_access_iterator_wrapper::
1639         operator--): Fix typo.
1640         (OutputContainer::OutputContainer): Correct zeroing array.
1641         (WritableObject::operator==): Fix typo.
1642         (WritableObject::operator=): make operator= templated 
1643         to allow differing types to be assigned.
1644         (WritableObject::operator++): Fix checking if iterator is
1645         written to multiple times.
1646         (random_access_iterator_wrapper::operator+): Add const.
1647         (random_access_iterator_wrapper::operator-): Likewise.
1648         (random_access_iterator_wrapper::operator[]): Add dereference.
1650 2005-05-23  Jonathan Wakely  <redi@gcc.gnu.org>
1652         * docs/html/debug.html: Explain that _GLIBXX_DEBUG_PEDANTIC
1653         had to be defined for pedantic mode in 3.4 and 4.0.0.
1655 2005-05-20  Jan Beulich  <jbeulich@novell.com>
1657         * libmath/stubs.c: Also implement fabsf/fabsl if not present in the
1658         system libraries.
1660 2005-05-20  Paolo Carlini  <pcarlini@suse.de>
1662         * include/bits/stl_algo.h (__rotate<_RandomAccessIterator>):
1663         Don't qualify __tmp as const, _ValueType is not necessarily
1664         Assignable.
1665         * include/bits/stl_algobase.h (swap, __iter_swap<false>):
1666         Likewise, as an harmless extension.
1668 2005-05-19  Richard Henderson  <rth@redhat.com>
1670         * libsupc++/unwind-cxx.h: Revert gcc_unreachable change.
1672 2005-05-19  Jonathan Wakely  <redi@gcc.gnu.org>
1674         * include/bits/basic_string.h (operator[]): Allow s[s.size()] in
1675         debug mode, but not pedantic mode.
1677 2005-05-19  Jan Beulich  <jbeulich@novell.com>
1679         * libsupc++/unwind-cxx.h: Include cstdlib.
1680         (gcc_unreachable): #define.
1681         * libsupc++/eh_personality.cc (gcc_unreachable): Remove #define.
1683 2005-05-18  Paolo Carlini  <pcarlini@suse.de>
1684             Nathan Myers  <ncm@cantrip.org>
1686         PR libstdc++/19495
1687         * include/bits/basic_string.h (_Raw_bytes_alloc): Rebind to
1688         size_type instead of char and rename to _Raw_alloc.
1689         * include/bits/basic_string.tcc (_Rep::_M_destroy, _Rep::_S_create):
1690         Use the above.
1691         * src/bitmap_allocator.cc: Add instantiation for size_type.
1692         * src/mt_allocator.cc: Likewise.
1693         * src/pool_allocator.cc: Likewise.
1694         * include/ext/array_allocator.h: Tweak slightly, avoid assuming
1695         the existence of an _Array::begin() and size() members.
1696         * testsuite/ext/array_allocator/2.cc: Tweak to use an allocator
1697         of size_type, instead of char, thus avoiding problems with
1698         rebinds, not treated correctly by array_allocator.
1700 2005-05-18  Paolo Carlini  <pcarlini@suse.de>
1702         * testsuite/22_locale/ctype/is/char/2.cc: Adjust dg-require-namedlocale.
1703         * testsuite/22_locale/ctype/is/wchar_t/2.cc: Likewise.
1704         * testsuite/22_locale/time_get/get_year/char/wrapped_env.cc: Add
1705         missing dg-require-namedlocale.
1706         * testsuite/22_locale/time_get/get_year/char/wrapped_locale.cc:
1707         Likewise.
1708         * testsuite/22_locale/time_get/get_year/wchar_t/wrapped_env.cc:
1709         Likewise.
1710         * testsuite/22_locale/time_get/get_year/wchar_t/wrapped_locale.cc:
1711         Likewise.
1713 2005-05-18  Paolo Carlini  <pcarlini@suse.de>
1715         * testsuite/testsuite_hooks.cc: Remove try_named_locale.
1716         * testsuite/testsuite_hooks.h: Remove try_named_locale.
1717         * testsuite/lib/libstdc++.exp (check_v3_target_namedlocale): New.
1718         * testsuite/lib/dg-options.exp (dg-require-namedlocale): New, uses
1719         the above.
1720         * testsuite/22_locale/codecvt/always_noconv/char/wrapped_env.cc: Use
1721         dg-require-namedlocale.
1722         * testsuite/22_locale/codecvt/always_noconv/char/wrapped_locale.cc:
1723         Likewise.
1724         * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: Likewise.
1725         * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: Likewise.
1726         * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: Likewise.
1727         * testsuite/22_locale/codecvt/always_noconv/wchar_t/wrapped_env.cc: 
1728         Likewise.
1729         * testsuite/22_locale/codecvt/always_noconv/wchar_t/wrapped_locale.cc:
1730         Likewise.
1731         * testsuite/22_locale/codecvt/encoding/char/wrapped_env.cc: Likewise.
1732         * testsuite/22_locale/codecvt/encoding/char/wrapped_locale.cc: Likewise.
1733         * testsuite/22_locale/codecvt/encoding/wchar_t/2.cc: Likewise.
1734         * testsuite/22_locale/codecvt/encoding/wchar_t/3.cc: Likewise.
1735         * testsuite/22_locale/codecvt/encoding/wchar_t/4.cc: Likewise.
1736         * testsuite/22_locale/codecvt/encoding/wchar_t/wrapped_env.cc: Likewise.
1737         * testsuite/22_locale/codecvt/encoding/wchar_t/wrapped_locale.cc:
1738         Likewise.
1739         * testsuite/22_locale/codecvt/in/char/wrapped_env.cc: Likewise.
1740         * testsuite/22_locale/codecvt/in/char/wrapped_locale.cc: Likewise.
1741         * testsuite/22_locale/codecvt/in/wchar_t/2.cc: Likewise.
1742         * testsuite/22_locale/codecvt/in/wchar_t/3.cc: Likewise.
1743         * testsuite/22_locale/codecvt/in/wchar_t/4.cc: Likewise.
1744         * testsuite/22_locale/codecvt/in/wchar_t/7.cc: Likewise. 
1745         * testsuite/22_locale/codecvt/in/wchar_t/8.cc: Likewise.
1746         * testsuite/22_locale/codecvt/in/wchar_t/9.cc: Likewise.
1747         * testsuite/22_locale/codecvt/in/wchar_t/wrapped_env.cc: Likewise. 
1748         * testsuite/22_locale/codecvt/in/wchar_t/wrapped_locale.cc: Likewise.    
1749         * testsuite/22_locale/codecvt/length/char/wrapped_env.cc: Likewise. 
1750         * testsuite/22_locale/codecvt/length/char/wrapped_locale.cc: Likewise.    
1751         * testsuite/22_locale/codecvt/length/wchar_t/2.cc: Likewise.   
1752         * testsuite/22_locale/codecvt/length/wchar_t/3.cc: Likewise.   
1753         * testsuite/22_locale/codecvt/length/wchar_t/4.cc: Likewise.   
1754         * testsuite/22_locale/codecvt/length/wchar_t/7.cc: Likewise.   
1755         * testsuite/22_locale/codecvt/length/wchar_t/wrapped_env.cc: Likewise.      
1756         * testsuite/22_locale/codecvt/length/wchar_t/wrapped_locale.cc:
1757         Likewise.
1758         * testsuite/22_locale/codecvt/max_length/char/wrapped_env.cc: Likewise.
1759         * testsuite/22_locale/codecvt/max_length/char/wrapped_locale.cc:
1760         Likewise.  
1761         * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: Likewise.    
1762         * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: Likewise.    
1763         * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: Likewise.    
1764         * testsuite/22_locale/codecvt/max_length/wchar_t/wrapped_env.cc:
1765         Likewise.  
1766         * testsuite/22_locale/codecvt/max_length/wchar_t/wrapped_locale.cc:
1767         Likewise.
1768         * testsuite/22_locale/codecvt/out/char/wrapped_env.cc: Likewise.    
1769         * testsuite/22_locale/codecvt/out/char/wrapped_locale.cc: Likewise. 
1770         * testsuite/22_locale/codecvt/out/wchar_t/2.cc: Likewise.  
1771         * testsuite/22_locale/codecvt/out/wchar_t/3.cc: Likewise.  
1772         * testsuite/22_locale/codecvt/out/wchar_t/4.cc: Likewise.  
1773         * testsuite/22_locale/codecvt/out/wchar_t/7.cc: Likewise.  
1774         * testsuite/22_locale/codecvt/out/wchar_t/wrapped_env.cc: Likewise. 
1775         * testsuite/22_locale/codecvt/out/wchar_t/wrapped_locale.cc: Likewise. 
1776         * testsuite/22_locale/codecvt/unshift/char/wrapped_env.cc: Likewise.   
1777         * testsuite/22_locale/codecvt/unshift/char/wrapped_locale.cc: Likewise.
1778         * testsuite/22_locale/codecvt/unshift/wchar_t/2.cc: Likewise.    
1779         * testsuite/22_locale/codecvt/unshift/wchar_t/3.cc: Likewise.    
1780         * testsuite/22_locale/codecvt/unshift/wchar_t/4.cc: Likewise.    
1781         * testsuite/22_locale/codecvt/unshift/wchar_t/wrapped_env.cc: Likewise.
1782         * testsuite/22_locale/codecvt/unshift/wchar_t/wrapped_locale.cc:
1783         Likewise.
1784         * testsuite/22_locale/collate/compare/char/1.cc: Likewise.  
1785         * testsuite/22_locale/collate/compare/char/2.cc: Likewise.  
1786         * testsuite/22_locale/collate/compare/char/3.cc: Likewise.  
1787         * testsuite/22_locale/collate/compare/char/wrapped_env.cc: Likewise.        
1788         * testsuite/22_locale/collate/compare/char/wrapped_locale.cc: Likewise.     
1789         * testsuite/22_locale/collate/compare/wchar_t/1.cc: Likewise.     
1790         * testsuite/22_locale/collate/compare/wchar_t/2.cc: Likewise.     
1791         * testsuite/22_locale/collate/compare/wchar_t/3.cc: Likewise.     
1792         * testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc: Likewise.
1793         * testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc:
1794         Likewise.  
1795         * testsuite/22_locale/collate/hash/char/2.cc: Likewise.     
1796         * testsuite/22_locale/collate/hash/char/wrapped_env.cc: Likewise.   
1797         * testsuite/22_locale/collate/hash/char/wrapped_locale.cc: Likewise.        
1798         * testsuite/22_locale/collate/hash/wchar_t/2.cc: Likewise.  
1799         * testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc: Likewise.
1800         * testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc: Likewise.     
1801         * testsuite/22_locale/collate/transform/char/2.cc: Likewise.     
1802         * testsuite/22_locale/collate/transform/char/3.cc: Likewise.     
1803         * testsuite/22_locale/collate/transform/char/wrapped_env.cc: Likewise.      
1804         * testsuite/22_locale/collate/transform/char/wrapped_locale.cc:
1805         Likewise.
1806         * testsuite/22_locale/collate/transform/wchar_t/2.cc: Likewise. 
1807         * testsuite/22_locale/collate/transform/wchar_t/3.cc: Likewise. 
1808         * testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc:
1809         Likewise.
1810         * testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc:
1811         Likewise.
1812         * testsuite/22_locale/collate_byname/named_equivalence.cc: Likewise.
1813         * testsuite/22_locale/ctype/cons/char/wrapped_env.cc: Likewise.    
1814         * testsuite/22_locale/ctype/cons/char/wrapped_locale.cc: Likewise. 
1815         * testsuite/22_locale/ctype/is/char/2.cc: Likewise. 
1816         * testsuite/22_locale/ctype/is/char/wrapped_env.cc: Likewise.      
1817         * testsuite/22_locale/ctype/is/char/wrapped_locale.cc: Likewise.  
1818         * testsuite/22_locale/ctype/is/wchar_t/2.cc: Likewise.   
1819         * testsuite/22_locale/ctype/is/wchar_t/wrapped_env.cc: Likewise.  
1820         * testsuite/22_locale/ctype/is/wchar_t/wrapped_locale.cc: Likewise.
1821         * testsuite/22_locale/ctype/narrow/char/wrapped_env.cc: Likewise.
1822         * testsuite/22_locale/ctype/narrow/char/wrapped_locale.cc: Likewise.        
1823         * testsuite/22_locale/ctype/narrow/wchar_t/3.cc: Likewise. 
1824         * testsuite/22_locale/ctype/narrow/wchar_t/wrapped_env.cc: Likewise.        
1825         * testsuite/22_locale/ctype/narrow/wchar_t/wrapped_locale.cc: Likewise.
1826         * testsuite/22_locale/ctype/scan/char/wrapped_env.cc: Likewise.   
1827         * testsuite/22_locale/ctype/scan/char/wrapped_locale.cc: Likewise. 
1828         * testsuite/22_locale/ctype/scan/wchar_t/wrapped_env.cc: Likewise. 
1829         * testsuite/22_locale/ctype/scan/wchar_t/wrapped_locale.cc: Likewise.       
1830         * testsuite/22_locale/ctype/to/char/wrapped_env.cc: Likewise.       
1831         * testsuite/22_locale/ctype/to/char/wrapped_locale.cc: Likewise.    
1832         * testsuite/22_locale/ctype/to/wchar_t/wrapped_env.cc: Likewise.    
1833         * testsuite/22_locale/ctype/to/wchar_t/wrapped_locale.cc: Likewise. 
1834         * testsuite/22_locale/ctype/widen/char/wrapped_env.cc: Likewise.    
1835         * testsuite/22_locale/ctype/widen/char/wrapped_locale.cc: Likewise. 
1836         * testsuite/22_locale/ctype/widen/wchar_t/2.cc: Likewise.   
1837         * testsuite/22_locale/ctype/widen/wchar_t/3.cc: Likewise.   
1838         * testsuite/22_locale/ctype/widen/wchar_t/wrapped_env.cc: Likewise.
1839         * testsuite/22_locale/ctype/widen/wchar_t/wrapped_locale.cc: Likewise.
1840         * testsuite/22_locale/facet/2.cc: Likewise.
1841         * testsuite/22_locale/locale/cons/12352.cc: Likewise.
1842         * testsuite/22_locale/locale/cons/12438.cc: Likewise.
1843         * testsuite/22_locale/locale/cons/12658_thread-1.cc: Likewise. 
1844         * testsuite/22_locale/locale/cons/12658_thread-2.cc: Likewise. 
1845         * testsuite/22_locale/locale/cons/2.cc: Likewise.
1846         * testsuite/22_locale/locale/cons/4.cc: Likewise.
1847         * testsuite/22_locale/locale/cons/5.cc: Likewise.
1848         * testsuite/22_locale/locale/cons/7.cc: Likewise.
1849         * testsuite/22_locale/locale/cons/7222-env.cc: Likewise.  
1850         * testsuite/22_locale/locale/global_locale_objects/14071.cc: Likewise.  
1851         * testsuite/22_locale/locale/global_locale_objects/2.cc: Likewise.
1852         * testsuite/22_locale/messages/members/char/1.cc: Likewise.
1853         * testsuite/22_locale/messages/members/char/2.cc: Likewise.
1854         * testsuite/22_locale/messages/members/char/3.cc: Likewise.
1855         * testsuite/22_locale/messages/members/char/wrapped_env.cc: Likewise.   
1856         * testsuite/22_locale/messages/members/char/wrapped_locale.cc: Likewise.
1857         * testsuite/22_locale/messages_byname/named_equivalence.cc: Likewise.   
1858         * testsuite/22_locale/money_get/get/char/1.cc: Likewise.    
1859         * testsuite/22_locale/money_get/get/char/10.cc: Likewise.   
1860         * testsuite/22_locale/money_get/get/char/11.cc: Likewise.   
1861         * testsuite/22_locale/money_get/get/char/11528.cc: Likewise.
1862         * testsuite/22_locale/money_get/get/char/12.cc: Likewise.   
1863         * testsuite/22_locale/money_get/get/char/13.cc: Likewise.   
1864         * testsuite/22_locale/money_get/get/char/15.cc: Likewise.   
1865         * testsuite/22_locale/money_get/get/char/16.cc: Likewise.   
1866         * testsuite/22_locale/money_get/get/char/17.cc: Likewise.   
1867         * testsuite/22_locale/money_get/get/char/18.cc: Likewise.   
1868         * testsuite/22_locale/money_get/get/char/2.cc: Likewise.    
1869         * testsuite/22_locale/money_get/get/char/3.cc: Likewise.    
1870         * testsuite/22_locale/money_get/get/char/4.cc: Likewise.    
1871         * testsuite/22_locale/money_get/get/char/wrapped_env.cc: Likewise. 
1872         * testsuite/22_locale/money_get/get/char/wrapped_locale.cc: Likewise.  
1873         * testsuite/22_locale/money_get/get/wchar_t/1.cc: Likewise. 
1874         * testsuite/22_locale/money_get/get/wchar_t/10.cc: Likewise.      
1875         * testsuite/22_locale/money_get/get/wchar_t/11.cc: Likewise.      
1876         * testsuite/22_locale/money_get/get/wchar_t/11528.cc: Likewise.
1877         * testsuite/22_locale/money_get/get/wchar_t/12.cc: Likewise.      
1878         * testsuite/22_locale/money_get/get/wchar_t/13.cc: Likewise.      
1879         * testsuite/22_locale/money_get/get/wchar_t/15.cc: Likewise.      
1880         * testsuite/22_locale/money_get/get/wchar_t/16.cc: Likewise.      
1881         * testsuite/22_locale/money_get/get/wchar_t/17.cc: Likewise.      
1882         * testsuite/22_locale/money_get/get/wchar_t/18.cc: Likewise.      
1883         * testsuite/22_locale/money_get/get/wchar_t/2.cc: Likewise. 
1884         * testsuite/22_locale/money_get/get/wchar_t/3.cc: Likewise. 
1885         * testsuite/22_locale/money_get/get/wchar_t/4.cc: Likewise. 
1886         * testsuite/22_locale/money_get/get/wchar_t/wrapped_env.cc: Likewise.      
1887         * testsuite/22_locale/money_get/get/wchar_t/wrapped_locale.cc: Likewise.
1888         * testsuite/22_locale/money_put/put/char/1.cc: Likewise.  
1889         * testsuite/22_locale/money_put/put/char/2.cc: Likewise.  
1890         * testsuite/22_locale/money_put/put/char/3.cc: Likewise.  
1891         * testsuite/22_locale/money_put/put/char/9780-3.cc: Likewise.      
1892         * testsuite/22_locale/money_put/put/char/wrapped_env.cc: Likewise. 
1893         * testsuite/22_locale/money_put/put/char/wrapped_locale.cc: Likewise.  
1894         * testsuite/22_locale/money_put/put/wchar_t/1.cc: Likewise. 
1895         * testsuite/22_locale/money_put/put/wchar_t/2.cc: Likewise. 
1896         * testsuite/22_locale/money_put/put/wchar_t/3.cc: Likewise. 
1897         * testsuite/22_locale/money_put/put/wchar_t/wrapped_env.cc: Likewise.     
1898         * testsuite/22_locale/money_put/put/wchar_t/wrapped_locale.cc: Likewise.
1899         * testsuite/22_locale/moneypunct/members/char/2.cc: Likewise.
1900         * testsuite/22_locale/moneypunct/members/char/wrapped_env.cc: Likewise.    
1901         * testsuite/22_locale/moneypunct/members/char/wrapped_locale.cc:
1902         Likewise. 
1903         * testsuite/22_locale/moneypunct/members/wchar_t/2.cc: Likewise.   
1904         * testsuite/22_locale/moneypunct/members/wchar_t/wrapped_env.cc:
1905         Likewise.
1906         * testsuite/22_locale/moneypunct/members/wchar_t/wrapped_locale.cc:
1907         Likewise.
1908         * testsuite/22_locale/moneypunct_byname/named_equivalence.cc: Likewise.
1909         * testsuite/22_locale/num_get/get/char/1.cc: Likewise.   
1910         * testsuite/22_locale/num_get/get/char/3.cc: Likewise.   
1911         * testsuite/22_locale/num_get/get/char/5.cc: Likewise.   
1912         * testsuite/22_locale/num_get/get/char/6.cc: Likewise.   
1913         * testsuite/22_locale/num_get/get/char/9.cc: Likewise.   
1914         * testsuite/22_locale/num_get/get/char/wrapped_env.cc: Likewise.
1915         * testsuite/22_locale/num_get/get/char/wrapped_locale.cc: Likewise. 
1916         * testsuite/22_locale/num_get/get/wchar_t/1.cc: Likewise.  
1917         * testsuite/22_locale/num_get/get/wchar_t/3.cc: Likewise.  
1918         * testsuite/22_locale/num_get/get/wchar_t/5.cc: Likewise.  
1919         * testsuite/22_locale/num_get/get/wchar_t/6.cc: Likewise.  
1920         * testsuite/22_locale/num_get/get/wchar_t/9.cc: Likewise.  
1921         * testsuite/22_locale/num_get/get/wchar_t/wrapped_env.cc: Likewise. 
1922         * testsuite/22_locale/num_get/get/wchar_t/wrapped_locale.cc: Likewise. 
1923         * testsuite/22_locale/num_put/put/char/1.cc: Likewise.      
1924         * testsuite/22_locale/num_put/put/char/20909.cc: Likewise.  
1925         * testsuite/22_locale/num_put/put/char/20914.cc: Likewise.  
1926         * testsuite/22_locale/num_put/put/char/3.cc: Likewise.      
1927         * testsuite/22_locale/num_put/put/char/5.cc: Likewise.      
1928         * testsuite/22_locale/num_put/put/char/9780-2.cc: Likewise. 
1929         * testsuite/22_locale/num_put/put/char/wrapped_env.cc: Likewise.    
1930         * testsuite/22_locale/num_put/put/char/wrapped_locale.cc: Likewise. 
1931         * testsuite/22_locale/num_put/put/wchar_t/1.cc: Likewise. 
1932         * testsuite/22_locale/num_put/put/wchar_t/20909.cc: Likewise.   
1933         * testsuite/22_locale/num_put/put/wchar_t/20914.cc: Likewise.   
1934         * testsuite/22_locale/num_put/put/wchar_t/3.cc: Likewise. 
1935         * testsuite/22_locale/num_put/put/wchar_t/5.cc: Likewise.
1936         * testsuite/22_locale/num_put/put/wchar_t/wrapped_env.cc: Likewise.
1937         * testsuite/22_locale/num_put/put/wchar_t/wrapped_locale.cc: Likewise. 
1938         * testsuite/22_locale/numpunct/members/char/2.cc: Likewise.
1939         * testsuite/22_locale/numpunct/members/char/3.cc: Likewise.
1940         * testsuite/22_locale/numpunct/members/char/wrapped_env.cc: Likewise.    
1941         * testsuite/22_locale/numpunct/members/char/wrapped_locale.cc: Likewise.
1942         * testsuite/22_locale/numpunct/members/wchar_t/2.cc: Likewise.    
1943         * testsuite/22_locale/numpunct/members/wchar_t/wrapped_env.cc: Likewise.
1944         * testsuite/22_locale/numpunct/members/wchar_t/wrapped_locale.cc:
1945         Likewise. 
1946         * testsuite/22_locale/numpunct_byname/named_equivalence.cc: Likewise.       
1947         * testsuite/22_locale/time_get/date_order/char/wrapped_env.cc: Likewise.    
1948         * testsuite/22_locale/time_get/date_order/char/wrapped_locale.cc:
1949         Likewise. 
1950         * testsuite/22_locale/time_get/date_order/wchar_t/wrapped_env.cc:
1951         Likewise. 
1952         * testsuite/22_locale/time_get/date_order/wchar_t/wrapped_locale.cc:
1953         Likewise.
1954         * testsuite/22_locale/time_get/get_date/char/12750.cc: Likewise.
1955         * testsuite/22_locale/time_get/get_date/char/2.cc: Likewise.   
1956         * testsuite/22_locale/time_get/get_date/char/wrapped_env.cc: Likewise.      
1957         * testsuite/22_locale/time_get/get_date/char/wrapped_locale.cc:
1958         Likewise.
1959         * testsuite/22_locale/time_get/get_date/wchar_t/12750.cc: Likewise. 
1960         * testsuite/22_locale/time_get/get_date/wchar_t/2.cc: Likewise.     
1961         * testsuite/22_locale/time_get/get_date/wchar_t/4.cc: Likewise.     
1962         * testsuite/22_locale/time_get/get_date/wchar_t/wrapped_env.cc:
1963         Likewise.  
1964         * testsuite/22_locale/time_get/get_date/wchar_t/wrapped_locale.cc:
1965         Likewise.
1966         * testsuite/22_locale/time_get/get_monthname/char/2.cc: Likewise.  
1967         * testsuite/22_locale/time_get/get_monthname/char/wrapped_env.cc:
1968         Likewise.
1969         * testsuite/22_locale/time_get/get_monthname/char/wrapped_locale.cc:
1970         Likewise.
1971         * testsuite/22_locale/time_get/get_monthname/wchar_t/2.cc: Likewise.
1972         * testsuite/22_locale/time_get/get_monthname/wchar_t/wrapped_env.cc:
1973         Likewise.
1974         * testsuite/22_locale/time_get/get_monthname/wchar_t/wrapped_locale.cc:
1975         Likewise.
1976         * testsuite/22_locale/time_get/get_time/char/1.cc: Likewise.
1977         * testsuite/22_locale/time_get/get_time/char/2.cc: Likewise.
1978         * testsuite/22_locale/time_get/get_time/char/wrapped_env.cc: Likewise.
1979         * testsuite/22_locale/time_get/get_time/char/wrapped_locale.cc:
1980         Likewise.
1981         * testsuite/22_locale/time_get/get_time/wchar_t/1.cc: Likewise.
1982         * testsuite/22_locale/time_get/get_time/wchar_t/2.cc: Likewise.
1983         * testsuite/22_locale/time_get/get_time/wchar_t/wrapped_env.cc:
1984         Likewise. 
1985         * testsuite/22_locale/time_get/get_time/wchar_t/wrapped_locale.cc:
1986         Likewise.
1987         * testsuite/22_locale/time_get/get_weekday/char/2.cc: Likewise.
1988         * testsuite/22_locale/time_get/get_weekday/char/wrapped_env.cc:
1989         Likewise.
1990         * testsuite/22_locale/time_get/get_weekday/char/wrapped_locale.cc:
1991         Likewise. 
1992         * testsuite/22_locale/time_get/get_weekday/wchar_t/2.cc: Likewise.
1993         * testsuite/22_locale/time_get/get_weekday/wchar_t/wrapped_env.cc:
1994         Likewise.    
1995         * testsuite/22_locale/time_get/get_weekday/wchar_t/wrapped_locale.cc:
1996         Likewise. 
1997         * testsuite/22_locale/time_put/put/char/17038.cc: Likewise. 
1998         * testsuite/22_locale/time_put/put/char/2.cc: Likewise.     
1999         * testsuite/22_locale/time_put/put/char/3.cc: Likewise.     
2000         * testsuite/22_locale/time_put/put/char/4.cc: Likewise.     
2001         * testsuite/22_locale/time_put/put/char/6.cc: Likewise.     
2002         * testsuite/22_locale/time_put/put/char/7.cc: Likewise.     
2003         * testsuite/22_locale/time_put/put/char/8.cc: Likewise.     
2004         * testsuite/22_locale/time_put/put/char/9780-1.cc: Likewise.       
2005         * testsuite/22_locale/time_put/put/char/wrapped_env.cc: Likewise.
2006         * testsuite/22_locale/time_put/put/char/wrapped_locale.cc: Likewise.  
2007         * testsuite/22_locale/time_put/put/wchar_t/17038.cc: Likewise.   
2008         * testsuite/22_locale/time_put/put/wchar_t/2.cc: Likewise.
2009         * testsuite/22_locale/time_put/put/wchar_t/3.cc: Likewise.
2010         * testsuite/22_locale/time_put/put/wchar_t/4.cc: Likewise.
2011         * testsuite/22_locale/time_put/put/wchar_t/6.cc: Likewise.
2012         * testsuite/22_locale/time_put/put/wchar_t/7.cc: Likewise.
2013         * testsuite/22_locale/time_put/put/wchar_t/8.cc: Likewise.
2014         * testsuite/22_locale/time_put/put/wchar_t/wrapped_env.cc: Likewise.     
2015         * testsuite/22_locale/time_put/put/wchar_t/wrapped_locale.cc: Likewise.
2016         * testsuite/27_io/basic_filebuf/imbue/char/13007.cc: Likewise.  
2017         * testsuite/27_io/basic_filebuf/imbue/char/13171-1.cc: Likewise.
2018         * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
2019         * testsuite/27_io/basic_filebuf/imbue/char/13171-4.cc: Likewise.
2020         * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise.
2021         * testsuite/27_io/basic_filebuf/imbue/char/14975-1.cc: Likewise.
2022         * testsuite/27_io/basic_filebuf/imbue/char/2.cc: Likewise. 
2023         * testsuite/27_io/basic_filebuf/imbue/char/9322.cc: Likewise.       
2024         * testsuite/27_io/basic_filebuf/imbue/wchar_t/12868.cc: Likewise.
2025         * testsuite/27_io/basic_filebuf/imbue/wchar_t/13007.cc: Likewise.   
2026         * testsuite/27_io/basic_filebuf/imbue/wchar_t/13171-3.cc: Likewise. 
2027         * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-2.cc: Likewise. 
2028         * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-3.cc: Likewise. 
2029         * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc: Likewise. 
2030         * testsuite/27_io/basic_filebuf/imbue/wchar_t/2.cc: Likewise.       
2031         * testsuite/27_io/basic_filebuf/imbue/wchar_t/9322.cc: Likewise.    
2032         * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1.cc: Likewise.  
2033         * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2.cc: Likewise.  
2034         * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3.cc: Likewise.  
2035         * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4.cc: Likewise.  
2036         * testsuite/27_io/basic_filebuf/seekoff/wchar_t/1.cc: Likewise.    
2037         * testsuite/27_io/basic_filebuf/seekoff/wchar_t/2.cc: Likewise.    
2038         * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9874.cc: Likewise. 
2039         * testsuite/27_io/basic_filebuf/underflow/wchar_t/1.cc: Likewise.  
2040         * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-1.cc: Likewise.  
2041         * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-2.cc: Likewise.  
2042         * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-3.cc: Likewise.  
2043         * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-4.cc: Likewise.  
2044         * testsuite/27_io/basic_filebuf/underflow/wchar_t/2.cc: Likewise.
2045         * testsuite/27_io/basic_filebuf/underflow/wchar_t/3.cc: Likewise.
2046         * testsuite/27_io/basic_filebuf/underflow/wchar_t/4.cc: Likewise.
2047         * testsuite/27_io/basic_filebuf/underflow/wchar_t/5.cc: Likewise.
2048         * testsuite/27_io/basic_filebuf/underflow/wchar_t/9520.cc: Likewise.        
2049         * testsuite/27_io/basic_ios/copyfmt/char/2.cc: Likewise.   
2050         * testsuite/27_io/basic_ostream/inserters_arithmetic/char/2.cc:
2051         Likewise.   
2052         * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/2.cc:
2053         Likewise.
2054         * testsuite/27_io/basic_streambuf/imbue/char/13007-1.cc: Likewise.
2055         * testsuite/27_io/basic_streambuf/imbue/char/13007-2.cc: Likewise.
2056         * testsuite/27_io/basic_streambuf/imbue/char/9322.cc: Likewise.  
2057         * testsuite/27_io/basic_streambuf/imbue/wchar_t/13007-1.cc: Likewise.    
2058         * testsuite/27_io/basic_streambuf/imbue/wchar_t/13007-2.cc: Likewise.    
2059         * testsuite/27_io/basic_streambuf/imbue/wchar_t/9322.cc: Likewise. 
2060         * testsuite/27_io/basic_stringbuf/imbue/char/9322.cc: Likewise.    
2061         * testsuite/27_io/basic_stringbuf/imbue/wchar_t/9322.cc: Likewise.
2062         * testsuite/27_io/objects/wchar_t/10.cc: Likewise. 
2063         * testsuite/27_io/objects/wchar_t/11.cc: Likewise. 
2064         * testsuite/27_io/objects/wchar_t/12.cc: Likewise. 
2065         * testsuite/27_io/objects/wchar_t/13.cc: Likewise. 
2066         * testsuite/27_io/objects/wchar_t/9520.cc: Likewise.
2067         * testsuite/ext/stdio_sync_filebuf/wchar_t/12077.cc: Likewise.
2069 2005-05-17  Nathan Sidwell  <nathan@codesourcery.com>
2071         * libsupc++/eh_personality.cc (gcc_unreachable): Define.
2073 2005-05-16  Paolo Carlini  <pcarlini@suse.de>
2075         * docs/html/install.html: Update list of required named
2076         locales, add "es_ES".
2078 2005-05-13  Magnus Fromreide  <magfr@lysator.liu.se>
2080         * testsuite/27_io/basic_streambuf/sgetn/char/1.cc: Use
2081         initialization instead of copying as the string is used only once.
2082         * testsuite/27_io/basic_streambuf/sgetn/wchar_t/1.cc: Likewise.
2083         * testsuite/27_io/basic_streambuf/sputn/char/1.cc: Likewise.
2084         * testsuite/27_io/basic_streambuf/sputn/wchar_t/1.cc: Likewise.
2086 2005-05-12  Benjamin Kosnik  <bkoz@redhat.com>
2088         * scripts/create_testsuite_files: Fix.
2089         
2090 2005-05-12  Kaz Kojima  <kkojima@gcc.gnu.org>
2092         * testsuite/18_support/numeric_limits.cc (dg-options): Add
2093         -mieee to options on sh*-*-*.
2095 2005-05-10  Jonathan Wakely  <redi@gcc.gnu.org>
2097         * include/debug/debug.h: Fix typo in macro name.
2099 2005-05-09  Paolo Carlini  <pcarlini@suse.de>
2100             Giovanni Bajo  <giovannibajo@gcc.gnu.org>
2101             
2102         PR libstdc++/18604
2103         * include/bits/deque.tcc: Fully qualify names from namespace std.
2104         * include/bits/stl_bvector.h: Likewise.
2105         * include/bits/stl_deque.h: Likewise.
2106         * include/bits/stl_list.h: Likewise.
2107         * include/bits/stl_map.h: Likewise.
2108         * include/bits/stl_multimap.h: Likewise.
2109         * include/bits/stl_multiset.h: Likewise.
2110         * include/bits/stl_set.h: Likewise.
2111         * include/bits/stl_vector.h: Likewise.
2112         * include/bits/vector.tcc: Likewise.
2113         * include/std/std_bitset.h: Likewise.
2114         * testsuite/23_containers/bitset/18604.cc: New.
2115         * testsuite/23_containers/deque/18604.cc: Likewise.
2116         * testsuite/23_containers/list/18604.cc: Likewise.
2117         * testsuite/23_containers/map/18604.cc: Likewise.
2118         * testsuite/23_containers/set/18604.cc: Likewise.
2119         * testsuite/23_containers/vector/18604.cc: Likewise.    
2121 2005-05-09  Mike Stump  <mrs@apple.com>
2123         * configure: Regenerate.
2125 2005-05-09  Jonathan Wakely  <redi@gcc.gnu.org>
2127         DR 434. bitset::to_string() hard to use [Ready]
2128         * include/debug/bitset (to_string): Add three overloads, taking
2129         fewer template arguments.
2131 2005-05-06  Mark Mitchell  <mark@codesourcery.com>
2133         * testsuite/testsuite_hooks.cc (try_mkfifo): Remove.
2134         * testsuite/testsuite_hooks.h (try_mkfifo): Likewise.
2135         * testsuite/27_io/basic_filebuf/close/char/4879.cc: Use
2136         dg-require-fork and dg-require-mkfifo.  Replace try_mkfifo with
2137         mkfifo.
2138         * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise.
2139         * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
2140         * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise.
2141         * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-2.cc:
2142         Likewise.
2143         * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc:
2144         Likewise.
2145         * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise.
2146         * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc:
2147         Likewise.
2148         * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise.
2149         * testsuite/27_io/objects/char/7.cc: Likewise.
2150         * testsuite/27_io/objects/char/9661-1.cc: Likewise.
2151         * testsuite/27_io/objects/wchar_t/7.cc: Likewise.
2152         * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise.
2154 2005-05-04  Benjamin Kosnik  <bkoz@redhat.com>
2156         * acinclude.m4: Remove testsuite_wchar_t and testsuite_thread.
2157         * testsuite/Makefile.am: Same.
2158         * scripts/create_testsuite_files: Same. 
2159         * Makefile.in: Regenerate.
2160         * configure: Same.
2161         * include/Makefile.in: Same.
2162         * libmath/Makefile.in: Same.
2163         * libsupc++/Makefile.in: Same.
2164         * po/Makefile.in: Same.
2165         * src/Makefile.in: Same.
2167 2005-05-04  Mark Mitchell  <mark@codesourcery.com>
2169         * testsuite/lib/libstdc++.exp (v3-build_support): Look for
2170         __GTHREADS, rather than _GLIBCXX_HAVE_GTHR_DEFAULT, to determine
2171         whether or not thread support is available.
2173         * docs/html/test.html: Explain how to run the testsuite on an
2174         installed directory. 
2176 2005-05-01  Paolo Carlini  <pcarlini@suse.de>
2178         * config/os/aix/os_defines.h: Remove obsolete __off_t,
2179         __off64_t, __ssize_t defines.
2180         * config/os/djgpp/os_defines.h: Likewise.
2181         * config/os/hpux/os_defines.h: Likewise.
2182         * config/os/irix/irix5.2/os_defines.h: Likewise.
2183         * config/os/irix/irix6.5/os_defines.h: Likewise.
2184         * config/os/solaris/solaris2.5/os_defines.h: Likewise.
2185         * config/os/solaris/solaris2.6/os_defines.h: Likewise.
2186         * config/os/solaris/solaris2.7/os_defines.h: Likewise.
2187         * docs/html/17_intro/porting.html: Don't discuss the defines.
2188         * docs/html/17_intro/porting.texi: Likewise.
2190 2005-04-29  Paolo Carlini  <pcarlini@suse.de>
2191             Nathan Myers  <ncm@cantrip.org>
2193         PR libstdc++/21286
2194         * include/bits/fstream.tcc (basic_filebuf<>::xsgetn):
2195         Loop on short reads; remove the work-around for
2196         libstdc++/20806, not needed anymore.
2198 2005-04-29  Paolo Carlini  <pcarlini@suse.de>
2200         PR libstdc++/21238
2201         * include/bits/locale_facets.tcc (num_get::_M_extract_float,
2202         num_get::_M_extract_int, num_get::do_get(bool&),
2203         num_put::_M_insert_int, num_put::_M_insert_float,
2204         num_put::do_put(bool), money_get::_M_extract,
2205         money_put::_M_insert): Adjust the __cache_type typedef not to
2206         forward to a numpunct/moneypunct typedef.
2207         * testsuite/testsuite_character.h: Add pod_uint and its numpunct
2208         and moneypunct specializations.
2209         * testsuite/testsuite_character.cc: Add numpunct<pod_uint>::id
2210         and moneypunct<pod_uint>::id.
2211         * testsuite/22_locale/num_get/3.cc: New.
2212         * testsuite/22_locale/num_put/3.cc: Likewise.
2213         * testsuite/22_locale/money_get/3.cc: Likewise.
2214         * testsuite/22_locale/money_put/3.cc: Likewise.
2216         * include/bits/locale_facets.tcc (money_put::_M_insert,
2217         time_get::_M_extract_name): Prefer operator== to operator!=
2218         on char_types.
2220 2005-04-29  Paolo Carlini  <pcarlini@suse.de>
2222         * include/tr1/type_traits (is_convertible): Adjust according
2223         to the resolution of TR1 issue 3.20.
2224         * testsuite/tr1/4_metaprogramming/relationships_between_types/
2225         is_convertible/is_convertible.cc: Add tests.
2227 2005-04-28  Paolo Carlini  <pcarlini@suse.de>
2228             Gabriel Dos Reis  <gdr@integrable-solutions.net>
2230         PR libstdc++/21244 (cont)
2231         * include/bits/cpp_type_traits.h (struct __traitor): Convert
2232         to bool the values.
2233         * include/bits/stl_algo.h: Convert _S_threshold to int.
2234         * include/bits/stl_bvector.h: Revert previous change, convert
2235         _S_word_bit to int.
2236         * include/debug/formatter.h: Convert __max_parameters to
2237         size_t.
2238         * include/ext/mt_allocator.h: Likewise for _S_chunk_size.
2239         * include/ext/pool_allocator.h: Likewise for _S_max_bytes and
2240         _S_align.
2241         * include/ext/rope: Likewise for _S_alloc_granularity; convert
2242         _S_max_rope_depth to int.
2243         * include/ext/ropeimpl.h: Convert _S_path_cache_len to int;
2244         _S_max_rope_depth to int; _S_copy_max to size_t.
2246 2005-04-27  Benjamin Kosnik  <bkoz@redhat.com>
2248         * docs/doxygen/user.cfg.in: Update to doxygen-1.4.2.
2249         * docs/doxygen/doxygroups.cc: Update namespace comments.
2251 2005-04-27  Dominik Strasser  <dominik.strasser@infineon.com>
2252             Paolo Carlini  <pcarlini@suse.de>
2254         PR libstdc++/21244
2255         * include/bits/stl_bvector.h: Change the anonymous enum
2256         at namespace scope to _S_word_bit_enum.
2257         * testsuite/23_containers/vector/bool/21244.cc: New.
2259 2005-04-27  Paolo Carlini  <pcarlini@suse.de>
2261         * include/tr1/type_traits (has_trivial_copy, has_trivial_assign,
2262         has_nothrow_copy, has_nothrow_assign): Adjust according to the
2263         resolution of TR1 issue 3.21.
2264         * testsuite/testsuite_tr1.h (test_copy_property,
2265         test_assign_property): Remove.
2266         * testsuite/tr1/4_metaprogramming/type_properties/
2267         has_nothrow_assign/has_nothrow_assign.cc: Adjust.
2268         * testsuite/tr1/4_metaprogramming/type_properties/
2269         has_nothrow_copy/has_nothrow_copy.cc: Likewise.
2270         * testsuite/tr1/4_metaprogramming/type_properties/
2271         has_trivial_assign/has_trivial_assign.cc: Likewise.
2272         * testsuite/tr1/4_metaprogramming/type_properties/
2273         has_trivial_copy/has_trivial_copy.cc: Likewise.
2275 2005-04-26  Jones Desougi  <jones@ingate.com>
2277         PR libstdc++/21131
2278         * linkage.m4: Fix comments.
2280 2005-04-26  Paolo Carlini  <pcarlini@suse.de>
2282         PR libstdc++/21209
2283         * include/bits/locale_facets.tcc (_M_extract_int): Avoid signed
2284         integer overflow, always use a suited unsigned type in the main
2285         parsing loop.
2286         (struct __to_unsigned_type): New.
2287         * testsuite/22_locale/num_get/get/char/16.cc: New.
2288         * testsuite/22_locale/num_get/get/wchar_t/16.cc: Likewise.
2290 2005-04-25  Paolo Carlini  <pcarlini@suse.de>
2292         PR libstdc++/21035
2293         * include/bits/basic_string.h (compare): Adjust the documentation
2294         to match the implementation and the standard.
2296 2005-04-24  Paolo Carlini  <pcarlini@suse.de>
2298         * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 35.
2300 2005-04-20  Mark Mitchell  <mark@codesourcery.com>
2302         * testsuite/ext/bitmap_allocator/check_allocate_max_size.cpp: Add
2303         explicit instantiations for systems without weak symbols.
2304         * testsuite/ext/bitmap_allocator/check_deallocate_null.cc:
2305         Likewise. 
2307 2005-04-18  Jonathan Wakely  <redi@gcc.gnu.org>
2309         * include/bits/stl_algo.h (rotate_copy): Add missing std qualification.
2311 2005-04-17  Paolo Carlini  <pcarlini@suse.de>
2313         PR libstdc++/20914
2314         * include/bits/locale_facets.tcc (__int_to_char(_CharT*, _ValueT,
2315         const _CharT*, ios_base::fmtflags, bool)): Don't deal with numeric
2316         base or sign here, instead...
2317         (_M_insert_int(_OutIter, ios_base&, _CharT, _ValueT)): ... here,
2318         after adding the grouping. This fixes the bug and also allows to
2319         clean-up the code dealing with integer types.
2320         (_M_group_int(const char*, size_t, _CharT, ios_base&, _CharT*,
2321         _CharT*, int&)): Simplify, remove bits dealing with numeric base.
2322         (__int_to_char(_CharT*, unsigned long, const _CharT*,
2323         ios_base::fmtflags), __int_to_char(_CharT*, unsigned long long,
2324         const _CharT*, ios_base::fmtflags)): Remove hackish fix for
2325         libstdc++/15565.
2326         (__int_to_char(_CharT*, long, const _CharT*, ios_base::fmtflags),
2327         __int_to_char(_CharT*, long long, const _CharT*, ios_base::fmtflags)):
2328         Simplify, don't pass the sign.
2329         (_M_insert_float(_OutIter, ios_base&, _CharT, char, _ValueT)):
2330         Deal with a sign at the beginning of __cs; robustify the grouping
2331         check.
2332         * testsuite/22_locale/num_put/put/char/20914.cc: New.
2333         * testsuite/22_locale/num_put/put/wchar_t/20914.cc: Likewise.
2335 2005-04-14  Benjamin Kosnik  <bkoz@redhat.com>
2337         * include/ext/bitmap_allocator.h
2338         (__gnu_cxx::free_list::_M_get_mutex): New.
2339         (__gnu_cxx::free_list::_M_get_free_list): New.
2340         (__gnu_cxx::free_list::_S_bfl_mutex): Remove.
2341         (__gnu_cxx::free_list::_S_free_list): Remove.
2342         * src/bitmap_allocator.cc: Same.
2343         * config/linker-map.gnu: Remove free_list and mutex export.
2345 2005-04-14  Benjamin Kosnik  <bkoz@redhat.com>
2347         *  include/ext/pod_char_traits.h (__gnu_cxx::character): Add char_type.
2348         (character::to): New.
2349         (character::from): New.
2350         (operator==): Add state parameter.
2351         (operator<): Same.
2352         (char_traits::copy): Use std::copy.
2353         (char_traits::assign): Use std::fill_n.
2354         (char_traits::to_char_type): Use character::from.
2355         (char_traits::to_int_type): Use character::to.
2356         *  testsuite/testsuite_character.h (__gnu_test::character): Remove.
2357         (__gnu_test::conversion_state): Remove.
2358         (__gnu_test::pod_char): Remove.
2359         (pod_char): New typedef.
2360         (pod_uchar): New typedef.
2361         (pod_ushort): New typedef.
2362         *  testsuite/testsuite_character.cc: Fixups.
2363         *  testsuite/21_strings/basic_string/inserters_extractors/pod/
2364         10081-in.cc: Same.
2365         *  testsuite/21_strings/basic_string/inserters_extractors/pod/
2366         10081-out.cc: Same.
2367         *  testsuite/22_locale/numpunct/members/pod/1.cc: Same.
2368         *  testsuite/22_locale/numpunct/members/pod/2.cc: Same.
2369         *  testsuite/27_io/basic_filebuf/close/12790-1.cc: Same.
2370         *  testsuite/27_io/basic_filebuf/open/12790-1.cc: Same.
2371         *  testsuite/27_io/basic_filebuf/seekoff/12790-1.cc: Same.
2372         *  testsuite/27_io/basic_filebuf/seekoff/12790-2.cc: Same.
2373         *  testsuite/27_io/basic_filebuf/seekoff/12790-3.cc: Same.
2374         *  testsuite/27_io/basic_filebuf/seekoff/12790-4.cc: Same.
2375         *  testsuite/27_io/basic_filebuf/seekpos/12790-1.cc: Same.
2376         *  testsuite/27_io/basic_filebuf/seekpos/12790-2.cc: Same.
2377         *  testsuite/27_io/basic_filebuf/seekpos/12790-3.cc: Same.
2378         *  testsuite/27_io/basic_ios/imbue/14072.cc: Same.
2379         *  testsuite/27_io/basic_istream/extractors_arithmetic/pod/
2380         3983-1.cc: Same.
2381         *  testsuite/27_io/basic_istream/extractors_character/pod/
2382         3983-2.cc: Same.
2383         *  testsuite/27_io/basic_istream/extractors_other/pod/3983-3.cc: Same.
2384         *  testsuite/27_io/basic_istream/sentry/pod/1.cc: Same.
2385         *  testsuite/27_io/basic_ostream/sentry/pod/1.cc: Same.
2387 2005-04-12  Mike Stump  <mrs@apple.com>
2389         * configure: Regenerate.
2391 2005-04-08  Benjamin Kosnik  <bkoz@redhat.com>
2393         * testsuite/Makefile.am: Remove libv3test.a.
2394         * testsuite/Makefile.in: Regenerate.
2395         * testsuite/lib/libstdc++.exp (v3_target_compile): Fix comments.
2396         
2397 2005-04-08  Paolo Carlini  <pcarlini@suse.de>
2399         PR libstdc++/20909
2400         * include/bits/locale_facets.tcc (num_put<>::_M_insert_float):
2401         Don't even try to group numbers like 2e20, i.e., no decimal
2402         point, scientific notation.
2403         * testsuite/22_locale/num_put/put/char/20909.cc: New.
2404         * testsuite/22_locale/num_put/put/wchar_t/20909.cc: Likewise.
2406 2005-04-08  Kelley Cook  <kcook@gcc.gnu.org>
2408         * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Define _GLIBCXX_ASM_SYMVER.
2409         * acconfig.h: Delete file.
2410         * Makefile.in, acinclude.m4, configure: Regenerate.
2412 2005-04-08  Kelley Cook  <kcook@gcc.gnu.org>
2414         * linkage.m4 (GLIBCXX_MAYBE_UNDERSCORED_FUNCS): New macro.
2415         (GLIBCXX_CHECK_MATH_DECL_AND_LINKAGE_1,
2416         GLIBCXX_CHECK_MATH_DECL_AND_LINKAGE_2,
2417         GLIBCXX_CHECK_MATH_DECL_AND_LINKAGE_3,
2418         GLIBCXX_CHECK_MATH_DECLS_AND_LINKAGES_1,
2419         GLIBCXX_CHECK_STDLIB_DECL_AND_LINKAGE_2): Use it.
2420         (GLIBCXX_CHECK_MATH_SUPPORT): Delete obsolete comment.
2421         * acconfig.h: Delete redundant macros.
2422         * config.h.in, configure: Regenerate.
2424 2005-04-08  Kelley Cook  <kcook@gcc.gnu.org>
2426         * linkage.m4 (GLIBCXX_CHECK_MATH_DECLS_AND_LINKAGES_1): Eliminate
2427         a subshell and if test fails, test for same functions with 
2428         leading underscore.
2429         (GLIBCXX_CHECK_MATH_SUPPORT): Eliminate seperate checks for _funcs.
2430         * configure: Regenerate.
2432 2005-04-08  Danny Smith  <dannysmith@users.sourceforge.net>
2433             Paolo Carlini  <pcarlini@suse.de>
2434                         
2435         PR libstdc++/20806
2436         * config/os/mingw32/os_defines.h: Define
2437         _GLIBCXX_HAVE_DOS_BASED_FILESYSTEM.
2438         * config/os/newlib/os_defines.h: Likewise, for __CYGWIN__.
2439         * include/bits/fstream.tcc (basic_filebuf<>::showmanyc()):
2440         Use it.
2441         (basic_filebuf<>::xsgetn(_CharT*, streamsize)): Likewise.
2443 2005-04-08  Kelley Cook  <kcook@gcc.gnu.org>
2445         * acconfig.h: Sort the bottom section.
2446         * config.h.in: Regenerate.
2448 2005-04-08  Kelley Cook  <kcook@gcc.gnu.org>
2450         * acconfig.h: Remove redundant HAVE_FLOAT_H.
2451         * config.h.in: Regenerate.
2453 2005-04-08  Kelley Cook  <kcook@gcc.gnu.org>
2455         * configure.ac: Create template for PACKAGE and VERSION.
2456         Update comment on how to regenerate file.  Update minimum
2457         automake version to 1.9.3.
2458         * acconfig.h: Remove PACKAGE and VERSION.
2459         * aclocal.m4, configure, Makefile.in, po/Makefile.in, 
2460         src/Makefile.in, include/Makefile.in, libmath/Makefile.in, 
2461         testsuite/Makefile.in, config.h.in: Regenerate.
2463 2005-04-06  Benjamin Kosnik  <bkoz@redhat.com>
2465         * docs/html/test.html: Update.
2466         * testsuite/printnow.c: Remove.
2467         * scripts/check_survey.in: Remove.
2469         * testsuite/abi_check.cc: To...
2470         * testuite/testsuite_abi_check.cc: ...here.
2471         * testsuite/libstdc++-abi/abi.exp: Change abi_check.cc to
2472         testsuite_abi_check.cc.
2474         * testsuite/testsuite_hooks.h: Move character related bits to...
2475         * testsuite/testsuite_character.h: ...here.
2476         * testsuite/testsuite_character.cc: ... and here.
2477         * testsuite/21_strings/basic_string/inserters_extractors/pod/
2478         10081-in.cc: Use testsuite_character.h.
2479         * testsuite/21_strings/basic_string/inserters_extractors/pod/
2480         10081-out.cc: Same.
2481         * testsuite/22_locale/numpunct/members/pod/1.cc: Same.
2482         * testsuite/22_locale/numpunct/members/pod/2.cc: Same.
2483         * testsuite/27_io/basic_filebuf/2.cc: Same.
2484         * testsuite/27_io/basic_fstream/2.cc: Same.
2485         * testsuite/27_io/basic_istream/2.cc: Same.
2486         * testsuite/27_io/basic_istream/extractors_arithmetic/pod/
2487         3983-1.cc: Same.
2488         * testsuite/27_io/basic_istream/extractors_character/char/
2489         9826.cc: Same.
2490         * testsuite/27_io/basic_istream/extractors_character/pod/
2491         3983-2.cc: Same.
2492         * testsuite/27_io/basic_istream/extractors_other/pod/3983-3.cc: Same.
2493         * testsuite/27_io/basic_istream/sentry/pod/1.cc: Same.
2494         * testsuite/27_io/basic_ostream/2.cc: Same.
2495         * testsuite/27_io/basic_ostream/sentry/pod/1.cc: Same.
2496         * testsuite/27_io/basic_streambuf/2.cc: Same.
2497         * testsuite/27_io/basic_stringbuf/2.cc: Same.
2498         * testsuite/27_io/basic_stringbuf/4.cc: Same.
2499         * testsuite/27_io/basic_stringstream/2.cc: Same.
2500         * testsuite/27_io/fpos/1.cc: Same.
2501         * testsuite/ext/mt_allocator/tune-1.cc: Same.
2502         * testsuite/ext/mt_allocator/tune-2.cc: Same.
2503         * testsuite/ext/stdio_filebuf/char/1.cc: Same.  
2504         * testsuite/lib/libstdc++.exp (v3-build_support): Add
2505         testsuite_character.cc.
2506         * testsuite/Makefile.am (libv3test_a_SOURCES): Add
2507         testsuite_character.cc.
2508         * testsuite/Makefile.in: Regenerate.
2509                 
2510         * configure.ac: Remove use of check_survey.
2511         * configure: Regenerate.
2512         * testsuite/Makefile.am: Remove check-script and
2513         check-script-install rules.
2514         * testsuite/Makefile.in: Regenerate.
2516 2005-04-06  Ulrich Weigand  <uweigand@de.ibm.com>
2518         * config/cpu/s390/atomicity.h (__exchange_and_add): Add "memory"
2519         clobber to inline assembly statement.
2521 2005-04-06  Kelley Cook  <kcook@gcc.gnu.org>
2523         * acinclude.m4 (_GLIBCXX_USE_LONG_LONG,
2524         _GLIBCXX_USE_WCHAR_T, _GLIBCXX_USE_C99, _GLIBCXX_USE_C99_MATH,
2525         _GLIBCXX_USE_C99_COMPLEX, _GLIBCXX_RES_LIMITS, _GLIBCXX_CONCEPT_CHECKS,
2526         _GLIBCXX_SYMVER, _GLIBCXX_USE_LFS, _GLIBCXX_FULLY_DYNAMIC_STRING,
2527         _GLIBCXX_USE_NLS, HAVE_GTHR_DEFAULT, HAVE_MBSTATE_T, HAVE_POLL,
2528         HAVE_S_ISREG, HAVE_S_IFREG, HAVE_WRITEV, HAVE_INT64_T,
2529         HAVE_LC_MESSAGES): Use long form of AC_DEFINE ...
2530         * acconfig.h: ... to eliminate them from here.
2531         (_GLIBCXX_ASM_SYMVER): Move definition below @BOTTOM@.
2532         * config.h.in, configure: Regenerate.
2533         
2534 2005-04-05  Kelley Cook  <kcook@gcc.gnu.org>
2536         * Makefile.am (ACLOCAL_AMFLAGS): Define.
2537         * crossconfig.m4: Wrap file into new GLIBCXX_CROSSCONFIG macro.
2538         * configure.ac: Use it.
2539         * acinclude.m4: Delete explicit m4_includes and sincludes.
2540         * aclocal.m4, configure, Makefile.in, po/Makefile.in, 
2541         src/Makefile.in, include/Makefile.in, libmath/Makefile.in, 
2542         testsuite/Makefile.in: Regenerate.
2544 2005-04-05  Jonathan Wakely  <redi@gcc.gnu.org>
2546         * include/tr1/memory, include/tr1/boost_shared_ptr.h: Use mutex
2547         to make _Sp_counted_base::add_ref_lock() thread-safe. Check whether
2548         to destroy resources by testing for equality, not inequality. Add
2549         empty critical sections to solve memory visibility issues.
2550         * testsuite/tr1/2_general_utilities/memory/
2551         shared_ptr/cons/auto_ptr_neg.cc: Use dg-excess-errors instead of
2552         explicitly listing line numbers which need to be kept in sync.
2553         * testsuite/tr1/2_general_utilities/memory/
2554         shared_ptr/assign/auto_ptr_neg.cc: Same.
2555         * testsuite/tr1/2_general_utilities/memory/
2556         shared_ptr/assign/auto_ptr_rvalue_neg.cc: Same.
2557         * testsuite/tr1/2_general_utilities/memory/
2558         shared_ptr/cons/weak_ptr_expired.cc: Make XFAIL for consistency when
2559         -fno-exceptions.
2560         * testsuite/tr1/2_general_utilities/memory/
2561         enable_shared_from_this/not_shared.cc: Add explanatory comments.
2562         * testsuite/tr1/2_general_utilities/memory/
2563         enable_shared_from_this/not_shared2.cc: Same.
2564         * testsuite/tr1/2_general_utilities/memory/
2565         enable_shared_from_this/not_shared3.cc: Same.
2567 2005-04-05  Kelley Cook  <kcook@gcc.gnu.org>
2569         * acconfig.h: Delete macros already AC_DEFINED.
2570         * config.h.in: Regenerate.
2572 2005-04-05  Kelley Cook  <kcook@gcc.gnu.org>
2574         * acconfig.h (HAVE_MODF): Remove.
2575         * linkage.m4: Check for modf.
2576         * config.h.in, configure: Regenerate.
2578 2005-04-05  Kelley Cook  <kcook@gcc.gnu.org>
2580         * acconfig.h (ENABLE_NLS, HAVE_CATGETS): Remove.
2581         (HAVE_GETTEXT, HAVE_STPCPY): Likewise.
2582         * config.h.in: Regenerate.
2583         
2584 2005-04-05  Kelley Cook  <kcook@gcc.gnu.org>
2586         * linkage.m4 (GLIBCXX_CHECK_BUILTIN_MATH_DEC): Use m4 translit macro 
2587         to convert to uppercase instead of shelling out to tr.
2588         * acconfig.h: Remove now redundant HAVE__BUILTINS_*.
2589         * configure, config.h.in: Regenerate.
2591 2005-04-05  Kelley Cook  <kcook@gcc.gnu.org>
2593         * acconfig.h (HAVE_TANL): Correct cut-and-paste typo.
2594         * config.h.in: Regenerate.
2596 2005-04-04  Mark Mitchell  <mark@codesourcery.com>
2598         * testsuite/Makefile.am (check-local): Remove.
2599         (curent_symbols.txt): Likewise.
2600         (check-abi): Do not depend on current_symbols.txt.
2601         * testsuite/Makefile.in: Regenerated.
2602         * testsuite/libstdc++-abi/abi.exp: Build current_symbols.txt.
2604 2005-04-02  Douglas Gregor  <doug.gregor@gmail.com>
2605         
2606         * include/tr1/tuple_iterate.h (tuple_element): Use new macro
2607         _GLIBCXX_T_NUM_ARGS_PLUS_1 because _T is a macro on Darwin.
2608         * include/tr1/repeat.h (_GLIBCXX_T_NUM_ARGS_PLUS_1): Define for
2609         each iteration.
2610         * scripts/gen_includers.h: Define _GLIBCXX_T_NUM_ARGS_PLUS_1 for
2611         each iteration.
2612         
2613 2005-04-01  Douglas Gregor  <doug.gregor@gmail.com>
2615         * include/tr1/functional (_Maybe_wrap_member_pointer): Wrap up
2616         member pointers in _Mem_fn but let other function objects pass
2617         through unchanged.
2618         * include/tr1/functional_iterator (bind): Reduce number of bind()
2619         overloads to two to eliminate ambiguities. Use
2620         _Maybe_wrap_member_pointer to handle member pointers gracefully.
2621         
2622 2005-04-01  Mark Mitchell  <mark@codesourcery.com>
2624         * testsuite/Makefile.am (noinst_PROGRAMS): Remove.
2625         (site.exp): Write out the path to the baseline file.
2626         (check-abi): Use DejaGNU.
2627         (check-abi-verbose): Remove.
2628         * testsuite/Makefile.in: Regenerated.
2629         * testsuite/abi_check.cc (main): Check the return value from
2630         compare_symbols.
2631         * testsuite/testsuite_abi.cc (compare_symbols): Return a value.
2632         * testsuite/testsuite_abi.h (compare_symbols): Adjust prototype.
2633         * testsuite/libstdc++-abi/abi.exp: New file.
2635 2005-03-31  Chris Jefferson  <chris@bubblescope.net>
2637         * include/tr1/tuple: Support iteration via tuple_iterate.h.
2638         * include/tr1/tuple_iterate.h: Iteration file for tuple.
2640 2005-03-31  Douglas Gregor  <doug.gregor@gmail.com>
2642         * include/Makefile.am (tr1_headers): Add bind and mu repetition
2643         headers and reference_wrapper<> forwarding header.
2644         * include/Makefile.in: Regenerate.
2645         * include/tr1/bind_iterate.h: Implementation of function call
2646         operators for the function object returned from tr1::bind().
2647         * include/tr1/bind_repeat.h: Bind-specific repetition header,
2648         akin to include/tr1/repeat.h.
2649         * include/tr1/functional (_Mem_fn): Bug fix: declare result member
2650         template for use with result_of.
2651         (is_bind_expression): New.
2652         (is_placeholder): New.
2653         (_Placeholder): New. Placeholder type for bind.
2654         (_Mu): New. Implementation detail of bind.
2655         (_Bind, _Bind_result): New. Function objects returned by bind.
2656         (_GLIBCXX_JOIN): New. Required to create bind placeholders.
2657         * include/tr1/functional_iterate.h (_Bind, _Bind_result, bind):
2658         New. Implementation of tr1::bind.
2659         * include/tr1/mu_iterate.h (_Mu): result template and operator()
2660         for the _Mu helper to bind.
2661         * include/tr1/ref_fwd.h (reference_wrapper): Forward declaration
2662         used by tuple header.
2663         (ref): Ditto.
2664         (cref): Ditto.
2665         * include/tr1/repeat.h: Add bind-specific repetition macros.
2666         * include/tr1/tuple: Use reference_wrapper forwarding header for
2667         initial definitions, then include <tr1/functional> at the end, to
2668         make the circular dependencies work.
2669         (tie): Support zero-argument tie() function.
2670         * testsuite/tr1/3_function_objects/bind/all_bound.cc: New test of
2671         bind() functionality with parameters bound.
2672         * testsuite/tr1/3_function_objects/bind/nested.cc: New test of
2673         nested bind() expressions.
2674         * testsuite/tr1/3_function_objects/bind/placeholders.cc: New test
2675         of bind() placeholders.
2676         * testsuite/tr1/3_function_objects/bind/ref.cc: New test of bind()
2677         with arguments bound via reference_wrapper<>.
2678         * scripts/gen_includers.pl: Generate the repetitive part of
2679         include/tr1/repeat.h.
2680         * scripts/gen_bind_includers.pl: Generate the repetitive part of
2681         include/tr1/bind_repeat.h. 
2682         
2683 2005-03-30  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
2685         * testsuite/Makefile.am (CXX): Use ${SHELL}.
2686         (GLIBCXX_INCLUDES): Same.
2687         (AM_CXXFLAGS): Same.
2688         * testsuite/Makefile.in: Regenerate.
2690 2005-03-25  Mark Mitchell  <mark@codesourcery.com>
2692         * testsuite/lib/libstdc++.exp (libstdc++_init): Define LOCALEDIR
2693         when testing an installed compiler.
2694         
2695         * testsuite/lib/libstdc++.exp (v3-build_support): Pass -w when
2696         compiling support objects.
2698 2005-03-24  Benjamin Kosnik  <bkoz@redhat.com>
2700         * include/tr1/memory: Forward to...
2701         * include/tr1/boost_shared_ptr.h: ...here. Add Boost Software License.
2702         * include/Makefile.am (tr1_headers): Add boost_shared_ptr.h.
2703         * include/Makefile.in: Regenerate.
2704         * testsuite/tr1/2_general_utilities/memory/shared_ptr/cons/
2705         auto_ptr_neg.cc: Adjust line numbers.
2707 2005-03-23  Mark Mitchell  <mark@codesourcery.com>
2709         * testsuite/Makefile.am (all-local): Do not build testsuite_files.
2710         * testsuite/Makefile.in: Regenerated. 
2712 2005-03-23  Benjamin Kosnik  <bkoz@redhat.com>
2714         * acinclude.m4: Adjust so that _GLIBCXX_USE_C99 implies
2715         using _GLIBCXX_USE_C99_COMPLEX, _GLIBCXX_USE_C99_MATH, and
2716         _GLIBCXX_USE_C99_WCHAR.
2717         Remove GLIBCXX_ENABLE_C_MBCHAR, consolidate in GLIBCXX_ENABLE_C99
2718         and GLIBCXX_ENABLE_WCHAR_T.
2719         Take C99 bits from GLIBCXX_CHECK_WCHAR_T_SUPPORT and put in 
2720         GLIBCXX_ENABLE_C99.
2721         Change remaining parts of GLIBCXX_CHECK_WCHAR_T_SUPPORT to
2722         GLIBCXX_CHECK_ICONV_SUPPORT.
2723         * configure.ac: Remove GLIBCXX_ENABLE_C_MBCHAR, use
2724         GLIBCXX_CHECK_ICONV_SUPPORT and GLIBCXX_ENABLE_WCHAR_T.
2725         * crossconfig.m4: Same.
2726         * acconfig.h: Same, adjust comments.
2727         * config.h.in: Regenerate.
2728         * configure: Regenerate.
2729         * docs/html/configopts.html: Change --enable-c-mbchar to
2730         --enable-wchar_t.
2732         * config/locale/gnu/c++locale_internal.h: Guard wide functions
2733         with _GLIBCXX_USE_WCHAR_T.
2734         * include/c_std/std_cwctype.h: Alphabetize, remove duplicates.
2735         * include/c_std/std_cstdio.h: Spacing.
2737         * config/locale/gnu/c_locale.h: Tweaks for unused warnings.
2738         * src/debug.cc: Same.
2740 2005-03-23  Mark Mitchell  <mark@codesourcery.com>
2742         * testsuite/libstdc++-dg/normal.exp: Read testsuite_files, if it
2743         exists.
2745         * testsuite/lib/libstdc++.exp (libstdc++_wchar_t): Rename to ...
2746         (v3-wchar_t): ... this.
2747         (libstdc++_threads): Rename to ...
2748         (v3-threads): ... this.
2749         (libstdc++_test_objs): Rename to ...
2750         (v3-test_objs): ... this.
2751         (libstdc++_build_support): Rename to ...
2752         (v3-build_support): ... this.
2753         * testsuite/libstdc++-dg/normal.exp: Adjust to use new names.
2755         * testsuite/lib/libstdc++.exp (libstdc++_init): Improve handling
2756         of compilers not in the build directory.
2757         (libstdc++_wchar_t): New variable.
2758         (libstdc++_threads): Likewise.
2759         (libstdc++_test_objs): Likewise.
2760         (v3_target_compile): Use libstdc++_test_objs.
2761         (v3-list-tests): Remove.
2762         (listdc++_build_support): New function.
2763         * testsuite/libstdc++-dg/normal.exp: Rework to dynamically
2764         generate list of tests.
2766 2005-03-21  Chris Jefferson  <chris@bubblescope.net>
2768         PR libstdc++/20577
2769         * include/bits/stl_algobase.h (iter_swap): Only delegate iter_swap
2770         to swap when the iterator's reference_type is a reference to its
2771         value_type.
2772         * testsuite/25_algorithms/iter_swap/20577.cc: New.
2774 2005-03-21  Zack Weinberg  <zack@codesourcery.com>
2776         * acinclude.m4 (GLIBCXX_CONFIGURE): Delete gcc_version logic.
2777         (GLIBCXX_EXPORT_INSTALL_INFO): Adjust quotation so ${gcc_version}
2778         is expanded by the Makefiles, not by configure.
2779         * fragment.am: Set gcc_version.
2780         * libmath/Makefile.am: Likewise.
2781         * configure, Makefile.in, include/Makefile.in, libmath/Makefile.in
2782         * libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in
2783         * testsuite/Makefile.in: Regenerate.
2785 2005-03-16  Paolo Carlini  <pcarlini@suse.de>
2787         * testsuite/20_util/functional/binders.cc: Remove explicit
2788         instantiations for non-weak systems.
2789         * testsuite/20_util/memory/allocator/1.cc: Likewise.
2790         * testsuite/20_util/memory/allocator/10378.cc: Likewise.
2791         * testsuite/20_util/memory/allocator/10416.cc: Likewise.
2792         * testsuite/20_util/memory/allocator/8230.cc: Likewise.
2793         * testsuite/20_util/utility/rel_ops.cc: Likewise.
2794         * testsuite/22_locale/ctype/is/char/2.cc: Likewise.
2795         * testsuite/22_locale/ctype/is/wchar_t/2.cc: Likewise.
2796         * testsuite/23_containers/deque/cons/1.cc: Likewise.
2797         * testsuite/23_containers/deque/cons/2.cc: Likewise.
2798         * testsuite/23_containers/deque/invalidation/1.cc: Likewise.
2799         * testsuite/23_containers/deque/invalidation/2.cc: Likewise.
2800         * testsuite/23_containers/deque/invalidation/3.cc: Likewise.
2801         * testsuite/23_containers/deque/invalidation/4.cc: Likewise.
2802         * testsuite/23_containers/deque/modifiers/swap.cc: Likewise.
2803         * testsuite/23_containers/deque/operators/1.cc: Likewise.
2804         * testsuite/23_containers/list/capacity/1.cc: Likewise.
2805         * testsuite/23_containers/list/cons/1.cc: Likewise.
2806         * testsuite/23_containers/list/cons/2.cc: Likewise.
2807         * testsuite/23_containers/list/cons/3.cc: Likewise.
2808         * testsuite/23_containers/list/cons/4.cc: Likewise.
2809         * testsuite/23_containers/list/cons/5.cc: Likewise.
2810         * testsuite/23_containers/list/cons/6.cc: Likewise.
2811         * testsuite/23_containers/list/cons/7.cc: Likewise.
2812         * testsuite/23_containers/list/cons/8.cc: Likewise.
2813         * testsuite/23_containers/list/cons/9.cc: Likewise.
2814         * testsuite/23_containers/list/invalidation/1.cc: Likewise.
2815         * testsuite/23_containers/list/invalidation/2.cc: Likewise.
2816         * testsuite/23_containers/list/invalidation/3.cc: Likewise.
2817         * testsuite/23_containers/list/invalidation/4.cc: Likewise.
2818         * testsuite/23_containers/list/modifiers/1.cc: Likewise.
2819         * testsuite/23_containers/list/modifiers/2.cc: Likewise.
2820         * testsuite/23_containers/list/modifiers/3.cc: Likewise.
2821         * testsuite/23_containers/list/operators/1.cc: Likewise.
2822         * testsuite/23_containers/list/operators/2.cc: Likewise.
2823         * testsuite/23_containers/list/operators/3.cc: Likewise.
2824         * testsuite/23_containers/list/operators/4.cc: Likewise.
2825         * testsuite/23_containers/map/insert/1.cc: Likewise.
2826         * testsuite/23_containers/map/invalidation/1.cc: Likewise.
2827         * testsuite/23_containers/map/invalidation/2.cc: Likewise.
2828         * testsuite/23_containers/map/modifiers/swap.cc: Likewise.
2829         * testsuite/23_containers/map/operators/1.cc: Likewise.
2830         * testsuite/23_containers/multimap/invalidation/1.cc: Likewise.
2831         * testsuite/23_containers/multimap/invalidation/2.cc: Likewise.
2832         * testsuite/23_containers/multimap/modifiers/swap.cc: Likewise.
2833         * testsuite/23_containers/multiset/insert/1.cc: Likewise.
2834         * testsuite/23_containers/multiset/insert/2.cc: Likewise.
2835         * testsuite/23_containers/multiset/invalidation/1.cc: Likewise.
2836         * testsuite/23_containers/multiset/invalidation/2.cc: Likewise.
2837         * testsuite/23_containers/multiset/modifiers/swap.cc: Likewise.
2838         * testsuite/23_containers/priority_queue/members/7161.cc: Likewise.
2839         * testsuite/23_containers/queue/members/7157.cc: Likewise.
2840         * testsuite/23_containers/set/insert/1.cc: Likewise.
2841         * testsuite/23_containers/set/invalidation/1.cc: Likewise.
2842         * testsuite/23_containers/set/invalidation/2.cc: Likewise.
2843         * testsuite/23_containers/set/modifiers/swap.cc: Likewise.
2844         * testsuite/23_containers/stack/members/7158.cc: Likewise.
2845         * testsuite/23_containers/vector/bool/6886.cc: Likewise.
2846         * testsuite/23_containers/vector/capacity/1.cc: Likewise.
2847         * testsuite/23_containers/vector/capacity/8230.cc: Likewise.
2848         * testsuite/23_containers/vector/cons/1.cc: Likewise.
2849         * testsuite/23_containers/vector/cons/2.cc: Likewise.
2850         * testsuite/23_containers/vector/cons/3.cc: Likewise.
2851         * testsuite/23_containers/vector/cons/6513.cc: Likewise.
2852         * testsuite/23_containers/vector/element_access/1.cc: Likewise.
2853         * testsuite/23_containers/vector/invalidation/1.cc: Likewise.
2854         * testsuite/23_containers/vector/invalidation/2.cc: Likewise.
2855         * testsuite/23_containers/vector/invalidation/3.cc: Likewise.
2856         * testsuite/23_containers/vector/invalidation/4.cc: Likewise.
2857         * testsuite/23_containers/vector/modifiers/1.cc: Likewise.
2858         * testsuite/23_containers/vector/modifiers/2.cc: Likewise.
2859         * testsuite/23_containers/vector/modifiers/swap.cc: Likewise.
2860         * testsuite/23_containers/vector/resize/1.cc: Likewise.
2861         * testsuite/24_iterators/back_insert_iterator.cc: Likewise.
2862         * testsuite/24_iterators/front_insert_iterator.cc: Likewise.
2863         * testsuite/24_iterators/insert_iterator.cc: Likewise.
2864         * testsuite/24_iterators/iterator.cc: Likewise.
2865         * testsuite/25_algorithms/copy/1.cc: Likewise.
2866         * testsuite/25_algorithms/copy/2.cc: Likewise.
2867         * testsuite/25_algorithms/copy/3.cc: Likewise.
2868         * testsuite/25_algorithms/copy/4.cc: Likewise.
2869         * testsuite/25_algorithms/equal.cc: Likewise.
2870         * testsuite/25_algorithms/fill/1.cc: Likewise.
2871         * testsuite/25_algorithms/fill/2.cc: Likewise.
2872         * testsuite/25_algorithms/min_max.cc: Likewise.
2873         * testsuite/25_algorithms/rotate.cc: Likewise.
2874         * testsuite/25_algorithms/unique/1.cc: Likewise.
2875         * testsuite/25_algorithms/unique/2.cc: Likewise.
2876         * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9874.cc: Likewise.
2877         * testsuite/ext/concept_checks.cc: Likewise.
2878         * testsuite/ext/hash_map/1.cc: Likewise.
2879         * testsuite/ext/hash_set/1.cc: Likewise.
2880         * testsuite/ext/rope/1.cc: Likewise.
2881         * testsuite/ext/rope/2.cc: Likewise.
2882         * testsuite/ext/rope/3.cc: Likewise.
2883         * testsuite/thread/pthread1.cc: Likewise.
2884         * testsuite/thread/pthread4.cc: Likewise.
2885         * testsuite/thread/pthread5.cc: Likewise.
2886         * testsuite/thread/pthread6.cc: Likewise.
2887         * testsuite/thread/pthread7-rope.cc: Likewise.
2889 2005-03-15  Zack Weinberg  <zack@codesourcery.com>
2891         * include/Makefile.am (c++config.h): Depend on DATESTAMP from gcc
2892         subdirectory.  Generate #define of __GLIBCXX__ from contents of
2893         that file.
2894         * include/Makefile.in: Regenerate.
2895         * include/bits/c++config: Do not define __GLIBCXX__.
2897 2005-03-15  Paolo Carlini  <pcarlini@suse.de>
2899         PR libstdc++/20352
2900         * include/std/std_complex.h (pow(const complex<_Tp>&,
2901         const _Tp&)): On non-c99 platforms, don't try to compute
2902         log of complex zero.
2904 2005-03-10  Ben Elliston  <bje@au.ibm.com>
2906         * testsuite/22_locale/locale/cons/12658_thread-1.cc: Don't XFAIL
2907         on GNU/Linux.
2909 2005-03-07  Paolo Carlini  <pcarlini@suse.de>
2911         * include/tr1/type_traits (is_polymorphic): Don't forget
2912         the virtual destructor, thus avoiding warnings.
2913         * testsuite/testsuite_tr1.h (class AbstractClass,
2914         class PolymorphicClass): Likewise.
2916 2005-03-07  Paolo Carlini  <pcarlini@suse.de>
2918         * include/std/std_complex.h (pow(const complex<_Tp>&,
2919         const complex<_Tp>&)): Dispatch to either __complex_pow(__x.__rep(),
2920         __y.__rep()) or __complex_pow(__x, __y) depending on the macro
2921         _GLIBCXX_USE_C99_COMPLEX.
2923 2005-03-07  Paolo Carlini  <pcarlini@suse.de>
2925         * include/std/std_fstream.h (basic_fstream<>::open,
2926         basic_ifstream<>::open, basic_ofstream<>::open): Implement the
2927         resolution of DR 409 [Ready], call clear() on success.
2928         * docs/html/ext/howto.html: Add an entry for DR 409.
2929         * docs/html/faq/index.html (4_4): Clarify the new behavior.
2930         * testsuite/27_io/basic_ifstream/open/char/1.cc: Adjust.
2931         * testsuite/27_io/basic_ofstream/open/char/1.cc: Likewise.
2933 2005-03-05  Joseph S. Myers  <joseph@codesourcery.com>
2935         * testsuite/22_locale/collate/compare/wchar_t/2.cc,
2936         testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc,
2937         testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc,
2938         testsuite/22_locale/collate/hash/wchar_t/2.cc,
2939         testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc,
2940         testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc,
2941         testsuite/22_locale/collate/transform/wchar_t/2.cc,
2942         testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc,
2943         testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc:
2944         XFAIL on *-*-hpux11.23.
2946 2005-03-04  Paolo Carlini  <pcarlini@suse.de>
2948         * include/tr1/type_traits: Add is_base_of.
2949         * testsuite/tr1/4_metaprogramming/relationships_between_types/
2950         is_base_of/is_base_of.cc: New.
2951         * testsuite/tr1/4_metaprogramming/relationships_between_types/
2952         is_base_of/typedefs.cc: Likewise.
2954 2005-03-03  Benjamin Kosnik  <bkoz@redhat.com>
2956         * include/tr1/functional: Convert relative path.
2958         * docs/doxygen/user.cfg.in: Add tr1 includes.
2960 2005-03-03  Paolo Carlini  <pcarlini@suse.de>
2962         * include/tr1/type_traits: Implemenet is_polymorphic.
2963         (is_empty): Minor tweaks.
2964         * testsuite/testsuite_tr1.h: Add test types.
2965         * testsuite/tr1/4_metaprogramming/type_properties/
2966         is_polymorphic/is_polymorphic.cc: New.
2967         * testsuite/tr1/4_metaprogramming/type_properties/
2968         is_polymorphic/typedefs.cc: Likewise.
2969         * testsuite/tr1/4_metaprogramming/composite_type_traits/
2970         is_union_or_class/is_union_or_class.cc: Add tests.
2972 2005-03-02  Douglas Gregor  <doug.gregor@gmail.com>
2974         * include/tr1/functional (_Has_result_type): Cleanup.
2975         (_Result_of_impl): Handle member data pointers correctly.
2976         (reference_wrapper): Support invocation.
2977         Move repetition code into new file include/tr1/repeat.h.
2978         * include/tr1/functional_iterate.h (reference_wrapper): Support
2979         invocation.  Cleanup long lines.
2980         * include/tr1/ref_wrap_iterate.h (reference_wrapper): Declare
2981         invocation operators.
2982         * include/tr1/repeat.h: Code repetition header.
2983         * include/Makefile.am: Add ref_wrap_iterate.h, repeat.h.
2984         * include/Makefile.in: Add ref_wrap_iterate.h, repeat.h.
2985         * testsuite/tr1/3_function_objects/reference_wrapper/invoke.cc:
2986         New test of reference_wrapper invocation.
2987         * testsuite/tr1/3_function_objects/reference_wrapper/typedefs.cc:
2988         New test of reference_wrapper typedefs and base classes.
2989         * testsuite/tr1/3_function_objects/result_of.cc: Trivial cleanup
2990         (e-mail address).
2992 2005-03-02  Douglas Gregor  <doug.gregor@gmail.com>
2994         * include/tr1/function (result_of): New class template.
2995         * include/tr1/functional/iterator.h: Implementation of TR1
2996         result_of.
2997         * testsuite/tr1/3_function_objects/result_of.cc: New test
2999 2005-03-01  Vladimir Merzliakov  <wanderer@rsu.ru>
3001         * testsuite/26_numerics/cmath/c99_classification_macros_c.cc: Tweak.
3003 2005-02-28  Benjamin Kosnik  <bkoz@redhat.com>
3005         * testsuite/tr1/2_general_utilities/memory/shared_ptr/
3006         cons/auto_ptr_neg.cc: Correct line numbers.
3008         * testsuite/testsuite_abi.cc: Add CXXABI_1.3.1.
3010 2005-02-28  Jonathan Wakely  <redi@gcc.gnu.org>
3012         * include/tr1/memory: Replace checked_deleter with (unchecked)
3013         _Sp_deleter as GCC warns about delete on incomplete types anyway.
3015 2005-02-28  Jonathan Wakely  <redi@gcc.gnu.org>
3017         * include/tr1/memory: Add missing "inline" to __throw_bad_weak_ptr.
3019 2005-02-28  Hans-Peter Nilsson  <hp@axis.com>
3021         PR target/19065
3022         * config/cpu/cris/atomicity.h (__exchange_and_add): In asm, use
3023         'Q' constraint, not 'm'.
3025 2005-02-26  Earl Chew  <earl_chew@agilent.com>
3026             Christopher Jefferson  <chris@bubblescope.net>
3028         * include/bits/stl_tree.h (_Rb_tree<>::_M_insert): Don't leak
3029         memory if _M_key_compare throws.
3031 2005-02-25  Paolo Carlini  <pcarlini@suse.de>
3033         * include/tr1/type_traits: Add the trivial is_union and is_class;
3034         add the __is_union_or_class extension.
3035         (is_enum, is_empty): Use the latter.
3036         * include/tr1/type_traits_fwd.h: Add __is_union_or_class.
3037         * testsuite/testsuite_tr1.h: Add UnionType; trivial formatting
3038         fixes.
3039         * testsuite/tr1/4_metaprogramming/composite_type_traits/
3040         is_union_or_class/is_union_or_class.cc: New.
3041         * testsuite/tr1/4_metaprogramming/composite_type_traits/
3042         is_union_or_class/typedefs.cc: Likewise.
3044 2005-02-24  Benjamin Kosnik  <bkoz@redhat.com>
3046         * testsuite/tr1/6_containers/unordered/instantiate/hash.cc: Guard
3047         wchar_t use with _GLIBCXX_USE_WCHAR_T.
3049 2005-02-24  Benjamin Kosnik  <bkoz@redhat.com>
3051         * include/std/std_complex.h: _GLIBCXX_USE_C99_COMPLEX_MATH to
3052         _GLIBCXX_USE_C99_COMPLEX.
3053         * acinclude.m4: Same.
3054         * acconfig.h: Same.
3055         * configure: Regenerate.
3056         * config.h.in: Same.
3058 2005-02-24  Paolo Carlini  <pcarlini@suse.de>
3060         * include/tr1/functional (mem_fn): Avoid _T, badname on
3061         Darwin.
3063 2005-02-23  Douglas Gregor  <doug.gregor@gmail.com>
3065         * include/tr1/functional (function): New class template.
3066         (mem_fn): New function template.
3067         Implementations of TR1 function and mem_fn facilities.
3068         * include/tr1/functional_iterate.h: Implementations of TR1
3069         function and mem_fn facilities.
3070         * testsuite/tr1/3_function_objects/function/1.cc: New
3071         test of std::tr1::function.
3072         * testsuite/tr1/3_function_objects/function/2.cc: New
3073         test of std::tr1::function.
3074         * testsuite/tr1/3_function_objects/function/3.cc: New
3075         test of std::tr1::function.
3076         * testsuite/tr1/3_function_objects/function/4.cc: New
3077         test of std::tr1::function.
3078         * testsuite/tr1/3_function_objects/function/5.cc: New
3079         test of std::tr1::function.
3080         * testsuite/tr1/3_function_objects/function/6.cc: New
3081         test of std::tr1::function.
3082         * testsuite/tr1/3_function_objects/function/7.cc: New
3083         test of std::tr1::function.
3084         * testsuite/tr1/3_function_objects/function/8.cc: New
3085         test of std::tr1::function.
3086         * testsuite/tr1/3_function_objects/function/9.cc: New
3087         test of std::tr1::function.
3088         * testsuite/tr1/3_function_objects/mem_fn.cc: New test of
3089         std::tr1::mem_fn.
3091 2005-02-23  Paolo Carlini  <pcarlini@suse.de>
3093         * include/tr1/type_traits: Implement is_convertible.
3094         * testsuite/tr1/4_metaprogramming/relationships_between_types/
3095         is_convertible/is_convertible.cc: New.
3096         * testsuite/tr1/4_metaprogramming/relationships_between_types/
3097         is_convertible/typedefs.cc: Likewise.
3098         * testsuite/testsuite_tr1.h: Add class DerivedType.
3100         * include/tr1/type_traits (is_function): Don't mistake references
3101         to function types for function types.
3102         * testsuite/tr1/4_metaprogramming/primary_type_categories/
3103         is_function/is_function.cc: Add testcase.
3105 2005-02-22  Benjamin Kosnik  <bkoz@redhat.com>
3107         * scripts/check_performance: Tweaks.
3109         * testsuite/27_io/basic_ostream/inserters_other/wchar_t/2.cc: Name
3110         output file with extension that clean rules can find.
3112 2005-02-22  Richard Henderson  <rth@redhat.com>
3114         PR libstdc++/20091
3115         * libsupc++/eh_catch.cc (__cxa_begin_catch): Don't special case
3116         decrement of uncaughtExceptions for rethrow.
3118 2005-02-22  Paolo Carlini  <pcarlini@suse.de>
3120         * include/tr1/functional: Fix License to GPL with exception.
3121         * include/tr1/hashtable: Likewise.
3122         * include/tr1/tuple: Likewise.
3123         * include/tr1/type_traits: Likewise.
3124         * include/tr1/type_traits_fwd.h: Likewise.
3125         * include/tr1/unordered_map: Likewise.
3126         * include/tr1/unordered_set: Likewise.
3127         * include/tr1/utility: Likewise.
3129 2005-02-22  Paolo Carlini  <pcarlini@suse.de>
3131         * testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/
3132         auto_ptr_neg.cc: Add missing dg-do compile directive.
3133         * testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/
3134         auto_ptr_rvalue_neg.cc: Likewise.
3135         * testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/
3136         shared_ptr_neg.cc: Likewise.
3137         * testsuite/tr1/2_general_utilities/memory/shared_ptr/cons/
3138         auto_ptr_neg.cc: Likewise.
3139         * testsuite/tr1/2_general_utilities/memory/shared_ptr/modifiers/
3140         reset_neg.cc: Likewise.
3141         * testsuite/tr1/2_general_utilities/memory/shared_ptr/modifiers/
3142         swap_neg.cc: Likewise.
3144 2005-02-22  Jonathan Wakely  <redi@gcc.gnu.org>
3146         * include/Makefile.am, include/Makefile.in: Fix accidental extra
3147         change from previous commit.
3149 2005-02-21  Jonathan Wakely  <redi@gcc.gnu.org>
3151         * include/tr1/memory: New file.
3152         * include/Makefile.am, include/Makefile.in: Add new TR1 header.
3153         * testsuite/tr1/2_general_utilities/memory/
3154         enable_shared_from_this/not_shared.cc: New test.
3155         * testsuite/tr1/2_general_utilities/memory/
3156         enable_shared_from_this/not_shared2.cc: New test.
3157         * testsuite/tr1/2_general_utilities/memory/
3158         enable_shared_from_this/not_shared3.cc: New test.
3159         * testsuite/tr1/2_general_utilities/memory/
3160         enable_shared_from_this/shared.cc: New test.
3161         * testsuite/tr1/2_general_utilities/memory/
3162         enable_shared_from_this/still_shared.cc: New test.
3163         * testsuite/tr1/2_general_utilities/memory/
3164         shared_ptr/assign/assign.cc: New test.
3165         * testsuite/tr1/2_general_utilities/memory/
3166         shared_ptr/assign/auto_ptr.cc: New test.
3167         * testsuite/tr1/2_general_utilities/memory/
3168         shared_ptr/assign/auto_ptr_neg.cc: New test.
3169         * testsuite/tr1/2_general_utilities/memory/
3170         shared_ptr/assign/auto_ptr_rvalue_neg.cc: New test.
3171         * testsuite/tr1/2_general_utilities/memory/
3172         shared_ptr/assign/shared_ptr.cc: New test.
3173         * testsuite/tr1/2_general_utilities/memory/
3174         shared_ptr/assign/shared_ptr_neg.cc: New test.
3175         * testsuite/tr1/2_general_utilities/memory/
3176         shared_ptr/comparison/cmp.cc: New test.
3177         * testsuite/tr1/2_general_utilities/memory/
3178         shared_ptr/cons/auto_ptr.cc: New test.
3179         * testsuite/tr1/2_general_utilities/memory/
3180         shared_ptr/cons/auto_ptr_neg.cc: New test.
3181         * testsuite/tr1/2_general_utilities/memory/
3182         shared_ptr/cons/copy.cc: New test.
3183         * testsuite/tr1/2_general_utilities/memory/
3184         shared_ptr/cons/default.cc: New test.
3185         * testsuite/tr1/2_general_utilities/memory/
3186         shared_ptr/cons/pointer.cc: New test.
3187         * testsuite/tr1/2_general_utilities/memory/
3188         shared_ptr/cons/weak_ptr.cc: New test.
3189         * testsuite/tr1/2_general_utilities/memory/
3190         shared_ptr/cons/weak_ptr_expired.cc: New test.
3191         * testsuite/tr1/2_general_utilities/memory/
3192         shared_ptr/dest/dest.cc: New test.
3193         * testsuite/tr1/2_general_utilities/memory/
3194         shared_ptr/misc/io.cc: New test.
3195         * testsuite/tr1/2_general_utilities/memory/
3196         shared_ptr/misc/swap.cc: New test.
3197         * testsuite/tr1/2_general_utilities/memory/
3198         shared_ptr/modifiers/reset.cc: New test.
3199         * testsuite/tr1/2_general_utilities/memory/
3200         shared_ptr/modifiers/reset_neg.cc: New test.
3201         * testsuite/tr1/2_general_utilities/memory/
3202         shared_ptr/modifiers/swap.cc: New test.
3203         * testsuite/tr1/2_general_utilities/memory/
3204         shared_ptr/modifiers/swap_neg.cc: New test.
3205         * testsuite/tr1/2_general_utilities/memory/
3206         shared_ptr/observers/bool_conv.cc: New test.
3207         * testsuite/tr1/2_general_utilities/memory/
3208         shared_ptr/observers/get.cc: New test.
3209         * testsuite/tr1/2_general_utilities/memory/
3210         shared_ptr/observers/unique.cc: New test.
3211         * testsuite/tr1/2_general_utilities/memory/
3212         shared_ptr/observers/use_count.cc: New test.
3214 2005-02-21  Paolo Carlini  <pcarlini@suse.de>
3216         * include/tr1/type_traits (is_member_function_pointer):
3217         Remove ugly workaround for c++/19076.
3219 2005-02-21  Paolo Carlini  <pcarlini@suse.de>
3221         * include/bits/basic_string.tcc (_Rep::_M_destroy): Don't
3222         check for this == &_S_empty_rep, it's always false, here.
3224 2005-02-19  Matt Austern  <austern@gmail.com>
3226         * include/tr1/functional (tr1_hashtable_define_trivial_hash): Make
3227         hash<T>::operator() a const member function for T a fundamental type
3228         * include/tr1/hashtable (extract1st::operator()): Declare const.
3229         (hash_code_base): Declare all member functions const
3230         (hashtable::find): fix call to this->bucket_count()
3231         (hashtable::count): Likewise.
3232         (hashtable::equal_range): m_incr_bucket applies to iterator, not node.
3233         * testsuite/tr1/6_containers/unordered/find/set1.cc: New test.
3234         * testsuite/tr1/6_containers/unordered/find/map1.cc: New test.
3235         * testsuite/tr1/6_containers/unordered/find/multimap1.cc: New test.
3236         * testsuite/tr1/6_containers/unordered/find/multiset1.cc: New test.
3238 2005-02-19  Hans-Peter Nilsson  <hp@axis.com>
3240         PR libstdc++/20071
3241         * include/tr1/functional (hash<std::wstring>): Wrap in #ifdef
3242         _GLIBCXX_USE_WCHAR_T.
3244 2005-02-18  Richard Henderson  <rth@redhat.com>
3246         PR libstdc++/10606
3247         * config/linker-map.gnu (CXXABI_1.3.1): Add __cxa_get_exception_ptr.
3248         * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Increment
3249         uncaughtExceptions here instead of ...
3250         * libsupc++/eh_throw.cc (__cxa_throw) ... here.
3251         (__cxa_rethrow): Increment uncaughtExceptions here instead of ...
3252         * libsupc++/eh_catch.cc (__cxa_end_catch): ... here.
3253         (__cxa_get_exception_ptr): New.
3254         * libsupc++/unwind-cxx.h (__cxa_get_exception_ptr): Declare.
3256 2005-02-18  Matt Austern  <austern@apple.com>
3258         * testsuite/tr1/6_containers/unordered/insert/array_syntax.cc: Fix
3259         test case to use assignment instead of ==
3260         * testsuite/tr1/6_containers/unordered/insert/map_range.cc: New test.
3261         * testsuite/tr1/6_containers/unordered/insert/multimap_range.cc: New test.
3262         * testsuite/tr1/6_containers/unordered/insert/multiset_range.cc: New test.
3263         * testsuite/tr1/6_containers/unordered/insert/set_range.cc: New test.
3265 2005-02-18  Eric Botcazou  <ebotcazou@libertysurf.fr>
3267         * testsuite/thread/pthread1.cc: Do not invoke pthread_setconcurrency
3268         on Solaris 2.6 and below.
3269         * testsuite/thread/pthread2.cc: Likewise.
3270         * testsuite/thread/pthread3.cc: Likewise.
3271         * testsuite/thread/pthread4.cc: Likewise.
3272         * testsuite/thread/pthread5.cc: Likewise.
3273         * testsuite/thread/pthread6.cc: Likewise.
3274         * testsuite/thread/pthread7-rope.cc: Likewise.
3276 2005-02-17  Matt Austern  <austern@apple.com>
3278         * include/tr1/functional (hash): New function object.
3279         * include/tr1/hashtable: New file.
3280         * include/tr1/unordered_set: New file.
3281         * include/tr1/unordered_map: New file.
3282         * include/Makefile.am: Add three new TR1 headers.
3283         * include/Makefile.in: Likewise.
3284         * testsuite/tr1/6_containers/unordered/insert/array_syntax.cc: New test.
3285         * testsuite/tr1/6_containers/unordered/insert/map_single.cc: New test.
3286         * testsuite/tr1/6_containers/unordered/insert/multimap_single.cc: New test.
3287         * testsuite/tr1/6_containers/unordered/insert/multiset_single.cc: New test.
3288         * testsuite/tr1/6_containers/unordered/insert/set_single.cc: New test.
3289         * testsuite/tr1/6_containers/unordered/instantiate/hash.cc: New test.
3290         * testsuite/tr1/6_containers/unordered/instantiate/map.cc: New test.
3291         * testsuite/tr1/6_containers/unordered/instantiate/multimap.cc: New test.
3292         * testsuite/tr1/6_containers/unordered/instantiate/multiset.cc: New test.
3293         * testsuite/tr1/6_containers/unordered/instantiate/set.cc: New test.
3295 2005-02-16  Paolo Carlini  <pcarlini@suse.de>
3297         * testsuite/23_containers/set/modifiers/16728.cc:
3298         Remove redundant include <testsuite_performance.h>.
3300 2005-02-16  Paolo Carlini  <pcarlini@suse.de>
3302         PR libstdc++/19829
3303         * testsuite/21_strings/basic_string/find/char/3.cc: Fix the test
3304         at line #66 to not access str_lit01 beyond its end.
3305         * testsuite/21_strings/basic_string/find/wchar_t/3.cc: Likewise.
3307 2005-02-15  Paolo Carlini  <pcarlini@suse.de>
3308             Jon Grimm  <jgrimm2@us.ibm.com>
3310         PR libstdc++/19955
3311         * include/bits/locale_facets.h (ctype<char>::_M_narrow_init()):
3312         Fix the logic setting _M_narrow_ok: first check whether the
3313         transformation is trivial with a dflt == 0, then deal with the
3314         special case of zero.
3315         * testsuite/22_locale/ctype/narrow/char/19955.cc: New.
3317         * include/bits/locale_facets.h (ctype<char>::_M_widen_init()):
3318         Tweak consistently to use memcmp; minor formatting fixes.
3320 2005-02-15  Jakub Jelinek  <jakub@redhat.com>
3322         PR libstdc++/19946
3323         * testsuite/demangle/abi_examples/01.cc (main): Adjust for 2005-02-13
3324         demangler change.
3325         * testsuite/demangle/abi_examples/02.cc (main): Likewise.
3327 2005-02-13  Richard Guenther  <rguenth@gcc.gnu.org>
3328             Paolo Carlini  <pcarlini@suse.de>
3330         PR libstdc++/11706
3331         * include/c_std/std_cmath.h (pow): Use __builtin_powi[lf]
3332         for integer overloads.
3334         * testsuite/26_numerics/cmath/powi.cc: New.
3336 2005-02-11  Janis Johnson  <janis187@us.ibm.com>
3338         * testsuite/26_numerics/complex/13450.cc: Fix XFAIL selector.
3339         * testsuite/26_numerics/complex/complex_value.cc: Ditto.
3340         * testsuite/26_numerics/complex/pow.cc: Ditto.
3342         * testsuite/lib/libstdc++.exp: Load target-supports-dg.exp.
3343         * testsuite/26_numerics/complex/13450.cc: XFAIL for broken_cplxf_arg.
3344         * testsuite/26_numerics/complex/complex_value.cc: Ditto.
3345         * testsuite/26_numerics/complex/pow.cc: Ditto.
3347 2005-02-09  Mike Stump  <mrs@apple.com>
3349         * libsupc++/del_op.cc: Don't include cstdlib when !_GLIBCXX_HOSTED.
3351 2005-02-09  Janis Johnson  <janis187@us.ibm.com>
3353         * testsuite/ext/array_allocator/2.cc: XFAIL for powerpc*-*-linux*.
3355 2005-02-08  Mark Mitchell  <mark@codesourcery.com>
3357         * config/linker-map.gnu (GLIBCXX_3.4): Add _ZNSdC* and _ZNSdD*.
3359 2005-02-07  Loren J. Rittle  <ljrittle@acm.org>
3361         * testsuite/27_io/basic_istream/getline/wchar_t/5.cc: Make buf static.
3362         * testsuite/27_io/basic_stringbuf/setbuf/wchar_t/4.cc: Make ref and
3363         src static.
3365 2005-02-02  Brad Spencer  <spencer@infointeractive.com>
3367         * debug.html: Fix broken tags.
3368         * documentation.html: Same.
3370 2005-02-02  Andreas Jaeger  <aj@suse.de>
3372         * testsuite/lib/libstdc++.exp: Revert Geoffrey Keating's patch
3373         from 2005-01-28.
3374         * testsuite/Makefile.am: Likewise.
3375         * testsuite/Makefile.in: Likewise.
3377 2005-02-01  Paolo Carlini  <pcarlini@suse.de>
3379         * include/bits/cpp_type_traits.h: Rename _M_type fields to
3380         __value, except for __enable_if, _M_type -> __type, consistently
3381         with the other traits.
3382         * include/bits/stl_algobase.h: Tweak consistently.
3383         * include/bits/stl_tree.h: Likewise.
3384         * include/bits/valarray_array.h: Likewise.
3385         * include/c_std/std_cmath.h: Likewise.
3386         * include/debug/safe_iterator.h: Likewise.
3387         * include/std/std_complex.h: Likewise.
3389 2005-01-31  Brad Spencer  <spencer@infointeractive.com>
3391         * crossconfig.m4: Repair Solaris cross bits for strtold and strtof.
3392         * configure: Regenerated.
3394 2005-01-31  Mark Mitchell  <mark@codesourcery.com>
3396         * include/std/std_limits.h (numeric_limits<float>::has_denorm):
3397         Add required cast.
3398         (numeric_limits<double>::has_denorm): Likewise.
3399         (numeric_limits<long double>::has_denorm): Likewise.
3401 2005-01-31  Paolo Carlini  <pcarlini@suse.de>
3402             Gabriel Dos Reis  <gdr@integrable-solutions.net>
3404         * include/bits/cpp_type_traits.h: Add types to the structs thus
3405         making type_traits.h redundant; exploit new __truth_type and
3406         __traitor helpers.
3407         * include/bits/type_traits.h: Remove.
3408         * include/Makefile.am: Update.
3409         * include/Makefile.in: Regenerate.
3410         * include/backward/tempbuf.h: Include cpp_type_traits.h instead.
3411         * include/bits/basic_string.h (replace(iterator, iterator,
3412         _InputIterator, _InputIterator), _S_construct(_InIterator,
3413         _InIterator, const _Alloc&)): Use __is_integer instead.
3414         * include/bits/stl_bvector.h (vector(_InputIterator,
3415         _InputIterator, const allocator_type&), assign(_InputIterator,
3416         _InputIterator), insert(iterator, _InputIterator, _InputIterator)):
3417         Likewise.
3418         * include/bits/stl_construct.h (_Destroy(_ForwardIterator,
3419         _ForwardIterator)): Use __is_scalar.
3420         * include/bits/stl_deque.h (deque(_InputIterator, _InputIterator,
3421         const allocator_type&), assign(_InputIterator, _InputIterator),
3422         insert(iterator, _InputIterator, _InputIterator)): Use __is_integer.
3423         * include/bits/stl_list.h (assign(_InputIterator, _InputIterator),
3424         insert(iterator, _InputIterator, _InputIterator)): Likewise.
3425         * include/bits/stl_tempbuf.h (_Temporary_buffer(_ForwardIterator,
3426         _ForwardIterator)): Use __is_scalar.
3427         * include/bits/stl_uninitialized.h (uninitialized_copy(_InputIterator,
3428         _InputIterator, _ForwardIterator), uninitialized_fill(_ForwardIterator,
3429         _ForwardIterator, const _Tp&), uninitialized_fill_n(_ForwardIterator,
3430         _Size, const _Tp&)): Likewise.
3431         * include/bits/stl_vector.h (vector(_InputIterator, _InputIterator,
3432         const allocator_type&), assign(_InputIterator, _InputIterator),
3433         insert(iterator, _InputIterator, _InputIterator)): Use __is_integer.
3434         * include/debug/debug.h (__valid_range(const _InputIterator&,
3435         const _InputIterator&)): Use __is_integer.
3436         * include/ext/slist (assign(_InputIterator, _InputIterator)): Likewise.
3437         * include/std/std_string.h: Include cpp_type_traits.h instead.
3439 2005-01-30  Paolo Carlini  <pcarlini@suse.de>
3441         PR libstdc++/19642
3442         * config/locale/generic/c_locale.h (__convert_from_v): Switch only
3443         LC_NUMERIC, and only when actually != "C".
3445 2005-01-28  Paolo Carlini  <pcarlini@suse.de>
3447         * include/tr1/type_traits (is_function): Minor consistency tweaks.
3449 2005-01-28  Geoffrey Keating  <geoffk@apple.com>
3451         * testsuite/lib/libstdc++.exp (libstdc++_init): Search the path
3452         for the compiler.  Don't set cxxflags.
3453         (v3_target_compile): Search for libv3test.a relative to $objdir.
3454         (lsearch_all_inline): New.
3455         (lsearch_all_inline_not): New.
3456         (v3-list-tests): Rewrite to not need generated files.
3457         * testsuite/Makefile.am (IGNORE_WCHAR_T): New.
3458         (IGNORE_THREAD): New.
3459         (TESTS_TO_IGNORE): New.
3460         (site.exp): Set tests_to_ignore, cxxflags.
3461         * aclocal.m4: Regenerate.
3462         * Makefile.in: Regenerate.
3463         * libmath/Makefile.in: Likewise.
3464         * libsupc++/Makefile.in: Likewise.
3465         * po/Makefile.in: Likewise.
3466         * src/Makefile.in: Likewise.
3467         * testsuite/Makefile.in: Likewise.
3469 2005-01-28  Paolo Carlini  <pcarlini@suse.de>
3471         * include/tr1/type_traits: Implement is_empty.
3472         * testsuite/tr1/4_metaprogramming/type_properties/is_empty/
3473         is_empty.cc: New.
3474         * testsuite/tr1/4_metaprogramming/type_properties/is_empty/
3475         typedefs.cc: Likewise.
3477         * include/tr1/type_traits (__is_abstract_helper): Simplify a bit.
3479 2005-01-28  Paolo Carlini  <pcarlini@suse.de>
3481         * include/tr1/type_traits: Implement is_abstract, by exploiting the
3482         resolution of DR core/337.
3483         * testsuite/testsuite_tr1.h: Add AbstractClass.
3484         * testsuite/tr1/4_metaprogramming/type_properties/is_abstract/
3485         is_abstract.cc: New.
3486         * testsuite/tr1/4_metaprogramming/type_properties/is_abstract/
3487         typedefs.cc: Likewise.
3489         * include/tr1/type_traits (is_function): Rewrite, use the conversion
3490         F& -> F* instead, thus avoiding problems with abstract classes.
3491         * testsuite/tr1/4_metaprogramming/primary_type_categories/
3492         is_function/is_function.cc: Add a test for tricky AbstractClass.
3494 2005-01-26  Paolo Carlini  <pcarlini@suse.de>
3496         * include/ext/mt_allocator.h
3497         (struct __per_type_pool_policy<,, false>::_S_get_pool,
3498         struct __per_type_pool_policy<,, true>::_S_get_pool): Scale
3499         _M_chunk_size too with sizeof(_Tp), otherwise the allocator
3500         breaks down as soon as sizeof(_Tp) >~ _S_chunk_size / 128;
3501         reduce to 64 the multiplier for _M_max_bytes (safer wrt
3502         _Binmap_type being a short); trivial reformattings.
3503         * testsuite/ext/mt_allocator/check_allocate_big_per_type.cc: New.
3505 2005-01-26  Paolo Carlini  <pcarlini@suse.de>
3507         * acinclude.m4 ([GLIBCXX_ENABLE_C99]): Add ac_c99_complex
3508         to the final test for enable_c99, thus robustifying it; remove
3509         duplicate final test on ac_99_math.
3510         * configure: Regenerate.
3512         * include/std/std_complex.h: Remove usages of the dead
3513         _GLIBCXX_BUGGY_COMPLEX macro.
3515         * testsuite/26_numerics/cmath/19322.cc: Protect with
3516         _GLIBCXX_USE_C99_MATH instead of the stronger _GLIBCXX_USE_C99,
3517         since only C99 math facilities are involved.
3518         * testsuite/26_numerics/cmath/c99_classification_macros_c++.cc:
3519         Likewise.
3521 2005-01-25  Loren J. Rittle  <ljrittle@acm.org>
3523         * acinclude.m4 (GLIBCXX_ENABLE_CLOCALE): Map FreeBSD to darwin
3524         instead of generic.  Change autoconf report to "darwin or freebsd".
3525         * configure: Regenerate.
3526         * config/os/bsd/freebsd/ctype_inline.h (ctype<wchar_t>::do_is): Add.
3527         (ctype<wchar_t>::do_scan_is): Likewise.
3528         (ctype<wchar_t>::do_scan_not): Likewise.
3530 2005-01-25  Benjamin Kosnik  <bkoz@redhat.com>
3532         * acinclude.m4 (GLIBCXX_ENABLE_C99): Test for complex math
3533         functions, and enable _GLIBCXX_USE_C99_COMPLEX_MATH if they exist.
3534         * acconfig.h: Add _GLIBCXX_USE_C99_COMPLEX_MATH.
3535         * config.h.in: Regenerate.
3536         * configure: Regenerate.
3537         * include/std/std_complex.h: Protect complex builtins with
3538         _GLIBCXX_USE_C99_COMPLEX_MATH.
3540 2005-01-24  Paolo Carlini  <pcarlini@suse.de>
3542         * include/tr1/type_traits: Implement is_signed and is_unsigned.
3543         * testsuite/tr1/4_metaprogramming/type_properties/
3544         is_signed/is_signed.cc: New.
3545         * testsuite/tr1/4_metaprogramming/type_properties/
3546         is_signed/typedefs.cc: Likewise.
3547         * testsuite/tr1/4_metaprogramming/type_properties/
3548         is_unsigned/is_unsigned.cc: Likewise.
3549         * testsuite/tr1/4_metaprogramming/type_properties/
3550         is_unsigned/typedefs.cc: Likewise.
3552 2005-01-23  Paolo Carlini  <pcarlini@suse.de>
3554         * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 34.
3556 2005-01-23  Paolo Carlini  <pcarlini@suse.de>
3558         * testsuite/27_io/basic_ostream/cons/wchar_t/9827.cc: New.
3559         * testsuite/27_io/basic_ostream/endl/wchar_t/1.cc: Likewise.
3560         * testsuite/27_io/basic_ostream/ends/wchar_t/1.cc: Likewise.
3561         * testsuite/27_io/basic_ostream/ends/wchar_t/2.cc: Likewise.
3562         * testsuite/27_io/basic_ostream/exceptions/wchar_t/9561.cc: Likewise.
3563         * testsuite/27_io/basic_ostream/flush/wchar_t/1.cc: Likewise.
3564         * testsuite/27_io/basic_ostream/flush/wchar_t/2.cc: Likewise.
3565         * testsuite/27_io/basic_ostream/flush/wchar_t/
3566         exceptions_badbit_throw.cc: Likewise.
3567         * testsuite/27_io/basic_ostream/inserters_arithmetic/
3568         wchar_t/2.cc: Likewise.
3569         * testsuite/27_io/basic_ostream/inserters_arithmetic/
3570         wchar_t/3.cc: Likewise.
3571         * testsuite/27_io/basic_ostream/inserters_arithmetic/
3572         wchar_t/4.cc: Likewise.
3573         * testsuite/27_io/basic_ostream/inserters_arithmetic/
3574         wchar_t/4402.cc: Likewise.
3575         * testsuite/27_io/basic_ostream/inserters_arithmetic/
3576         wchar_t/5.cc: Likewise.
3577         * testsuite/27_io/basic_ostream/inserters_arithmetic/
3578         wchar_t/6.cc: Likewise.
3579         * testsuite/27_io/basic_ostream/inserters_arithmetic/
3580         wchar_t/9555-oa.cc: Likewise.
3581         * testsuite/27_io/basic_ostream/inserters_arithmetic/
3582         wchar_t/exceptions_badbit_throw.cc: Likewise.
3583         * testsuite/27_io/basic_ostream/inserters_arithmetic/
3584         wchar_t/exceptions_failbit_throw.cc: Likewise.
3585         * testsuite/27_io/basic_ostream/inserters_character/
3586         wchar_t/1.cc: Likewise.
3587         * testsuite/27_io/basic_ostream/inserters_character/
3588         wchar_t/2.cc: Likewise.
3589         * testsuite/27_io/basic_ostream/inserters_character/
3590         wchar_t/3.cc: Likewise.
3591         * testsuite/27_io/basic_ostream/inserters_character/
3592         wchar_t/4.cc: Likewise.
3593         * testsuite/27_io/basic_ostream/inserters_character/
3594         wchar_t/5.cc: Likewise.
3595         * testsuite/27_io/basic_ostream/inserters_character/
3596         wchar_t/6.cc: Likewise.
3597         * testsuite/27_io/basic_ostream/inserters_character/
3598         wchar_t/9555-oc.cc: Likewise.
3599         * testsuite/27_io/basic_ostream/inserters_other/
3600         wchar_t/1.cc: Likewise.
3601         * testsuite/27_io/basic_ostream/inserters_other/
3602         wchar_t/2.cc: Likewise.
3603         * testsuite/27_io/basic_ostream/inserters_other/
3604         wchar_t/3.cc: Likewise.
3605         * testsuite/27_io/basic_ostream/inserters_other/
3606         wchar_t/4.cc: Likewise.
3607         * testsuite/27_io/basic_ostream/inserters_other/
3608         wchar_t/5.cc: Likewise.
3609         * testsuite/27_io/basic_ostream/inserters_other/
3610         wchar_t/9318-out.cc: Likewise.
3611         * testsuite/27_io/basic_ostream/inserters_other/
3612         wchar_t/9424-out.cc: Likewise.
3613         * testsuite/27_io/basic_ostream/inserters_other/
3614         wchar_t/9555-oo.cc: Likewise.
3615         * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
3616         error_failbit.cc: Likewise.
3617         * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
3618         exceptions_badbit_throw.cc: Likewise.
3619         * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
3620         exceptions_failbit_throw.cc: Likewise.
3621         * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
3622         exceptions_null.cc: Likewise.
3623         * testsuite/27_io/basic_ostream/put/char/1.cc: Likewise.
3624         * testsuite/27_io/basic_ostream/put/wchar_t/1.cc: Likewise.
3625         * testsuite/27_io/basic_ostream/seekp/char/
3626         exceptions_badbit_throw.cc: Likewise.
3627         * testsuite/27_io/basic_ostream/seekp/wchar_t/
3628         2346-fstream.cc: Likewise.
3629         * testsuite/27_io/basic_ostream/seekp/wchar_t/
3630         2346-sstream.cc: Likewise.
3631         * testsuite/27_io/basic_ostream/seekp/wchar_t/
3632         exceptions_badbit_throw.cc: Likewise.
3633         * testsuite/27_io/basic_ostream/sentry/wchar_t/1.cc: Likewise.
3634         * testsuite/27_io/basic_ostream/sentry/wchar_t/2.cc: Likewise.
3635         * testsuite/27_io/basic_ostream/tellp/wchar_t/1.cc: Likewise.
3636         * testsuite/27_io/basic_ostream/tellp/wchar_t/2.cc: Likewise.
3637         * testsuite/27_io/basic_ostream/tellp/wchar_t/
3638         exceptions_badbit_throw.cc: Likewise.
3639         * testsuite/27_io/basic_ostream/write/wchar_t/1.cc: Likewise.
3641         * testsuite/data/wostream_inserter_char-1.tst: Likewise.
3642         * testsuite/data/wostream_inserter_char-1.txt: Likewise.
3643         * testsuite/data/wostream_inserter_other-1.tst: Likewise.
3644         * testsuite/data/wostream_inserter_other-2.tst: Likewise.
3645         * testsuite/data/wostream_seeks-1.tst: Likewise.
3647         * testsuite/27_io/basic_ostream/endl/char/1.cc: Minor tweaks.
3648         * testsuite/27_io/basic_ostream/ends/char/1.cc: Likewise.
3649         * testsuite/27_io/basic_ostream/exceptions/char/9561.cc: Likewise.
3650         * testsuite/27_io/basic_ostream/flush/char/1.cc: Likewise.
3651         * testsuite/27_io/basic_ostream/flush/char/2.cc: Likewise.
3652         * testsuite/27_io/basic_ostream/flush/char/
3653         exceptions_badbit_throw.cc: Likewise.
3654         * testsuite/27_io/basic_ostream/inserters_arithmetic/
3655         char/2.cc: Likewise.
3656         * testsuite/27_io/basic_ostream/inserters_arithmetic/
3657         char/3.cc: Likewise.
3658         * testsuite/27_io/basic_ostream/inserters_arithmetic/
3659         char/4.cc: Likewise.
3660         * testsuite/27_io/basic_ostream/inserters_arithmetic/
3661         char/4402.cc: Likewise.
3662         * testsuite/27_io/basic_ostream/inserters_arithmetic/
3663         char/5.cc: Likewise.
3664         * testsuite/27_io/basic_ostream/inserters_arithmetic/
3665         char/6.cc: Likewise.
3666         * testsuite/27_io/basic_ostream/inserters_character/
3667         char/4.cc: Likewise.
3668         * testsuite/27_io/basic_ostream/inserters_other/char/
3669         2.cc: Likewise.
3670         * testsuite/27_io/basic_ostream/inserters_other/char/
3671         5.cc: Likewise.
3672         * testsuite/27_io/basic_ostream/inserters_other/char/
3673         error_failbit.cc: Likewise.
3674         * testsuite/27_io/basic_ostream/inserters_other/char/
3675         exceptions_badbit_throw.cc: Likewise.
3676         * testsuite/27_io/basic_ostream/inserters_other/char/
3677         exceptions_failbit_throw.cc: Likewise.
3678         * testsuite/27_io/basic_ostream/inserters_other/char/
3679         exceptions_null.cc: Likewise.
3680         * testsuite/27_io/basic_ostream/put/char/1.cc: Likewise.
3681         * testsuite/27_io/basic_ostream/seekp/char/
3682         exceptions_badbit_throw.cc: Likewise.
3683         * testsuite/27_io/basic_ostream/sentry/char/2.cc: Likewise.
3684         * testsuite/27_io/basic_ostream/write/char/1.cc: Likewise.
3686 2005-01-23  Paolo Carlini  <pcarlini@suse.de>
3688         * include/tr1/type_traits (aligned_storage): Use __aligned__ instead
3689         of aligned.
3691 2005-01-23  Paolo Carlini  <pcarlini@suse.de>
3692             Andreas Jaeger  <aj@suse.de>
3694         PR libstdc++/19343
3695         * include/bits/functexcept.h: Mark the helpers as 'noreturn'.
3697 2005-01-21  Loren J. Rittle  <ljrittle@acm.org>
3699         * testsuite/27_io/basic_filebuf/open/char/9507.cc: Allow
3700         lseek on fifo to succeed.  Thus, check for consistent report.
3702 2005-01-21  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
3704         PR libstdc++/19510
3705         * include/bits/stl_list.h (_List_iterator): Initialize _M_node
3706         in constructor.
3707         (_List_const_iterator): Likewise.
3708         * include/bits/stl_tree.h (_Rb_tree_iterator): Likewise.
3709         (_Rb_tree_const_iterator): Likewise.
3711         * testsuite/23_containers/map/operators/1_neg.cc: Adjust line numbers.
3712         * testsuite/23_containers/set/operators/1_neg.cc: Likewise.
3714 2005-01-20  Benjamin Kosnik  <bkoz@redhat.com>
3716         * testsuite/Makefile.am (check-compile): New.
3717         * testsuite/Makefile.in: Regenerate.
3718         * scripts/check_compile_time: New.
3719         * scripts/check_performance: Tweaks.
3721 2005-01-19  Paolo Carlini  <pcarlini@suse.de>
3723         PR libstdc++/19535
3724         * include/tr1/utility (struct __pair_get<1>::__get, __const_get):
3725         Fix typo in the return type.
3726         * testsuite/tr1/6_containers/utility/19535.cc: New.
3728 2005-01-19  Loren J. Rittle  <ljrittle@acm.org>
3730         * include/ext/array_allocator.h (array_allocator<>::allocate):
3731         Avoid __used.  Use __array_used instead.
3732         * docs/html/17_intro/BADNAMES: Add list for FreeBSD.
3734 2005-01-18  David Edelsohn  <edelsohn@gnu.org>
3736         * config/os/aix/os_defines.h (_XOPEN_SOURCE): Delete.
3737         (_XOPEN_SOURCE_EXTENDED): Delete.
3739 2005-01-18  Benjamin Kosnik  <bkoz@redhat.com>
3741         * testsuite/testsuite_performance.h (time_counter::start):
3742         Clear. Tweaks.
3743         (clear_counters): Inline.
3744         (start_counters): Inline.
3745         (stop_counters): Inline.
3746         * testsuite/performance/20_util/allocator/map_thread.cc: Return.
3747         * testsuite/performance/20_util/allocator/insert.cc: Remove bogus
3748         return, add return.
3749         * testsuite/performance/20_util/allocator/map_thread.cc: Same.
3751 2005-01-17  Paolo Carlini  <pcarlini@suse.de>
3753         PR libstdc++/19433
3754         * include/bits/stl_tree.h (_Rb_tree<>::insert_unique(iterator,
3755         const _Val&), _Rb_tree<>::insert_equal(iterator, const _Val&)):
3756         Obtain amortized constant complexity if t is inserted right after
3757         p - not before p - as per Table 69.
3758         * testsuite/performance/23_containers/set_insert_from_sorted.cc: New.
3760         * testsuite/23_containers/multiset/insert/2.cc: New.
3761         * testsuite/23_containers/set/insert/1.cc: Likewise.
3763         * testsuite/performance/23_containers/set_create_from_sorted.cc:
3764         Simplify.
3766         * include/bits/stl_tree.h: Add a few missing std:: qualifications.
3768 2005-01-16  Jonathan Wakely  <redi@gcc.gnu.org>
3770         * include/ext/rope: Qualify calls to std::copy() by sequence_buffer.
3771         * testsuite/ext/rope/4.cc: Add.
3773 2005-01-16  Lorenz Minder  <lminder@gmx.net>
3774             Paolo Carlini  <pcarlini@suse.de>
3776         PR libstdc++/19322
3777         * include/c_std/std_cmath.h: Define the C99 classification facilities
3778         directly inside namespace std:.
3779         * testsuite/26_numerics/cmath/19322.cc: New.
3781 2005-01-15  David Edelsohn  <edelsohn@gnu.org>
3783         * config/os/aix/os_defines.h (_G_USING_THUNKS): Delete.
3785 2005-01-14  Paolo Carlini  <pcarlini@suse.de>
3787         PR libstdc++/19422
3788         * include/bits/stl_tree.h (_Rb_tree<>::insert_equal(_II, _II),
3789         _Rb_tree<>::insert_unique(_II, _II)): Use insert_equal (insert_unique,
3790         respectively) with hint (end()).
3791         * testsuite/performance/23_containers/set_create_from_sorted.cc: New.
3793 2005-01-13  Geoffrey Keating  <geoffk@apple.com>
3795         * configure.host (darwin): On darwin8 or later, no need to build
3796         libstdc++ with -flat_namespace.
3798 2005-01-13  Jonathan Wakely  <redi@gcc.gnu.org>
3800         * docs/doxygen/user.cfg.in: Set HAVE_DOT back to YES.
3802 2005-01-13  Paolo Carlini  <pcarlini@suse.de>
3804         * testsuite/26_numerics/cmath/c99_classification_macros_c++.cc:
3805         Re-enable commented-out test for double type.
3807 2005-01-11  Paolo Carlini  <pcarlini@suse.de>
3808             Benjamin Kosnik  <bkoz@redhat.com>
3810         * src/istream.cc (basic_istream<char>::ignore(streamsize),
3811         basic_istream<char>::ignore(streamsize, int_type),
3812         basic_istream<wchar_t>::ignore(streamsize),
3813         basic_istream<wchar_t>::ignore(streamsize, int_type)): In case
3814         more than numeric_limits<streamsize>::max() chars are skipped,
3815         set _M_gcount = max().
3816         * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
3817         int_type)): Likewise; keep simple, don't forward.
3819 2005-01-11  Paolo Carlini  <pcarlini@suse.de>
3821         * src/istream.cc (basic_istream<char>::ignore(streamsize),
3822         basic_istream<char>::ignore(streamsize, int_type),
3823         basic_istream<wchar_t>::ignore(streamsize),
3824         basic_istream<wchar_t>::ignore(streamsize, int_type)): Revert
3825         2005-01-05 change: actually, the previous behavior is conforming
3826         and consistent with that of get(char_type*, streamsize, char_type),
3827         albeit slightly different from that of 3.3/3.4 in a corner case
3828         due to the use of snextc.
3829         * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
3830         int_type)): Likewise.
3831         * testsuite/27_io/basic_istream/ignore/char/4.cc: Remove.
3832         * testsuite/27_io/basic_istream/ignore/wchar_t/4.cc: Likewise.
3834 2005-01-11  Paolo Carlini  <pcarlini@suse.de>
3836         * include/tr1/type_traits: Implement alignment_of and aligned_storage.
3837         * testsuite/tr1/4_metaprogramming/other_transformations/
3838         aligned_storage/aligned_storage.cc: New.
3839         * testsuite/tr1/4_metaprogramming/other_transformations/
3840         aligned_storage/typedefs.cc: Likewise.
3841         * testsuite/tr1/4_metaprogramming/type_properties/
3842         alignment_of/alignment_of.cc: Likewise.
3843         * testsuite/tr1/4_metaprogramming/type_properties/
3844         alignment_of/typedefs.cc: Likewise.
3846 2005-01-10  Paolo Carlini  <pcarlini@suse.de>
3848         * Makefile.in: Regenerate.
3849         * libmath/Makefile.in: Likewise.
3850         * libsupc++/Makefile.in: Likewise.
3851         * po/Makefile.in: Likewise.
3852         * src/Makefile.in: Likewise.
3853         * testsuite/Makefile.in: Likewise.
3855 2005-01-10  Paolo Carlini  <pcarlini@suse.de>
3857         * include/bits/stl_algobase.h (lexicographical_compare):
3858         Fix concept check.
3860 2005-01-07  Benjamin Kosnik  <bkoz@redhat.com>
3862         * acinclude.m4: Remove CCODECVT_H.
3863         * configure: Regenerate.
3864         * include/Makefile.am (host_headers_extra): Move to...
3865         (ext_headers): ...here.
3866         * include/Makefile.in: Regenerate.
3867         * include/ext/enc_filebuf: Remove enc_filebuf, consolidate
3868         enc_traits to...
3869         * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Move...
3870         * include/ext/codecvt_specializations.h: ...here. Remove
3871         _GLIBCXX_USE___ENC_TRAITS.
3872         (__enc_traits): To __encoding_state, put in __gnu_cxx namespace.
3873         (enc_char_traits): To __encoding_char_traits, put in __gnu_cxx
3874         namespace.
3875         * config/locale/generic/codecvt_specializations.h: Remove.
3876         * include/bits/codecvt.h: Remove codecvt_specializations.h include.
3877         * src/codecvt.cc: Remove __enc_traits::_S_max_size.
3879 2005-01-06  Benjamin Kosnik  <bkoz@redhat.com>
3881         * include/bits/fstream.tcc: Remove unnecessary qualifications for
3882         uglified data members of basic_filebuf, including _M_buf,
3883         _M_buf_size, _M_mode, _M_pback_init.
3884         * include/std/std_fstream.h: Same.
3886 2005-01-05  Benjamin Kosnik  <bkoz@redhat.com>
3888         * testsuite/testsuite_hooks.h:
3889         (copy_constructor::mark_call):  Use __throw_runtime_error.
3890         (assignment_operator::mark_call): Same.
3891         * testsuite/testsuite_hooks.cc (verify_demangle): Same.
3892         (locale_data): Remove, just use runtime_error directly.
3893         (environment_variable): Same.
3894         (not_found): Same.
3895         (run_tests_wrapped_locale): Use __throw_runtime_error.
3896         (run_tests_wrapped_env): Same.
3897         (semaphore::semaphore): Same.
3898         (semaphore::signal): Same.
3899         (semaphore::wait): Same.
3900         * testsuite/testsuite_abi.h (symbol_error): Remove, use logic_error.
3901         * testsuite/testsuite_abi.cc (get_symbol): Use __throw_logic_error.
3902         (create_symbols): Use __throw_runtime_error.
3903         * src/bitmap_allocator.cc: Use __throw_bad_alloc.
3905 2005-01-05  Mark Mitchell  <mark@codesourcery.com>
3907         * testsuite/27_io/basic_filebuf/open/char/9507.cc: Remove child
3908         process.
3910 2005-01-05  Paolo Carlini  <pcarlini@suse.de>
3912         * src/istream.cc (basic_istream<char>::ignore(streamsize),
3913         basic_istream<char>::ignore(streamsize, int_type),
3914         basic_istream<wchar_t>::ignore(streamsize),
3915         basic_istream<wchar_t>::ignore(streamsize, int_type)): At the end,
3916         first check _M_gcount vs __n.
3917         * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
3918         int_type)): Likewise.
3919         * testsuite/27_io/basic_istream/ignore/char/4.cc: New.
3920         * testsuite/27_io/basic_istream/ignore/wchar_t/4.cc: Likewise.
3922 2005-01-03  Mark Mitchell  <mark@codesourcery.com>
3924         * testsuite/testsuite_hooks.cc: Use __throw_exception_again
3925         instead of just throw.
3927         * testsuite/testsuite_hooks.cc: Update coypright and follow style
3928         guidelines.
3929         * testsuite/testsuite_hooks.h: Likewise.
3930         * testsuite/27_io/basic_filebuf/close/char/4879.cc: Use
3931         semaphores, not sleep.
3932         * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise.
3933         * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
3934         * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise.
3935         * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc:
3936         Likewise.
3937         * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise.
3938         * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise.
3939         * testsuite/27_io/objects/char/7.cc: Likewise.
3940         * testsuite/27_io/objects/char/9661-1.cc: Likewise.
3941         * testsuite/27_io/objects/wchar_t/7.cc: Likewise.
3942         * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise.
3944         * configure.ac: Check for sys/ipc.h and sys/sem.h.
3945         * config.h.in: Regenerated.
3946         * configure: Likewise.
3947         * testsuite/testsuite_hooks.cc (_GLIBCXX_SYSV_SEM): Conditionally
3948         define.
3949         (sys/types.h): Include.
3950         (sys/ipc.h): Likewise.
3951         (sys/sem.h): Likewise.
3952         (__gnu_test::semun): New type.
3953         (__gnu_test::semaphore::sempaphore): New function.
3954         (__gnu_test::semaphore::~semaphore): Likewise.
3955         (__gnu_test::semaphore::wait): Likewise.
3956         (__gnu_test::semaphore::signal): Likewise.
3957         * testsuite/testsuite_hooks.h (__gnu_test::semaphore): New class.
3958         * testsuite/27_io/basic_filebuf/close/char/4879.cc: Use
3959         semaphores, not sleep.
3960         * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise.
3961         * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
3962         * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise.
3963         * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc:
3964         Likewise.
3965         * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise.
3966         * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise.
3967         * testsuite/27_io/objects/char/7.cc: Likewise.
3968         * testsuite/27_io/objects/char/9661-1.cc: Likewise.
3969         * testsuite/27_io/objects/wchar_t/7.cc: Likewise.
3970         * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise.
3972 2005-01-03  Paolo Carlini  <pcarlini@suse.de>
3974         * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
3975         int_type)): Reset _M_gcount to numeric_limits<streamsize>::min().
3976         * src/istream.cc (basic_istream<char>::ignore(streamsize, int_type),
3977         basic_istream<wchar_t>::ignore(streamsize, int_type)): Likewise.
3978         * src/istream.cc (basic_istream<char>::ignore(streamsize),
3979         basic_istream<wchar_t>::ignore(streamsize)): Likewise; fix a typo.
3981 2005-01-02  Paolo Carlini  <pcarlini@suse.de>
3983         * src/istream.cc (basic_istream<char>::ignore(streamsize),
3984         basic_istream<char>::ignore(streamsize, int_type),
3985         basic_istream<wchar_t>::ignore(streamsize),
3986         basic_istream<wchar_t>::ignore(streamsize, int_type)): Avoid
3987         _M_gcount overflows.
3988         * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
3989         int_type)): Likewise; use snextc in the main loop, consistently
3990         with the specializations above.
3992 2005-01-02  Chris Jefferson  <chris@bubblescope.net>
3994         * include/bits/stl_algobase.h (mismatch): Correct concept check.
3996 2005-01-01  Paolo Carlini  <pcarlini@suse.de>
3998         * testsuite/ext/enc_filebuf/char/13189.cc: Fix, first include
3999         testsuite_hooks.h, to know whether including ext/enc_filebuf.h.
4000         * testsuite/ext/enc_filebuf/wchar_t/13189.cc: Likewise.
4002 2005-01-01  Paolo Carlini  <pcarlini@suse.de>
4004         * testsuite/27_io/basic_istream/extractors_character/char/1.cc: Fix,
4005         null-terminate array1 at the outset.
4006         * testsuite/27_io/basic_istream/extractors_character/wchar_t/1.cc:
4007         Likewise.