OSDN Git Service

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