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