OSDN Git Service

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